aMule Forum
English => en_Bugs => Topic started by: OldFrog on August 23, 2005, 12:53:06 AM
-
I had amuleweb working flawlessly for a long while, and since back home a few days ago, itt doesn't start with aMule (I enabled it) telling it could not find aMule.
Now I tried it from command line
amuleweb --port=8700 --password=dubois --config-file=/home/louis/.aMule/amule.conf
and I get this error :
FATAL ERROR: Cannot find template: default
Yet I got the directory /usr/share/amule/default/ and the file aMule.tmpl in it.
Any idea, someone ?
-
You need the directory /usr/share/amule/webserver/default and aMule.tmpl in it.
You can start amuleweb with the -v (--verbose) switch to see where it tries to find the template.
-
Thanks for the tip. I installed it in /usr/bin, yet it looks for webserver in /usr/local/share (I wrote a wrong path before).
It seems there is a hard coded absolute path in the webserver. May I suggest it be changed to a relative path, like "../share/webserver" ?
For now I just copy the necessary files in /usr/local/share
-
It seems there is a hard coded absolute path in the webserver. May I suggest it be changed to a relative path, like "../share/webserver" ?
No. ".." is bad solution in most cases. You can use $HOME/.aMule/webserver/ if you need user-specific template.
-
The question is not having a specific template. The question is when I install in /usr/bin, I'd like to have the default data in /usr/share, not in /usr/local/share.
It did work before Aug 1st (Been on vacation since).
-
OldFrog, if you configure with --prefix=/usr, that's what will happen. Data will be installed in /usr/share, not /usr/local/share. That's what --prefix does: pick between "/usr", "/usr/local", "$HOME/mycustominstallplace", etc.