The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-29-2009
h@foorsa.biz h@foorsa.biz is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 48
apache cannot start

hi all
i'm having a problem with apache on solaris 10 SPARC
I'm trying to start httpd as root
but it fails with the following error
Code:
/usr/local/apache2/bin/httpd -k start
httpd: Could not determine the server's fully qualified domain name, using 192.168.1.11 for ServerName
(20014)Error string not specified yet: Error retrieving pid file logs/httpd.pid
i checked the error log to see if i can get something more informative

Code:
[Sun Jun 14 16:04:31 2009] [notice] Digest: done
[Sun Jun 14 16:04:32 2009] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jun 14 16:04:32 2009] [notice] Apache/2.0.58 (Unix) mod_jk/1.2.15 DAV/2 PHP/5.1.4 configured -- resuming normal operations
[Sun Jun 14 16:23:52 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache2/bin/suexec)
[Sun Jun 14 16:23:53 2009] [notice] Digest: generating secret for digest authentication ...
[Sun Jun 14 16:23:53 2009] [notice] Digest: done
[Sun Jun 14 16:23:54 2009] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jun 14 16:23:54 2009] [notice] Apache/2.0.58 (Unix) mod_jk/1.2.15 DAV/2 PHP/5.1.4 configured -- resuming normal operations
i ran ls to see directroris perm
Code:
bash-3.00# ls -l /usr/local/apache2/logs/
total 433398
-rw-r--r--   1 root     root           0 Mar 11 12:42 access_log
-rw-r--r--   1 root     root     3489021 Sep  3  2007 access_log.gz
-rw-r--r--   1 root     root     100248972 Jun 15 09:09 dummy-host.example.com-access_log
-rw-r--r--   1 root     root     87096852 Mar  5 23:11 dummy-host.example.com-access_log.gz
-rw-r--r--   1 root     root     13216739 Jun 15 04:48 dummy-host.example.com-error_log
-rw-r--r--   1 root     root     9175989 Mar  5 23:10 dummy-host.example.com-error_log.gz
-rw-r--r--   1 root     root     5902845 Jun 15 09:21 error_log
-rw-r--r--   1 root     root     2522824 Mar  5 23:09 error_log.gz
-rw-r--r--   1 root     root           0 Jun 15 09:21 httpd.pid
-rw-r--r--   1 root     root       67584 Jun 15 09:21 jk-runtime-status
-rw-r--r--   1 root     root           1 Jun 15 09:21 jk-runtime-status.lock
i'm stuck here with no idea what's going on
any ideas would be a great assist
thanks in advance