OUR NETWORK:MyDigitalEntertainer TechLore MyOpenRouter Explore3DTV MediaSmart Home See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 90624.3
January 28, 2010 09:06 AM

Categories: PogoPlug Development

Rating (0 votes)
Rate This!

Member Avatar

ek

Member
Joined: 01/28/2010

Have issue starting and configuring Lighttpd. Can you help?

login as: root
root@192.168.2.89's password:
-bash-3.2# /opt/etc/init.d/s80lighttpd start
-bash: /opt/etc/init.d/s80lighttpd: No such file or directory
-bash-3.2# /opt
-bash: /opt: is a directory
-bash-3.2# /opt/etc/init.d/S80lighttpd start
Starting web server: lighttpd
2010-01-28 15:01:12: (server.c.629) opening pid-file failed: /var/run/lighttpd.p              id No such file or directory
-bash-3.2#
-bash-3.2#
 

Discussion:    Add a Comment | Comments 1-3 of 3 | Latest Comment

January 28, 2010 9:31 AM

It looks like the first thing you need to do is edit your config file.
Probably here opt/etc/lighttpd/lighttpd.conf

Place Shifting Enthusiasts

January 28, 2010 10:10 AM updated: January 28, 2010 10:10 AM

On startup the /var folder is created in RAM and disappears at power off. The /var/run is not created at all unless you have deliberately changed /etc/init.d/rcS to create it, so the /var/run/lighttpd.p will not exist, hence the error.

You need to change the lighttpd.conf file to locate the lighttpd.p file somewhere on your /opt folder so that it will exist when lighttpd starts up.

July 27, 2010 7:47 AM

I decided to add "mkdir -p /var/run" to /etc/init.d/rcS, to avoid having to remember to change the config of every package I install.

However, when I reboot the Pogoplug, lighttpd doesn't start, even though /opt/etc/init.d/S80lighttpd exists and ought to start it.

What config detail have I missed?

--
Rgds
Peter.

Discussion:    Add a Comment | Comments 1-3 of 3 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window