WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: a2webd is startup script for a2web  (Read 4063 times)

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
a2webd is startup script for a2web
« on: August 19, 2012, 11:33:22 AM »
now i'm prepare a final release of a2webd
it soon be available in repo and on download page

but there is still a question
at boot sometimes occurs following
Quote
tc@box:~$ cat /var/log/a2webd/aria2.20120819150314.log
2012-08-19 15:03:14.797447 ERROR - [HttpListenCommand.cc:115]IPv4 RPC: failed to bind port 6800
Exception: [SocketCore.cc:305] errorCode=1 Failed to bind a socket, cause: Name or service not known

2012-08-19 15:03:14.797512 ERROR - IPv4 RPC: failed to bind port 6800
Exception: [SocketCore.cc:305] errorCode=1 Failed to bind a socket, cause: Name or service not known
2012-08-19 15:03:14.797609 ERROR - [HttpListenCommand.cc:115]IPv6 RPC: failed to bind port 6800
Exception: [SocketCore.cc:305] errorCode=1 Failed to bind a socket, cause: Name or service not known


2012-08-19 15:03:14.797614 ERROR - IPv6 RPC: failed to bind port 6800
Exception: [SocketCore.cc:305] errorCode=1 Failed to bind a socket, cause: Name or service not known
2012-08-19 15:03:14.797676 ERROR - [MultiUrlRequestInfo.cc:291]Exception caught
Exception: [DownloadEngineFactory.cc:186] errorCode=1 Failed to setup RPC server.

2012-08-19 15:03:14.797680 ERROR - Exception caught
Exception: [DownloadEngineFactory.cc:186] errorCode=1 Failed to setup RPC server.
tc@box:~$
could this happen because at the same time xampp is loaded?
Quote
tc@box:~$ cat /opt/bootlocal.sh
#!/bin/sh
# put other system startup commands here
/opt/tc_home_folders.sh
/opt/tc_make_xchange.sh
/opt/tc_optimization.sh
/opt/tc_video_config.sh
/opt/tc_wbar_options.sh
/usr/local/sbin/basic-firewall noprompt &
/usr/local/bin/wifi.sh auto 2>&1 > /tmp/wifi.log &
/usr/local/etc/init.d/dbus start &
/usr/local/etc/init.d/atieventsd start &
/usr/local/etc/init.d/alsasound start &
/usr/local/etc/init.d/chrony start &
/usr/local/etc/init.d/acpid start &
[ -x /opt/lampp/lampp ] && /opt/lampp/lampp start &
[ -x /usr/local/etc/init.d/a2webd ] && /usr/local/etc/init.d/a2webd start &

tc@box:~$
but then i don't understand why sometimes it happens and sometimes not
and how this circumvent? advance i'll be grateful for any ideas :)
« Last Edit: August 19, 2012, 11:56:11 AM by AbNoRMiS »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)