Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
Mint 15: Today's best Linux desktop (Review)
High Availability - Real Time Data Replication Across Multiple Nodes using GlusterFS On Centos 6 / RHEL 6
ReKonq Gaining Chrome Extension Support, Still Sponsored By Blue Systems
Rapid development of citizen cyberscience projects on Crowdcrafting.org
Qt 5.1 Launches on Tizen with Standard Look and Feel
The best new WIMP desktop today: Linux Mint 15 (Gallery)
Steven Ovadia: I wiped Windows and never looked back
Install HY-D-V1 desktop on Ubuntu 13.04
Bitdefender Clueful exposes Android spies
Emmabuntus - The French Revolution
more
Recent comments
Re: PHP now has mail logging built-in
18 hours 41 min ago
Success!
1 day 4 hours ago
Installation successful, but I can't receive any mail...
1 day 4 hours ago
Security
1 day 8 hours ago
I skimmed through the steps,
1 day 12 hours ago
Thanks
1 day 13 hours ago
Monit problem
1 day 15 hours ago
Merci
2 days 1 hour ago
I found that php_flag
2 days 6 hours ago
Great stuff!
2 days 7 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
Linux Forums
>
Server Operation
Error starting Lighttpd
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
22nd November 2009, 15:35
jadude
Junior Member
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Error starting Lighttpd
Hello there i am running a webserver on ubuntu 8.04
My problem is since recently without changing anything to the server it keeps dropping permission for lighttpd log directory
so i have to run a command each time to chown the directory before i can get lighttpd running
Error Below
opening errorlog '/var/log/lighttpd/error.log' failed: Permission denied
Opening errorlog failed. Going down.
I have to run chown -R www-data:www-data /var/log/lighttpd before restarting the server, does anyone knows how to fix this please.
Thank you. I used the tutorials found on this site to Install my webserver
You guys ROCK
Thanks in advance
jadude
View Public Profile
Send a private message to jadude
Find all posts by jadude
Sponsored Links
#
2
23rd November 2009, 14:14
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
Who owns the directory before you run the chown command?
__________________
Falko
--
Download the
ISPConfig 3 Manual
! | Check out the
ISPConfig 3 Billing Module
!
FB:
http://www.facebook.com/howtoforge
nginx-Webhosting: Timme Hosting
| Follow me on:
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko
#
3
23rd November 2009, 16:55
jadude
Junior Member
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
www-data owns the directory which is the user for lighttpd
jadude
View Public Profile
Send a private message to jadude
Find all posts by jadude
#
4
24th November 2009, 14:52
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
Can you post the output of
Code:
ls -la /var/log/lighttpd/
when the ownerships are wrong?
__________________
Falko
--
Download the
ISPConfig 3 Manual
! | Check out the
ISPConfig 3 Billing Module
!
FB:
http://www.facebook.com/howtoforge
nginx-Webhosting: Timme Hosting
| Follow me on:
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko
#
5
25th November 2009, 05:26
jadude
Junior Member
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
This is the output of the directory
Quote:
drwxrwx--- 2 www-data www-data 4096 Nov 23 07:49 .
drwxr-xr-x 17 root root 4096 Nov 24 07:57 ..
-rw-r----- 1 syslog adm 0 Nov 23 07:49 access.log
-rw-r----- 1 www-data www-data 2852083359 Nov 24 23:24 access.log.0
-rw-r----- 1 www-data www-data 107637272 Nov 21 18:20 access.log.1.gz
-rw-rw-r-- 1 www-data www-data 156535547 Oct 11 07:41 access.log.10.gz
-rw-rw-r-- 1 www-data www-data 164437510 Sep 13 06:47 access.log.11.gz
-rw-rw-r-- 1 www-data www-data 166732299 Aug 30 06:42 access.log.12.gz
-rw-rw---- 1 www-data www-data 36452819 Nov 22 07:53 access.log.2.gz
-rw-rw---- 1 www-data www-data 90378101 Nov 20 11:58 access.log.3.gz
-rw-rw---- 1 www-data www-data 352172419 Nov 18 21:02 access.log.4.gz
-rw-rw---- 1 www-data www-data 29706364 Nov 19 07:59 access.log.5.gz
-rw-rw---- 1 www-data www-data 202849893 Nov 12 13:41 access.log.6.gz
-rw-rw---- 1 www-data www-data 4321550 Nov 8 07:36 access.log.7.gz
-rw-rw---- 1 www-data www-data 15974329 Oct 23 07:50 access.log.8.gz
-rw-rw---- 1 www-data www-data 20914963 Oct 18 07:49 access.log.9.gz
-rw-rw---- 1 syslog adm 178253 Nov 24 23:13 error.log
-rw-rw---- 1 www-data www-data 194893 Nov 21 18:20 error.log.0
-rw-rw---- 1 www-data www-data 2986 Nov 22 06:56 error.log.1.gz
-rw-rw-r-- 1 www-data www-data 15210 Sep 13 06:40 error.log.10.gz
-rw-rw-r-- 1 www-data www-data 14854 Sep 6 06:50 error.log.11.gz
-rw-rw-r-- 1 www-data www-data 18905 Aug 30 06:40 error.log.12.gz
-rw-rw---- 1 www-data www-data 68352 Nov 18 21:02 error.log.2.gz
-rw-rw---- 1 www-data www-data 2847 Nov 19 07:55 error.log.3.gz
-rw-rw---- 1 www-data www-data 20883 Nov 7 23:30 error.log.4.gz
-rw-rw---- 1 www-data www-data 31851 Oct 24 07:50 error.log.5.gz
-rw-rw---- 1 www-data www-data 9662 Oct 25 07:50 error.log.6.gz
-rw-rw---- 1 www-data www-data 13725 Oct 17 07:50 error.log.7.gz
-rw-rw-r-- 1 www-data www-data 14472 Sep 20 07:35 error.log.9.gz
jadude
View Public Profile
Send a private message to jadude
Find all posts by jadude
#
6
25th November 2009, 08:58
damir
Senior Member
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 48 Times in 40 Posts
Run:
chown www-data:www-data /var/log/lighttpd/error.log
and restart you lighttpd service.
damir
View Public Profile
Send a private message to damir
Find all posts by damir
#
7
25th November 2009, 14:13
jadude
Junior Member
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
ok thanks, hopefully it shouldnt lose permissions now
jadude
View Public Profile
Send a private message to jadude
Find all posts by jadude
#
8
25th November 2009, 19:16
jadude
Junior Member
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
After a Few hours its back. syslog has taken permission of error.log once more
Quote:
drwxrwx--- 2 www-data www-data 4096 Nov 23 07:49 .
drwxr-xr-x 17 root root 4096 Nov 25 07:42 ..
-rw-r----- 1 syslog adm 235850578 Nov 25 13:13 access.log
-rw-r----- 1 www-data www-data 3069827650 Nov 25 08:10 access.log.0
-rw-r----- 1 www-data www-data 107637272 Nov 21 18:20 access.log.1.gz
-rw-rw-r-- 1 www-data www-data 156535547 Oct 11 07:41 access.log.10.gz
-rw-rw-r-- 1 www-data www-data 164437510 Sep 13 06:47 access.log.11.gz
-rw-rw-r-- 1 www-data www-data 166732299 Aug 30 06:42 access.log.12.gz
-rw-rw---- 1 www-data www-data 36452819 Nov 22 07:53 access.log.2.gz
-rw-rw---- 1 www-data www-data 90378101 Nov 20 11:58 access.log.3.gz
-rw-rw---- 1 www-data www-data 352172419 Nov 18 21:02 access.log.4.gz
-rw-rw---- 1 www-data www-data 29706364 Nov 19 07:59 access.log.5.gz
-rw-rw---- 1 www-data www-data 202849893 Nov 12 13:41 access.log.6.gz
-rw-rw---- 1 www-data www-data 4321550 Nov 8 07:36 access.log.7.gz
-rw-rw---- 1 www-data www-data 15974329 Oct 23 07:50 access.log.8.gz
-rw-rw---- 1 www-data www-data 20914963 Oct 18 07:49 access.log.9.gz
-rw-rw---- 1 syslog adm 202837 Nov 25 13:01 error.log
-rw-rw---- 1 www-data www-data 194893 Nov 21 18:20 error.log.0
-rw-rw---- 1 www-data www-data 2986 Nov 22 06:56 error.log.1.gz
-rw-rw-r-- 1 www-data www-data 15210 Sep 13 06:40 error.log.10.gz
-rw-rw-r-- 1 www-data www-data 14854 Sep 6 06:50 error.log.11.gz
-rw-rw-r-- 1 www-data www-data 18905 Aug 30 06:40 error.log.12.gz
-rw-rw---- 1 www-data www-data 68352 Nov 18 21:02 error.log.2.gz
-rw-rw---- 1 www-data www-data 2847 Nov 19 07:55 error.log.3.gz
-rw-rw---- 1 www-data www-data 20883 Nov 7 23:30 error.log.4.gz
-rw-rw---- 1 www-data www-data 31851 Oct 24 07:50 error.log.5.gz
-rw-rw---- 1 www-data www-data 9662 Oct 25 07:50 error.log.6.gz
-rw-rw---- 1 www-data www-data 13725 Oct 17 07:50 error.log.7.gz
-rw-rw-r-- 1 www-data www-data 14472 Sep 20 07:35 error.log.9.gz
jadude
View Public Profile
Send a private message to jadude
Find all posts by jadude
#
9
26th November 2009, 17:01
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
I think you should check your syslogd configuration.
__________________
Falko
--
Download the
ISPConfig 3 Manual
! | Check out the
ISPConfig 3 Billing Module
!
FB:
http://www.facebook.com/howtoforge
nginx-Webhosting: Timme Hosting
| Follow me on:
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko
#
10
13th December 2009, 15:11
jadude
Junior Member
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
*.none /var/log/lighttpd/error.log
*.none /var/log/lighttpd/access.log
These are the only reference i see of lighttpd in syslog.conf
i commented them out and will be testing to see if this works
jadude
View Public Profile
Send a private message to jadude
Find all posts by jadude
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Help! Lighttpdd not installing on CentOS 5.2
Colum
Server Operation
4
5th January 2010
04:07
lighttpd dead
kia
Server Operation
2
21st September 2009
13:38
Haproxy + Lighttpd / fast cgi
EazySnatch
Installation/Configuration
0
29th September 2008
16:22
Debian + Lighttpd + MySQL + PHP + ISPConfig
crux
Server Operation
3
26th September 2008
00:36
Question Regarding: Installing Lighttpd With PHP5 And MySQL Support On OpenSUSE 10.3
Gokou023
HOWTO-Related Questions
3
12th December 2007
16:06
All times are GMT +2. The time now is
03:53
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
18 hours 41 min ago
1 day 4 hours ago
1 day 4 hours ago
1 day 8 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 15 hours ago
2 days 1 hour ago
2 days 6 hours ago
2 days 7 hours ago