Hello there!
I've compiled amule "aMuleD 2.3.1 compiled with wxGTK2 v2.8.12 (Debugging)", on RHEL 6_5----2.6.32-431.el6.i686(Santiago);
I've configured amule options/preferences with the gui, and sure, I've setup ports and enable RC and web services;
Closed the gui, write and run the daemon with service/initd script:
daemon --user=$USER amuled -f -c /opt/aMule/.amule/
in the log I can see that lines:
"ERROR: ERROR You requested to run web server on startup, but the amuleweb binary cannot be run. Please install the package containing aMule web server, or compile aMule using --enable-webserver and run make install".
I've compiled amule with this options:
--prefix=/opt/aMule --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-amule-gui --enable-wxcas --enable-alcc --enable-debug --enable-upnp
My amule.conf and my initd script are in attachement.
If I try to edit initd script like this:
daemon --user=$USER amuled -f -c /opt/aMule/.amule/ -w /opt/aMule/bin/amuleweb
I get this error:
"ERROR: ERROR You requested to run web server on startup, but the amuleweb binary cannot be run. Please install the package containing aMule web server, or compile aMule using --enable-webserver and run make install".
If I try to run:
/opt/aMule/bin/amuleweb -q &
Process starts and run, but I can't connect to http server page...
If I run without sent it to bg, daemon ask me RC password, but when I write it, no output and no process....
[root@vShare ~]# sudo -u vShare /opt/aMule/bin/amuleweb -v -f /opt/aMule/.amule/remote.conf -p 24700 -s 24600 -A ********
or
[root@vShare ~]# sudo -u vShare /opt/aMule/bin/amuleweb -v -f /opt/aMule/.amule/remote.conf* -p 24700 -s 24600 -A ******** -q &
*remote.conf it's a copy of amule.conf
Output is the same :
looking for template: /opt/aMule/.amule/webserver/default
checking for directory '/root/.aMule/webserver'... no
checking for directory '/opt/aMule/share/amule/webserver'... yes
checking for directory '/opt/aMule/share/amule/webserver/opt/aMule/.amule/webserver/default'... no
checking for directory '/opt/aMule/share/amule/webserver'... yes
checking for directory '/opt/aMule/share/amule/webserver/opt/aMule/.amule/webserver/default'... no
Template /opt/aMule/.amule/webserver/default not found, reverting to default
looking for template: default
checking for directory '/root/.aMule/webserver'... no
checking for directory '/opt/aMule/share/amule/webserver'... yes
checking for directory '/opt/aMule/share/amule/webserver/default'... yes
checking for file '/opt/aMule/share/amule/webserver/default/login.php'... yes
This is amuleweb 2.3.1
Enter password for mule connection:
Creating client...
Connection Failed. Unable to connect to localhost:24700
but netstat say another thing:
tcp 0 0 172.16.4.4:24700 0.0.0.0:* LISTEN
(telnet from another pc on the same subnet and on tcp 26700, works, http on 24600 no, and no socket listens on 24600)
Same thing if I run amuleweb -w as described on wiki...
If I try to run amulegui (that has RC and WEBserver enabled, see image in attachment) with -o oprion (print log messages to stdout), I get this messages:
!2014-10-20 00:21:55: amule.cpp(654): web server is running on pid 20966
2014-10-20 00:21:55: TerminationProcess.cpp(48): Program `'/opt/aMule/bin/amuleweb' '--amule-config-file=/home/vShare/.aMule/amule.conf'' with pid `20966' it's terminate with state `0'.
I really don't have any more idea!
Please help me!