bonienl Posted February 25, 2014 Author Share Posted February 25, 2014 Hey all- Web server for me is working like a champ. I did have one question. Not sure if its possible at all, but can you require user authentication to view the web page in question? Password protection is possible, but you need to edit the lighttpd configuration file /etc/lighttpd.conf manually. This site gives more explanation about how to set up lighttpd. Also keep in mind that your manual changes won't survive a system reboot. Quote Link to comment
althoralthor Posted February 26, 2014 Share Posted February 26, 2014 Thanks for the info! Appreciate it. Quote Link to comment
ltoolio Posted March 2, 2014 Share Posted March 2, 2014 when I execute lighttpd -f /etc/lighttpd.conf, I get the following back: 2014-03-01 18:59:37: (configfile.c.901) opening configfile /etc//boot/config/plugins/dynamix/dynamix.lighttpd.cfg failed: No such file or directory 2014-03-01 18:59:37: (configfile.c.855) source: /etc/lighttpd.conf line: 393 pos: 60 parser failed somehow near here: /boot/config/plugins/dynamix/dynamix.lighttpd.cfg Is the issue with the /etc//boot part? Quote Link to comment
bonienl Posted March 2, 2014 Author Share Posted March 2, 2014 when I execute lighttpd -f /etc/lighttpd.conf, I get the following back: 2014-03-01 18:59:37: (configfile.c.901) opening configfile /etc//boot/config/plugins/dynamix/dynamix.lighttpd.cfg failed: No such file or directory 2014-03-01 18:59:37: (configfile.c.855) source: /etc/lighttpd.conf line: 393 pos: 60 parser failed somehow near here: /boot/config/plugins/dynamix/dynamix.lighttpd.cfg Is the issue with the /etc//boot part? The file /boot/config/plugins/dynamix/dynamix.lighttpd.cfg is used to store custom configuration which can survive a system reboot. This file is created on your flash device and needs to be present for correct operation. If it went missing you can re-install the plugin, either manually or in the GUI (control plugin). It might be worth checking you flash device for any file corruption. Quote Link to comment
hermy65 Posted March 30, 2014 Share Posted March 30, 2014 I just installed the web server plugin from the plugin manager and am having some issues getting the server to actually start up. No matter what port i set up on the dashboard when i type: lighttpd -f /etc/lighttpd.conf I get this: 2014-03-29 20:57:11: (network.c.379) can't bind to port: 81 (or any other number) Address already in use My goal is to get plexWatch/Web up and running Quote Link to comment
DaleWilliams Posted March 30, 2014 Share Posted March 30, 2014 I just installed the web server plugin from the plugin manager and am having some issues getting the server to actually start up. No matter what port i set up on the dashboard when i type: lighttpd -f /etc/lighttpd.conf I get this: 2014-03-29 20:57:11: (network.c.379) can't bind to port: 81 (or any other number) Address already in use My goal is to get plexWatch/Web up and running Plex is on Port 32400 Quote Link to comment
hermy65 Posted March 30, 2014 Share Posted March 30, 2014 I understand this but im trying to get the webserver to actually function first of all. Also, when i run sudo fuser -v port/tcp it only shows one instance of lighttpd on that port. Then if i stop the webserver there are no instances of it Quote Link to comment
smoldersonline Posted April 6, 2014 Share Posted April 6, 2014 I hope this is the right place for my issue. I have also reported it here. I'm trying to run both Spotweb and plexWatchWeb. I (linux n00b!) thought I got it fixed by editing dynamix.lighttpd.cfg as follows: # User customizations # Add your own settings here. These won't get overwritten upon reboot # $SERVER["socket"] == ":81" { server.document-root = "/mnt/cache/_Usenet/appdata/www/plexWatchWeb/" } $SERVER["socket"] == ":84" { server.document-root = "/mnt/cache/_Usenet/Webserver/spotweb/" } plexWatchWeb initially works fine, but as soon as I have used Spotweb it will give an error on the homescreen. After a restart of the webserver it will work again (until I use Spotweb, of course). Any thoughts? Thanks a lot for your support! Quote Link to comment
optiman Posted July 4, 2014 Share Posted July 4, 2014 I need a webserver so I used the dynamix plugin manager to install it. I changed the install directory to /cache/appdata/web I'm getting error on console when I try to Apply my settings in the plugin - sed: can't read /boot/config/dynamix/php.ini : no such file or directory So I created the directory /boot/config/dynamix/ Where do I get he php.ini file? I was expecting that once the path was valid, it would create the ini file?? Do I just rename the dynamix.php.cfg to php.ini? Also, I try going to //tower:81 and it doesn't work. I even tried my server ip with port 81 - no go. How do I get to the ui? I can't seem to find a happy port either, tried 81, and then 8189 root@Tower:~# lighttpd -f /etc/lighttpd.conf 2014-07-04 11:54:39: (network.c.379) can't bind to port: 81 Address already in use root@Tower:~# lighttpd -f /etc/lighttpd.conf 2014-07-04 11:55:25: (network.c.379) can't bind to port: 8189 Address already in use root@Tower:~# Doesn't matter which port I pick, I get the same network.c.379 error. Quote Link to comment
trurl Posted July 7, 2014 Share Posted July 7, 2014 I need a webserver so I used the dynamix plugin manager to install it. I changed the install directory to /cache/appdata/web I'm getting error on console when I try to Apply my settings in the plugin - sed: can't read /boot/config/dynamix/php.ini : no such file or directory So I created the directory /boot/config/dynamix/ Where do I get he php.ini file? I was expecting that once the path was valid, it would create the ini file?? Do I just rename the dynamix.php.cfg to php.ini? Also, I try going to //tower:81 and it doesn't work. I even tried my server ip with port 81 - no go. How do I get to the ui? I can't seem to find a happy port either, tried 81, and then 8189 root@Tower:~# lighttpd -f /etc/lighttpd.conf 2014-07-04 11:54:39: (network.c.379) can't bind to port: 81 Address already in use root@Tower:~# lighttpd -f /etc/lighttpd.conf 2014-07-04 11:55:25: (network.c.379) can't bind to port: 8189 Address already in use root@Tower:~# Doesn't matter which port I pick, I get the same network.c.379 error. No longer using this, but I didn't have any of these problems and I didn't have to create any directories. Are you sure you don't have a problem with your flash? Quote Link to comment
optiman Posted July 7, 2014 Share Posted July 7, 2014 No issue with my flash, but I did just check it again - no errors and all of my other stuff is working fine. My other plugins are working, sabnzbd, CP, etc and I get to those just fine. I've included a couple of screenshots of my config. In short, I used the plugin manager to install the webserver and then rebooted. I changed the install directory to my cache drive. When I click on Apply, I see the php.ini error on my console. I try to get to the webserver and cannot - tower:85 I also tried the IP address with port 85. I guess I can try uninstalling and install again, after my parity check is done - about 24 hours from now. Update: I may have found out why it's not working. I just realized that my edited version of the plugin wasn't copied over to my flash. As per the first post, I edited the webserver plugin and used slackware version 14.00. However, it seems I accidentally copied the orginal, which has 13.37. I'll have to wait for my parity check to complete and then I'm going to uninstall it and install it again with the updated plugin file. I hope this is why it's not working. Quote Link to comment
optiman Posted July 9, 2014 Share Posted July 9, 2014 well edit the plg per the 1st post, none of that worked, see lots of FINE NOT FOUND ERROR during boot. Most likely a openssl conflict. too much effort to make this POS work - I'm done - I need a easy to install webserver - and this isn't it. I simple give up Quote Link to comment
SmallwoodDR82 Posted July 15, 2014 Share Posted July 15, 2014 Looking to see if anyone else is having the same issue. I'm running 5.0.4 with dynamix. Under the web server settings I have all 3 logs disabled. (PHP Error, Error, Access) Yet PHP Error continues to show up and grow. (I'm not so worried about the errors inside PHP, I'm more concerned that the file is showing up when I have it selected as disabled. I've rebooted server and selected enable and back to disable and the errors continue to show. Any ideas? Quote Link to comment
SmallwoodDR82 Posted July 19, 2014 Share Posted July 19, 2014 So everything "seems" to be installed and working "ok" other than the issue from my post above and the fact that the last few weeks I've had 2 crashes. noticed this error also sed: can't read /boot/config/dynamix/php.ini : no such file or directory Here is a screen shot (Attached) of when my system crashes. I can't do anything when it crashes, no syslog, no nothing. =\ any ideas? Quote Link to comment
optiman Posted July 19, 2014 Share Posted July 19, 2014 good luck - I didn't get any help with this plugin and decided to uninstall it Quote Link to comment
trurl Posted July 19, 2014 Share Posted July 19, 2014 So everything "seems" to be installed and working "ok" other than the issue from my post above and the fact that the last few weeks I've had 2 crashes. noticed this error also sed: can't read /boot/config/dynamix/php.ini : no such file or directory Here is a screen shot (Attached) of when my system crashes. I can't do anything when it crashes, no syslog, no nothing. =\ any ideas? See here Quote Link to comment
bonienl Posted August 18, 2014 Author Share Posted August 18, 2014 help please There is a bug in version 2.1.0 of the Dynamix web server (pointing to the wrong PHP file location). It will be corrected in the upcoming version. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.