Re: [Bacula-users] first time Bacula user getting error message trying to connect to director
2008-06-19 22:26:35
If you cannot see it with 'ps -e' and there is nothing with port 9101
when you do a 'netstat -aln', it won't be running.
Your best bet is to first test the config file with bacula-dir -t
/etc/bacula/bacula-dir.conf although I find that if it fails here, it
tends to fail 'loudly' when starting it anyway. Some of the output is
possibly being suppressed by the init scripts.
I'd suggest editing the init script at '/etc/init.d/bacula-director'
and adding -d200 (debug level 200) onto the end of the ARGS string.
You'll get some useful info next time you do
'/etc/init.d/bacula-director start' and that should help further your
troubleshooting. If you cannot find the troubleshooting help on the
interwebs after you've found why it's failing, call back in here. :)
- Damian
David Browning wrote:
Thanks for the quick reply.
I searched and it doesn't appear that I have that script.
Also, I may be wrong about bacula-dir running. Previously when I attempted
to run it, it would report config errors. But then it appeared to run with
no errors, bit I cannot get a 'ps' response for it.
-----Original Message-----
From: John Drescher [mailto:drescherjm AT gmail DOT com]
Sent: Thursday, June 19, 2008 7:56 PM
To: David Browning; Bacula Users
Subject: Re: [Bacula-users] first time Bacula user getting error message
trying to connect to director
On Thu, Jun 19, 2008 at 7:53 PM, David Browning <dbtrade AT optonline DOT net>
wrote:
I'm pretty new to linux, but not really new to networking. Haven't
attempted to compile anything myself yet, although I started to with
bacula, but quit when I hit errors. Thought I would revisit that once
I get it running in some fashion to really see what it does.
But I digress...
I'm trying to run Bacula on a Kubuntu version 8.04 installation. I'm
using SSH and VNC to operate and configure the Kubuntu machine as I
want to run it headless in a home server configuration.
I downloaded and installed the package version listed as
2.2.8-5ubuntu7 as provided under the Adept package manager for Kubuntu
I'm using mySQL, which appears to be running. I went through the
default config files and changed the @whatever@ variables to fit my
system, and configured for File storage.
I started bacula-dir, bacula-sd and bacula-fd without errors.
I ran both BAT and BCONSOLE and receive the following error....
bconsole JobId 0: Fatal error: bsock.c:129 Unable to connect to
Director daemon on xxxmyservernamexxx:9101. ERR=Connection refused.
I've searched for this error and come up empty. Turning to you because
I'm not sure what to try next.
You probably need to create the database using create_bacula_database
scripts
John
|
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|