aMule Forum
English => aMule Help => Topic started by: linuxcore on November 09, 2005, 01:52:00 AM
-
Hi, after i had some help in installing amule-cvs from:http://forum.amule.org/thread.php?threadid=7987&sid= it all seem to be running fine :)
However, i also have amule 2.0.3 on my machine (just in case the CVS version become a bit unstable which means i can switch back) and i didn't know it shared the same config file, which is good. But i also want to try out the new web server (running using PHP). I've searched the forum but don't really understnad much of it. I have tested the webserver from the CVS version on my machine but can't login into as the browser i'm using (Firefox 1.0.7) can't locate it.
Nevertheless, i complied it with --enable-webserver --enable-webservergu but i read somewhere on this forum that you're suppose to add --php-amuleweb instead or something, is this right? if so, do i have to recompile amule-cvs to get it started? I'm using the latest CVS version (downloaded today - 09 Nov 2005 @8pm).
I know it works but i'm doing something wrong, please help...
thank you,
sunburst
-
I have tested the webserver from the CVS version on my machine but can't login into as the browser i'm using (Firefox 1.0.7) can't locate it.
You cant login or cant locate it. This different problems. If you can not login:
* Ensure that you have correct amule.conf (if started automatically) or remote.conf (if started manually)
* Clean cookies for host where amuleweb is running: this may help if you have non-standard resolver configuration
If you can't locate it, just find out where it's running: netstat -nap | grep amuleweb will give you port number.
Also please ensure that you don't mixing versions, i.e. trying to use cvs amuleweb with 2.0.3 amule or visa versa.
-
Originally posted by lfroen
You cant login or cant locate it. This different problems. If you can not login:
* Ensure that you have correct amule.conf (if started automatically) or remote.conf (if started manually)
* Clean cookies for host where amuleweb is running: this may help if you have non-standard resolver configuration
If you can't locate it, just find out where it's running: netstat -nap | grep amuleweb will give you port number.
Sorry i wasn't making it clear. Basically, none of them are the problem. I just can't access amuleweb not because i can't login or locate amuleweb. It just doesn't do anything and i have it switch on in the preferences and all the ports set up. When i was running amule 2.0.3 it was fine.
Also please ensure that you don't mixing versions, i.e. trying to use cvs amuleweb with 2.0.3 amule or visa versa.
I've installed amule 2.0.3 and CVS version in different directory as i intened to run them separately. But CVS version still uses the 2.0.3 conf file and i don't know how to set it up so both version will use it's own config file instead. how you i go about doing this?
Having said that the CVS version is running okay except i can't get the amuleweb to work.
thank you,
L
-- ADDED ---
Okay, i've tried netstat -nap | grep amuleweb like what you said and nothing happens so does that mean it's not running at all even thogh amule CVS is running at the moment?
-
It just doesn't do anything
I suspect amuleweb is not running at all. Why don't you simply quote error message that Firefox gives you when you accessing location where amuleweb is supposed to be ? This will contribute to better understanding.
i've tried netstat -nap | grep amuleweb like what you said and nothing happens
Basically this means that amuleweb is not running (or more presizely not listening). Confirm this fact by running "/sbin/pidof amuleweb". If you see nothing - amuleweb is not there. If you do see process id, but netstat -nap | grep amuleweb doesnt show listening port - you have configuration error.
Advise - uninstall one version before installing another. You clearly messed this up.
-
You're right i think i have messed up the config but i thought by installing both amule 2.0.3 and amule CVS in seprate directories they can co-exist together?
Anyway, i tried to run amuleweb on the console and i get this error message:
External Conn: Access denied because of Incorrect EC version ID, there might be binary incompatibility. Use core and remote from same snapshot.
Well! if i have messed it up okay! :( so if i only want to run amule 2.0.3 which is the version i have been running for the past 6 months. Do i just delete the emule-CVS and continue running amule 2.0.3? or does the amule 2.0.3 has to be re-compiled?
It's a shame as i really wanted to run both version (not in the same time). One to have a stable version (amule 2.0.3) and two to get a taste of what's to come in the CVS version. There were some really nice enhancements in the CVS version.
Another thing to note is that, when i run it automatically from the 'internet' menu icon or the console for amule it starts up amule 2.0.3 but amule CVS has to be ran manually from its bin folder. Does this still mean they can't co-exist?
Thanks for your qucik reply and great help.
L
-
if you compiled both versions they are also as a binary in the src directory
so if you have
/home/USERNAME/temp/amule203/src/
and
/home/USERNAME/temp/amule-cvs/src/
you have a amule binary in each directory, just simple start it from THERE with
./amule
with the webserver its teh same thing
/home/USERNAME/temp/amule203/src/webserver/src/
and dito in the cvs.
ONLY thing which would NOT work is to autostart amuleweb at daemon startup, you would have to start it separetly
but other then that you CAN have both version at teh SAME time.
stefanero
-
That's reassuring to hear, i was about to uninstall both version and start again. ;(
I guess the only one that autostart is amule 2.0.3 which is fine and i'll just create a link on the desktop for amule cvs, including amuleweb for CVS...
Better go and read the wiki ;-)
Thanks again.
S
-
btw remember BOTH use the config file in the
.aMule
dir!
so dont be surrpised if settings are teh same for 2.0.3 and cvs
so if you enabled autostart for 2.0.3 and start cvs it will autostart aswell