aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: RemoteControls doesnt work  (Read 5957 times)

sah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
    • http://sah-lee.51.net
RemoteControls doesnt work
« on: January 27, 2005, 10:52:39 AM »

I chose to launch http server in the "RemoteControls" tab, but when I tried to visit the webpage, the IE returned a error saying "The page cannot be displayed. The page you requested is currently unavailable. Perhaps the site is having some technical problems, or you may have to adjust your configuration of your browser".
The error message is translated from  Chinese by myself, so it will be different from what you used to see.
Now what should I do to fix this?
My aMule is running on a Fedora Core 2 system and I tried to visit the webpage from a WinXP system through a LAN.
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: RemoteControls doesnt work
« Reply #1 on: January 27, 2005, 11:46:53 AM »

Did you restart amule after checking "run webserver on startup"? The webserver on amule works a little different then its emule counterpart.

To explain this: The amule webserver is a program independent from amule itself. Usually you would start amule and then start the webserver and let it connect to amule manually. The checkbox in the preferences does the second step autmatically for you on amule startup.

And: Did you take a look at the webserver howto in the wiki? You have to copy some files around in order for the webserver to work.
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: RemoteControls doesnt work
« Reply #2 on: January 27, 2005, 01:44:14 PM »

sah,

thedude0001 is right, amuleweb is an independent program and must be run separetely. Look here:
http://www.amule.org/wiki/index.php/Webserver

Also, the message you say you receive looks like a message received from an internet domain owner for an unassigned domain. You may have used a wrong address on the browser. First try from the local machine http://localhost:4711, then after you try with the address of your machine from another host.

Don't forget to read the wiki link above!

Cheers!
Logged

sah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
    • http://sah-lee.51.net
Re: RemoteControls doesnt work
« Reply #3 on: January 27, 2005, 02:56:27 PM »

First of all, thanks alot for helping!
I restarted aMule everytime I did the setting. And I also tried "http://127.0.0.1:4711". I am sure the server was not running at all.
I just read the wiki and its helpful.
But unfortunately, I read it after I uninstalled aMule. I uninstalled it because I saw in the wiki it says that if I installed from an rpm, I can't use webserver. I wanted to compile aMule and wish it works. Unfortunately again, I failed. I got a lot of messages saying wxUSE_XXXXXXXXXXX was not defined when I run make after configure. What is that? What should I do? Continue trying to compile? Or reinstall using the rpm?
Logged

Skuromis

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 29
Re: RemoteControls doesnt work
« Reply #4 on: January 27, 2005, 03:51:18 PM »

Go on trying to compile ;O) It seems there are missing some dependencies.. but you should open a new thread in the compiling problems section ;O)

cö, Skuro
Logged

lfroen

  • Guest
Re: RemoteControls doesnt work
« Reply #5 on: January 27, 2005, 04:21:53 PM »

On latest cvs snapshots external connections are automaticallly disabled if you do not assign password. Go to preferences and assign some password to external connections.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: RemoteControls doesnt work
« Reply #6 on: January 27, 2005, 05:43:28 PM »

sah,

Quote
Originally posted by sah
First of all, thanks alot for helping!
I restarted aMule everytime I did the setting. And I also tried "http://127.0.0.1:4711". I am sure the server was not running at all.

I don't know if I understand what you say. What I mean is that you must do:

$ amule &
$ amuleweb -f

Also, lfroen is right, you MUST assign a password before doing these steps. You can do that from the preferences dialog in aMule.

Quote
Originally posted by sah
I just read the wiki and its helpful.
But unfortunately, I read it after I uninstalled aMule. I uninstalled it because I saw in the wiki it says that if I installed from an rpm, I can't use webserver.
I am sorry, this information is wrong, I have fixed it in the wiki. Just do:
$cp /usr/share/amuleweb/aMule.tmpl ~/.aMule/
$cp /usr/share/amuleweb/webserver/ ~/.aMule/

Quote
Originally posted by sah
I wanted to compile aMule and wish it works. Unfortunately again, I failed. I got a lot of messages saying wxUSE_XXXXXXXXXXX was not defined when I run make after configure. What is that? What should I do? Continue trying to compile? Or reinstall using the rpm?

1) Go to wx website and get wxGTK-2.5.3 tarball. Untar it and go to the directory. Then
$ ./configure --enable-debug --disable-optimise --enable-debug_flag --enable-debug_info --enable-debug_gdb --enable-gtk2 --enable-unicode --prefix=/usr/local/wxWidgets-cvsu && make
$ su
$ make install

I imagine you are from China, so you will probably want to enable unicode+gtk2. If you do not have root access, you can use some directory inside your home dir instead of /usr/local/wxWidgets-cvsu in the prefix.

2) Get the amule tarball and untar it. Go to the dir and do:
./configure --enable-debug --disable-optimize --enable-verbose --enable-webserver --enable-amulecmd --with-wx-config=/usr/local/wxWidgets-cvsu/bin/wx-config && make

3) Run amule with the following command:
LD_LIBRARY_PATH=/usr/local/wxWidgets-cvsu/lib/ /path/to/amule/tarball/dir/src/amule &

If you get any messages, please post them and we will try to work them out. Most of them will be about packages you must have installed to compile both amule and wxGTK.

Cheers!
Logged

sah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
    • http://sah-lee.51.net
