Page 2 of 3

Re: Ingen kontakt med Squeezebox server

Posted: 04 Jan 2011, 16:59
by Cheeseboy
Hi again,

Could you please try to be a bit more tidy in your posts? It will make it easier for others to read them and then hopefully help you.
Never mind, so it is not another process blocking the process as I suspected.

The first couple of errors in the log makes me guess that there are unexpected characters coming in from the HTTP request. Could it be IPv6 128 bit addresses that squeezecenter doesn't expect/understand? Leading to overflow or unexpected results and the rest of the confusing errors? (I'm guessing here!)

I don't know anything about perl, so I will leave this to someone else that might know more.

I will ask this though:
If it used to work, what did you change?

EDIT:
Having looked a bit closer I now see connection problems with the database as well, but I can't tell if they are a symptom or the cause...

Re: Ingen kontakt med Squeezebox server

Posted: 05 Jan 2011, 02:44
by ulvaren
Hi

I'll try, I've been using SSH for the first time last Sunday. I chose B3 because it had Squeeze server built. :shock:

Re: Ingen kontakt med Squeezebox server

Posted: 05 Jan 2011, 03:09
by Cheeseboy
Please forgive me for my grumpiness.
Do you have an answer to this though?
If it used to work, what did you change?

Re: Ingen kontakt med Squeezebox server

Posted: 05 Jan 2011, 03:39
by Ubi
from the logs:

Code: Select all

[11-01-03 16:46:35.2604] Slim::Web::Template::SkinManager::_fillTemplate (266) Error: file error - /usr/share/squeezecenter/HTML/EN/include.html: not found
[11-01-03 16:54:18.1519] Slim::Web::Template::SkinManager::_fillTemplate (266) Error: file error - /usr/share/squeezecenter/HTML/Default/index.html: not found
Do you have that same error cheeseboy?

ulvaren: go to shell and enter

Code: Select all

 ls -l /usr/share/squeezecenter/HTML/EN/
ls -l /usr/share/squeezecenter/HTML/Default/
please put the response in Code brackets like I did up here or we won't be able to read them properly

Re: Ingen kontakt med Squeezebox server

Posted: 05 Jan 2011, 03:45
by Cheeseboy
Nope.

Re: Ingen kontakt med Squeezebox server

Posted: 05 Jan 2011, 03:46
by Ubi
seems like our friend destroyed the HTML folder entirely :)

Re: Ingen kontakt med Squeezebox server

Posted: 05 Jan 2011, 03:50
by Cheeseboy
Oh.
I was well off the mark then! :-)

Re: Ingen kontakt med Squeezebox server

Posted: 05 Jan 2011, 03:53
by ulvaren
Hi

I'll try when I get home from work.

Re: Ingen kontakt med Squeezebox server

Posted: 05 Jan 2011, 12:11
by ulvaren
Hi

Is it those you look after or must send both lists.

Code: Select all

ls -l /usr/share/squeezecenter/HTML/EN/
-rw-r--r-- 1 root root     1 May 28  2010 include.html
-rw-r--r-- 1 root root   336 May 28  2010 index.html
]

Code: Select all

ls -l 
/usr/share/squeezecenter/HTML/Default/
-rw-r--r-- 1 root root  6339 May 28  2010 index.html
 

Re: Ingen kontakt med Squeezebox server

Posted: 05 Jan 2011, 12:43
by Cheeseboy
I can confirm that size , permissions and timestamps matches mine (freshly installed now).
I have deliberately sabotaged various files and even the entire HTML directory, but I cannot reproduce the exact same errors...

Yes, I can get it to appear to hang (it is actually delivering a blank page), and I can get this:

Code: Select all

Slim::Web::Template::SkinManager::_fillTemplate (266) Error: file error
But I cannot get this:

Code: Select all

Cannot decode string with wide characters
No idea...

Re: Ingen kontakt med Squeezebox server

Posted: 05 Jan 2011, 13:42
by Cheeseboy
I'm sorry, that was a rubbish post.
I did reproduce the problem as described, but only by deleting the whole HTML directory, and then not the exact errors.
I should not get stuck on an error that might be irrelevant.

Perhaps a purge/reinstall is in order? Any second opinions?

Re: Ingen kontakt med Squeezebox server

Posted: 05 Jan 2011, 15:36
by Ubi
Could be a permissions error somewhere up the tree of the HTML folder.

Re: Ingen kontakt med Squeezebox server

Posted: 05 Jan 2011, 15:52
by Cheeseboy
Yep.
This is the expected output of a working installation:

Code: Select all

# ls -ld /usr/share/squeezecenter
drwxr-xr-x 9 root root 4096 Jan  5 19:36 /usr/share/squeezecenter
# find /usr/share/squeezecenter/ -type d ! -perm 755
# 

Re: Ingen kontakt med Squeezebox server

Posted: 06 Jan 2011, 04:01
by Ubi
but then again he never logged to shell before this problem occurred, so how could they be altered?

Re: Ingen kontakt med Squeezebox server

Posted: 06 Jan 2011, 13:56
by ulvaren
Hi

Is there any idea to install a new SqueezeCenter program will help the Web page is missing . :roll: