Hi,
Here is what I got:
[root@www init.d]# apachectl configtest
bash: apachectl: command not found
I also tried this and here is the response I got:
[root@www drj]# /etc/rc.d/init.d/httpd status
bash: /etc/rc.d/init.d/httpd: No such file or directory
Here are the contents of /etc/rc.d/init.d
anacron autofs halt kdcrotate lpd nfs pppoe rstatd sendmail strongholdctl xfs ypserv
apmd crond identd keytable mysql.server nfslock random rusersd single syslog xinetd
arpwatch functions ipchains killall netfs nscd rawdevices rwalld snmpd tux ypbind
atd gpm iptables kudzu network portmap rhnsd rwhod sshd webmin yppasswdd
Here are some other tidbits about the server...There are a bunch of httpd.conf files on the server. How can I tell which is the active one?
[root@www sbin]# pwd
/usr/sbin
[root@www sbin]# ./httpd restart
Syntax error on line 33 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/modules/mod_env.so into server: /usr/modules/mod_env.so: cannot open shared object file: No such file or directory
#all the locations of httpd are below:
[root@www /]# find . -name httpd -print
./var/log/httpd
./var/cache/httpd
./var/
./etc/httpd
./etc/etc/httpd
./etc/httpsd/bin/httpd
./etc/httpsd/.binaries/httpd
./usr/sbin/httpd
./usr/sbin/bin/httpd
./usr/sbin/.binaries/httpd
./home/httpd
./home/httpd/warpaint/httpd
./root/etc/httpd
#httpd.conf files are below:
[root@www /]# find . -name httpd.conf -print
./var/
./etc/httpd/conf/httpd.conf
./etc/etc/httpd/conf/httpd.conf
./etc/httpsd/.configure/httpd.conf
./etc/httpsd/conf/httpd.conf
./usr/sbin/.configure/httpd.conf
./usr/sbin/conf/httpd.conf
./home/httpd/warpaint/conf/httpd.conf
./root/etc/httpd/conf/httpd.conf
The server is going standard red hat 7.0 with default directories set to:
/var/
or /var/
Thanks for the help