> > > > > > > > > On 13 Apr 2006 at 15:52, RYAN M. vAN GINNEKEN wrote: > > > > > > > > > > > > > > > > > > > Hello all i have a fresh install of bacula using > mysql > > > > > database > > > > > > > on > > > > > > > > > > fedora core 3. I have the following error message > > > perused > > > > > > > though > > > > > > > > > the > > > > > > > > > > FAQ's were i found an answer that suggests i should > > > > > possibly > > > > > > > submit > > > > > > > > > a > > > > > > > > > > bug report. I have tried this with the default > *.conf > > > > > files > > > > > > > and > > > > > > > > > also > > > > > > > > > > some i modified to try and make things work. > Please > > > help. > > > > > > > > > > > > > > > > > > > > 13-Apr 15:51 bconsole: Fatal error: bnet.c:859 > Unable > > > to > > > > > > > connect > > > > > > > > > to > > > > > > > > > > Director daemon on shoemasters.com:9101. > ERR=Connection > > > > > refused > > > > > > > > > > > > > > > > > > > > > > > > > Is this when starting up bconsole? > > > > > > > > > > > > > > > > Yes, I think i may have messed up my bconsole file are > the > > > > > first > > > > > > > couple of lines supposed to look like this. Think i got > a > > > little > > > > > > > crazy with vi and ended up commenting out the second line > > > cause > > > > > of > > > > > > > errors starting bconsole. > > > > > > > > > > > > > > > > #!/bin/sh > > > > > > > > # which dirname >/dev/null > > > > > > > > # does dirname exit? > > > > > > > > if [ $? = 0 ] ; then > > > > > > > > cwd=`dirname $0` > > > > > > > > if [ x$cwd = x. ]; then > > > > > > > > > > > > > > bconsole is a binary. > > > > > > > > > > > > not mine it is a scipt looks like this > > > > > > > > > > /usr/sbin/bconsole is your binary. > > > > > > > > > > > [EMAIL PROTECTED] bacula]# vi bconsole > > > > > > #!/bin/sh > > > > > > # which dirname >/dev/null > > > > > > # does dirname exit? > > > > > > if [ $? = 0 ] ; then > > > > > > cwd=`dirname $0` > > > > > > if [ x$cwd = x. ]; then > > > > > > cwd=`pwd` > > > > > > fi > > > > > > if [ x$cwd = x/usr/sbin ] ; then > > > > > > echo "bconsole not properly installed." > > > > > > exit 1 > > > > > > fi > > > > > > fi > > > > > > if [ x/usr/sbin = x/etc/bacula ]; then > > > > > > echo "bconsole not properly installed." > > > > > > exit 1 > > > > > > fi > > > > > > if [ $# = 1 ] ; then > > > > > > echo "doing bconsole $1.conf" > > > > > > /usr/sbin/bconsole -c $1.conf > > > > > > else > > > > > > /usr/sbin/bconsole -c /etc/bacula/bconsole.conf > > > > > > fi > > > > > > ~ > > > > > > > > > > > > > > > > > > > > > > > > > > > > What do you get for: telent shoemasters.com 9101 > > > > > > > > > > > > > > > > [EMAIL PROTECTED] bacula]# telnet shoemasters.com 9101 > > > > > > > > Trying 68.144.188.169... > > > > > > > > telnet: connect to address 68.144.188.169: Connection > > > refused > > > > > > > > telnet: Unable to connect to remote host: Connection > > > refused > > > > > > > > > > > > > > This sonds like the director is not running. Please > confirm. > > > > > > > > > > > > you are correct director is not running how do i make this > > > right? > > > > > > [EMAIL PROTECTED] bacula]# ./bacula restart > > > > > > Stopping the Bacula File daemon > > > > > > Stopping the Bacula Storage daemon > > > > > > Stopping the Bacula Director daemon > > > > > > > > > > > > Starting the Bacula Storage daemon > > > > > > Starting the Bacula File daemon > > > > > > Starting the Bacula Director daemon > > > > > > > > > > > > [EMAIL PROTECTED] bacula]# ps -aux | grep bacula > > > > > > Warning: bad syntax, perhaps a bogus '-'? See > > > > > /usr/share/doc/procps-3.2.3/FAQ > > > > > > root 32207 0.0 0.3 17112 1736 ? Ssl 12:06 > 0:00 > > > > > /usr/sbin/bacula-fd -u root -g bacula -v -c > > > > > /etc/bacula/bacula-fd.conf > > > > > > root 32322 0.0 0.1 3728 644 pts/3 R+ 12:07 > 0:00 > > > grep > > > > > bacula > > > > > > [EMAIL PROTECTED] bacula]# vi bconsole > > > > > > > > > > Looks like some kind of big error going on. Try starting it > > > > > manually: > > > > > > > > > > /usr/sbin/bacula-dir -u bacula -g bacula -v -c > > > /etc/bacula/bacula- > > > > > dir.conf > > > > > > > > > > If necessary, add a -f (I think) to make it stay in the > > > foreground. > > > > > > > > > [EMAIL PROTECTED] bacula]# /usr/sbin/bacula-dir -f -u bacula -g > > > bacula -v -c /etc/bacula/bacula-dir.conf > > > > 14-Apr 13:10 shoemasters-dir: ERROR TERMINATION at bsys.c:627 > > > > Could not find specified userid: bacula > > > > > > > > So i added the user bacula to the already existing group bacula > now > > > have permission problems > > > > > > > > [EMAIL PROTECTED] bacula]# /usr/sbin/bacula-dir -f -u bacula -g > > > bacula -v -c /etc/bacula/bacula-dir.conf > > > > 14-Apr 13:14 shoemasters-dir: ERROR TERMINATION at > message.c:254 > > > > Could not open console message file > > > /var/bacula/shoemasters-dir.conmsg: ERR=Permission denied > > > > 14-Apr 13:14 shoemasters-dir: Error: message.c:668 fopen > > > /var/bacula/shoemasters-dir.shoemasters-dir.145171056.mail > failed: > > > ERR=Permission denied > > > > 14-Apr 13:14 shoemasters-dir: Error: message.c:706 fopen > > > /var/bacula/log failed: ERR=Permission denied > > > > 14-Apr 13:14 shoemasters-dir: Error: message.c:706 fopen > > > /var/bacula/log failed: ERR=Permission denied > > > > 14-Apr 13:14 shoemasters-dir: Error: message.c:668 fopen > > > /var/bacula/shoemasters-dir.shoemasters-dir.145171056.mail > failed: > > > ERR=Permission denied > > > > 14-Apr 13:14 shoemasters-dir: Error: message.c:668 fopen > > > /var/bacula/shoemasters-dir.shoemasters-dir.145171056.mail > failed: > > > ERR=Permission denied > > > > 14-Apr 13:14 shoemasters-dir: Error: message.c:706 fopen > > > /var/bacula/log failed: ERR=Permission denied > > > > > > > > Changed the perms on the log file to 660 now i just get the one > > > error > > > > about shoemasters-dir.conmsg see below. hmmm that is weird > the > > > perms > > > > seem alright on the /var/bacula directory. > > > > > > > > drwxr-x--- 2 root bacula 4096 Apr 14 13:12 bacula > > > > > > $ ls -dl /var/db/bacula/ > > > drwxr-xr-x 2 bacula bacula 512 Apr 6 20:59 /var/db/bacula/ > > > > > > Try that. The problem with your settings is the bacula user > cannot > > > write there. Only read. > > > > > > Thanks Dan it was a permission problem only it was in the > /var/bacula > > directory not /var/db/bacula. What OS are u running /var/db/bacula > > sounds like FreeBSD, I primaraly use FreeBSD it is my favorite > flavor > > of UNIX. However i have be forced into a Fedora machine or two and > so > > far i do not really like them. > > Yes, It is FreeBSD. > > > > Anyhow i just chmoded and chowned the /var/bacula dir like below > and > > bacula is working great now THANKS. Do you think these perms are > > acceptable/secure? > > > > > > drwxrwx--- 2 root bacula 4096 Apr 15 11:55 bacula > > I still think it should be chown bacula:bacula and chmod 750 > Oh ya that is right we had this disscussion once about my FreeBSD box.
> > > > and > > > > [EMAIL PROTECTED] bacula]# ls -l > > total 104 > > -rw-r----- 1 bacula bacula 185 Apr 14 23:10 BackupCatalog.bsr > > -rw-r----- 1 bacula bacula 1480 Apr 15 01:11 > bacula-dir.9101.state > > -rw-r----- 1 root bacula 2032 Apr 15 01:11 bacula-fd.9102.state > > -rwxrwx--- 1 root disk 192 Apr 14 17:07 bacula-sd.9103.state > > -rwxrwx--- 1 root bacula 24729 Apr 15 02:37 log > > -rw-r----- 1 bacula bacula 0 Apr 15 11:55 > shoemasters.com-dir.computerking.ca.2006-04-15_11.55.44.166081656.mail > > -rwxrwx--- 1 root bacula 0 Apr 15 11:56 > shoemasters.com-dir.conmsg > > -rwxrwx--- 1 root bacula 106 Apr 13 01:59 > shoemasters.com-dir.shoemasters.com-dir.140452472.mail > > -rwxrwx--- 1 root bacula 106 Apr 13 13:51 > shoemasters.com-dir.shoemasters.com-dir.150987456.mail > > -rwxrwx--- 1 root bacula 106 Apr 13 12:05 > shoemasters.com-dir.shoemasters.com-dir.154739392.mail > > -rwxrwx--- 1 root bacula 106 Apr 13 01:51 > shoemasters.com-dir.shoemasters.com-dir.159203960.mail > > -rwxrwx--- 1 root bacula 255 Apr 14 17:00 > shoemasters-dir.conmsg > > -rwxrwx--- 1 root bacula 102 Apr 14 12:06 > shoemasters-dir.shoemasters-dir.142725744.mail > > -rwxrwx--- 1 root bacula 102 Apr 14 13:09 > shoemasters-dir.shoemasters-dir.151642736.mail > > -rwxrwx--- 1 root bacula 102 Apr 13 01:22 > shoemasters-dir.shoemasters-dir.152834672.mail > > -rwxrwx--- 1 root bacula 102 Apr 14 13:10 > shoemasters-dir.shoemasters-dir.155865712.mail > > -rwxrwx--- 1 root bacula 102 Apr 13 15:49 > shoemasters-dir.shoemasters-dir.158831216.mail > > -rwxrwx--- 1 root root 143 Apr 14 16:51 > shoemasters-dir.shoemasters-dir.159543920.mail > > -rwxrwx--- 1 root bacula 102 Apr 13 15:48 > shoemasters-dir.shoemasters-dir.160223856.mail > > -rwxrwx--- 1 root bacula 102 Apr 13 15:49 > shoemasters-dir.shoemasters-dir.164602480.mail > > -rwxrwx--- 1 root bacula 102 Apr 13 01:21 > shoemasters-dir.shoemasters-dir.165761648.mail > > -rwxrwx--- 1 root bacula 102 Apr 14 13:12 > shoemasters-dir.shoemasters-dir.166118000.mail > > Cheers > Thanks Dan for everything my FreeBSD box backup up last night to the Fedora core 3 machine that you helped me get working. Feels great to have a full backup at a remote local can sleep a little easier at night now. Still a bit overwhelmed by all the features bacula has to offer but i am getting there. Just hope when the time comes for restore i will have everything cycling properly. I am starting a new thread about Bacula Web and Freebsd having some difficulty getting apache 1.3 and php 4 to build from the ports with GD When i visit bacula.mysite.com get errors like this DB Error: extension not found Running test.php results in this error Checking system for dependencies... Checking gettext: YES Language support enabled Checking Pear(DB): YES Pear DB enabled Checking GD: NO GD support disabled This is required. Please, compile php with GD support Please, click the link below to test your graph system capabilities (Bacula-web only use PNG): Test Here is what happens when i click the test link. Fatal error: Call to undefined function: imagetypes() in /usr/local/www/bacula/bacula-web_1.1/external_packages/phplot/examples/test_setup.php on line 29 > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users