Error String Not Specified Yet Error Retrieving Pid File
Contents |
Post #1 of 8 (3885 views) Permalink httpd can't error retrieving pid file run httpd pid start because it's not yet running Hi folks! root [at]
Error Retrieving Pid File Logs Httpd Pid
hos $ httpd -k start (20014)Error string not specified yet: Error retrieving pid file /var/run/httpd.pid root [at] hos $ ls -l /var/run/httpd.pid -rw-r--r-- 1 root root 0 May 20 02:44 /var/run/httpd.pid Same problem with httpd:httpd permissions. 'strace' says: [...] open("/var/run/httpd.pid", O_RDONLY) = 3 read(3, "", 13) = 0 write(2, "(20014)Error string not specifie"..., 84) = 84 [...] Where is the problem? Greetings, fips --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See
known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... learn unix and linux commands apache cannot start Solaris Page 1 of 3 1 23 > Thread Tools Search this Thread Display Modes #1 06-29-2009 h@foorsa.biz Registered User Join Date: Jun 2008 Last Activity: 31 March 2015, 5:33 AM EDT Posts: 567 Thanks: 7 Thanked 46 Times in 44 Posts apache cannot start http://www.gossamer-threads.com/lists/apache/users/287983 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 http://www.unix.com/solaris/113316-apache-cannot-start.html 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
started by jonworth, Aug 17, 2006. https://talk.plesk.com/threads/complex-plesk-apache-problem-apache-will-not-start.67949/ jonworth Guest 0 I've been trying for hours to solve a complex problem with Apache not wanting to start. I'm running SuSE Linux 9.3 http://osdir.com/ml/httpd-apache/2005-05/msg00579.html 64 Bit, on a 1&1 Root Server with Plesk 7.5.4. When I reboot the server, the error log in: /usr/local/psa/admin/logs/httpsd_error_log reads as follows: Code: [Fri error retrieving Aug 18 01:21:49 2006] [notice] caught SIGTERM, shutting down Processing config directory: /usr/local/psa/admin/conf/httpsd.*.include [Fri Aug 18 01:24:35 2006] [notice] Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7e PHP/5.0.4 configured -- resuming normal operations [Fri Aug 18 01:24:35 2006] [notice] Accept mutex: sysvsem (Default: sysvsem) websrvmng: Service apache2 failed to status mailmng: Service courier-imap failed to error retrieving pid status dnsmng: Service named failed to status dnsmng: Service named failed to status dnsmng: Service named failed to status /usr/local/psa/admin/sbin/spammng: Pidfile /var/run/spamd/spamd_light.pid does not contain valid PID. websrvmng: Service apache2 failed to status mailmng: Service courier-imap failed to status dnsmng: Service named failed to status dnsmng: Service named failed to status dnsmng: Service named failed to status /usr/local/psa/admin/sbin/spammng: Pidfile /var/run/spamd/spamd_light.pid does not contain valid PID. The Services Management screen in Plesk shows the same - Web Server (Apache), IMAP/POP3 Server (Courier-IMAP), DNS Server (BIND) and SpamAssassin are all not working, but SMTP Server (QMail) is OK. In SSH, I get the following: Code: sXXXX:/usr/sbin # apache2ctl -k start (20014)Error string not specified yet: Error retrieving pid file /var/run/httpd2.pid sXXXX:/usr/sbin # apache2ctl -k stop (20014)Error string not specified yet: Error retrieving pid file /var/run/httpd2.pid sXXXX:/usr/sbin # apache2ctl -k restart (20014)Error string not specified yet: Error retrieving pid file /var/run/httpd2.pid and: Code: sXXXX
file /var/run/httpd.pid root@host $ ls -l /var/run/httpd.pid -rw-r--r-- 1 root root 0 May 20 02:44 /var/run/httpd.pid Same problem with httpd:httpd permissions. 'strace' says: [...] open("/var/run/httpd.pid", O_RDONLY) = 3 read(3, "", 13) = 0 write(2, "(20014)Error string not specifie"..., 84) = 84 [...] Where is the problem? Greetings, fips --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See