![]() |
Cannot run Audacity : "Audacity is already running"
I installed Audacity yesterday from Slackware packages and it seemed to work (except for the recording). Anyway, today I tried again, and there is a popup msg that says :
"Audacity is already running, Running two copies of Audacity simultaneously may lead to data loss or cause your systel to crash, so is not allowed.". I have not launched any other audacity, as ps -aux |grep audacity yields nothing. and I just run it by itself, without xmms or gnome-volume-control, in case there could be a problem with two apps using the soundcard. What is the problem ? Thanks. |
Well at a guess audacity may have left an undeleted 'lock' file in /tmp. Take a look in /tmp and see if there is a folder with audacity in the name.
Code:
ls /tmpCode:
audacity1.2-user/Code:
rm -fr /tmp/audacity1.2-userAlso: You *may* (or may not) need to be root to do that. |
Thanks a bunch, it was exactly the problem. Thanks a lot for the info.
I have one last problem : I cannot record with a microphone (jack plug) (maybe the soundcard finds my voice too ugly ? :-)). I set in gnome-volume-control the mike as the recording entry, and audacity in pref is set to /dev/dsp (cannot be changed). It is symlinked to /dev/dsp0. Audacity says, when trying to record : Error while opening sound device, Please check the output device settings and the project sample rate. The log file shows : PaHost_OpenStream: could not open /dev/dsp for O_RDWR PaHost_OpenStream: ERROR - result = -10000 PaHost_OpenStream: could not open /dev/dsp for O_RDONLY PaHost_OpenStream: ERROR - result = -10000 PaHost_OpenStream: could not open /dev/dsp for O_RDONLY PaHost_OpenStream: ERROR - result = -10000 Host error. PaHost_OpenStream: could not open /dev/dsp for O_RDONLY PaHost_OpenStream: ERROR - result = -10000 Host error. All is run on an ASUS laptop and Slack 9.1 Thanks. Tuan. |
Right it sound like it might be a permissions problem. One thing to try is change your user acount settings and add yourself to the 'audio' group. (or it may be the 'sound' group. Many distros set up a special group for users who want to use the sound devices. If that doesn't work try doing a:
Code:
ls -l /dev/sound/dsp*Code:
galik> ls -l /dev/sound/dsp* |
This is what I get :
ls -l /dev/dsp* lrwxrwxrwx 1 root root 4 Apr 15 16:17 /dev/dsp -> dsp0 crw-rw--w- 1 root sys 14, 3 Aug 29 2003 /dev/dsp0 crw-rw--w- 1 root sys 14, 19 Aug 29 2003 /dev/dsp1 crw-rw--w- 1 root sys 14, 35 Aug 29 2003 /dev/dsp2 crw-rw--w- 1 root sys 14, 51 Aug 29 2003 /dev/dsp3 Actually, after your post, I just tried to run Audacity under root and at least, I get now the 4 mic / vol / cd /line / phone in etc drop down menu for the input. However, I tried the mike but audacity still gets nothing. For the mike, as I was not sure which input to try, I tried them all, putting Rec on all the successive input device in gnome-volume-control (i.e. Vol, Line, Mic, CD, Line 1 , Phone In, Video), even though I guess it should be Mic. But still it does not work. So as you mentioned, there must be a authorization problem+ still a problem with the mike. Thanks. |
Well one thing you can try here then is to change the permissions. As root type:
Code:
root> chmod o+r /dev/dsp* |
It perfectly worked with your help ! Thanks a lot again.
|
Not the best, but....
after ripping my newbie hair out for three hours, I decided to install an Intrepid version 1.3.5 of Audacity, after I removed the 1.3.7.2 version. It installed with no problem. I don't know how compatible it is with the other sound and video programs, but at least it works. The 1.3.7.2 version needs fixing, even if it is a better fit with the Ubuntu Studio Package.
|
| All times are GMT -5. The time now is 08:24 PM. |