Jump to content

cant load config in debian 5.0


csykin

Recommended Posts

Hello!

I downloaded a newest utorrent linux server ( utorrent-server-3.0-23418.tar.gz ) to my box (debian lenny 5.0.3).

The utserver runs, but anything I do in config file, it seems nothing happend:

my config with these 2 lines: (utserver.conf)

ut_webui_port 5678

bind_ip 6543

netstat -lnp shows:

tcp 0 0 0.0.0.0:6881 0.0.0.0:* LISTEN 20228/utserver

tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 20754/utserver

I tried with: ./utserver --configfile /path/config.conf

but i got the same thing.

How can i use the config file, anybody could help?

Csyk

Link to comment
Share on other sites

  • 1 month later...

I have exactly the same problem on my Debian 5.0.3. It seems the config file is ignored. For example, I set:

ut_webui_port: 8081

However, the web gui continues to listen on port 8080

UPDATE - it appears that the config file is read only once upon first launch, when settings.dat is initially created, then subsequent changes to the config file are ignored. If this is true and is by design, this is counter-intuitive as I would expect the config file to either be re-read upon each launch, or the docs to clarify this behavior.

Link to comment
Share on other sites

Do a search. This is often discussed. utserver.conf is read if settings.dat does not exist. If settings.dat exists, then the settings come from settings.dat. I have read in some documentation that this only applies to some of the settings, but my experiments suggest it applies to everything. Changes made through webui are stored in settings.dat.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...