aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: starting amuled (and amuleweb) at boot time in mandriva 2006  (Read 1715 times)

Crakem

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 103
starting amuled (and amuleweb) at boot time in mandriva 2006
« on: December 05, 2006, 10:11:39 PM »

Yes, I know. There is a lot of posts for this theme. But I'm using mandriva 2006 Mini in a very old computer (K6-2) with aMule-CVS-20060924 compiled only for amuled, amuleweb and amulecmd.

I set to start amuleweb in amule.conf, it works ok when I'm logged as user. But when I start amuled at boot time, amuleweb don't start with amuled. I have cheched my script with i could find in the forum but I don't understand why amulewed don't start.

I have checked the script when I'm logged as root and works ok.

I start amuled with: su -c /"path to amuled"/amuled -f -iwouldmarrymymule ... (you know...)

I check logfile and I read: ERROR: Error You requested to run webserver from startup, but the amuleweb binary cannot be run. Please install the package containing aMule webserver, or compile aMule using --enable-webserver and run make install

Where try amuled to find the amuleweb script? I hace all in /usr/local/bin (as default)

Please, could somebody say me something???  ;(
« Last Edit: December 05, 2006, 10:14:01 PM by Crakem »
Logged

Crakem

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 103
Re: starting amuled (and amuleweb) at boot time in mandriva 2006
« Reply #1 on: February 21, 2007, 10:10:48 PM »

Well, as I was able to learn in the forum, we need run command:
 ./amuleweb -w
that command make remote.conf archive, which we have to fill with our data (password/ports...)
with that file, we can start amuleweb without problems at startup.

One thing more, if your amuleweb crash and you don't want to restart amuleweb, you could use next command:

screen -dmS amuleweb /<path to amuleweb>/amuleweb -q

That command start a screen session which be let us logout linux without closing amuleweb (background don't work)
We could reconnect to amuleweb session with:

screen -r amuleweb

and leave one time more with keys:

ctrl + a

Maybe would be interesting a option for check if amuleweb is crashed and restart it  (automatically) if necesary

Funny with amuled!!  :D
Logged