whois ?
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
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.
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.
Yes I'm logging in as root.
Doing and updatedb and locate whos only returns this:
[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!
[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
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.
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
Thank you Tim,
Once again you got it correct :-)
All is working fine now.


Member Since:
2008-07-25