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: change incoming folder  (Read 7257 times)

sulliwane

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
change incoming folder
« on: June 22, 2010, 06:41:08 PM »

Hi there !

thanks to the devellopers of amule, great job !

i installed amule, then amuled and finally amuleweb on my ubuntu 9.10 server

by default, everything works fine.

But i'd like to customize some preferences like UDP/TCP port, incoming folder, make amuleweb running permanently. All of that using a bash terminal !

here are the steps i followed :
- stop amuled  (#/etc/init.d/amule-daemon stop)
-i edited /home/me/.aMule/amule.conf
-changed the incoming folder, and the port.
-saved amule.conf
-launched amuled (#/etc/init.d/amule-daemon start)

i got a crash from amuled, or the amule.conf is resumed  (overwrite by a default amule.conf, and i lose all my modifications) !!

and concerning amuleweb, i don't know how to make it running permanently  (exempt me to open a new terminal, and type "amuleweb" to launch it)

Please, someone could help me to solve that problem ..??

thanks a lot,

cheers from france (sorry for my baad english)

victor

 






Logged

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: change incoming folder
« Reply #1 on: June 23, 2010, 10:21:09 AM »

Could you attach the config file? Perhaps there's a syntax error in it.
Logged

sulliwane

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: change incoming folder
« Reply #2 on: June 23, 2010, 10:32:59 AM »

thanks a lot for your reply.

Here is my config file : http://55brux.fr/amule.conf.txt

in this config file, i just tried to change the incoming directory.

maybe your right, because i succeeded to change my password (for amuleweb) without any problem.

Here is my remote.conf for amuleweb :  http://55brux.fr/remote.conf.txt

two more question : 1-does the amuled process be stopped before make modifications in the amule.conf file ?

2- i never run amule in my case (just amuled) no problem with that ?  (it runs on a server, no GUI. i thought amuled is like amule, just miss the GUI. Maybe i'm wrong, and start amule is needed in some ways....just wondering

thanks !
« Last Edit: June 23, 2010, 10:39:09 AM by sulliwane »
Logged

sulliwane

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: change incoming folder
« Reply #3 on: June 23, 2010, 10:37:55 AM »

ah, and i got this message after trying to launch amuled by #amuled  bash command

Code: [Select]
Current version is: aMuled 2.2.6 using wxGTK2 v2.8.10
Running on: Linux 2.6.31-20-server x86_64

[2] ?? in amuled [0x42dc14]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x7f8d3732e57c]
[4] ?? in /lib/libpthread.so.0 [0x7f8d386db190]
[5] GSocket::Input_Timeout() in /usr/lib/libwx_baseu_net-2.8.so.0[0x7f8d375bbebf   ]
[6] GSocket::Read(char*, int) in /usr/lib/libwx_baseu_net-2.8.so.0[0x7f8d375bbf5   d]
[7] wxSocketBase::_Read(void*, unsigned int) in /usr/lib/libwx_baseu_net-2.8.so.   0[0x7f8d375b7f49]
[8] wxSocketBase::Peek(void*, unsigned int) in /usr/lib/libwx_baseu_net-2.8.so.0   [0x7f8d375b8065]
[9] wxProtocol::ReadLine(wxSocketBase*, wxString&) in /usr/lib/libwx_baseu_net-2   .8.so.0[0x7f8d375b2f35]
[10] wxHTTP::ParseHeaders() in /usr/lib/libwx_baseu_net-2.8.so.0[0x7f8d375b149c]
[11] wxHTTP::BuildRequest(wxString const&, wxHTTP::wxHTTP_Req) in /usr/lib/libwx   _baseu_net-2.8.so.0[0x7f8d375b2277]
[12] wxHTTP::GetInputStream(wxString const&) in /usr/lib/libwx_baseu_net-2.8.so.   0[0x7f8d375b268d]
[13] ?? in amuled [0x493f8a]
[14] ?? in amuled [0x4944a6]
[15] wxThreadInternal::PthreadStart(wxThread*) in /usr/lib/libwx_baseu-2.8.so.0[   0x7f8d373299a1]
[16] ?? in /lib/libpthread.so.0 [0x7f8d386d2a04]
[17] clone in /lib/libc.so.6[0x7f8d3680680d]


got that too :

Code: [Select]
All PartFiles Loaded.
No shareable files found in directory: /root/.aMule/Incoming

and here is my .aMule folder :

Code: [Select]
-rw-r--r-- 1 victor victor      78 2010-05-10 20:40 addresses.dat
-r-xr-xr-- 1 victor victor    2957 2010-06-23 10:34 amule.conf
-rw-r--r-- 1 victor victor 1396232 2010-06-22 18:17 clients.met
-rw-r--r-- 1 victor victor 1396232 2010-06-22 18:17 clients.met.BAK
-rw-r--r-- 1 victor victor     365 2010-05-10 20:40 cryptkey.dat
-rw------- 1 victor victor       0 2010-05-10 20:40 ED2KLinks_lock
-rw-r--r-- 1 victor victor       5 2010-06-22 18:17 emfriends.met
drwxr-xr-x 2 victor victor    4096 2010-06-09 16:43 Incoming
-rw-r--r-- 1 victor victor     182 2010-05-10 20:40 ipfilter.dat
-rw-r--r-- 1 victor victor     298 2010-05-10 20:40 ipfilter_static.dat
-rw-r--r-- 1 victor victor      28 2010-06-22 18:17 key_index.dat
-rw-r--r-- 1 victor victor  146817 2010-06-09 16:43 known2_64.met
-rw-r--r-- 1 victor victor   20925 2010-06-22 18:17 known.met
-rw-r--r-- 1 victor victor       6 2010-06-22 18:17 lastversion
-rw-r--r-- 1 victor victor       0 2010-06-22 18:17 last_version_check
-rw-r--r-- 1 victor victor      12 2010-06-22 18:17 load_index.dat
-rw-r--r-- 1 victor victor    1538 2010-06-22 18:17 logfile
-rw-r--r-- 1 victor victor    1538 2010-06-22 18:17 logfile.bak
-rw-r--r-- 1 victor victor    6812 2010-06-22 18:17 nodes.dat
-rw-r--r-- 1 victor victor      17 2010-06-22 18:17 preferences.dat
-rw-r--r-- 1 victor victor      23 2010-06-22 18:17 preferencesKad.dat
-rw-r--r-- 1 victor victor     237 2010-05-10 22:27 remote.conf
-rw-r--r-- 1 victor victor     247 2010-06-22 18:17 server.met
-rw-r--r-- 1 victor victor     247 2010-06-22 17:41 server_met.old
-rw-r--r-- 1 victor victor       0 2010-06-22 18:17 shareddir.dat
-rw-r--r-- 1 victor victor      12 2010-06-22 18:17 src_index.dat
drwxr-xr-x 2 victor victor    4096 2010-06-22 18:17 Temp
drwxr-xr-x 6 victor victor    4096 2010-05-10 23:14 webserver
« Last Edit: June 23, 2010, 10:49:39 AM by sulliwane »
Logged

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: change incoming folder
« Reply #4 on: June 23, 2010, 12:43:04 PM »

Regarding the amuled crash:
It should be fixed in the latest SVN version.

What amuled version do you use btw.?
EDIT: Just saw you use 2.2.6. Please try the SVN version then.

You are correct in thinking the amuled is amule without the gui. So your scenario is a perfectly valid one.

Regarding the config files:
I have to check them on the developer machine. I get back to you later.
« Last Edit: June 23, 2010, 02:19:43 PM by ^marcell^ »
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: change incoming folder
« Reply #5 on: June 23, 2010, 01:43:26 PM »

does the amuled process be stopped before make modifications in the amule.conf file ?
Yes, if you make any modifications to amule.conf while amule or amuled is running, they will be overwritten on exit.

Please make sure that "etc/init.d/amule-daemon stop" really stops amuled.
Logged
concordia cum veritate

sulliwane

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: change incoming folder
« Reply #6 on: June 23, 2010, 02:52:01 PM »

1 - do you mean i have to compile amule sources? does exist a .deb ? (i'm not familiar with compiling sources...:o)  (SVN, does it means subversion ??)

2 - how can i make sure that "etc/init.d/amule-daemon stop" really kill the process ?

thanks ,

victor
 
Logged

sulliwane

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
compiling sources
« Reply #7 on: June 23, 2010, 04:31:24 PM »

Code: [Select]
#./configure


configure: error:
                wxWidgets must be installed on your system but wx-config
                script couldn't be found. Please check that wx-config is
                in path or specified by --with-wx-config=path flag, the
                directory where wxWidgets libraries are installed (returned
                by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
                equivalent variable and wxWidgets version is 2.8.8 or above.

then

Code: [Select]
#apt-get install libwxgtk2.6-dev
then

Code: [Select]
#./configure
configure: error:
    The requested wxWidgets build couldn't be found.

    The configuration you asked for aMule requires a wxWidgets
    build with the following settings:
        --unicode=yes
    but such build is not available.

    To see the wxWidgets builds available on this system, please use
    'wx-config --list' command. To use the default build, returned by
    'wx-config --selected-config', use the options with their 'auto'
    default values.

    If you still get this error, then check that 'wx-config' is
    in path, the directory where wxWidgets libraries are installed
    (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
    or equivalent variable and wxWidgets version is 2.8.8 or above.

then

Code: [Select]
# wx-config --list

    Default config is gtk2-unicode-release-2.6

  Default config will be used for output

  Alternate matches:
    base-unicode-release-2.6

what's wrong....all seems to be fine...but ./configure display that error.. ?!!
« Last Edit: June 23, 2010, 04:38:49 PM by sulliwane »
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: change incoming folder
« Reply #8 on: June 23, 2010, 05:23:33 PM »

what's wrong....all seems to be fine...but ./configure display that error.. ?!!
Both error messages end with "and wxWidgets version is 2.8.8 or above". You have just installed the development packages for 2.6.

how can i make sure that "etc/init.d/amule-daemon stop" really kill the process ?
After stopping amuled with "/etc/init.d/amule-daemon stop", execute "ps -A | grep amule" to whether it reports any amule(d) processes still running.
Logged
concordia cum veritate

sulliwane

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: change incoming folder
« Reply #9 on: June 23, 2010, 06:07:03 PM »

thanks for your reply,

1- Now i see that line you're talking about : "checking for wxWidgets version >= 2.8.8 (--unicode=yes)... no (version 2.6.3 is  not new enough)"

but i don't get the meaning...does it imply that i have to upgrade my kernel ? how can i solve that issue so ? sorry, but it's not clear to me, and i still don't know what to do...

2- okay, there no sign of amule process after executed #/etc/init.d/amule-daemon stop

thanks yet !

victor
Logged

sulliwane

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: change incoming folder
« Reply #10 on: June 23, 2010, 06:13:15 PM »

1-  i just understood that the version of wxwidgets i'm using is too old. So do i have to compile a new one ?

if yes, which version do i have to compile, and do i have to uninstal the old version before compiling/installing the new one ?

tkx !
Logged

sulliwane

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: change incoming folder
« Reply #11 on: June 23, 2010, 06:28:58 PM »

i downloaded wxwidgets tar.gz, the try to compile it

Code: [Select]
#./configure   is ok

but
Code: [Select]
#make -j2
display after 1 minute

Code: [Select]
./include/wx/gsocket.h:40: error: using typedef-name ‘GSocket’ after ‘class’
/usr/include/glib-2.0/gio/giotypes.h:120: error: ‘GSocket’ has a previous declaration here
In file included from ./include/wx/gsocket.h:179,
                 from ./src/gtk/gsockgtk.cpp:21:
./include/wx/unix/gsockunx.h:40: error: using typedef-name ‘GSocket’ after ‘class’
/usr/include/glib-2.0/gio/giotypes.h:120: error: ‘GSocket’ has a previous declaration here
./src/gtk/gsockgtk.cpp: In function ‘void _GSocket_GDK_Input(void*, gint, GdkInputCondition)’:
./src/gtk/gsockgtk.cpp:34: error: ‘struct _GSocket’ has no member named ‘Detected_Read’
./src/gtk/gsockgtk.cpp:36: error: ‘struct _GSocket’ has no member named ‘Detected_Write’
./src/gtk/gsockgtk.cpp: In member function ‘virtual bool GSocketGUIFunctionsTableConcrete::Init_Socket(GSocket*)’:
./src/gtk/gsockgtk.cpp:56: error: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
./src/gtk/gsockgtk.cpp:57: error: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Destroy_Socket(GSocket*)’:
./src/gtk/gsockgtk.cpp:67: error: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent)’:
./src/gtk/gsockgtk.cpp:72: error: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
./src/gtk/gsockgtk.cpp:75: error: ‘struct _GSocket’ has no member named ‘m_fd’
./src/gtk/gsockgtk.cpp:83: error: ‘struct _GSocket’ has no member named ‘m_server’
./src/gtk/gsockgtk.cpp:90: error: ‘struct _GSocket’ has no member named ‘m_fd’
./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent)’:
./src/gtk/gsockgtk.cpp:98: error: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
./src/gtk/gsockgtk.cpp:108: error: ‘struct _GSocket’ has no member named ‘m_server’
make: *** [coredll_gtk_gsockgtk.o] Error 1
make: *** Waiting for unfinished jobs....

wonder i can execute #make install   or this is a serious error...

if i succeed to install wxwidget 2.8.10 then i could install amule last version, and then...my problems would be done !

any idea ?
« Last Edit: June 23, 2010, 06:44:30 PM by sulliwane »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: change incoming folder
« Reply #12 on: June 23, 2010, 06:51:00 PM »

1-  i just understood that the version of wxwidgets i'm using is too old. So do i have to compile a new one ?
Your distro should offer a more current version. Is there no libwxgtk2.8-dev package available? What is your distro anyway?

There are lots of infos about compiling aMule (and wx) in the wiki.
You can't make install after a compilation error of course.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

sulliwane

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: change incoming folder
« Reply #13 on: June 23, 2010, 06:52:15 PM »

news ;D ;D

my previous error is due to the 2.8.10 version.

So i compiled/installed successfully the 2.8.11 version,

go back to amule tarball but...

always this message :

Code: [Select]
checking for wxWidgets version >= 2.8.8 (--unicode=yes)... no
configure: error:
    The requested wxWidgets build couldn't be found.

    The configuration you asked for aMule requires a wxWidgets
    build with the following settings:
        --unicode=yes
    but such build is not available.

    To see the wxWidgets builds available on this system, please use
    'wx-config --list' command. To use the default build, returned by
    'wx-config --selected-config', use the options with their 'auto'
    default values.

    If you still get this error, then check that 'wx-config' is
    in path, the directory where wxWidgets libraries are installed
    (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
    or equivalent variable and wxWidgets version is 2.8.8 or above.

though wxWidget 2.8.11 is installed

Code: [Select]
The installation of wxWidgets is finished.  On certain
 platforms (e.g. Linux) you'll now have to run ldconfig
 if you installed a shared library and also modify the
 LD_LIBRARY_PATH (or equivalent) environment variable.

 wxWidgets comes with no guarantees and doesn't claim
 to be suitable for any purpose.

 Read the wxWidgets Licence on licencing conditions.

doing

Code: [Select]
#./configure
#make
#make install
#ldconfig

what should i do ?

hope someone can help me...

[edit] thanks for your reply [edit]

[edit 2]
i now compile/installed  wxgtk_2.8.11-1_amd64.deb

but no way...it still doesn't work  >:(

and still have that :

Code: [Select]
wx-config --list

    Default config is gtk2-unicode-release-2.6

  Default config will be used for output

  Alternate matches:
    base-unicode-release-2.6

could you give me some tracks ? thanks in advance
« Last Edit: June 23, 2010, 07:25:23 PM by sulliwane »
Logged

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Logged
Pages: [1] 2