|
Re: Problem starting appWeb (new findings): msg#00293misc.nslu2.linux
after several reboots it looks like this issue is a timing problem. when adding a 'sleep 10' to the startup skript appweb starts up as expected. Strange: when I redirect the log file to the root directory "/error.log" the sleep command is not necessary.... Walter --- In nslu2-linux-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx, "wettingus" <walter_hollenstein@xxxx> wrote: > > no, the process is not running, no log file, nothing. > > Walter > > --- In nslu2-linux-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx, CORNELIU DOBAN > <corneliu_doban@xxxx> wrote: > > I'ts normal to die when you log off if it was started by that shell. > > In the next version 1.3.3 they added a flag -d to run as a deamon > > > > I have no idea why is not working when restarting, at least is the > process running ? > > > > Corneliu > > > > wettingus <walter_hollenstein@xxxx> wrote: > > > > Dear all, > > > > > > I am running V2.3R25-uNSLUng-standard-3.18-beta > > having openssl, openssh and appWeb installed. > > > > now I am facing the problem that I can start appWeb by running > > /opt/etc/init.d/S81appweb from the command line and everything > looks > > fine. > > > > > > ps shows /opt/sbin/appWeb -f etc/appWeb.conf running and I can > access > > the sample web page. > > > > But as soon as I log off the telnet session the appWeb process is > > terminated as well. > > > > when rebooting the SLUG the startup script S81appweb is called > (added > > some logging in there), but appWeb is not started, > > no errors, nothing.... > > > > > > this is my /opt/etc/init.d/S81appweb > > ------------------------------------------- > > #!/bin/sh > > /bin/echo "start S81appweb" >> /test.log > > > > sleep 2 > > if [ -n "`pidof appWeb`" ]; then > > /bin/killall appWeb 2>/dev/null > > fi > > sleep 2 > > > > > > cd /dev > > rm /dev/random > > ln -s /dev/urandom /dev/random > > > > /bin/echo "call appweb" >> /test.log > > > > cd /opt/var/appWeb > > > > /opt/sbin/appWeb -f etc/appWeb.conf & > > > > cd / > > /bin/echo "end S81appweb" >> /test.log > > sleep 2 > > ------------------------------------------- > > > > > > > > > > > > I am stuck..... > > > > Walter > > > > > > > > > > > > > > > > > > [ Moderator Note: All static information is slowly moving to the > Wiki at http://www.nslu2-linux.org ] > > > > > > Yahoo! Groups SponsorADVERTISEMENT > > > > > > --------------------------------- > > Yahoo! Groups Links > > > > To visit your group on the web, go to: > > http://groups.yahoo.com/group/nslu2-linux/ > > > > To unsubscribe from this group, send an email to: > > nslu2-linux-unsubscribe-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service. > > > > > > > > --------------------------------- > > Do you Yahoo!? > > Yahoo! Small Business - Try our new resources site! [ Moderator Note: All static information is slowly moving to the Wiki at http://www.nslu2-linux.org ] |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Asterisk news: 00293, CORNELIU DOBAN |
|---|---|
| Next by Date: | spca5xx webcam support: 00293, sebster82 |
| Previous by Thread: | Re: Problem starting appWebi: 00293, wettingus |
| Next by Thread: | Re: Re: Problem starting appWeb (new findings): 00293, CORNELIU DOBAN |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |