PDA

View Full Version : No Web Interface



Drfarfrompuken
2005-08-16, 06:27
Hi there

I have installed slimserver on Mandrake 2005LE, the squeezeboxes connect to the server no problem however there is no web interface for it.

When I attempt to connect to the webpage I just a blank page.

Anyone able to offer any suggestions as to why? Not new to linux but still have relatively small experience to troubleshooting.

Thanks For Your Help

dean
2005-08-16, 07:40
If the Squeezeboxen can play audio then the web server is working at
some level (the players use port 9000 to get their audio).

Maybe it's a skin issue. Try http://localhost:9000/Default/ to
explicitly use the default skin.

-dean

On Aug 16, 2005, at 6:27 AM, Drfarfrompuken wrote:

>
> Hi there
>
> I have installed slimserver on Mandrake 2005LE, the squeezeboxes
> connect to the server no problem however there is no web interface for
> it.
>
> When I attempt to connect to the webpage I just a blank page.
>
> Anyone able to offer any suggestions as to why? Not new to linux but
> still have relatively small experience to troubleshooting.
>
> Thanks For Your Help
>
>
> --
> Drfarfrompuken
>

Drfarfrompuken
2005-08-16, 08:58
Thanks for replying

That didnt make any difference, still just a plain white page and the SBs are working normally

dean
2005-08-16, 09:28
Very strange. Are there any errors in the log file?

Drfarfrompuken
2005-08-16, 09:59
Sorry, where would I find that in the file system, previously I have only ever used the log file through the web interface :s

radish
2005-08-16, 10:03
Try telneting to localhost:9000 and typing this:

GET /

followed by a couple of enters. Do you get anything back?

dean
2005-08-16, 10:10
I'm not sure how you are starting slimserver on your installation,
but the errors come out of stderr by default, unless you've set up a
log file.


On Aug 16, 2005, at 9:59 AM, Drfarfrompuken wrote:

>
> Sorry, where would I find that in the file system, previously I have
> only ever used the log file through the web interface :s
>
>
> --
> Drfarfrompuken
>

Robin Bowes
2005-08-16, 10:10
Drfarfrompuken wrote:
> Hi there
>
> I have installed slimserver on Mandrake 2005LE, the squeezeboxes
> connect to the server no problem however there is no web interface for
> it.
>
> When I attempt to connect to the webpage I just a blank page.
>
> Anyone able to offer any suggestions as to why? Not new to linux but
> still have relatively small experience to troubleshooting.
>
> Thanks For Your Help

Try this.

From a command prompt:

telnet <your server> 9000

In the telnet window, type "?" then hit "Enter"

Do you see anything like this:

HTTP/1.1 400 Bad Request
Date: Tue, 16 Aug 2005 17:08:16 GMT
Server: libwww-perl-daemon/1.02
Content-Type: text/html
Content-Length: 57

<title>400 Bad Request</title>
<h1>400 Bad Request</h1>



Connection to host lost.


If not, or if you get a "could not open a connection to host on port
9000" message then you've possibly got a firewall problem.

R.
--
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?

Drfarfrompuken
2005-08-16, 10:19
On typing GET / I recieve this, hope it means somehing to you, it certainly doesn't to me

<HTML>
<HEAD>
<TITLE>Directory /</TITLE>
<BASE HREF="file:/">
</HEAD>
<BODY>
<H1>Directory listing of /</H1>
<UL>
<LI><A HREF="./">./</A>
<LI><A HREF="../">../</A>
<LI><A HREF=".autofsck">.autofsck</A>
<LI><A HREF=".rnd">.rnd</A>
<LI><A HREF="bin/">bin/</A>
<LI><A HREF="boot/">boot/</A>
<LI><A HREF="dev/">dev/</A>
<LI><A HREF="etc/">etc/</A>
<LI><A HREF="home/">home/</A>
<LI><A HREF="initrd/">initrd/</A>
<LI><A HREF="lib/">lib/</A>
<LI><A HREF="mnt/">mnt/</A>
<LI><A HREF="opt/">opt/</A>
<LI><A HREF="proc/">proc/</A>
<LI><A HREF="root/">root/</A>
<LI><A HREF="sbin/">sbin/</A>
<LI><A HREF="sys/">sys/</A>
<LI><A HREF="tmp/">tmp/</A>
<LI><A HREF="usr/">usr/</A>
<LI><A HREF="var/">var/</A>
</UL>
</BODY>
</HTML>

