Hello Kern and the rest of the list members, I've been reading and it seems a few people have had some problems with the latest release release. I my self had recently upgraded to FC5 and installed bacula-mysql-1.38.10-3 rpm. I initially had the problem where the autoloader was not working...
I read that the /var/bacula needed to have some permissions changed which I have done however this didn't solve the problem. What I've done so far:- 1) chmod 777 /tmp 2) chown bacula:disk /var/bacula - I've tested that user bacula can create mktemp file here (had to give /bin/bash to bacula to test) 3) verified that /dev/sg2 (the autoloader which happens to be a HP SureStore DLT with 6 slots) is accessible by group disk that bacula is a member of. -Again su as bacula I issued command /etc/bacula/mtx-changer /dev/sg2 list 0 /dev/nst0 0 which correctly listed out the number of accessible slots. 4) same with /dev/nst0 (the actual tape drive) 5) Issuing all commands using mtx works fine -mtx version mtx version 1.2.18rel Problem:- 1) Using bconsole I issue command update ->slots from autochanger and I get:- Automatically selected Storage: SureStore1 Connecting to Storage daemon SureStore1 at kl-lx-bacula:9103 ... 3306 Issuing autochanger "slots" command. Device "SureStore1-Device" has 8 slots. Connecting to Storage daemon SureStore1 at kl-lx-bacula:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. 3306 Issuing autochanger "list" command. No Volumes found to label, or no barcodes. 8 slots? How'd that happen... Secondly I enabled the mtx logs and I'm getting (/var/bacula/mtx.log) 20060629-23:11:10 Parms: /dev/sg2 loaded 0 /dev/nst0 0 20060629-23:11:10 Doing mtx -f /dev/sg2 0 -- to find what is loaded 20060629-23:11:17 Parms: /dev/sg2 slots 0 /dev/nst0 0 20060629-23:11:17 Doing mtx -f /dev/sg2 -- to get count of slots 20060629-23:11:17 Parms: /dev/sg2 loaded 0 /dev/nst0 0 20060629-23:11:17 Doing mtx -f /dev/sg2 0 -- to find what is loaded 20060629-23:11:17 Parms: /dev/sg2 list 0 /dev/nst0 0 20060629-23:11:17 Doing mtx -f /dev/sg2 -- to list volumes 20060629-23:30:32 Parms: /dev/sg2 list 0 /dev/nst0 0 20060629-23:30:32 Doing mtx -f /dev/sg2 -- to list volumes 20060629-23:30:35 Parms: /dev/sg2 list 0 /dev/nst0 0 20060629-23:30:35 Doing mtx -f /dev/sg2 -- to list volumes 20060629-23:30:39 Parms: /dev/sg2 list 0 /dev/nst0 0 20060629-23:30:39 Doing mtx -f /dev/sg2 -- to list volumes 20060629-23:33:59 Parms: /dev/sg2 slots 0 /dev/nst0 0 20060629-23:33:59 Doing mtx -f /dev/sg2 -- to get count of slots 20060629-23:33:59 Parms: /dev/sg2 loaded 0 /dev/nst0 0 20060629-23:33:59 Doing mtx -f /dev/sg2 0 -- to find what is loaded 20060629-23:33:59 Parms: /dev/sg2 list 0 /dev/nst0 0 20060629-23:33:59 Doing mtx -f /dev/sg2 -- to list volumes The command "mtx- f /dev/sg2" doesn't do anything as far as I know. Apparently the command in "Parms" seem correct but the command under "Doing" is missing plenty of variables. I then tried to issue update slots scan but got this *update slots scan Automatically selected Storage: SureStore1 Connecting to Storage daemon SureStore1 at kl-lx-bacula:9103 ... 3306 Issuing autochanger "slots" command. Device "SureStore1-Device" has 8 slots. Connecting to Storage daemon SureStore1 at kl-lx-bacula:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. 3306 Issuing autochanger "list" command. Connecting to Storage daemon SureStore1 at kl-lx-bacula:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. 3304 Issuing autochanger "load slot 1, drive 0" command. 3305 Autochanger "load slot 1, drive 0", status is OK. 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result is Slot 1. 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result is Slot 1. -- At which point it just hanged. -------------------------------------- File Permission:- [EMAIL PROTECTED] /]# ll /dev/sg2 crw-rw---- 1 root disk 21, 2 Jun 29 23:09 /dev/sg2 [EMAIL PROTECTED] /]# ll /dev/st* crw-rw---- 1 root disk 9, 0 Jun 29 23:09 /dev/st0 [EMAIL PROTECTED] bacula]# ls -lrt /etc/bacula/ total 368 -rwxr-xr-- 1 bacula bacula 5022 Jun 25 23:42 bacula-ctl-dir -rwxr-xr-- 1 bacula bacula 5043 Jun 25 23:42 bacula-ctl-fd -rwxr-xr-- 1 bacula bacula 4981 Jun 25 23:42 bacula-ctl-sd -rw-r----- 1 bacula bacula 8314 Jun 29 21:07 bacula-dir.conf -rw-r----- 1 root root 24940 Jun 29 20:45 bacula-dir.conf.bak -rw-r----- 1 bacula bacula 630 Jun 29 14:02 bacula-fd.conf -rw-r----- 1 bacula disk 2085 Jun 29 22:01 bacula-sd.conf -rwxr-xr-- 1 bacula bacula 486 Jun 25 23:42 bconsole -rw-r----- 1 bacula bacula 187 Jun 29 14:04 bconsole.conf -rw-r--r-- 1 bacula bacula 429 Jun 25 23:42 btraceback.dbx -rw-r--r-- 1 bacula bacula 280 Jun 25 23:42 btraceback.gdb -rwxr-xr-- 1 bacula bacula 434 Jun 25 23:42 create_bacula_database -rwxr-xr-- 1 bacula bacula 264 Jun 25 23:42 create_mysql_database -rwxr-xr-- 1 bacula bacula 80 Jun 25 23:42 delete_catalog_backup -rwxr-xr-- 1 bacula bacula 5125 Jun 25 23:42 disk-changer -rwxr-xr-- 1 bacula bacula 366 Jun 25 23:42 drop_bacula_database -rwxr-xr-- 1 bacula bacula 513 Jun 25 23:42 drop_bacula_tables -rwxr-xr-- 1 bacula bacula 378 Jun 25 23:42 drop_mysql_database -rwxr-xr-- 1 bacula bacula 894 Jun 25 23:42 drop_mysql_tables -rwxr-xr-- 1 bacula bacula 16998 Jun 25 23:42 dvd-handler -rwxr-xr-- 1 bacula bacula 546 Jun 25 23:42 grant_bacula_privileges -rwxr-xr-- 1 bacula bacula 422 Jun 25 23:42 grant_mysql_privileges -rwxr-xr-- 1 bacula bacula 433 Jun 25 23:42 make_bacula_tables -rwxr-xr-- 1 bacula bacula 1360 Jun 25 23:42 make_catalog_backup -rwxr-xr-- 1 bacula bacula 9425 Jun 25 23:42 make_mysql_tables -rwxr-xr-x 1 bacula bacula 3796 Jun 29 22:13 mtx-changer -rw-r----- 1 bacula bacula 6614 Jun 25 23:42 query.sql drwxr-xr-x 4 bacula bacula 4096 Jun 29 13:54 rescue -rwxr-xr-- 1 bacula bacula 207 Jun 25 23:42 startmysql -rwxr-xr-- 1 bacula bacula 39 Jun 25 23:42 stopmysql -rwxr-xr-- 1 bacula bacula 460 Jun 25 23:42 update_bacula_tables drwxr-xr-x 2 bacula bacula 4096 Jun 29 14:07 updatedb -rwxr-xr-- 1 bacula bacula 3264 Jun 25 23:42 update_mysql_tables [EMAIL PROTECTED] bacula]# ll /var/ | grep bacula drwxrwx--- 2 bacula bacula 4096 Jun 29 23:40 bacula [EMAIL PROTECTED] bacula]# ll / | grep tmp drwxrwxrwt 17 root root 4096 Jun 29 23:46 tmp I'm really at a lost whats supposed to be happening. I'm kind of anxious to get the server running and my old bacula server had some nasty inode corruption (FC3 on ext3 fs). Its still working but I'm not sure how much longer... I'm inclined to believe its something to do with mtx-changer. Regards, Anwar 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