AndyHennah;219857 Wrote: > Thanks guys. > It looks like I had a corrupt database. > From other posts, I managed to find where the database files were > (/usr/local/slimserver/Cache/MySQL/) and I renamed them all. > ib_logfile0 > ib_logfile1 > ibdata1 > > After renaming them, I started the slimserver service : > service slimserver start > This time it didn't crash out and it re-created the database and did a > full rescan automaically. > It's now up and running - Yay!! > > Thanks for the script Doug, I was wondering how to get that working > properly. At the moment I've gone for starting MusicMagicServer from a > terminal window, but that's really not ideal. > > Being a bit of a numpty when it comes to Linux, could you give me some > guidance as to where I call the script from during startup so that it > start before slimserver?
The init is for redhat system so should be ok on fc3 just save as txt file, call it MusicMagicServer and edit the path in the file MusicMagicServer to reflect wherever you have it on your system. As root copy MusicMagicServer to /etc/rc.d/init.d ensure it is executable. you now have to make symlink S58MusicMagicServer in rc2.d,rc3.d,rc5.d to start and K40MusicMagicServer in rc0.d,rc6.d to stop, this can be done manually or by using the "chkconfig" tool. "chkconfig --levels 235 on" "chkconfig --levels 06 off" If it works you should be able to use service MusicMagicServer start|stop|restart|status admin is done with http://serverip:10002 Doug. -- Dougal Headless Mini-ITX Clarkconnect 4.1, MPlayer, MusicMagicServer SlimServer Version: 6.5.3 - 12376 - RedHat - EN - utf8 Perl Version: 5.8.5 i386-linux-thread-multi MySQL Version: 5.0.21-standard SB3 >Derek Shek DAC >Graham Slee Solo >HD650 ------------------------------------------------------------------------ Dougal's Profile: http://forums.slimdevices.com/member.php?userid=5489 View this thread: http://forums.slimdevices.com/showthread.php?t=37444 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
