From: Jo R. <jr...@ne...> - 2009-10-10 07:28:26
|
I've just upgraded a machine from 6.3 to 7.2. I replaced all the ports with new versions compiled on 7.2, and everything is working normally (just likely everything else running these builds) except for bacula-dir. It is hanging right after starting the UA server, and before it starts accepting network connections. No core, no log message, nothing -- except that you have to kill -9 the process. I found one other report about this in the archives but they said updating gettext fixed it. I recompiled those to be sure. I even recompiled bacula with NLS disabled so that gettext wasn't linked it, and the problem doesn't change. I'm making no headway on this, and would appreciate some assistance: /usr/local/sbin/bacula-dir -d300 -f -v bacula-dir: dird.c:184-0 Debug level = 300 bacula-dir: runscript.c:296-0 runscript: debug bacula-dir: runscript.c:297-0 --> RunScript bacula-dir: runscript.c:298-0 --> Command=/usr/local/share/bacula/ make_catalog_backup bacula bacula *snip* localhost bacula-dir: runscript.c:299-0 --> Target= bacula-dir: runscript.c:300-0 --> RunOnSuccess=1 bacula-dir: runscript.c:301-0 --> RunOnFailure=0 bacula-dir: runscript.c:302-0 --> FailJobOnError=1 bacula-dir: runscript.c:303-0 --> RunWhen=2 bacula-dir: runscript.c:296-0 runscript: debug bacula-dir: runscript.c:297-0 --> RunScript bacula-dir: runscript.c:298-0 --> Command=/usr/local/share/bacula/ delete_catalog_backup bacula-dir: runscript.c:299-0 --> Target= bacula-dir: runscript.c:300-0 --> RunOnSuccess=1 bacula-dir: runscript.c:301-0 --> RunOnFailure=0 bacula-dir: runscript.c:302-0 --> FailJobOnError=1 bacula-dir: runscript.c:303-0 --> RunWhen=1 bacula-dir: message.c:263-0 Copy message resource 2870f1b8 to 28714698 bacula-dir: bsys.c:503-0 Could not open state file. sfd=-1 size=188: ERR=No such file or directory bacula-dir: mysql.c:101-0 db_open first time bacula-dir: mysql.c:130-0 initdb ref=1 connected=0 db=0 bacula-dir: mysql.c:166-0 mysql_init done bacula-dir: mysql.c:187-0 mysql_real_connect done bacula-dir: mysql.c:189-0 db_user=bacula db_name=bacula db_password=*snip* bacula-dir: mysql.c:215-0 opendb ref=1 connected=1 db=28708044 bacula-dir: sql_create.c:341-0 In create mediatype bacula-dir: sql_create.c:344-0 selectmediatype: SELECT MediaTypeId,MediaType FROM MediaType WHERE MediaType='File_SVcolo' bacula-dir: mysql.c:236-0 closedb ref=0 connected=1 db=28708044 bacula-dir: mysql.c:240-0 close db=28708044 backup0-dir: dird.c:317-0 Start UA server FWIW, it's not the state file error. I didn't used to get that error until I removed all files trying to see if something in the environment was confusing it. Exact same process, same hang in the same place whether the state file was there or not. Machine: Rackable 3U with single-core Athlon CPU: AMD Opteron(tm) Processor 244 (1804.10-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0xf5a Stepping = 10 Features = 0x78bfbff < FPU ,VME ,DE ,PSE ,TSC ,MSR ,PAE ,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow!+,3DNow!> real memory = 2146828288 (2047 MB) This exact machine and hardware have been running FreeBSD 6.x and Bacula for >2 years now, zero problems. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness |