LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Skype hanging on CentOS 6.4 (http://www.linuxquestions.org/questions/red-hat-31/skype-hanging-on-centos-6-4-a-4175455285/)

PeterSteele 03-23-2013 02:55 PM

Skype hanging on CentOS 6.4
 
I've installed a CentOS 6.4 system and have following the instructions here that explains how to get Skype up and running under CentOS (a very old version unfortunately, but it's the best available).

The install process went through without a problem. However, when I try to run it, I get the following:

$ skype
/opt/skype/skype: fork: retry: Resource temporarily unavailable
/opt/skype/skype: fork: retry: Resource temporarily unavailable
/opt/skype/skype: fork: retry: Resource temporarily unavailable
/opt/skype/skype: fork: retry: Resource temporarily unavailable
/opt/skype/skype: fork: Resource temporarily unavailable

and then it exits. The skype GUI never comes up. Does anyone have a clue what might be causing this? The frustrating thing is that I had installed CentOS 6.4 on this same box and had Skype up and running without issues, and then on the same day my hard drive crashed and I had to do the entire install again. I've installed pretty much the same set of applications but for some reason this time around Skype isn't cooperating. Any suggestions would be appreciated.

business_kid 03-25-2013 07:12 AM

I found it relies on some weird libs. Try this

Code:

ldd /usr/bin/skype |grep found
The correct output is nothing. If anything shows, it's missing and needed.

PeterSteele 03-25-2013 07:52 AM

The skype I installed is the static 4.0 version, so the ldd output is empty. Well, not empty, it prints "not a dynamic executable", which is what I'd expect. Something is screwed up though...

business_kid 03-27-2013 06:10 AM

Quote:

/opt/skype/skype: fork: retry: Resource temporarily unavailable
/opt/skype/skype: fork: retry: Resource temporarily unavailable
/opt/skype/skype: fork: retry: Resource temporarily unavailable
/opt/skype/skype: fork: retry: Resource temporarily unavailable
/opt/skype/skype: fork: Resource temporarily unavailable
The program is failing to get started, but you knew that. It can't find memory, display space, the X server - something like that. You can see if you learn anything with

strace -o~/somefile /opt/bin/skype
less ~/somefile.

You know it's 32 bit, don't you? It uses a whole pile of stuff in 32bit, but normal enough stuff.If your system is multilib, have you tried the dynamic version?

PeterSteele 03-27-2013 09:29 AM

Well, the strace exercise did the trick. In the process of making sure I was running the real binary and not a shell script that launches the binary, I discovered that my /opt/skype/skype was a shell script that turned around and launched /opt/skype/skype, resulting in an infinite loop. Somehow in the installation process I ended up wacking the skype binary, replacing it with the shell script that was intended for /usr/bin/skype. I just unpacked the skype tarball again and skype is now working fine.

As is usually the case, the problem was user error.

Thanks for the strace suggestion. It forced me to examine my config and discover my mistake...

Now if someone would only get Skype 6.0 working under Linux. This 4.0 version is *so* old...


All times are GMT -5. The time now is 12:55 AM.