[gelöst] 7170 Trunk 5010M - wolwebIF startet nicht

winstonS

Neuer User
Mitglied seit
27 Aug 2007
Beiträge
74
Punkte für Reaktionen
0
Punkte
0
Starting httpd-wol...failed.

find / -name httpd-wol findet nichts
würde gerne mal den output sehen warum er
nicht startet

vor einigen versionen ging es noch
da es im experimental pakete zweig ist no probs ;)
 
Zuletzt bearbeitet:
Ist das Skript denn nicht unter /etc/init.d?

MfG Oliver
 
Du solltest mal nach rc.wol suchen ;-)

Ups, da war ja schon einer mit einer ähnlichen Idee :oops:
 
./rc.wol
httpd-wol is disabled.

./rc.wol start
Starting httpd-wol...httpd: bind: Address already in use
failed.

habe auch mal die adresse geändert auf 7777 und 84 aber immer
dasselbe - laut netstat -lnp sind die Ports frei
 
Wie kommst du eigentlich zu dem "modifizierten" trunk 5010M ?
 
cut and paste von der freetz oberfläche
freetz-devel-5010M
per svn up ausgecheckt
 
Auf welchem Port soll das Interface denn laufen? Entweder läuft es schon (inetd?) oder es läuft was anderes auf dem Port. Ausgabe von ps?

MfG Oliver
 
da läuft nichts es ging auch über viele versionen mit port 82
habe jetzt nur mal testhalber geändert auf 7777 und 84
beides mal der fehler beim Starten

Code:
/etc/init.d # ps
  PID USER       VSZ STAT COMMAND
    1 root      1432 S    init
    2 root         0 SWN  [ksoftirqd/0]
    3 root         0 SW<  [events/0]
    4 root         0 SW<  [khelper]
    5 root         0 SW<  [kthread]
    6 root         0 SW<  [kblockd/0]
   23 root         0 SW<  [pdflush]
   24 root         0 SW<  [pdflush]
   26 root         0 SW<  [aio/0]
   25 root         0 SW   [kswapd0]
   62 root         0 SW   [pm_info]
   66 root         0 SW<  [CPMAC]
   70 root         0 SW   [mtdblockd]
   96 root         0 SW   [tffsd_mtd_0]
  355 root         0 SW<  [capi_oslib]
  356 root         0 SW<  [capi_oslib]
  357 root         0 SW   [capitransp]
  363 root         0 SW   [glob_codecs]
  377 root         0 SW<  [khubd]
  445 root      8956 S N  ctlmgr
  461 root      2212 S    wpa_authenticator
  492 root      8956 R N  ctlmgr
  493 root      8956 R N  ctlmgr
  494 root      8956 R N  ctlmgr
  495 root      8956 S N  ctlmgr
  496 root      8956 S N  ctlmgr
  524 root      3284 S    multid -U -P
  536 root      3896 S    dsld -i -n -g
  547 root      4732 S    telefon a127.0.0.1
  551 root      4992 S <  voipd
  556 root      3160 S    pbd
  559 root      3160 S    pbd
  560 root      3160 S    pbd
  561 root      3160 S    pbd
  562 root      3160 S    pbd
  566 root      4732 S    telefon a127.0.0.1
  567 root      4732 S    telefon a127.0.0.1
  568 root      4732 S    telefon a127.0.0.1
  573 root      1116 S    /bin/run_clock -c /dev/tffs -d
  646 root      1424 S    httpd -P /var/run/webcfg.pid -p 81 -c /mod/etc/httpd
  668 root      1628 S    syslogd -L -C
  670 root      1612 S    /sbin/klogd -c 4
  761 root      1432 S    dropbear -p 22 -R
  923 root      1432 S    init
 1117 root         0 RWN  [kdsld_token]
 1597 root      1488 S    dropbear -p 22 -R
 1598 root      1452 S    -sh
 1652 root      1424 R    ps
 
Standard ist mein ich port 82.
Zu dem M kommst du aber bei einen frischen checkout ohne weiteres Zutun (patch,...) nicht.

BTW: pack den output bitte in
Code:
-Tags. Sonst muß olistudent wieder ran ;-)
 
evtl das M weil ich noch gewisse addons habe? =)
 
Nun, dann solltest du ein Image bauen indem nichts gewählt ist, ausser dem Wol-cgi und, ich vermute mal, cam-Zeugs weglassen
 
ok baue ich - obwohl kein addon gestartet ist
außer cams gibt es noch andere z.B. fritzdownloader...
 
War ja auch (noch) kein Vorwurf sondern nur eine Vermutung :)
Auf welchem Port läuft denn der downloader normalerweise?
 
ich antworte mal indirekt - es tritt auch ohne addons auf ... :)
nur folgende pakete:
authorized_keys avm_firewall dropbear > disable_host_lookup
e2fsprogs > blkid > static fstyp haserl modcgi wol
habe nochmal neu ausgecheckt ist nun 5012

da es ziemlich lange lief und jetzt 3 verschiedenen Ports nicht mehr
tippe ich auf einen Fehler

gibt es evtl. einen debug outout?
 
Wenn du mit "sh -x /etc/init.d/rc.wol start" aufrufst, dann sollte etwas mehr zu sehen sein. Ich vermutet auch einen Fehler in der modlibrc.

MfG Oliver
 
jetzt habe ich mal Port 5555 eingestellt
btw. unglaublich wie schnell Ihr hier antwortet - als würdet ihr das hauptberuflich machen
denke aber das ist nicht der Fall? =)

Code:
/etc/init.d # sh -x /etc/init.d/rc.wol start
+ DAEMON=httpd-wol
+ DAEMON_LONG_NAME=wol webinterface
+ PID_FILE=/var/run/webcfg-wol.pid
+ CONF_NAME=wol
+ . /etc/init.d/modlibrc
+ export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/mod/sbin:/mod/bin:/mod/usr/sbin:/mo                                                                              d/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ [ -n httpd-wol ]
+ [ ! -r /mod/etc/conf/wol.cfg ]
+ modlib_loadconfig
+ local CONF_FILE=/mod/etc/conf/wol.cfg
+ [ -r /mod/etc/conf/wol.cfg ]
+ . /mod/etc/conf/wol.cfg
+ export WOL_ENABLED=no
+ export WOL_PLAIN_PASSWD=deleted
+ export WOL_PORT=5555
+ export WOL_USER=deleted
+ modlib_start
+ local DAEMON_ENABLED=
+ [  == no ]
+ [  == inetd -a -x /etc/init.d/rc.inetd ]
+ modlib_check_running
+ env
+ grep -i ^httpd-wol_ENABLED=
+ sed s/.*=//
+ [  == inetd ]
+ local fn=/var/run/webcfg-wol.pid
+ [ ! -s /var/run/webcfg-wol.pid ]
+ return 3
+ start
+ modlib_startdaemon webcfg-wol -P /var/run/webcfg-wol.pid
+ echo -n Starting httpd-wol...
Starting httpd-wol...+ config
+ env - PATH=/sbin:/bin:/usr/sbin:/usr/bin:/mod/sbin:/mod/bin:/mod/usr/sbin:/mod                                                                              /usr/bin webcfg-wol -P /var/run/webcfg-wol.pid
httpd: bind: Address already in use
+ local rv=1
+ [ 1 -ne 0 ]
+ echo failed.
failed.
+ exit 1
 
alles wieder OK!
die Reaktionszeit ist ja sagenhaft... ;)
 
Dann editier deinen Eingangspost indem du vor den Titel etwas wie [Gelöst] schreibst.
Sollte noch jemand das Problem haben stößt er ja vielleicht auf die Lösung.
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.