Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

no whois in (/bin:/usr/bin:/usr/local/bin:/usr/local/ssl/bin:/usr/sfw/bin) #41

Open
bugstory02 opened this issue Jun 5, 2020 · 3 comments

Comments

@bugstory02
Copy link

bugstory02 commented Jun 5, 2020

Hello,

I have installed the script on CentOS 8.
During the installation everything was well.
But when I put a command for check is not working.
You can see the output, is like whois is not configured.

Thanks for your help

[root@localhost ~]# domain-check-2 -d google.com
which: no whois in (/bin:/usr/bin:/usr/local/bin:/usr/local/ssl/bin:/usr/sfw/bin)
which: no mail in (/bin:/usr/bin:/usr/local/bin:/usr/local/ssl/bin:/usr/sfw/bin)

Domain                              Registrar                                      Status   Expires     Days Left
----------------------------------- ---------------------------------------------- ------
/usr/local/bin/domain-check-2: line 303: -h: command not found
/usr/local/bin/domain-check-2: line 309: -h: command not found
google.com                          Unknown                                        Unknown  Unknown     Unknown

Capture d’écran 2020-06-05 à 12 22 26

@Huskynarr
Copy link

You need whois. ;)

apt install whois

@bugstory02
Copy link
Author

Thanks for your answer.
But on centos 8 we cant install whois :(
Any solution ?

Thanks for your help

@hawkeye116477
Copy link

hawkeye116477 commented Jun 28, 2020

@bugstory02 Are you sure? Because I see it's on Appstream repo (https://centos.pkgs.org/8/centos-appstream-x86_64/whois-5.5.1-2.el8.x86_64.rpm.html). I found this as first result of Google search => https://www.cyberciti.biz/faq/how-to-install-whois-on-rhel-8-centos-8/, maybe it will help you also.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants