PDA

View Full Version : Panic: Can't create perl510.dll



Jeepie
2009-10-20, 11:26
SOLVED!

Hi There,

I've upgraded to Squeezebox server 7.4. It works, but it doesn't work completely.

Specifically when my computer starts I get the error message:

Panic: Can't create C:\DOCUME~1\Greg\LOCALS~1\Temp\pdk-Greg-2728\perl510.dll.

This is thrown by the SqueezeTray.exe process and the squeezebox icon in the system tray doesn't appear. Because of this the squeezebox server doesn't start automatically.

I checked C:\DOCUME~1\Greg\LOCALS~1\Temp and I notice this is marked as read-only. Whenever I try to change permissions they appear to change, but then when I check it again it goes back to read-only. Could this be an issue?

System info:

Version: 7.4.0 - r28672 @ Mon Sep 28 19:51:11 PDT 2009
Hostname: Myhost
Server IP Address: xxx.xxx.xxx.xxx
Server HTTP Port Number: 9000
Operating system: Windows XP - EN - cp1252
Platform Architecture: 586
Perl Version: 5.10.0 - MSWin32-x86-multi-thread
MySQL Version: 5.0.22-community-nt
Total Players Recognized: 1

Any help really appreciated.

Cheers

Jeepie

mherger
2009-10-20, 11:38
> I checked C:\DOCUME~1\Greg\LOCALS~1\Temp and I notice this is marked as
> read-only.

That's wrong.

> Whenever I try to change permissions they appear to change,
> but then when I check it again it goes back to read-only. Could this be
> an issue?

Stop all SBS related apps and services. Then delete that folder and re-try.

Jeepie
2009-10-20, 12:03
Thanks very much for the reply Mherger!

No dice sadly.

I can't delete or move C:\DOCUME~1\Greg\LOCALS~1 due to some things in the folder being in use even when the squeezebox server is not running e.g. JET9F93.tmp. I therefore deleted what I could, marked the folder as unchecked read only and rebooted but I got the same problem.

I checked and I'm an administrator on this machine - any other thoughts?

mherger
2009-10-20, 12:06
> I can't delete or move C:\DOCUME~1\Greg\LOCALS~1 due to some things in

Oh no, not the full folder! Only the pdk folder it's complaining about...

Jeepie
2009-10-20, 12:15
No worries. Restored the Temp folder and just removed the pdk ones. When I tried to start Squeezebox Server I got the same error I get when logging in as my Windows user, presumably because it's running the same routine.

One thing I noticed is that the name of the pdk folder changes. This time it is saying PANIC: Can't create C:\DOCUME~1\Greg\LOCALS~1\Temp\pdk-Greg-2056\perl510.dll which is a different folder than before.

So it does seem to be a writes or permissions issue to create folder in C:\DOCUME~1\Greg\LOCALS~1\Temp. I just don't know how to change this as it seems to be being manipulated by system processes.

mherger
2009-10-20, 12:21
> So it does seem to be a writes or permissions issue to create folder in
> C:\DOCUME~1\Greg\LOCALS~1\Temp. I just don't know how to change this as
> it seems to be being manipulated by system processes.

What antivirus product are you using? Maybe you should try a clean re-install too. Odd.

Jeepie
2009-10-20, 12:36
Yeah - a weird one. I'm using AVG anti virus. I'll have a dig in there to see if I can see anything.

Cheers for your help M

Jeepie
2009-10-21, 00:29
OK. I checked my work XP machine to verify the settings for C:\Documents and Settings\jeepie\Local Settings on XP and I found that the Temp folder was marked "Read only". Therefore, I am sure whether the "read only" status of the Temp folder is the cause of Panic: Can't create perl510.dll.

Would it be possible for someone who has 7.4 working on XP to let em know whether their folder C:\Documents and Settings\<username>\Local Settings\Temp is marked as "Read only".

Also any other ideas would be appreciated.

mherger
2009-10-21, 00:45
> Would it be possible for someone who has 7.4 working on XP to let em
> know whether their folder C:\Documents and Settings\<username>\Local
> Settings\Temp is marked as "Read only".

It sure must _not_ be read only. This is your temporary folder which is used by many applications. Is this the user you're logged on as?

Jeepie
2009-10-21, 01:57
Hi Mherger,

Thanks a lot for your help. I really appreciate it.

In both cases (work PC and home PC) I am logged in as a user created as an Administrator on the machine. And in both cases the Temp folder is marked as read only. On neither machine has their been any issues with installs, until the 7.4 on my home PC.

Incidentially, I tried running cmd attrib -r -s against The Temp folder but this didn't work either. I also disabled the AVG online scanning but that didn't help - good idea though!

I'm going to try a reinstall tonight and an install of 7.4 on my work PC to see the results. Obviously my work PC will not detected any squeezeboxes but it will be interesting to see if the install goes fine...

I wonder if a reinstall/repair of Perl would help? I'm looking into this....

Cheers for the chat. Let me know if anything comes to mind.

Yrs

J

mherger
2009-10-21, 02:14
Ok, forget the read-only setting - this is a red herring: the checkbox is greyed out, isn't it? That means that _some_ elements in there are read-only. But not the folder.

Did you ever try to download the latest nightly build and install it?

Jeepie
2009-10-21, 02:38
Here's a screenshot of the folder settings. It's not greyed out but checked (see jpeg), but yeah - I think you are right - it seems to be a red herring.

Now I'm thinking about the perl error more, I did get the odd perl error on startup with 7.3.3, but I ignored this as I could just start it again and it worked. I'm not sure if the severity of this problem has been exacerbated by 7.4.

Any ideas how to repair or check for the perl components needed by Squeezebox server 7.4?

I'll try the latest build tonight!

mherger
2009-10-21, 04:56
> Any ideas how to repair or check for the perl components needed by
> Squeezebox server 7.4?

Don't bother. Just download the latest nightly build and try again.

Jeepie
2009-10-21, 05:30
Will do! I'll try this tonight!

Thanks a lot. Will keep you posted.

Jeepie
2009-10-21, 14:25
Great news. Looks like SqueezeboxServer-7.4.1-28948.exe did the job! I'm testing further, but looks sorted!

Thanks a lot for your help mherger. Really good advice. One thing I did do was perform the install of SqueezeboxServer-7.4.1-28948.exe to a totally new directory rather than the default "upgrade" path and I think this might have helped too.

Gazza_UK
2011-08-05, 06:01
Hi,

I have the same problem with Version: 7.6.0 - r32854 running on Win 7 32 bit. I can still use my SB3, I only get the same error as you did when I try to open the control panel from the system tray.