lighttpd will not start

424 views
Skip to first unread message

Thomas

unread,
May 27, 2012, 5:44:08 AM5/27/12
to al...@googlegroups.com
Hi,
Used ffp0.5 for many years. Upgraded to ffp0.7 few months back. Now discovered alt-f and was very excited and tried immediately.
I removed (renamed) my ffp07 install. Installed alt-f over the d-link firmware and everything went perfect. I then installed ffp (0.5?) via the alt-f webpage. Transmission is for example working perfectly after this.

Problem 1 - DHCP-setting does not stick.
Even if I save my changes in the settings tab, after reboot the alt-f is always back to static IP. I have to set it manually to DHCP  (which I also prefer), but wihtout DHCP I cannot access my shares over my LAN for some reason.

Problem 2 - Lighttpd crashes
I have configured lighttpd via alt-f web-config. I have tried with and without php enabled. If I StartNow lighttpd via the web page, it says "Running". But if I go into Services/Network again it has reverted back to Stopped.
What am I missing here? And where is the lighttpd error log located?

Problem 3 - Dlink webpages are gone?
If I disable the fun_plug file and reboot, I get the "normal" D-link shares. But the D-link admin web-page is not working on the box IP-address. How come?

I would really appreciate some hints on what could be wrong.

Joao Cardoso

unread,
May 28, 2012, 4:58:40 PM5/28/12
to al...@googlegroups.com


On Sunday, May 27, 2012 10:44:08 AM UTC+1, Thomas wrote:
Hi,
Used ffp0.5 for many years. Upgraded to ffp0.7 few months back. Now discovered alt-f and was very excited and tried immediately.
I removed (renamed) my ffp07 install. Installed alt-f over the d-link firmware and everything went perfect. I then installed ffp (0.5?) via the alt-f webpage. Transmission is for example working perfectly after this.

Problem 1 - DHCP-setting does not stick.
Even if I save my changes in the settings tab, after reboot the alt-f is always back to static IP. I have to set it manually to DHCP  (which I also prefer), but wihtout DHCP I cannot access my shares over my LAN for some reason.

When using "reloaded" (or "on-top" ),  fun_plug passes to Alt-F the current box IP, and Alt-F configures itself with it as a static IP.
You can change this by editing the fun_plug file and *commenting* the line "KIP=yes" near its top. (Setting it to "no" will *not* work.)

But then you will fall into a known RC2 issue, (no samba shares visible). Please read the RC2 release notes under the topic "Alt-F-0.1RC2 is released)"

 
Problem 2 - Lighttpd crashes
I have configured lighttpd via alt-f web-config. I have tried with and without php enabled. If I StartNow lighttpd via the web page, it says "Running". But if I go into Services/Network again it has reverted back to Stopped.
What am I missing here? And where is the lighttpd error log located?

Have you created the "Server root" directory? I set mine to "/mnt/md0/WebData"

The logs should be available at System->Utilities->View logs. If you can't find lighttpd.log there, try using the command line to start lighttpd:

   rclighttpd start

and see if any message appears there.

 
Problem 3 - Dlink webpages are gone?
If I disable the fun_plug file and reboot, I get the "normal" D-link shares. But the D-link admin web-page is not working on the box IP-address. How come?

Alt-F has noting to do with it. Alt-F don't touch the box/disk settings. Probably the box is using a different IP, try looking at yours router DHCP server leases, or use the "open device webpage" (or whatever it is called) in the windows network browser, when pointing to the NAS and clicking the right mouse button.

Thomas

unread,
May 30, 2012, 1:53:02 PM5/30/12
to al...@googlegroups.com
Thanks for quick and good reply!

DHCP-setting. Editing the fun_plug file did the trick.

Lighttpd not starting. Thanks for point out the logs. Restarting with "rclighttpd start" showed some problems with access right to the server root directory. Easy solved with some chmod-commands.

The D-Link webpages mysteriously came back after a normal reboot. Case closed.

Now I have problems getting cms working with sqlite, and problems getting mysql and Alt-F running together. But I think I will start a new thread on that eventually.
Thanks!
/Thomas

Joao Cardoso (Alt-F)

unread,
May 30, 2012, 4:52:13 PM5/30/12
to al...@googlegroups.com
On Wednesday 30 May 2012 10:53:02 Thomas wrote:
> Thanks for quick and good reply!
>
> DHCP-setting. Editing the fun_plug file did the trick.
>
> Lighttpd not starting. Thanks for point out the logs. Restarting with
> "rclighttpd start" showed some problems with access right to the server
> root directory. Easy solved with some chmod-commands.

Do you remember what the problem was, so I can fix it for other users?

Thanks

Thomas

unread,
May 31, 2012, 2:02:50 AM5/31/12
to al...@googlegroups.com
It was totally my own fault. The problem was that I had chosen my old web-folder as server-root-folder. I also wanted lighttpd to use my old server-logs located there, so I had changed the lighttpd config-file (which Im not supposed to) to use that file. After I got it working I discovered the Alt-F-web-logs and changed back to original lighttpd config file setting.
Reply all
Reply to author
Forward
0 new messages