Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: lighttpd issue.
PostPosted: Fri Jul 23, 2010 9:47 pm 
Offline
Senior Member

Joined: Thu Jul 22, 2010 8:23 pm
Posts: 60
Long time listener first time poster, so please be gentle.

I have a LAMP setup which is working well, but apache is a bit bloated, so after reading some of the threads on this board, i thought i would install lighttpd.

Install went fine, also installed fast-cgi. I was running apache and lighttpd in parallel on different ports to test that the system was stable, I then shutdown apache and shifted lighttpd onto port 80, and things were going along fine.

After a restart, lighttpd refused to come back up, producing the error

lighttpd dead but subsys locked

I deleted the lighttpd file from the subsys file, but the problem persists.

Can anyone offer any debugging tips?

I am running Centos 5.5 32bit.

Thanks


Top
   
 Post subject:
PostPosted: Fri Jul 23, 2010 11:05 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Did Apache come back alive after the restart, preventing lighttpd from binding to port 80? Could happen if you just shut down Apache and didn't actually uninstall it...


Top
   
 Post subject:
PostPosted: Fri Jul 23, 2010 11:14 pm 
Offline
Senior Member

Joined: Thu Jul 22, 2010 8:23 pm
Posts: 60
I stopped apache, that would automatically unbind port 80 wouldn't it?


Top
   
 Post subject:
PostPosted: Fri Jul 23, 2010 11:40 pm 
Offline
Senior Member

Joined: Thu Jul 22, 2010 8:23 pm
Posts: 60
Ok figured out it was a permission conflict with lighttpd unable to open access.log file. Apache was not running at the time either.

I set my permissions up so that user lighttpd was a member of the apache group, so i'm unsure as to why it doesn't have the same permissions.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group