Bug 38 - LSCPServer: Could not bind server socket
Summary: LSCPServer: Could not bind server socket
Status: CLOSED WORKSFORME
Alias: None
Product: LinuxSampler
Classification: Unclassified
Component: LSCP (show other bugs)
Version: 0.3.3
Hardware: PC Linux
: P2 major
Assignee: Christian Schoenebeck
URL:
Depends on:
Blocks:
 
Reported: 2006-08-31 23:12 CEST by MrBark.fr
Modified: 2007-11-27 23:12 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MrBark.fr 2006-08-31 23:12:47 CEST
Hi,
I'm running on Zenwalk 2.8
kernel 2.6.17-rt8
sound card Echo Layla24, P4 2.8HT, 2GB DDR.
I've installed successful all of jack, ardour and many others audio apps.

Now for linuxsampler 0.3.3 :

I've try with :
gcc 4.1.1 and 3.4.6
liblscp 0.3.1 and 0.3.2
libgig 3.0.0 and 2.0.2

In all cases, all is installed successful (exept when I build linuxsampler with
gcc 4.1.1, but now I understand...)
I've export all that must be exported... always run ldconfig...

But when I run linuxsampler, always the same error occured (in user, and I tried
in root too) :
With jackd running or not, it's all the same.
Note: I've installed LS with --enable-max-voices=256 --enable-max-streams=300
(because I use many larges giga orchestra files...) 
and --prefix=/usr/local/linuxsampler (I made a link of the bin in /usr/bin/)

---------------------------------------------
mrbark[~]$ linuxsampler 
LinuxSampler 0.3.3
Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck
Copyright (C) 2005 Christian Schoenebeck
Detected features: MMX SSE SSE2
Creating Sampler...OK
Registered MIDI input drivers: ALSA
Registered audio output drivers: ALSA,JACK
Starting LSCP network server (0.0.0.0:8888)...Thread: WARNING, can't mlockall()
memory!: Cannot allocate memory
LSCPServer: Could not bind server socket, retrying for 180 seconds...
---------------------------------------------
... and after 180s, it prints "gave up!" and stop.
I never seen any window :(

poor me !

Many thanks in advance !

PS: attention: when we subscribe to a bugzilla linuxsampler account, the
password is never sent. So we must "change the password" to receive a mail. I
did it twice, the problem has occured with the 2 mails.
Comment 1 Christian Schoenebeck 2006-10-20 13:02:44 CEST
I think that might be a permission problem rather than a bug. Note the "can't 
mlockall()" message, which usually only occurs if you lack permissions to do 
so.

Have you ever tried running it as root?
Comment 2 Christian Schoenebeck 2006-11-30 17:32:47 CET
Marking this bug as WORKSFORME now, since I think it's rather a permission 
problem on your machine. If you still think this is a bug, let us know!