Drfarfrompuken
2005-08-16, 10:58
There is no firewall on the server so it is not a firewall problem, or on the computer I am accessing it from - still trying to sort out a log file

radish
2005-08-16, 11:10
On typing GET / I recieve this, hope it means somehing to you, it certainly doesn't to me

<HTML>
<HEAD>
<TITLE>Directory /</TITLE>
<BASE HREF="file:/">
</HEAD>
<BODY>
<H1>Directory listing of /</H1>
<UL>
<LI><A HREF="./">./</A>
<LI><A HREF="../">../</A>
<LI><A HREF=".autofsck">.autofsck</A>
<LI><A HREF=".rnd">.rnd</A>
<LI><A HREF="bin/">bin/</A>
<LI><A HREF="boot/">boot/</A>
<LI><A HREF="dev/">dev/</A>
<LI><A HREF="etc/">etc/</A>
<LI><A HREF="home/">home/</A>
<LI><A HREF="initrd/">initrd/</A>
<LI><A HREF="lib/">lib/</A>
<LI><A HREF="mnt/">mnt/</A>
<LI><A HREF="opt/">opt/</A>
<LI><A HREF="proc/">proc/</A>
<LI><A HREF="root/">root/</A>
<LI><A HREF="sbin/">sbin/</A>
<LI><A HREF="sys/">sys/</A>
<LI><A HREF="tmp/">tmp/</A>
<LI><A HREF="usr/">usr/</A>
<LI><A HREF="var/">var/</A>
</UL>
</BODY>
</HTML>

OK, looks like you're hitting a web server which is serving your file system. Weird. There's also no headers there indicating the server type which rules out "real" webservers like Apache etc.

Are you sure you hit port 9000 when you did the telnet? Do you have any other weird processes which might be running? I'm also confused as to why your browser doesn't display this (perfectly valid) HTML when you go to http://localhost:9000/ - rather than displaying the blank page.

Robin Bowes
2005-08-16, 11:10
Drfarfrompuken wrote:
> On typing GET / I recieve this, hope it means somehing to you, it
> certainly doesn't to me
>
> <HTML>
> <HEAD>
> <TITLE>Directory /</TITLE>
> <BASE HREF="file:/">
> </HEAD>
> <BODY>
> <H1>Directory listing of /</H1>
> <UL>
> <LI><A HREF="./">./</A>
> <LI><A HREF="../">../</A>
> <LI><A HREF=".autofsck">.autofsck</A>
> <LI><A HREF=".rnd">.rnd</A>
> <LI><A HREF="bin/">bin/</A>
> <LI><A HREF="boot/">boot/</A>
> <LI><A HREF="dev/">dev/</A>
> <LI><A HREF="etc/">etc/</A>
> <LI><A HREF="home/">home/</A>
> <LI><A HREF="initrd/">initrd/</A>
> <LI><A HREF="lib/">lib/</A>
> <LI><A HREF="mnt/">mnt/</A>
> <LI><A HREF="opt/">opt/</A>
> <LI><A HREF="proc/">proc/</A>
> <LI><A HREF="root/">root/</A>
> <LI><A HREF="sbin/">sbin/</A>
> <LI><A HREF="sys/">sys/</A>
> <LI><A HREF="tmp/">tmp/</A>
> <LI><A HREF="usr/">usr/</A>
> <LI><A HREF="var/">var/</A>
> </UL>
> </BODY>
> </HTML>

That's a listing of your root filesystem.

Can you log into your server and type:

lsof -iTCP:9000

and post the output here?

R.


--
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?