aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Problem with aMule run  (Read 3929 times)

silelis

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Problem with aMule run
« on: February 26, 2009, 11:58:59 AM »

I compiled amule modules:
-amulecmd
-amuled
-amuleweb
-autostart-xas
-ed2k

I tried to start it (amuleweb) according to this instruction but no config file was appeard in dir.
Whot is wrong with it?

amuled output is:

Code: [Select]
amuled: OnInit - starting timer
Initialising aMuled 2.2.3 using  v2.8.9
Checking if there is an instance already running...
No other instances are running.
ERROR: WARNING Warning! You are running aMule as root.
Doing so is not recommended for security reasons,
and you are advised to run aMule as an normal
user instead.
HTTP download thread started
ListenSocket: Ok.
Loading temp files from /home/root/.aMule/Temp.

All PartFiles Loaded.
No shareable files found in directory: /home/root/.aMule/Incoming

ERROR: aMule daemon cannot be used when external connections are disabled. To enable External Connections, use either a normal aMule, start amuled with the option --ec-config or set the key"AcceptExternalConnections" to 1 in the file ~/.aMule/amule.conf

Now, exiting main app...
aMule OnExit: Terminating core.
aMule shutdown completed.
« Last Edit: February 26, 2009, 12:04:13 PM by silelis »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Problem with aMule run
« Reply #1 on: February 26, 2009, 07:59:49 PM »

Please read the program output first thing. It contains two important messages:
a) Running aMule with root privileges is dangerous. Use a non-priviliged user to run aMule.
b) Start amuled with the --ec-config option to enable External connections, that is "amuled --ec-config".
Logged

silelis

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: Problem with aMule run
« Reply #2 on: February 27, 2009, 12:04:15 PM »

a) Running aMule with root privileges is dangerous. Use a non-priviliged user to run aMule.

Becouse my host is set top sattelite tuner the main user is root  and Linux by default starts as user (most of  tuner function require root user)
I can add another users, but I don't know how to execute aMule as  non-priviliged user.
Is it possible for example write start script in which I'll execute aMule as  non-priviliged?

b) Start amuled with the --ec-config option to enable External connections, that is "amuled --ec-config".

I execute amuled --ec-config the output is:

Code: [Select]
amuled: OnInit - starting timer
Initialising aMuled 2.2.3 using  v2.8.9
Checking if there is an instance already running...
No other instances are running.

EC configuration
Enter password for mule connection:
Password set and external connections enabled.
ERROR: WARNING Warning! You are running aMule as root.
Doing so is not recommended for security reasons,
and you are advised to run aMule as an normal
user instead.

--------------------------------------------------
Warning! You are running aMule as root.
Doing so is not recommended for security reasons,
and you are advised to run aMule as an normal
user instead.
--------------------------------------------------

HTTP download thread started
ListenSocket: Ok.
Loading temp files from /home/root/.aMule/Temp.

All PartFiles Loaded.
No shareable files found in directory: /home/root/.aMule/Incoming
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 200 (Error: 0)
Download size: 6
HTTP download thread ended

No config file appeared  in directory probably because I'm still root.

Some ideas how to execute it as  non-priviliged user?
Logged