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


[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



> 
> > 
> > added these to /etc/services
> > 
> > bacula-dir      9101/udp                        # bacula dir
> > bacula-dir      9101/tcp                        # bacula dir
> > bacula-fd       9102/udp                        # bacula fd
> > bacula-fd       9102/tcp                        # bacula fd
> > bacula-sd       9103/udp                        # bacula sd
> > bacula-sd       9103/tcp                        # bacula sd
> > 
> > > 
> > > After the above, what is in /var/log/message?
> > > 
> > Nothing 
> > 
> > > Do you need something in /etc/host.allow?  Like ALL : ALL : ALLOW
> for
> > > 
> > > example.
> > 
> > YOu mean hosts.allow right an no it is empty i will add
> > ALL : ALL : ALLOW 
> > 
> > still refused telnet same as above
> 
> I suspect the director is not running.



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