Page 1 of 1

Salutations and Error code: 7

PostPosted: Thu Jan 05, 2012 8:01 am
by Plumaguila
Hello , my name is Miguel Angel, and I'd like to says thanks for this wonderful software and FREE.
I'm using it from many months, but now I decide to write in the forum, because I have a problem.
The serviio at home is running in a Windows XP (sp 3) machine, 4 Gb mem, a lot of disk, and a dual core 2,4 Ghz CPu
Java version 6 upgrade 30 is installed also.

My problem is:
When a boot the computer I get a pop-up where I can read: "An internal error ocurred (error code: 7)" .
I try to start the Serviio service, because is stopped, then it starts, then stops 2 seconds after.
I uninstall serviio, I reboot, then I reinstall, (of course with the last version even) and I get the same error, after a reboot
I stop the firewall, and nothing positive.
I reinstall Java also and the problem is not solved

Can you help me with the problem??-

And is possible to get a table, with the errors, or explain me the error 7

Many thanks in advance

Re: Salutations and Error code: 7

PostPosted: Thu Jan 05, 2012 8:07 am
by Cerberus
that is a window error code nothing to do with serviio so we wont have the information on what that error means.

Re: Salutations and Error code: 7

PostPosted: Thu Jan 05, 2012 8:46 am
by Plumaguila
Hello, thanks for the answer.
I imagine is a windows error, and I suppose you unknown what does means "error code: 7"
But, do you have some idea, how can I fix my problem?

Nany thnaks in advace for you help

Re: Salutations and Error code: 7

PostPosted: Thu Jan 05, 2012 9:18 am
by zip

Re: Salutations and Error code: 7

PostPosted: Thu Jan 05, 2012 9:53 am
by Plumaguila
Hello
Thanks
Maybe, maybe,..
I try this afternoon and I'll inform you

Thanks again

Re: Salutations and Error code: 7

PostPosted: Mon Jan 09, 2012 7:46 am
by Plumaguila
Thank you very very much
It's working fine.
This weekend I click in right button in MI PC icon > Properties > Advanced > Environment Variables > then I changed "%USERPROFILE%\Local Settings\Temp" for c:\temp (for TEMP variable), and c:\tmp (for TMP variable) .
Then i uninstall serviio 0.6.0.1 and I re-install 0.6.0.1, and WORKS FINE
Later I upgrade to 0.6.1, and work fine again.

Many thanks again
Un saludo

Re: Salutations and Error code: 7

PostPosted: Mon Jan 09, 2012 12:12 pm
by zip
any idea if serviio even starts with the original value (ie is there anything in the log) or it's failing on the Java level before it gets to Serviio code?

Re: Salutations and Error code: 7

PostPosted: Tue Jan 10, 2012 4:54 pm
by Gimbal
I got the same message today when booting up the PC (win7 64 bit) and the task manager connected the error message with a serviio task.
However, as far as I can tell the server is up and running with no errors in the log. Weird.

Re: Salutations and Error code: 7

PostPosted: Wed Jan 18, 2012 11:03 pm
by Carlos
Hi everybody; I just update for new version 0.6.1 running on (win7 64) and now I have the same problem, the Serviio error code 7 appears at start-up the system.
Everything sims to work fine so I do not know what to do, maybe go back to last version and see if all go normal again.
If somebody knows what to do, plz help.
Thanks.

Re: Salutations and Error code: 7

PostPosted: Thu Jan 19, 2012 12:00 pm
by Cerberus
can you get into the serviio console?

if yes

1. go to transcoding tab

2. change the temp location to C:\serviiotemp\ ( you may have to create this directory\location on your pc )

3. save setting ( press save button )

4. restart pc

5. do you still get error message ?

Re: Salutations and Error code: 7

PostPosted: Thu Jan 19, 2012 12:03 pm
by zip
Carlos wrote:Hi everybody; I just update for new version 0.6.1 running on (win7 64) and now I have the same problem, the Serviio error code 7 appears at start-up the system.
Everything sims to work fine so I do not know what to do, maybe go back to last version and see if all go normal again.
If somebody knows what to do, plz help.
Thanks.

Can you delete serviio.log, restart your PC and if you get the error message post serviio.log here (if it exists). I need to know whether the error is caused by Serviio code or something else, before Serviio even starts.

Re: Salutations and Error code: 7

PostPosted: Mon Jan 23, 2012 12:40 am
by Carlos
Hi Cerberus, I just made the changes you tell me and everything came fine, no more errors message.
Thanks for your help, much appreciated.
Regards.

Re: Salutations and Error code: 7

PostPosted: Mon Jan 23, 2012 7:51 am
by Cerberus
Welcomes :)

ok now a little background on why we now get this error.

This is cause by serviio trying to add its tempory directory into the \program files\ and under the UAC functions of windows 7 this is not allowed, so we have to create a new location for it to put its tempory files.

ZIP - to fix this completely we need to change the temp path to C:\USERNAME\application data\serviio\temp\ or as i did for the fix uses c:\serviiotemp\

Re: Salutations and Error code: 7

PostPosted: Mon Jan 23, 2012 6:38 pm
by zip
I'm not doing anything with the temp location. The only thing is getting it's value from the OS. It only seems to be a problem for users with space in the user name, as described in the above ticket.

Re: Salutations and Error code: 7

PostPosted: Tue Aug 07, 2012 5:06 am
by s4brains
Petr,
I'm inclined to disagree with the following comment:

zip wrote: It only seems to be a problem for users with space in the user name, as described in the above ticket.


There is no space in my user name (which is "root") and I started to experience this problem.

It is my belief that somehow a function within Serviio creates temporary files and directories which in my case appear in the "C:\WINDOWS\Temp" and the "C:\Documents and Settings\root\Local Settings\Temp" folders. Many of the files and directories created have names similar to "e4j3.tmp_dir" (a folder) and "e4j3.tmp" (a zero byte file). The directories created in the temp folders referenced above contain files with names similar to "exe4jlib.jar" and "i4jdel.exe".


These files and directories are not ever being purged from the temp directories referenced above (unless the user invokes "Disk Cleanup"), thus creating a very large number of files and directories with names which seem to increment. I suspect that whatever algorithm is used to create names for these files circles back around and eventually tries to use a duplicate name or some such similar problem.

Whether my logic is correct or not, I resolved the problem on my PC by manually purging the temp directories of files and folders which I believed to have been created by Serviio.

The earlier suggestion which changed the environment variables referencing the "temp" directory would have the same effect as manually purging the files and folders because it would then point to a new directory which is not yet full of similarly named files.

I hope that some of the information which I have supplied will allow you to pinpoint and resolve this problem.



Best Regards,

s4

Re: Salutations and Error code: 7

PostPosted: Tue Aug 07, 2012 8:46 am
by zip
thanks s4, I'll ask the exe4j guys