[v0.9] Problem with ping/nmap - live hosts do not ping from GUI.
phpipam open-source IP address management
Brought to you by:
myha
I am able to ping the hosts in question from the machine as displayed below.
PING xxx.xxx.xxx.1 (xxx.xxx.xxx.1) 56(84) bytes of data. 64 bytes from xxx.xxx.xxx.1: icmp_seq=1 ttl=255 time=0.788 ms 64 bytes from xxx.xxx.xxx.1: icmp_seq=2 ttl=255 time=0.814 ms ^C --- xxx.xxx.xxx.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1859ms rtt min/avg/max/mdev = 0.788/0.801/0.814/0.013 ms
Scan subnet on xxx.xxx.xxx.0/24 (using the Star Icon) produces
No alive hosts found!
During this process a large number of php Defunct processes are created, its running, but something is failing.
Ping check result (using the arrow recycle icon) on singular "Added IP" produces
Error: unknown host
Any help or direction on where I can see the command that is trying to be run
Anonymous
Thank you. Thank you. Thankkkk uuuuuu
I had to update the permissions on my /bin/ping directory to 4555 in order to get this to work.
I'm running this on Centos 6.5 now with no issue
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
Hi,
I got same error like "no alive hosts found" and I apply this action plan which Miha added.
For starters try to enable debugging in ping script:
functions/scan/DiscoveryPingScript.php
ini_set('display_errors', 1);
error_reporting(E_ALL ^ E_NOTICE);
And print output form script:
site/ipaddr/scan/subnetScanDiscoveryPing.php
After this line:
exec($cmd, $output, $retval);
add
print_r($output);
Then I run again same steps and got that php_gmp.so file is missing on debug screen. I create a link gmp.so which named php_gmp.so and also I disabled extention=php_gmp.so in php.ini file. only gmp.so is added on php.ini.
Now without error its ok.
cd /opt/lampp/lib/php/extensions/no-debug-non-zts-20121212/
[root@redhattemplate no-debug-non-zts-20121212]# ln -s /usr/lib64/php/modules/gmp.so /opt/lampp/lib/php/extensions/no-debug-non-zts-20121212/php_gmp.so^C
[root@redhattemplate no-debug-non-zts-20121212]# grep gmp /opt/lampp/etc/php.ini
;extension=php_gmp.so
extension=gmp.so
[root@redhattemplate no-debug-non-zts-20121212]#
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
finally , the solution to give permission on the folder ping works.