redhat9.0 used..
php-4.3.4.tar.gz mysql-4.0.16.tar.gz apache1.3.29.tar.gz installed.
when run stop,restart command, problem occurs.
what's problem?
[root@localhost root]# /usr/local/apache/bin/apachectl start
/usr/local/apache/bin/apachectl start: httpd started
[root@localhost root]# /usr/local/apache/bin/apachectl stop
/usr/local/apache/bin/apachectl stop: httpd (no pid file) not running
[root@localhost root]# /usr/local/apache/bin/apachect restart
usr/local/apache/bin/apachectl restart: httpd not running, trying to start
/usr/local/apache/bin/apachectl restart: httpd started

/usr/local/apache/logs/error_log file content.
[Fri Nov 21 00:41:37 2003] [crit] (98)Address already in use: make_sock: could not bind to port 80

    check /etc/init.d for the httpd. You should be able to run ./httpd start/stop/reastart/status/etc.. from there

      7 days later

      yup, you might want to check if there is an existing installation of apache in your system on your rh9 distro. Before starting apache (/usr/local/apache/bin/apachectl start), try to check if there is a running process of apache.

      1) ps -ef | grep "httpd",kill it if it exist
      2) then start your server.

        Write a Reply...