# Jackd won't start

**URL:** <https://community.blokas.io/t/jackd-wont-start/484>\
**Category:** Support\
**Created:** [March 21, 2018, 5:45pm UTC](https://community.blokas.io/t/jackd-wont-start/484 "2018-03-21T17:45:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vince](https://community.blokas.io/user_avatar/community.blokas.io/vince/32/251_2.png) [@vince](https://community.blokas.io/u/vince)\
**Post date:** [March 21, 2018, 5:45pm UTC](https://community.blokas.io/t/jackd-wont-start/484/1 "2018-03-21T17:45:02Z")

</div>

Hello everybody!  
I just recieved my pisound and i’m really happy, but I can’t start jackd via qjackctl.  
I’m running the pi with the ubuntu mate image.  
the system ist correctly set up with pisound as main sound card. If I put the default soundcard back, jacks starts correctly.  
what i’m doing wrong?  
here is the error message of jack:

> **Summary**
>
> 18:42:14.894 Statistics reset.  
> 18:42:14.970 ALSA connection change.  
> Cannot connect to server socket err = No such file or directory  
> Cannot connect to server request channel  
> jack server is not running or cannot be started  
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock  
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock  
> 18:42:25.275 JACK is starting…  
> 18:42:25.277 /usr/bin/jackd -v -r -dalsa -dhw:pisound -r44100 -p1024 -n3 -Xseq  
> Cannot connect to server socket err = No such file or directory  
> Cannot connect to server request channel  
> jack server is not running or cannot be started  
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock  
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock  
> 18:42:25.436 JACK was started with PID=2983.  
> jackdmp 1.9.11  
> Copyright 2001-2005 Paul Davis and others.  
> Copyright 2004-2014 Grame.  
> jackdmp 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 server starting in non-realtime mode  
> self-connect-mode is “Don’t restrict self connect requests”  
> Cannot lock down 82278944 byte memory area (Cannot allocate memory)  
> Jack: JackPosixThread::StartImp : create non RT thread  
> Jack: JackPosixThread::ThreadHandler : start  
> Jack: playback device hw:pisound  
> Jack: capture device hw:pisound  
> Jack: apparent rate = 44100  
> Jack: frames per period = 1024  
> Jack: JackDriver::Open capture\_driver\_name = hw:pisound  
> Jack: JackDriver::Open playback\_driver\_name = hw:pisound  
> Jack: Check protocol client = 8 server = 8  
> Jack: JackEngine::ClientInternalOpen: name = system  
> Jack: JackEngine::AllocateRefNum ref = 0  
> Jack: JackPosixSemaphore::Allocate name = jack\_sem.1000\_default\_system val = 0  
> Jack: JackEngine::NotifyAddClient: name = system  
> Jack: JackGraphManager::SetBufferSize size = 1024  
> Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0  
> Jack: JackGraphManager::ConnectRefNum cur\_index = 0 ref1 = 0 ref2 = 0  
> Jack: JackDriver::SetupDriverSync driver sem in flush mode  
> audio\_reservation\_init  
> Acquire audio card Audio1  
> creating alsa driver … hw:pisound|hw:pisound|1024|3|44100|0|0|nomon|swmeter|-|32bit  
> configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 3 periods  
> ALSA: mmap-based access is not possible for the capture stream of this audio interface  
> ALSA: cannot configure capture channel  
> Jack: JackDriver::Close  
> Jack: JackConnectionManager::DirectDisconnect last: ref1 = 0 ref2 = 0  
> Jack: JackGraphManager::DisconnectRefNum cur\_index = 0 ref1 = 0 ref2 = 0  
> Jack: JackEngine::ClientInternalClose ref = 0  
> Jack: JackEngine::ClientCloseAux ref = 0  
> Jack: JackGraphManager::RemoveAllPorts ref = 0  
> Jack: JackPosixSemaphore::Destroy name = jack\_sem.1000\_default\_system  
> Jack: ~JackDriver  
> Cannot initialize driver  
> Jack: no message buffer overruns  
> Jack: JackPosixThread::ThreadHandler : exit  
> Jack: JackPosixThread::Stop  
> JackServer::Open failed with -1  
> Jack: Succeeded in unlocking 82278944 byte memory area  
> Jack: JackShmMem::delete size = 0 index = 0  
> Jack: ~JackDriver  
> Jack: Succeeded in unlocking 1232 byte memory area  
> Jack: JackShmMem::delete size = 0 index = 1  
> Jack: Cleaning up shared memory  
> Jack: Cleaning up files  
> Jack: Unregistering server `default’  
> Failed to open server  
> 18:42:25.746 JACK was stopped  
> 18:42:27.454 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.  
> Cannot connect to server socket err = No such file or directory  
> Cannot connect to server request channel  
> jack server is not running or cannot be started  
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock  
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

any clue? thanks in advance!!  
all the best  
vince

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [March 22, 2018, 7:52pm UTC](https://community.blokas.io/t/jackd-wont-start/484/2 "2018-03-22T19:52:15Z")

</div>

Hi, try using 48000 (or one of 96000, 192000) sampling rate instead of 44100.

---

<div class="post-metadata">

**Author:** ![vince](https://community.blokas.io/user_avatar/community.blokas.io/vince/32/251_2.png) [@vince](https://community.blokas.io/u/vince)\
**Post date:** [March 29, 2018, 4:23pm UTC](https://community.blokas.io/t/jackd-wont-start/484/3 "2018-03-29T16:23:11Z")

</div>

it works now, thanks!  
(but I changed to raspbian)
