On 2006-04-24 09:56, david robert wrote:
Hi Guys,
I am trying to check the director status in my bacula backup.When i use status and select 1 for director i am getting the following backup1-dir Version: 1.36.2 (28 February 2005) i386-pc-linux-gnu debian 3.1
Daemon started 24-Apr-06 08:38, 0 Jobs run since started.
Scheduled Jobs:
Level          Type     Pri  Scheduled          Name               Volume
===================================================================================
My director is hanging here and i don,t know why i am getting the following error *Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 24-Apr 08:21 backup1-dir: *Console*.2006-04-24_08.21.22 Fatal error: Pool MondayPool not in database. sql_create.c:199 Create db Pool record INSERT INTO Pool (Name,NumVols,MaxVols,UseOnce,UseCatalog,AcceptAnyVolume,AutoPrune,Recycle,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,MaxVolBytes,PoolType,LabelFormat) VALUES ('MondayPool',0,0,0,1,1,1,1,1123200,1123200,11,0,0,'Backup','*') failed: ERR=Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)* ** *please help me what was the problem and how to fix this* thanks

Well, the error say that the director can't connect to mysql :-)

Is it running , is the socket right `grep ^socket /etc/my.cnf`
Did you create the database bacula
Did you grant permissions for the database user
Did you make the tables
and so on.

/birger


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to