Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've got problem when tried to connect my guitar to my computer, via line input. Auacity works good, and I can record what I play on my guitar (selecting from Preferences from where to record to default:line0). But the problem is in Qjackctl : at first when I click on start it bring this error:

error 1

after that when I click on Cancel it brings this error:

error 2

this is log on messages window:

10:30:37.368 Patchbay deactivated.
10:30:37.416 Statistics reset.
10:30:37.459 ALSA connection change.
10:30:37.497 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 request channel
jack server is not running or cannot be started
10:30:37.512 ALSA connection graph change.
10:30:44.060 D-BUS: JACK server could not be started. Sorry
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
Sat Dec  1 10:30:43 2012: Starting jack server...
Sat Dec  1 10:30:43 2012: JACK server starting in realtime mode with priority 10
Sat Dec  1 10:30:44 2012: control device hw:0
Sat Dec  1 10:30:44 2012: control device hw:0
Sat Dec  1 10:30:44 2012: [1m[31mERROR: Failed to acquire device name : Audio0 error : Method "RequestRelease" with signature "i" on interface "org.freedesktop.ReserveDevice1" doesn't exist
[0m
Sat Dec  1 10:30:44 2012: [1m[31mERROR: Audio device hw:0 cannot be acquired...[0m
Sat Dec  1 10:30:44 2012: [1m[31mERROR: Cannot initialize driver[0m
Sat Dec  1 10:30:44 2012: [1m[31mERROR: JackServer::Open failed with -1[0m
Sat Dec  1 10:30:44 2012: [1m[31mERROR: Failed to open server[0m
Sat Dec  1 10:30:45 2012: Saving settings to "/home/gevorg/.config/jack/conf.xml" ...
10:31:11.438 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

Now I can't understand what is my problem.

share|improve this question
    
I tried the command lines: pulseaudio --kill jack_control start and I got a message: "DBus exception: org.jackaudio.Error.Generic: Failed to open server" What could be the problem? –  user145336 Mar 29 '13 at 18:44
add comment

2 Answers

up vote 6 down vote accepted

Try this from the command line:

pulseaudio --kill  
jack_control  start

Then when your done do this:

jack_control exit  
pulseaudio --start

And sometimes jack wont die, so then do

Get jackd's PID:

ps -aux | grep jackd  
kill -9 jacksPID
share|improve this answer
    
sorry for late response, but when i try jack_control strt it brings error: --- start DBus exception: org.jackaudio.Error.Generic: Failed to open server –  geoh Jan 3 '13 at 12:12
    
oh, rakarrak worked, thanks :) –  geoh Jan 3 '13 at 12:34
    
The issue with this is that pulseaudio aggressively restarts. –  Pointy Feb 18 '13 at 22:24
    
Oh my goodness, thank you so so much. This is fairly useful in the context of running Overtone and Chuck –  Shurane Aug 1 '13 at 6:19
add comment

Running QJackCtl from commandline as root user fixed the issue for me.

sudo qjackctl
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.