Hi everybody,

I've posted this issue already in the Developers section but there some
nice guy asked me to post it here.

I've installed the actual SlimServer version on a Linux system.
The version string on the html administration page (near the bottom)
shows: "SlimServer Version: 6.5.1 - 11206 - Linux - EN - iso-8859-1".

When I start the SlimServer without giving the --httpport option,
everything is working and I can access the administration html page.

Whenever I give the --httpport option on the command line, regardless
what port number I use, I always get an error message telling that the
address is already in use.

I checked the debug output and it is clear why the error message is
coming: the port gets opened twice.
Now I don't know why the port is opened twice. I'm a perl programmer
too, but it takes me too much time to understand the initialization
sequence.

To make it clear: I think it is a bug in he source code of SlimServer
because in the log file below you can see that the port is opened
twice!

Can someone help me?

Here is the debug log showing one of my tries:

2007-02-03 00:16:25.8776 SlimServer settings effective user and group
if requested...
2007-02-03 00:16:25.8828 SlimServer settings init...
2007-02-03 00:16:25.9009 SlimServer strings init...
2007-02-03 00:16:26.2820 SlimServer Setup init...
2007-02-03 00:16:26.3057 SlimServer setting language...
2007-02-03 00:16:26.3060 SlimServer MySQL init...
2007-02-03 00:16:26.4400 Server
/raid/data/module/SLIMSERVER/slimserver/slimserver.pl accepting http
connections on port 7100
2007-02-03 00:16:27.4784 Firmware init...
2007-02-03 00:16:27.4803 SlimServer Info init...
2007-02-03 00:16:28.0637 SlimServer IR init...
2007-02-03 00:16:28.0778 SlimServer Request init...
2007-02-03 00:16:28.0859 SlimServer Buttons init...
2007-02-03 00:16:28.0912 SlimServer Graphic Fonts init...
2007-02-03 00:16:30.4354 UDP init...
2007-02-03 00:16:30.4367 Slimproto Init...
2007-02-03 00:16:30.4379 mDNS init...
2007-02-03 00:16:30.4383 Async Networking init...
2007-02-03 00:16:30.4785 Cache init...
2007-02-03 00:16:30.4817 UPnP init...
2007-02-03 00:16:30.4820 Adding handler for regular expression
/(?-xism:^browseupnp\.(?:htm|xml))
2007-02-03 00:16:30.4822 Adding handler for regular expression
/(?-xism:^upnpinfo\.(?:htm|xml))
2007-02-03 00:16:30.4840 SlimServer HTTP init...
2007-02-03 00:16:30.4862 Found Template::Stash::XS!
2007-02-03 00:16:30.4865 Adding handler for regular expression
/(?-xism:^firmware\.(?:html|xml))
2007-02-03 00:16:30.4867 Adding handler for regular expression
/(?-xism:^songinfo\.(?:htm|xml))
2007-02-03 00:16:30.4869 Adding handler for regular expression
/(?-xism:^setup\.(?:htm|xml))
2007-02-03 00:16:30.4871 Adding handler for regular expression
/(?-xism:^tunein\.(?:htm|xml))
2007-02-03 00:16:30.4872 Adding handler for regular expression
/(?-xism:^update_firmware\.(?:htm|xml))
2007-02-03 00:16:30.4874 Adding handler for regular expression
/(?-xism:^ping\.(?:htm|xml))
2007-02-03 00:16:30.4877 Adding handler for regular expression
/(?-xism:^$)
2007-02-03 00:16:30.4879 Adding handler for regular expression
/(?-xism:^home\.(?:htm|xml))
2007-02-03 00:16:30.4881 Adding handler for regular expression
/(?-xism:^index\.(?:htm|xml))
2007-02-03 00:16:30.4883 Adding handler for regular expression
/(?-xism:^squeezenetwork\.(?:htm|xml))
2007-02-03 00:16:30.4887 Adding handler for regular expression
/(?-xism:^browsedb\.(?:htm|xml))
2007-02-03 00:16:30.4890 Adding handler for regular expression
/(?-xism:^browseid3\.(?:htm|xml))
2007-02-03 00:16:30.4894 Adding handler for regular expression
/(?-xism:^browsetree\.(?:htm|xml))
2007-02-03 00:16:30.4897 Adding handler for regular expression
/favorites_list.htm
2007-02-03 00:16:30.4900 Adding handler for regular expression
/(?-xism:^search\.(?:htm|xml))
2007-02-03 00:16:30.4903 Adding handler for regular expression
/(?-xism:^advanced_search\.(?:htm|xml))
2007-02-03 00:16:30.4906 Adding handler for regular expression
/(?-xism:^status_header\.(?:htm|xml))
2007-02-03 00:16:30.4908 Adding handler for regular expression
/(?-xism:^status\.(?:htm|xml))
2007-02-03 00:16:30.4911 Adding handler for regular expression
/(?-xism:^edit_playlist\.(?:htm|xml))
2007-02-03 00:16:30.4913 Adding handler for regular expression
/(?-xism:^playlist\.(?:htm|xml))
2007-02-03 00:16:30.4916 Adding handler for regular expression
/(?-xism:^hitlist\.(?:htm|xml))
can't setup the listening port 7100 for the HTTP server: Address
already in use at
/raid/data/module/SLIMSERVER/slimserver/Slim/Web/HTTP.pm line 170.
2007-02-03 00:16:30.4948 Got to the END.


-- 
n5200
------------------------------------------------------------------------
n5200's Profile: http://forums.slimdevices.com/member.php?userid=10032
View this thread: http://forums.slimdevices.com/showthread.php?t=32396

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to