Starting jackcontrol gives error

What other apps and distros do you use to round out your studio?

Moderators: khz, MattKingUSA

Post Reply
Raaphorst
Established Member
Posts: 11
Joined: Wed Jul 22, 2009 8:25 pm
Contact:

Starting jackcontrol gives error

Post by Raaphorst »

10:10:55.335 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.

don't have clue why and what I should do about it
User avatar
raboof
Established Member
Posts: 1797
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 14 times
Been thanked: 24 times
Contact:

Re: Starting jackcontrol gives error

Post by raboof »

Raaphorst wrote:10:10:55.335 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Could you open the 'Messages' window and paste the logging?
Raaphorst
Established Member
Posts: 11
Joined: Wed Jul 22, 2009 8:25 pm
Contact:

Re: Starting jackcontrol gives error

Post by Raaphorst »

11:27:37.096 Patchbay deactivated.
11:27:37.327 Statistics reset.
11:27:37.537 ALSA connection graph change.
11:27:38.229 ALSA connection change.
11:27:40.619 Startup script...
11:27:40.619 artsshell -q terminate
sh: artsshell: not found
11:27:41.022 Startup script terminated with exit status=32512.
11:27:41.022 JACK is starting...
11:27:41.023 /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
cannot use real-time scheduling (FIFO at priority 10) [for thread -1212041536, from thread -1212041536] (1: Operation not permitted)
cannot create engine
11:27:41.071 JACK was started with PID=8219.
11:27:41.234 JACK was stopped successfully.
11:27:41.235 Post-shutdown script...
11:27:41.235 killall jackd
jackd: no process killed
11:27:41.644 Post-shutdown script terminated with exit status=256.
11:27:43.334 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
User avatar
raboof
Established Member
Posts: 1797
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 14 times
Been thanked: 24 times
Contact:

Re: Starting jackcontrol gives error

Post by raboof »

Raaphorst wrote:cannot use real-time scheduling (FIFO at priority 10) [for thread -1212041536, from thread -1212041536] (1: Operation not permitted)
You need to apply the configuration mentioned at http://wiki.linuxmusicians.com/doku.php ... imits.conf and add yourself to the audio group.

After changing that file, if i recall correctly you'll have to log out and back in to have them take effect.
Raaphorst
Established Member
Posts: 11
Joined: Wed Jul 22, 2009 8:25 pm
Contact:

Re: Starting jackcontrol gives error

Post by Raaphorst »

do I need to perform the whole real-time kernell fix? like written at http://wiki.linuxmusicians.com/doku.php ... figuration ?
User avatar
raboof
Established Member
Posts: 1797
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 14 times
Been thanked: 24 times
Contact:

Re: Starting jackcontrol gives error

Post by raboof »

Raaphorst wrote:do I need to perform the whole real-time kernell fix? like written at http://wiki.linuxmusicians.com/doku.php ... figuration ?
Not to get things working - for this error the 'limits.conf' part should be enough.

If later you decide you decide you want to tune for improved performance you can revisit that page, but it's not strictly necessary.
Raaphorst
Established Member
Posts: 11
Joined: Wed Jul 22, 2009 8:25 pm
Contact:

Re: Starting jackcontrol gives error

Post by Raaphorst »

thanks a lot!!
Raaphorst
Established Member
Posts: 11
Joined: Wed Jul 22, 2009 8:25 pm
Contact:

Re: Starting jackcontrol gives error

Post by Raaphorst »

the file limits.conf is not writable. is there an easy way to change this?

and do I need to add these lines to that file? it seems that # means it's a comment-line, correct?
User avatar
spm_gl
Established Member
Posts: 358
Joined: Wed Apr 22, 2009 7:58 am
Location: Spreewald, Germany
Contact:

Re: Starting jackcontrol gives error

Post by spm_gl »

you need to be root to edit it. Use sudo. And yes, # is (usually) a comment.
--- Spreemusik ---
Jan Fuchsmann, Audio Engineer
Check our blog at http://www.spreemusik.com/blog
User avatar
raboof
Established Member
Posts: 1797
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 14 times
Been thanked: 24 times
Contact:

Re: Starting jackcontrol gives error

Post by raboof »

As this is starting to become a major FAQ, I started http://trac.jackaudio.org/wiki/Troubleshooting
Post Reply