Results 1 to 2 of 2

Thread: Can't get Apache installed-properly/running on FreeBSD/Cpanel

  1. #1
    rnh
    rnh is offline
    Member
    Join Date
    Apr 2003
    Posts
    118

    Default Can't get Apache installed-properly/running on FreeBSD/Cpanel

    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
    and
    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
    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/
    server# ls
    domlogs

    Thanks for your help!
    Jesse

  2. #2
    rnh
    rnh is offline
    Member
    Join Date
    Apr 2003
    Posts
    118

    Default

    hmm... I installed more apache packages using pkg_add and got apache running, however Cpanel still doesn't recognize it as running, and is unable to restart it.

    also, running:

    /etc/rc.d/init.d/httpd start

    still returns:

    /etc/rc.d/init.d/httpd: /usr/local/apache/bin/httpd: not found

    It appears that the Apache install failed during my Cpanel install. Does anyone know how to reinstall it w/ Cpanel?

    When I ran the "update server software" it said that some of the apache packages were out of date but were unable to upgrade.

Similar Threads

  1. Is my cert properly installed ?
    By Hautokt in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 02-16-2006, 12:13 PM
  2. cPanel never installs mySQL properly on FreeBSD fresh install
    By hicom in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 09-23-2005, 06:45 PM
  3. [freebsd] Just installed cpanel.
    By Rizz in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 08-12-2005, 10:42 AM
  4. Installed CPanel on FreeBSD 5.4
    By kaosent in forum E-mail Discussions
    Replies: 5
    Last Post: 07-30-2005, 02:35 AM
  5. Running FreeBSD with cPanel?
    By ParadiseDesigns in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 10-19-2002, 07:30 AM