-   Linux - Newbie (
-   -   I am having problems installing WINE (

catojasco 11-29-2009 05:01 PM

I am having problems installing WINE
I am installing wine
When I get to the instruction to type " wincfg:
I get the following:
err: service:validate_service_config Service L "PnSson" has unknown service type
err: service:scmdatabase_load_services Invalid config of service L "PnSson" - skipping
Then the following appears:
mmap()failed: cannot allocate memory
This line is repeated 10 times
Any advice would be very much appreciated!!

alunduil 11-29-2009 05:06 PM

Which distribution are you working with? Did you use your package manager to install wine or did you install wine from source? The error message suggests you are unable to allocate memory but doesn't say if that's due to a mismatch in libraries or because of a lack of memory. What is the output of:


cat /proc/meminfo


jiobo 11-29-2009 05:34 PM

Have not used Wine as others have experienced problems running software that I would have tried with it. You should check that you have any required dependencies installed. If you are using a Linux distribution, then try installing wine from their repository as it will include the dependencies and it is pre-compiled. has software lists for wine.

catojasco 11-29-2009 09:19 PM

Hi Alundil

Message shows:
Dirty 136kb
Write back okb
Anon Pages 10648kb
Mapped 45794kb
S reclaimable 7196kb
S Unreclaim 8404kb
Page tables 4388
Uppercase unstable 0kb
Bounce 0kb
Writeback tmp okb
Commit Limit 3091008kb
Committed AS 449400kb
Vmalloctotal 122880kb
Vmalloc used 3148kb
Vamlloc Chunk 118500kb
Huge pages total 0kb
Huge pages free 0kb
Huge pages resvd 0kb
huge pages surp 0kb
Huge pages size 4096kb
Direct map 4k 12280kb
Direct map 4m 897024kb

alunduil 11-29-2009 09:39 PM

Looks like that output scrolled off the top of the window. Let's just get the output of:

head /proc/meminfo
. That should show us if you're out of memory or if it's a dependency mismatch (which is my guess). You also never mentioned your distro or if you built wine from source. How did you get wine installed?



catojasco 11-29-2009 10:15 PM

MemTotal: 896712
MemFree : 551972
Buffers : 14112
Cached : 182592
Swap Cached: 0
Active : 178688
Inactive: 133584
Active(anon): 118744
Inactive: 12
Active File: 59944

I am using Ubuntu and downloaded instructions to install WINE from : Install and configure Wine on Ubuntu - Highub-IT Web Tips

alunduil 11-29-2009 10:25 PM

That last part is not a link. Could you possibly link the page for easier reference? It looks like you have plenty of memory so we'll have to go with mismatched binaries for your distribution. Which version of Ubuntu are you using, and did you use synaptic or apt to install wine?



catojasco 11-30-2009 01:54 AM

Hi I am at work now so will contact you when I am at home. Can you please advise how I can link the page? I presume this is the page of instructions. Also I am not sure about synaptic or apt. Sorry if I sound stupid but I am new to all this but am really keen to learn.
I am using Ubuntu 9.10 Karmic Koala Thanks Cato

alunduil 11-30-2009 02:17 PM

Don't worry about it. To link a page simply throw the URL in the editing box. The forum will take care of the rest. I just want to look through the instructions and see what you did before I start making guesses as to what could be wrong. That's the handy thing about following guides.



catojasco 11-30-2009 08:01 PM

Hi Thanks for your help again
The URL is:

Hope this is what you need.Cheers Cato

alunduil 12-02-2009 02:09 PM

So by installing the wine repository version of wine, the dependencies got a little messed up. Let's remove the line you added to /etc/apt/sources and then reinstall wine and see if that fixed the problems you're seeing.



catojasco 12-02-2009 09:01 PM

which line do you mean?
Thanks Cato

alunduil 12-02-2009 09:18 PM

This line here: deb binary/. After removing that try reinstalling wine and see what happens.



catojasco 12-02-2009 10:01 PM

I have now received a message showing:
failed to fetch http// binary/en_NZ.bz2 Could not resolve

alunduil 12-02-2009 10:06 PM

What commands did you type in to reach that state? Did you do an

apt-get update
before trying the re-install? I don't use Ubuntu that often and sometimes forget things on that distro.



All times are GMT -5. The time now is 04:06 AM.