Hi I just got a new FreeBSD 4.7 server and installed Cpanel on it today.
After the Cpanel install MySQL and Apache were still not installed, so I ran
pkg_add -r mysql-server
pkg_add -r apache
Now they show up in pkg_info:
apache-1.3.27 The extremely popular Apache http server. Very fast, very
mysql-client-3.23.52 Multithreaded SQL database (client)
mysql-server-3.23.52_1 Multithreaded SQL database (server)
(there was a lot more lines but I cut them out to save space)
And MySQL shows up as running now in Cpanel, however apache still doesn't.
Whereis says that httpd is there:
gold# whereis apache
gold# whereis mysql
mysql: /usr/local/bin/mysql /usr/local/man/man1/mysql.1.gz
gold# whereis httpd
httpd: /usr/local/sbin/httpd /usr/local/man/man8/httpd.8.gz
gold# locate /httpd
but I can't seem to get apache running and I'm getting alert e-mails every 5 minutes that Cpanel was trying to restart apache.
I think that this is the problem as to why I can't get it started:
server# /etc/rc.d/init.d/httpd start
/etc/rc.d/init.d/httpd: /usr/local/apache/bin/httpd: not found
/etc/rc.d/init.d/httpd start: httpd could not be started
server# cd /usr/local/apache/bin/
/usr/local/apache/bin/: No such file or directory.
server# cd /usr/local/apache/
Thanks for your help!