You are not logged in.
Hello.
I got strange issue with OSS.
I got OSS in deamons array and I can't start it.
I getting error's:
When you got something wrong in your config file and I got connection refused at mpd port
When I restart 2nd times OSS is starting normally.
Thanks for help.
Last edited by SpeedVin (2009-10-13 16:07:47)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Remove oss from your daemons line and start it manually from a console to check if there are more errors (check dmesg and the other logs).
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Remove oss from your daemons line and start it manually from a console to check if there are more errors (check dmesg and the other logs).
Logs are fine but I see now when on shutdown sytem stops mpd deamon I got connection refused
Edit
Ok this connection refused was from mpd and I think I know waht going on I added to rc.local script to start oss deamon manually and they start and when I add oss to deamons array in rc.conf it can't be started
Last edited by SpeedVin (2009-10-08 17:51:15)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Post you daemons line please, maybe something needs to start before oss does ... it works just fine here with most things starting in the background, including oss.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Ok this connection refused was from mpd and I think I know waht going on I added to rc.local script to start oss deamon manually and they start and when I add oss to deamons array in rc.conf it can't be started
1. rc.conf is run before rc.local
2. oss must be started and up (don't background) before mpd or else mpd will error out because it can not find an audio interface. Blah blah... I sorta had this issue before.
Offline
Post you daemons line please, maybe something needs to start before oss does ... it works just fine here with most things starting in the background, including oss.
Here you are:
DAEMONS=(@dbus @network oss mpd)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
And thats the array you had before or the one you have now?
Have you tried with DAEMONS=(oss mpd @dbus @network) ? Shouldn't make any difference but who knows.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
And thats the array you had before or the one you have now?
Have you tried with DAEMONS=(oss mpd @dbus @network) ? Shouldn't make any difference but who knows.
Ok thats working for OSS but MPD fails to start
The same situation like in OSS
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
I can't help you with mpd because I don't use it but maybe you should not background dbus and make it start before mpd (even before almost everything else) but this is just a guess.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
I just builded mpd from git repo and still the same error
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
you need both network and oss before mpd. syslog and network should always be first and unbackgrounded IMHO.
personally, i have this and it's working fine.
> grep ^DAEMONS /etc/rc.conf
DAEMONS=(syslog-ng network hal @sensors @iptables @dropboxd @fcron @openntpd @oss !mysqld @sshd @httpd !vsftpd !samba @ushare @cups @skvm @icecast @mpd)
//github/
Offline
bind_to_address "127.0.0.1"
??
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
bind_to_address "127.0.0.1"
??
Thats working thanks Gen2ly and brisbin33
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline