Hi,

I am getting an intermittent problem with Jack that I am struggling to interpret  Here is the log message.  What is wrong, please?

17:04:02.160 Patchbay deactivated.

17:04:02.198 Statistics reset.

17:04:02.213 ALSA connection change.

17:04:02.246 D-BUS: Service is available (org.jackaudio.service aka jackdbus).

Cannot connect to server socket err = No such file or directory

Cannot connect to server socket

jack server is not running or cannot be started

17:04:02.270 ALSA connection graph change.

17:04:04.128 D-BUS: JACK server could not be started. Sorry

Tue Oct 30 17:04:03 2012: Starting jack server...

Tue Oct 30 17:04:03 2012: JACK server starting in realtime mode with priority 10

Tue Oct 30 17:04:03 2012: ERROR: Cannot lock down 82241434 byte memory area (Cannot allocate memory)

Tue Oct 30 17:04:03 2012: Jack: Create non RT thread

Tue Oct 30 17:04:03 2012: Jack: ThreadHandler: start

Tue Oct 30 17:04:03 2012: Jack: playback device hw:0

Tue Oct 30 17:04:03 2012: Jack: capture device hw:0

Tue Oct 30 17:04:03 2012: Jack: apparent rate = 44100

Tue Oct 30 17:04:03 2012: Jack: frames per period = 1024

Tue Oct 30 17:04:03 2012: Jack: JackDriver::Open capture_driver_name = hw:0

Tue Oct 30 17:04:03 2012: Jack: JackDriver::Open playback_driver_name = hw:0

Tue Oct 30 17:04:03 2012: Jack: Check protocol client = 8 server = 8

Tue Oct 30 17:04:03 2012: Jack: JackEngine::ClientInternalOpen: name = system

Tue Oct 30 17:04:03 2012: Jack: JackEngine::AllocateRefNum ref = 0

Tue Oct 30 17:04:03 2012: Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_default_system val = 0

Tue Oct 30 17:04:03 2012: Jack: JackEngine::NotifyAddClient: name = system

Tue Oct 30 17:04:03 2012: Jack: JackGraphManager::SetBufferSize size = 1024

Tue Oct 30 17:04:03 2012: Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0

Tue Oct 30 17:04:03 2012: Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0

Tue Oct 30 17:04:03 2012: Jack: JackDriver::SetupDriverSync driver sem in flush mode

Tue Oct 30 17:04:03 2012: control device hw:0

Tue Oct 30 17:04:03 2012: control device hw:0

Tue Oct 30 17:04:03 2012: Acquired audio card Audio0

Tue Oct 30 17:04:03 2012: creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|hwmon|hwmeter|-|32bit

Tue Oct 30 17:04:03 2012: control device hw:0

Tue Oct 30 17:04:04 2012: ERROR:

ATTENTION: The playback device "hw:0" is already in use. The following applications are using your soundcard(s) so you should check them and stop them as necessary before trying to start JACK again:

zynaddsubfx (process ID 2821)



Tue Oct 30 17:04:04 2012: Jack: JackDriver::Close

Tue Oct 30 17:04:04 2012: Jack: JackConnectionManager::DirectDisconnect last: ref1 = 0 ref2 = 0

Tue Oct 30 17:04:04 2012: Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 0 ref2 = 0

Tue Oct 30 17:04:04 2012: Jack: JackEngine::ClientCloseAux ref = 0

Tue Oct 30 17:04:04 2012: Jack: JackGraphManager::RemoveAllPorts ref = 0

Tue Oct 30 17:04:04 2012: Jack: JackPosixSemaphore::Destroy name = jack_sem.1000_default_system

Tue Oct 30 17:04:04 2012: Jack: ~JackDriver

Tue Oct 30 17:04:04 2012: ERROR: Cannot initialize driver

Tue Oct 30 17:04:04 2012: Jack: no message buffer overruns

Tue Oct 30 17:04:04 2012: Jack: JackPosixThread::Stop

Tue Oct 30 17:04:04 2012: Jack: ThreadHandler: exit

Tue Oct 30 17:04:04 2012: ERROR: JackServer::Open() failed with -1

Tue Oct 30 17:04:04 2012: Jack: Succeeded in unlocking 82241434 byte memory area

Tue Oct 30 17:04:04 2012: Jack: JackShmMem::delete size = 0 index = 0

Tue Oct 30 17:04:04 2012: Jack: ~JackDriver

Tue Oct 30 17:04:04 2012: Jack: Succeeded in unlocking 994 byte memory area

Tue Oct 30 17:04:04 2012: Jack: JackShmMem::delete size = 0 index = 1

Tue Oct 30 17:04:04 2012: Jack: cleaning up shared memory

Tue Oct 30 17:04:04 2012: Jack: cleaning up files

Tue Oct 30 17:04:04 2012: Jack: unregistering server `default'

Tue Oct 30 17:04:04 2012: ERROR: Failed to open server

Cannot connect to server socket err = No such file or directory

Cannot connect to server socket

jack server is not running or cannot be started

Tue Oct 30 17:04:05 2012: Saving settings to "/home/stephen/.config/jack/conf.xml" ...

17:04:07.635 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 socket

jack server is not running or cannot be started

17:04:27.701 ALSA connection change.

17:04:27.754 ALSA connection graph change.

17:04:37.460 ALSA connection change.

17:04:37.484 ALSA connection graph change.

17:04:44.174 ALSA connection change.

17:04:49.304 ALSA connection change.

17:04:51.657 ALSA connection change.

17:04:51.684 ALSA connection graph change.

17:04:59.954 ALSA connection change.

17:05:03.526 ALSA connection change.

17:05:03.553 ALSA connection graph change.

17:05:07.396 ALSA connection change.

17:05:07.431 ALSA connection graph change.

17:07:13.306 D-BUS: JACK server could not be started. Sorry

Tue Oct 30 17:07:13 2012: Starting jack server...

Tue Oct 30 17:07:13 2012: Jack: server `default' registered

Tue Oct 30 17:07:13 2012: Jack: JackConnectionManager::InitConnections size = 6522944

Tue Oct 30 17:07:13 2012: Jack: JackConnectionManager::InitClients

Tue Oct 30 17:07:13 2012: JACK server starting in realtime mode with priority 10

Tue Oct 30 17:07:13 2012: Jack: JackShmMem::new index = 0 attached = b0352000 size = 82241434

Tue Oct 30 17:07:13 2012: Jack: JackShmMem::new placement size = 13047706

Tue Oct 30 17:07:13 2012: ERROR: Cannot lock down 82241434 byte memory area (Cannot allocate memory)

Tue Oct 30 17:07:13 2012: Jack: JackConnectionManager::InitConnections size = 6522944

Tue Oct 30 17:07:13 2012: Jack: JackConnectionManager::InitClients

Tue Oct 30 17:07:13 2012: Jack: JackConnectionManager::InitConnections size = 6522944

Tue Oct 30 17:07:13 2012: Jack: JackConnectionManager::InitClients

Tue Oct 30 17:07:13 2012: Jack: JackShmMem::new index = 1 attached = b777c000 size = 994

Tue Oct 30 17:07:13 2012: Jack: Succeeded in locking 994 byte memory area

Tue Oct 30 17:07:13 2012: Jack: Create non RT thread

Tue Oct 30 17:07:13 2012: Jack: ThreadHandler: start

Tue Oct 30 17:07:13 2012: Jack: playback device hw:0

Tue Oct 30 17:07:13 2012: Jack: capture device hw:0

Tue Oct 30 17:07:13 2012: Jack: apparent rate = 44100

Tue Oct 30 17:07:13 2012: Jack: frames per period = 1024

Tue Oct 30 17:07:13 2012: Jack: JackDriver::Open capture_driver_name = hw:0

Tue Oct 30 17:07:13 2012: Jack: JackDriver::Open playback_driver_name = hw:0

Tue Oct 30 17:07:13 2012: Jack: Check protocol client = 8 server = 8

Tue Oct 30 17:07:13 2012: Jack: JackEngine::ClientInternalOpen: name = system

Tue Oct 30 17:07:13 2012: Jack: JackEngine::AllocateRefNum ref = 0

Tue Oct 30 17:07:13 2012: Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_default_system val = 0

Tue Oct 30 17:07:13 2012: Jack: JackEngine::NotifyAddClient: name = system

Tue Oct 30 17:07:13 2012: Jack: JackGraphManager::SetBufferSize size = 1024

Cannot connect to server socket err = No such file or directory

Cannot connect to server socket

jack server is not running or cannot be started

Tue Oct 30 17:07:13 2012: Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0

Tue Oct 30 17:07:13 2012: Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0

Tue Oct 30 17:07:13 2012: Jack: JackDriver::SetupDriverSync driver sem in flush mode

Tue Oct 30 17:07:13 2012: control device hw:0

Tue Oct 30 17:07:13 2012: control device hw:0

Tue Oct 30 17:07:13 2012: ERROR: Failed to acquire device name : Audio0 error : Cannot allocate memory

Tue Oct 30 17:07:13 2012: ERROR: Audio device hw:0 cannot be acquired...

Tue Oct 30 17:07:13 2012: Jack: ~JackDriver

Tue Oct 30 17:07:13 2012: ERROR: Cannot initialize driver

Tue Oct 30 17:07:13 2012: Jack: no message buffer overruns

Tue Oct 30 17:07:13 2012: Jack: ThreadHandler: exit

Tue Oct 30 17:07:13 2012: Jack: JackPosixThread::Stop

Tue Oct 30 17:07:13 2012: ERROR: JackServer::Open() failed with -1

Tue Oct 30 17:07:13 2012: Jack: Succeeded in unlocking 82241434 byte memory area

Tue Oct 30 17:07:13 2012: Jack: JackShmMem::delete size = 0 index = 0

Tue Oct 30 17:07:13 2012: Jack: ~JackDriver

Tue Oct 30 17:07:13 2012: Jack: Succeeded in unlocking 994 byte memory area

Tue Oct 30 17:07:13 2012: Jack: JackShmMem::delete size = 0 index = 1

Tue Oct 30 17:07:13 2012: Jack: cleaning up shared memory

Tue Oct 30 17:07:13 2012: Jack: cleaning up files

Tue Oct 30 17:07:13 2012: Jack: unregistering server `default'

Tue Oct 30 17:07:13 2012: ERROR: Failed to open server

Tue Oct 30 17:07:14 2012: Saving settings to "/home/stephen/.config/jack/conf.xml" ...

17:07:15.407 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 socket

jack server is not running or cannot be started

17:12:32.281 ALSA connection graph change.

17:12:32.385 ALSA connection change.

17:12:36.867 ALSA connection graph change.

17:12:36.995 ALSA connection change.

17:12:38.515 ALSA connection graph change.

17:12:38.599 ALSA connection change.

17:12:38.848 ALSA connection graph change.

17:12:39.003 ALSA connection change.

17:12:44.190 ALSA connection graph change.

17:12:44.209 ALSA connection change.

17:12:48.566 ALSA connection graph change.

17:12:48.615 ALSA connection change.

17:13:04.720 ALSA connection change.

17:13:04.740 ALSA connection graph change.

17:13:06.511 ALSA connection change.

17:13:06.538 ALSA connection graph change.



--
Thank You,
Stephen H. Dawson
(865) 804-3454
http://www.linkedin.com/in/shdcs