Ok, I have installed the CVS version, and now i get the following:
[root@hannibal bin]# ./obsd -d -n

----- Obsequieum started Wed Jan 24 12:12:22 2001
AddDevices: Added device: /mp3 (HARD_DRIVE)
Hard Drive /mp3:
  3
Main: Volumes have been loaded.
Main: Not sending a stream. Sleeping...
FeedCache: No tracks in database?
FeedCache: Add random track: -8002


- This looks ok to me, but what do I know?

When I access the webpage, however, I am still getting the following
error:
(Error: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)) 

I have checked out mysql, and from what I can tell, its working, and the
obs database is there. I re-ran install-db.pl to make sure, and got the
same errors. 

So, I check my apache error documents-

There i find this:

DBI->connect(obs) failed: Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (111) at /var/www/cgi-bin/obs/playlist.pl line 323
Can't call method "prepare" on an undefined value at /var/www/cgi-bin/obs/playli
st.pl line 454

Can anyone advise as to what I have missed?

Also!

>From reading the archives, I came across this used as a checkpoint..

here is a copy and paste of what I have done to check the database:

[root@hannibal bin]# mysql -u obs -p obs
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 34 to server version: 3.23.22-beta-log

Type 'help' for help.

mysql> select count(*) from Artist;
+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.00 sec)





Thanks in advance for the help everyone...

Rob


_______________________________________________
Obs-dev mailing list
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/obs-dev

Reply via email to