...
These are CGI scripts to enable a reverse traceroute and ping server (traceroute.pl), and to enable the gathering of data (ping_data.pl) from the archive sites. The two scripts were installed in the standard CGI script location /var/www/cgi-bin as defined in /etc/httpd/conf/http.conf. They are accessible from within SLAC as: http://dhcp-nebula-124-66.slac.stanford.edu/cgi-bin/ping_data.pl and http://dhcp-nebula-124-66.slac.stanford.edu/cgi-bin/traceroute.pl. Since they are on port 80 there is no access to the web server from offiste.
To ensure the web server (Apache) restarts after a reboot I also had to issue:
Code Block |
---|
[cottrell@dhcp-nebula-priv-52-7 ~]$ sudo -s
[sudo] password for cottrell:
[root@dhcp-nebula-priv-52-7 cottrell]# /sbin/chkconfig httpd on
[root@dhcp-nebula-priv-52-7 cottrell]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: [ OK ]
[root@dhcp-nebula-priv-52-7 cottrell]# ps -efl | grep httpd
1 S root 3056 1 0 80 0 - 46710 poll_s 07:42 ? 00:00:00 /usr/sbin/httpd
5 S apache 3058 3056 0 80 0 - 46710 inet_c 07:42 ? 00:00:00 /usr/sbin/httpd
5 S apache 3059 3056 0 80 0 - 46710 inet_c 07:42 ? 00:00:00 /usr/sbin/httpd
5 S apache 3060 3056 0 80 0 - 46710 inet_c 07:42 ? 00:00:00 /usr/sbin/httpd
5 S apache 3061 3056 0 80 0 - 46710 inet_c 07:42 ? 00:00:00 /usr/sbin/httpd
5 S apache 3062 3056 0 80 0 - 46710 inet_c 07:42 ? 00:00:00 /usr/sbin/httpd
5 S apache 3063 3056 0 80 0 - 46710 inet_c 07:42 ? 00:00:00 /usr/sbin/httpd
5 S apache 3064 3056 0 80 0 - 46710 inet_c 07:42 ? 00:00:00 /usr/sbin/httpd
5 S apache 3065 3056 0 80 0 - 46710 inet_c 07:42 ? 00:00:00 /usr/sbin/httpd
0 S root 3083 3029 0 80 0 - 26328 pipe_w 07:46 pts/0 00:00:00 grep httpd |