Re: RemoteControls doesnt work
« Reply #7 on: January 28, 2005, 02:25:40 AM »

Quote
Originally posted by phoenix
sah,

1) Go to wx website and get wxGTK-2.5.3 tarball. Untar it and go to the directory. Then
$ ./configure --enable-debug --disable-optimise --enable-debug_flag --enable-debug_info --enable-debug_gdb --enable-gtk2 --enable-unicode --prefix=/usr/local/wxWidgets-cvsu && make
$ su
$ make install

I imagine you are from China, so you will probably want to enable unicode+gtk2. If you do not have root access, you can use some directory inside your home dir instead of /usr/local/wxWidgets-cvsu in the prefix.

2) Get the amule tarball and untar it. Go to the dir and do:
./configure --enable-debug --disable-optimize --enable-verbose --enable-webserver --enable-amulecmd --with-wx-config=/usr/local/wxWidgets-cvsu/bin/wx-config && make

3) Run amule with the following command:
LD_LIBRARY_PATH=/usr/local/wxWidgets-cvsu/lib/ /path/to/amule/tarball/dir/src/amule &

If you get any messages, please post them and we will try to work them out. Most of them will be about packages you must have installed to compile both amule and wxGTK.

Cheers!

Well this is good. This is really very much detailed.
I tried to compile aMule after installed wxBase2.5.2's rpm but got a large quantity of error messages. And I didnt know how to install wx-2.5.3 because there is no such a rpm on their site. I have been working untill about 00:30 this morning, haha.
About the wiki, I thought it was my misunderstanding.
Ok, I will have a try, compile wxGTK2.5.3 today.
Thank you all!
PS. I am from China and I like phoenix.
« Last Edit: January 28, 2005, 02:37:13 AM by sah »
Logged

sah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
    • http://sah-lee.51.net
Re: RemoteControls doesnt work
« Reply #8 on: January 28, 2005, 03:57:48 AM »

pheonix, did you forget make install for amule?
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: RemoteControls doesnt work
« Reply #9 on: January 28, 2005, 04:06:55 AM »

hi,

no he don't ;)

you can run amule from the src directory, i.e:

cd amule-cvs/src

and then

./amule

cheers

sah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
    • http://sah-lee.51.net
Re: RemoteControls doesnt work
« Reply #10 on: January 28, 2005, 04:33:13 AM »

oh, I see.
Logged

sah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
    • http://sah-lee.51.net
Re: RemoteControls doesnt work
« Reply #11 on: January 28, 2005, 04:38:54 AM »

Here is what I got:

Quote
Initialising aMule
Saving userhash: 03D416A12C0E2461989BA09FD7EF6F05
Userhash loaded: 03D416A12C0E2461989BA09FD7EF6F05
*** UDP socket at 4665
No cryptkey.dat found, creating
 
--------------------------------------------------------------------------------
OOPS! Houston, we have a situation: seems like aMule crashed!
Please, post these lines on the backtrace forum on http://www.amule.org/
aMule version is: 2.0.0rc8 using wxGTK2 v2.5.3 (Unicoded)
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
 
[0] CamuleApp::OnFatalException() in amule.cpp:979
[1] wxFatalSignalHandler in /usr/local/wxWidgets-cvsu/lib/libwx_baseu-2.5.so.3[0x37574c]
[2] ?? in [0x654420]
[3] CamuleGuiApp::NotifyEvent(GUIEvent) in amule-gui.cpp:828
[4] ExternalConn::ExternalConn() in ExternalConn.cpp:111
[5] CamuleApp::OnInit() in amule.cpp:578
[6] CamuleGuiApp::OnInit() in amule-gui.cpp:198
[7] wxAppConsole::CallOnInit() in app.h:87
[8] wxEntry(int&, wchar_t**) in /usr/local/wxWidgets-cvsu/lib/libwx_baseu-2.5.so.3[0x316c20]
[9] wxEntry(int&, char**) in /usr/local/wxWidgets-cvsu/lib/libwx_baseu-2.5.so.3[0x316d6f]
[10] main in amule-gui.cpp:161
[11] __libc_start_main in /lib/tls/libc.so.6[0x3296ad4]
[12] wxMemoryDC::SetPen(wxPen const&) in /opt/aMule/src/amule[0x8134c31]
 
--------------------------------------------------------------------------------
« Last Edit: January 28, 2005, 04:40:53 AM by sah »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: RemoteControls doesnt work
« Reply #12 on: January 28, 2005, 02:13:01 PM »

are you running amule in english or with chinese translation?

sah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
    • http://sah-lee.51.net
Re: RemoteControls doesnt work
« Reply #13 on: January 28, 2005, 03:35:49 PM »

hi deltaHF,
I don't understand what you say very well.
My Fedora Core 2 is set to Chinese, and the aMule I installed using rpm before was also in Chinese. This time, before the backtrace, the aMule window showed up for a while, and I saw it was in English.
Is it the problem of Language settings?
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: RemoteControls doesnt work
« Reply #14 on: January 28, 2005, 07:06:59 PM »

sah,

I see you were in the IRC channel, I hope most of your questions are answered.

I believe that this is not a language setting problem, this is a problem with aMule. But if I recall correctly, this has been fixed in CVS. So, a CVS tarball snapshot will probably work for you.

Keep in touch, inform us about your results!

Cheers!
Logged
Pages: [1] 2