aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: OSDirectory bug - amuleweb  (Read 2338 times)

maxione

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
OSDirectory bug - amuleweb
« on: December 31, 2008, 03:11:30 PM »

I have already submitted this problem in the italian bug section: http://www.amule.org/amule/index.php?topic=16310.0

Senior Member izobbz has tried to solve my problem and finally asked me to post in the English bug section.

So, here is the problem: I want to set OSDirectory in /home/amule/ , but amuelgui (and probably amuled) has some problems.
I use amuled SVN from Vollstrecker's repo for Debian.
amule.conf is configured with:
Code: [Select]
OSDirectory=/home/amule/Then:
Code: [Select]
maladiez@hyper:~$ whoami
maladiez
maladiez@hyper:~$ ps aux | grep amule
maladiez  9466  0.0  0.1   3616   744 pts/0    R+   21:16   0:00 grep amule
maladiez@hyper:~$ amuled -f -c /home/amule/
amuled: OnInit - starting timer
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
HTTP download thread started
ListenSocket: Ok.
amuled: forking to background - see you
maladiez@hyper:~$ ps aux | grep amule
maladiez  9470 33.0  3.3  54404 17284 ?        Ssl  21:16   0:04 amuled -f -c /home/amule/
maladiez  9472  0.3  1.0  12936  5628 ?        S    21:16   0:00 amuleweb --amule-config-file=/home/amule/amule.conf
maladiez  9478  0.0  0.1   3616   748 pts/0    R+   21:16   0:00 grep amule
/home/amule/logfile shows the following:
Quote
maladiez@hyper:/home/amule$ cat logfile
2008-12-29 21:17:50: ClientCreditsList.cpp(168): Il file dei crediti è stato caricato, 0 client conosciuti
2008-12-29 21:17:50: IPFilter.cpp(109): Carico i filtri IP da 'ipfilter.dat' e 'ipfilter_static.dat'.
2008-12-29 21:17:50: IPFilter.cpp(335): Caricati 0 intervalli di IP da '/home/amule/ipfilter.dat'. 0 righe non valide sono state scartate.
2008-12-29 21:17:50: IPFilter.cpp(335): Caricati 0 intervalli di IP da '/home/amule/ipfilter_static.dat'. 0 righe non valide sono state scartate.
2008-12-29 21:17:50: ExternalConn.cpp(174): *** TCP socket (ECServer) listening on 0.0.0.0:4712
2008-12-29 21:17:50: MuleUDPSocket.cpp(81): Created Server UDP-Socket at port xyz
2008-12-29 21:17:50: MuleUDPSocket.cpp(81): Created Client UDP-Socket at port uvw
2008-12-29 21:17:50: ServerList.cpp(83): Caricamento file server.met: /home/amule/server.met
2008-12-29 21:17:50: ServerList.cpp(168): Trovati 237 server nel file server.met
2008-12-29 21:17:50: DownloadQueue.cpp(169): Non è stato trovato alcun file incompleto
2008-12-29 21:17:51: SharedFileList.cpp(358): Trovati 7 file condivisi conosciuti, 442 sconosciuti
2008-12-29 21:17:51: amule.cpp(805): Connessione in corso
2008-12-29 21:17:51: ServerSocket.cpp(621): Servers: Trying to connect
2008-12-29 21:17:51: ServerSocket.cpp(754): Connessione a xxxxxxxxxxxxxxxx
2008-12-29 21:17:51: RoutingZone.cpp(208): Letti 199 contatti Kad
2008-12-29 21:17:52: amule.cpp(851): web server in esecuzione su pid 9516
2008-12-29 21:17:52: ExternalConn.cpp(234): Accettata nuova connessione esterna
2008-12-29 21:17:52: Connesso alla rete Kad (firewalled)
2008-12-29 21:17:52: ServerConnect.cpp(190): Connesso a xxxxxxxxxxxxxxxxx
2008-12-29 21:17:52: ExternalConn.cpp(268): Connessione al client: aMuleweb SVN
2008-12-29 21:17:52: ExternalConn.cpp(323): Accesso consentito.
2008-12-29 21:17:52: ServerSocket.cpp(621): Servers: Trying to connect
2008-12-29 21:17:52: ServerSocket.cpp(754): Connessione a xxxxxxxxxxxxxxxxxxxxxxxxxxxx
2008-12-29 21:17:52: ServerConnect.cpp(190): Connesso a xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2008-12-29 21:17:52: ServerSocket.cpp(277): ATTENZIONE: xxxxxxxxxxxx You have a lowid. Please review your network config and/or your settings.
2008-12-29 21:17:52: Messaggio del server: server version xxxxxxxxxxxxxxxx
2008-12-29 21:17:53: ServerSocket.cpp(409): Servers: Connected
2008-12-29 21:17:53: ServerConnect.cpp(263): Connessione stabilita con: xxxxxxxxxxx
2008-12-29 21:17:53: Connesso a xxxxxxxxxxxxxxx con ID alto
2008-12-29 21:17:53: ServerSocket.cpp(417): Il nuovo clientID è xxxxxxxxxxxxxxxxxxxxxxxxxx
2008-12-29 21:17:53: Messaggio del server: server version 17.xxxxxxxxxx
2008-12-29 21:18:09: Connesso alla rete Kad (ok)
2008-12-29 21:18:12: ThreadTasks.cpp(157): Hasher: IO exception while hashing file: SafeIO::IOFailure: Error reading from file: Input/output error
2008-12-29 21:18:30: ThreadTasks.cpp(157): Hasher: IO exception while hashing file: SafeIO::IOFailure: Error reading from file: Input/output error
Everithing sounds good.
But after that, I go to amule webserver (port 4711), then I click on "log".
logfile shows some problems:
Quote
2008-12-29 21:18:52: Logger.cpp(275): Error: can't open file '/home/maladiez/.aMule/logfile' (error 2: No such file or directory)
But this is not the only problem:
Quote
2008-12-29 21:23:29: Logger.cpp(275): Error: can't open file '/home/maladiez/.aMule/logfile' (error 2: No such file or directory)
2008-12-29 21:23:47: CFile.cpp(140): CFile: Error when opening file (/home/maladiez/.aMule/known2_64.met): No such file or directory
2008-12-29 21:23:47: SHAHashSet.cpp(642): SHAHashSet: Failed to save HashSet: opening met file failed!
2008-12-29 21:23:47: ThreadTasks.cpp(187): Hasher: Warning, failed to save AICH hashset for file: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
2008-12-29 21:23:47: CFile.cpp(140): CFile: Error when opening file (/home/maladiez/.aMule/known.met): No such file or directory
2008-12-29 21:23:48: CFile.cpp(140): CFile: Error when opening file (/home/maladiez/.aMule/known2_64.met): No such file or directory
2008-12-29 21:23:48: SHAHashSet.cpp(642): SHAHashSet: Failed to save HashSet: opening met file failed!
2008-12-29 21:23:48: ThreadTasks.cpp(187): Hasher: Warning, failed to save AICH hashset for file: xxxxxxxxxxxxxxxxxxxxxxxxx
2008-12-29 21:24:05: CFile.cpp(140): CFile: Error when opening file (/home/maladiez/.aMule/known2_64.met): No such file or directory
2008-12-29 21:24:05: SHAHashSet.cpp(642): SHAHashSet: Failed to save HashSet: opening met file failed!
2008-12-29 21:24:05: ThreadTasks.cpp(187): Hasher: Warning, failed to save AICH hashset for file: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2008-12-29 21:24:05: CFile.cpp(140): CFile: Error when opening file (/home/maladiez/.aMule/known.met): No such file or directory
2008-12-29 21:24:07: CFile.cpp(140): CFile: Error when opening file (/home/maladiez/.aMule/known2_64.met): No such file or directory
2008-12-29 21:24:07: SHAHashSet.cpp(642): SHAHashSet: Failed to save HashSet: opening met file failed!
and so on, for every shared file.

amuled searches in /home/maladiez/.aMule/ instead of /home/amule/  ???
« Last Edit: December 31, 2008, 03:14:29 PM by maxione »
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: OSDirectory bug - amuleweb
« Reply #1 on: December 31, 2008, 04:41:07 PM »

Ok, there seems to be some misunderstandings here. OSDirectory stands for Online-Signature-Directory, that is the directory where aMule(d) writes the online signature file if enabled.

Your problem what I see from the logs you posted is that you want to run aMule(d) with a custom config dir (-c option) but it gets ignored in some parts of aMule. I'll check it.
Logged
concordia cum veritate