whois ?

wifi
Posts: 39
Member Since:
2008-07-25

I've made a small script that needs 'whois'.
Problem is that the command whois is not installed on my TrixBox CentOS.
yum search whois will give me only one result back

Quote:
jwhois.i386 : Internet whois/nicname client.
gnome-nettool.i386 : A GNOME interface for various networking tools

Anyone here who might know if this 'jwhois' will work (and not break) my now good running TrixBox setup?
All I need is an easy to use whois IP / domain from my terminal connection.

Thant you.



SkykingOH
Posts: 8082
Member Since:
2007-12-17
No that's an xwindows tool.

No that's an xwindows tool.

Are you logging in as root? If you are using another login and sudo'ing to root you need to make sure you export your environment variables that would contain the path to these tools.

--

Scott

aka "Skyking"



wifi
Posts: 39
Member Since:
2008-07-25
I'm root

Yes I'm logging in as root.
Doing and updatedb and locate whos only returns this:

Quote:
[home.localhost.me ~]# updatedb
[home.localhost.me ~]# locate whois
/etc/fail2ban/action.d/mail-whois-lines.conf
/etc/fail2ban/action.d/mail-whois.conf
/etc/fail2ban/action.d/sendmail-whois-lines.conf
/etc/fail2ban/action.d/sendmail-whois.conf
/usr/lib/ircd/help/opers/whois
/usr/lib/ircd/help/users/whois
/usr/lib/ircd/modules/autoload/m_whois.so
/usr/libexec/webmin/bind8/whois-servers
/usr/libexec/webmin/bind8/whois.cgi
/usr/libexec/webmin/bind8/images/whois.gif
/usr/libexec/webmin/blue-theme/bind8/images/whois.gif
/usr/src/fail2ban-0.8.3/config/action.d/mail-whois-lines.conf
/usr/src/fail2ban-0.8.3/config/action.d/mail-whois.conf
/usr/src/fail2ban-0.8.3/config/action.d/sendmail-whois-lines.conf
/usr/src/fail2ban-0.8.3/config/action.d/sendmail-whois.conf

It really looks like my 'whois' is missing!

Quote:
[home.localhost.me ~]# whois
-bash: whois: command not found
[home.localhost.me ~]#

Above command is run as root.
This is a clean install of trixbox CE 2.6.1.13



wifi
Posts: 39
Member Since:
2008-07-25
Could some other "trixbox CE

Could some other "trixbox CE 2.6.1.13" user please test and see if they do have the "whois" working?
Login with SSH (as root), and just type 'whois'
With a bit of luck you should get some message back from whois.
If you do not have it installed, you will get an error like: whois: command not found

For some reason my trixbox does not have it :-(

Thank you for testing.



tyardley
Posts: 209
Member Since:
2007-09-09
jwhois

is the package you want. It should only install one rpm, no deps are needed on a fresh install of 2.6.1.13. Just did it myself and it provided /usr/bin/whois.

Thank you,
Engineer Tim

I am no longer a representative of trixbox and my opinions are expressed as my own. In other words...I have free will again.
http://engineertim.com



wifi
Posts: 39
Member Since:
2008-07-25
Thank you

Thank you Tim,

Once again you got it correct :-)
All is working fine now.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.