----- Dan Langille <[EMAIL PROTECTED]> wrote:
> On 14 Apr 2006 at 12:13, RYAN M. vAN GINNEKEN wrote:
> 
> > 
> > ----- Dan Langille <[EMAIL PROTECTED]> wrote:
> > > On 13 Apr 2006 at 21:19, RYAN M. vAN GINNEKEN wrote:
> > > 
> > > > 
> > > > ----- Dan Langille <[EMAIL PROTECTED]> wrote:
> > > > > redirected to the users list as it's really not devel related
> > > > > 
> > > > Thanks Dan that is where i meant to sent the message anyway.
> > > > 
> > > > > 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 paroused
> > > though
> > > > > the
> > > > > > FAQ's were i found an answer that suggests i should
> possiably
> > > 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 sopposed 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 wierd the perms seem alright 
on the /var/bacula directory. 

drwxr-x---   2 root    bacula  4096 Apr 14 13:12 bacula

[EMAIL PROTECTED] var]# /usr/sbin/bacula-dir -f -u bacula -g bacula -v -c 
/etc/bacula/bacula-dir.conf
14-Apr 13:24 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:24 shoemasters-dir:  Error: message.c:668 fopen 
/var/bacula/shoemasters-dir.shoemasters-dir.149463664.mail failed: 
ERR=Permission denied


> 
> 
> -------------------------------------------------------
> 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


-- 
Computer King/CaNMail

http://www.computerking.ca     http://www.canmail.org

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm

Maybe Computer Science should be in the College of Theology. -- R. S. Barton 



-------------------------------------------------------
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

Reply via email to