PDA

View Full Version : SqueezeCenter on Windows Server 2008



siegeld
2008-05-16, 18:41
I'm not having any luck getting SqueezeCenter 7.01 to run under Windows Server 2008. I have a clean install of Windows Server, and I've installed the latest release of SqueezeCenter on the machine. The install completes, and when I connect to http://localhost:9000 nothing happens. I've looked on the task manager and I do see the server running, but I can never connect to it. I've ensured that security settings on IE are correct, Windows Defender is off, etc. No luck. The event log comes up clean. Any ideas?

siegeld
2008-05-16, 18:43
Another observation - when I run the SqueezeCenter Service Enabler, and click Next, the Enabler just hangs. The services never seem to get installed.

siegeld
2008-05-16, 18:58
Some more info. When I try starting squeezecenter from a command prompt, I get the following. It doesn't die, but I cannot connect to http://localhost:9000.

C:\Program Files\SqueezeCenter\server>squeezecenter.exe
Use of uninitialized value in numeric gt (>) at /<C:\Program Files\SqueezeCenter
\server\squeezecenter.exe>Slim/Utils/Prefs/Namespace.pm line 341, <DATA> line 16
4.
Use of uninitialized value in transliteration (tr///) at /<C:\Program Files\Sque
ezeCenter\server\squeezecenter.exe>File/Spec/Win32.pm line 103, <DATA> line 164.

Use of uninitialized value in pattern match (m//) at /<C:\Program Files\SqueezeC
enter\server\squeezecenter.exe>File/Spec/Win32.pm line 105, <DATA> line 164.
Use of uninitialized value in pattern match (m//) at /<C:\Program Files\SqueezeC
enter\server\squeezecenter.exe>Slim/Utils/Prefs.pm line 269, <DATA> line 164.

siegeld
2008-05-17, 12:35
Tried installing SqueezeCenter on another, different, Windows Server 2008 machine. Still no luck. Must be something wrong with SqueezeCenter and not my machine.

Any suggestions on how I should debug this? The event logs are clean.

siegeld
2008-05-17, 12:43
OK, I've run squeezecenter.exe with debugging turned on. Here are the last few messages that are typed on the command console prior to the process hanging:

[08-05-17 15:41:38.9639] Slim::Utils::Prefs::Namespace::setChange (153) register
ing Slim::Utils::Prefs::__ANON__ for server:fxloopSource
[08-05-17 15:41:38.9689] Slim::Utils::Prefs::Namespace::setChange (153) register
ing Slim::Utils::Prefs::__ANON__ for server:fxloopClock
[08-05-17 15:41:38.9733] Slim::Utils::Prefs::Namespace::setChange (153) register
ing Slim::Utils::Prefs::__ANON__ for server:activeFont
[08-05-17 15:41:38.9779] Slim::Utils::Prefs::Namespace::setChange (153) register
ing Slim::Utils::Prefs::__ANON__ for server:idleFont
[08-05-17 15:41:38.9826] Slim::Utils::Prefs::Namespace::setChange (153) register
ing Slim::Utils::Prefs::__ANON__ for server:activeFont_curr
[08-05-17 15:41:38.9878] Slim::Utils::Prefs::Namespace::setChange (153) register
ing Slim::Utils::Prefs::__ANON__ for server:idleFont_curr
[08-05-17 15:41:38.9922] Slim::Utils::Prefs::Namespace::setChange (153) register
ing Slim::Utils::Prefs::__ANON__ for server:sn_session
[08-05-17 15:41:38.9968] Slim::Utils::Prefs::Namespace::setChange (153) register
ing Slim::Utils::Prefs::__ANON__ for server:variousArtistAutoIdentification

PSSO
2008-05-17, 13:52
Strange !!
I'm running SqueezeCenter on Windows Server 2008 without any problems at all.

Have you tried to disable the User Account Control ?

bradsjm
2008-05-17, 19:31
It is running fine here on Windows 2008 Server too. I installed it when I was logged in as the local administrator account on a pretty much out of the box version of the OS. Worked fine, even opened the right ports in the firewall itself. Changing it to run as a service worked perfectly too.

Sorry to hear about your problems but you should know it is possible and working elsewhere.

siegeld
2008-05-17, 20:16
Is your Windows 2008 Server part of a domain? Both the machines I have tried it on are part of a domain - one is a PDC, and the other is just a member of the domain.

mherger
2008-05-17, 22:56
> Is your Windows 2008 Server part of a domain? Both the machines I have
> tried it on are part of a domain - one is a PDC, and the other is just
> a member of the domain.

I doubt it will run properly on a PDC out of the box. Domain controllers are much more restricted than default machines. Eg. you can't log on as a local administrator etc.

--

Michael

siegeld
2008-05-18, 04:25
Yes, my thinking too. Put it also does not run on a Windows 2008 Server that is a member of the domain but not a domain controller. I'm wondering if anyone has tried this? It might still be a group policy problem, but I have no idea what restriction is tripping me up.

Note, however, that the failing behavior is exactly the same on both the 208 Server that is a PDC and the one that is not.

PSSO
2008-05-18, 04:49
Just did a SqueezeCenter installation on a domain member server (at work) with SqueezeCenter-7.1-19797.exe - no problems.

On the server Windows Firewall is diabled, User Account Control is disabled and IE Enhanced Security Configuration is off (for administrators). My account is a meber of the local administrator group.

And no virus scanner installed (at the moment)

siegeld
2008-05-18, 07:49
Thank you for trying this. I'll test with 7.1 and see if that makes a difference.

siegeld
2008-05-18, 08:27
OK, still no luck. :-(

I tried a clean re-install on a domain member (but NOT PDC) Windows 2008 Server. I installed SqueezeCenter-7.1-19841 (latest build). Verified that UAC is off. I still get the hang as described above. Very odd.

Question for PSSO or anyone else who has this working. Do you have IIS installed on the 2008 server? I do. Do you think that could be causing this? Next step will be to un-install the IIS role, though I don't see why that should make a difference.

PSSO
2008-05-18, 08:41
OK, still no luck. :-(

I tried a clean re-install on a domain member (but NOT PDC) Windows 2008 Server. I installed SqueezeCenter-7.1-19841 (latest build). Verified that UAC is off. I still get the hang as described above. Very odd.

Question for PSSO or anyone else who has this working. Do you have IIS installed on the 2008 server? I do. Do you think that could be causing this? Next step will be to un-install the IIS role, though I don't see why that should make a difference.
Don't use the latest nightly (19841 - http://forums.slimdevices.com/showthread.php?t=47806)
I don't have IIS installed. Maybe the IIS installation changed some group policies that conflicts with SqueezeCenter

siegeld
2008-05-18, 10:45
No luck. I removed IIS. Did a clean install of SqueezeCenter 7.01. Now I noticed in the event log the following error, which it seems I have been getting all along, on two different Windows Server 2008 machines, with different versions of SqueezeCenter:

- System

- Provider

[ Name] Application

- EventID 0

[ Qualifiers] 0

Level 2

Task 0

Keywords 0x80000000000000

- TimeCreated

[ SystemTime] 2008-05-18T17:39:42.000Z

EventRecordID 826

Channel Application

Computer xxx

Security


- EventData

Undefined subroutine &main::main called at slimserver.pl line 88.

PSSO
2008-05-18, 10:54
No luck. I removed IIS. Did a clean install of SqueezeCenter 7.01. Now I noticed in the event log the following error, which it seems I have been getting all along, on two different Windows Server 2008 machines, with different versions of SqueezeCenter:

- System

- Provider

[ Name] Application

- EventID 0

[ Qualifiers] 0

Level 2

Task 0

Keywords 0x80000000000000

- TimeCreated

[ SystemTime] 2008-05-18T17:39:42.000Z

EventRecordID 826

Channel Application

Computer xxx

Security


- EventData

Undefined subroutine &main::main called at slimserver.pl line 88.

Are you still using the latest nightly ?

siegeld
2008-05-18, 10:54
No, I switched back to 7.0.1, the latest release.

siegeld
2008-05-18, 10:57
What would be the best way to turn on massive debugging to see if I can get a better handle on where things are failing?

PSSO
2008-05-18, 11:00
No, I switched back to 7.0.1, the latest release.
Did you uninstall the 7.1 nightly before installing 7.0.1 ?

siegeld
2008-05-18, 11:01
Yes, I did. The uninstall proceeded normally - no errors. It appeared to be clean. Perhaps I need to manually clear out registry settings?

PSSO
2008-05-18, 11:07
Yes, I did. The uninstall proceeded normally - no errors. It appeared to be clean. Perhaps I need to manually clear out registry settings?

After the uninstall, delete c:\program files\squeezecenter and c:\program data\squeezecenter folders.

If you do a clean install of Windows Server 2008, try to install SqueezeCenter, before you join the server to a domain.

You can also try to install SqueezeCenter from a command prompt. Go to the c:\program files\squeezecenter\server folder and type squeezecenter.exe --install

siegeld
2008-05-18, 11:29
Well, the event log error about missing main subroutine is gone, but I'm back to square one. slimserver just hangs as it is starting. running slimserver.exe --install does get the service installed, but when I start the service it hangs, no differently from just running slimserver.exe from the command line.

siegeld
2008-05-18, 11:34
For what it is worth, here is the stack trace (from procexp) for squeezecenter.exe after it starts and appears to be stuck:

(in my previous post I typed slimserver - I meant squeezecenter, of course)

ntoskrnl.exe!KeWaitForMultipleObjects+0xabd
ntoskrnl.exe!KeWaitForSingleObject+0x492
ntoskrnl.exe!CcCopyWrite+0xcfb
ntoskrnl.exe!KeInsertQueueDpc+0x654
ntoskrnl.exe!KeWaitForSingleObject+0x492
ntoskrnl.exe!CcUnpinData+0x2af
ntoskrnl.exe!NtReadFile+0x67b
ntoskrnl.exe!ZwQueryLicenseValue+0xbd2
ntdll.dll!KiFastSystemCallRet
ADVAPI32.dll!LogonUserExExW+0x1d4
ADVAPI32.dll!LogonUserExExW+0x27a
ADVAPI32.dll!StartServiceCtrlDispatcherA+0x8a
squeezecenter.exe+0x2abf
squeezecenter.exe+0xa85f
kernel32.dll!BaseThreadInitThunk+0x12
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36

siegeld
2008-05-18, 11:38
Humm.... OK, it appears from this stacktrace that the server is getting stuck in this call, which clearly makes this look like a permission problem. Somehow the login might be hanging? I known nothing about win32 so I don't really know how to interpert this.

LogonUserExExW Function

The LogonUserExExW function attempts to log a user on to the local computer. The local computer is the computer from which LogonUserExExW was called. You cannot use LogonUserExExW to log on to a remote computer. Specify the user by using a user name and domain and authenticate the user by using a plaintext password. If the function succeeds, it receives a handle to a token that represents the logged-on user. You can then use this token handle to impersonate the specified user or, in most cases, to create a process that runs in the context of the specified user.

This function is similar to the LogonUserEx function, except that it takes the additional parameter, pTokenGroups, which is a set of one or more security identifiers (SIDs) that are added to the token returned to the caller when the logon is successful.

This function is not declared in a public header and has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Advapi32.dll.

siegeld
2008-05-18, 12:10
Another strange issue. SqueezeMySQL is not appearing as one of the installed services, even after I run squeezecenter --install. This should install both services, right?

PSSO
2008-05-18, 12:14
Another strange issue. SqueezeMySQL is not appearing as one of the installed services, even after I run squeezecenter --install. This should install both services, right?
yes
Any entries in the windows security log regarding squeezecenter

siegeld
2008-05-18, 12:17
yes
Any entries in the windows security log regarding squeezecenter

Logs are clean.

siegeld
2008-05-18, 12:25
yes
Any entries in the windows security log regarding squeezecenter

OK, I have a new idea. Perhaps I need to install and run from a local administrator account, rather than a domain administrator account. I'll try that now.

siegeld
2008-05-18, 12:35
No luck. Exactly the same behavior when I do a clean install from a local administrator account.