LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2016, 11:57 AM   #1
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

Rep: Reputation: Disabled
httpd dead but subsys locked


Did a yum update, and then rebooted my vps. Apache won't start. I tried http://www.linuxquestions.org/questi...4/#post1339749, but nothing. Any recommendations? Thank you

Code:
[root@vps ~]# /etc/rc.d/init.d/httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd:                                            [  OK  ]

[root@vps ~]# /etc/rc.d/init.d/httpd status
httpd dead but subsys locked

[root@vps ~]# tail -6 /var/log/httpd/error_log
[Mon May 16 11:49:29 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon May 16 11:49:29 2016] [warn] RSA server certificate wildcard CommonName (CN) `*.example.com' does NOT match server name!?
[Mon May 16 11:49:29 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Mon May 16 11:49:29 2016] [notice] Digest: generating secret for digest authentication ...
[Mon May 16 11:49:29 2016] [notice] Digest: done
Mon May 16 11:49:29 2016 (13446): Fatal Error Unable to allocate shared memory segment of 134217728 bytes: mmap: No space left on device (28)
[root@vps ~]#
 
Old 05-16-2016, 12:04 PM   #2
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

Original Poster
Rep: Reputation: Disabled
I had recently installed opcache, and removing it fixed the error. https://ma.juii.net/blog/fix-allocat...-with-php-fcgi pointed me in the right direction, but I still don't know why, and how I can add opcache. Thanks
 
Old 05-16-2016, 12:04 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by NotionCommotion View Post
No space left on device (28)
Code:
sudo df -hT
 
Old 05-16-2016, 12:13 PM   #4
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Habitual View Post
Code:
sudo df -hT
This is after I uninstalled opcache and don't know whether it changed the output of df.
Code:
[root@vps ~]# df -hT
Filesystem     Type   Size  Used Avail Use% Mounted on
/dev/simfs     simfs   20G  8.3G   12G  42% /
none           tmpfs  6.0G  4.0K  6.0G   1% /dev
none           tmpfs  6.0G     0  6.0G   0% /dev/shm
[root@vps ~]#
This was before I ininstalled opcache, but as seen, I didn't use flag "T".
Code:
[root@vps ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 20G 8.3G 12G 42% /
none 6.0G 4.0K 6.0G 1% /dev
none 6.0G 0 6.0G 0% /dev/shm
[root@vps ~]#

Last edited by NotionCommotion; 05-16-2016 at 12:17 PM.
 
Old 05-16-2016, 12:39 PM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
It could be inodes are "short"
Post
Code:
df -i
output please.
 
Old 05-16-2016, 02:49 PM   #6
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,793

Rep: Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201
Shared memory is memory, so I guess it means swap device (does not have inodes).
I would rather check virtual memory with
Code:
free
 
Old 05-16-2016, 02:57 PM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
and I read "device" as "drive", silly me.
 
  


Reply

Tags
apache;subsys;



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd dead but subsys locked paleogryph Linux - Software 3 05-18-2016 10:37 AM
httpd dead but subsys locked on fedora 14 eswar425 Linux - Newbie 1 10-08-2013 07:13 AM
HTTPD dead but subsys locked jsaravana87 Linux - Server 1 02-02-2012 09:54 AM
httpd dead but subsys locked x2000koh Linux - General 5 03-21-2005 05:26 PM
service httpd status, results in httpd dead but subsys locked squadja Red Hat 2 09-11-2004 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration