You are not logged in.
Pages: 1
hello,
I've installed a nice program called 'Glirnath' on my webserver - with this program I am supposed to be able to use remote connection through apache to play music with mpg123 on my linux box.
it said i need to give the websever permissions to access the sound device so i tried all of these:
chmod 666 /dev/dsp
chmod 666 /dev/sound/dsp
gpasswd -a http audio
but I keep getting the error:
Please check the permissions of the audio device '/dev/sound/dsp'. Your web server user needs to be able to read and write the file.
One way to do this is (probably) to execute the following command as root:
chmod 666 /dev/sound/dsp;
nothing works!
please HELP!
Offline
Did the chmod commands you executed give you any errors?
This page is in russian, but the commands are readable to us at least:
http://wiki.archlinux.org/index.php/Sou … %B8%D0%B9)
Try either or both of these and see what happens:
REGISTER sound/.* PERMISSIONS root.users 660
REGISTER snd/.* PERMISSIONS root.users 660
Last edited by kclive18 (2008-08-03 00:57:23)
My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! , OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor
Offline
hi,
for both of these i get command REGISTER not found..
I try to skim through the link you sent and i saw it had something to do with a /etc/devfsd.conf
I have no such file on my system!
What to do?
thank you
Rotem
Offline
http://www.linuxquestions.org/questions … or-175987/
That Russian page I found earlier is pretty confusing, so I found the above link. Looks like they used chmod 777 instead of chmod 666. 777 should give you full permissions.
My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! , OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor
Offline
I solved the problem.
The issue was in php.ini there is a directive called open_basedir, this directive needs to contain all folders php can access.. added /dev/sound to it and now i think we're ok.
thanks a lot!
Offline
Pages: 1