Re: [Bacula-users] Bacula-dir 5.01 no listen
2010-03-11 07:51:44
2010/3/11 mario parreño <maparcen AT hotmail DOT com>:
> Hi Greg, first, thanks for reading the question.
>
> I execute netstat -tanp
> debian-bacula:/etc/bacula# netstat -tanp
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address Foreign Address
> State PID/Program name
> tcp 0 0 127.0.0.1:3306 0.0.0.0:*
> LISTEN 2427/mysqld
> tcp 0 0 0.0.0.0:9102 0.0.0.0:*
> LISTEN 25815/bacula-fd
> tcp 0 0 0.0.0.0:9103 0.0.0.0:*
> LISTEN 25794/bacula-sd
> tcp 0 0 0.0.0.0:111 0.0.0.0:*
> LISTEN 1961/portmap
> tcp 0 0 127.0.0.1:631 0.0.0.0:*
> LISTEN 2537/cupsd
> tcp 0 0 0.0.0.0:36023 0.0.0.0:*
> LISTEN 1978/rpc.statd
> tcp 0 0 127.0.0.1:25 0.0.0.0:*
> LISTEN 2835/exim4
> tcp 0 0 192.168.47.129:46738 92.122.207.136:80
> ESTABLISHED 3299/firefox-bin
> tcp 0 0 192.168.47.129:54912 65.55.149.123:80
> ESTABLISHED 3299/firefox-bin
> tcp6 0 0 ::1:631 :::*
> LISTEN 2537/cupsd
>
> I view the ports 9102 y 9103 listen, but no 9101.
>
> My files conf are:
>
> DIRECTOR:
> Director { # define myself
> Name = debian-bacula-dir
> DIRport = 9101 # where we listen for UA connections
> QueryFile = "/etc/bacula/query.sql"
> WorkingDirectory = "/var/bacula/working"
> PidDirectory = "/var/run"
> Maximum Concurrent Jobs = 1
> Password = "0rHjNtqeYu3kOIIrGl+WW0MlO7zoDq+Cxo7sb1tvFKLR" #
> Console password
> Messages = Daemon
> }
> .
> .
> Client {
> Name = debian-bacula-fd
> Address = 127.0.0.1
> FDPort = 9102
> Catalog = MyCatalog
> Password = "yyjjEFvz/Jf3YknWe10jibTL9S3oI02Zv2QOsLznX5vd" #
> password for FileDaemon
> File Retention = 30 days # 30 days
> Job Retention = 6 months # six months
> AutoPrune = yes # Prune expired Jobs/Files
> }
> .
> .
> Storage {
> Name = File
> # Do not use "localhost" here
> Address = 127.0.0.1 # N.B. Use a fully qualified name here
> SDPort = 9103
> Password = "zV6DkSAOLoXSL96779RE75yFyrS1r2wYKFAtaydwbdFs"
> Device = FileStorage
> Media Type = File
> }
>
> STORAGE
>
> Storage { # definition of myself
> Name = debian-bacula-sd
> SDPort = 9103 # Director's port
> WorkingDirectory = "/var/bacula/working"
> Pid Directory = "/var/run"
> Maximum Concurrent Jobs = 20
> }
> ....
> Director {
> Name = debian-bacula-dir
> Password = "zV6DkSAOLoXSL96779RE75yFyrS1r2wYKFAtaydwbdFs"
> }
>
>
> CLIENT
>
> Director {
> Name = debian-bacula-mon
> Password = "mM1qkD9zXeGCRiscDEpSHW6I60v2IZZb8Qo/zVdlRfse"
> Monitor = yes
> }
> ......
>
> FileDaemon { # this is me
> Name = debian-bacula-fd
> FDport = 9102 # where we listen for the director
> WorkingDirectory = /var/bacula/working
> Pid Directory = /var/run
> Maximum Concurrent Jobs = 20
> }
>
> NOTE: when I installed Bacula 2.4.4 bconsole no connected with director, and
> the solution was
> stop director
> execute bacula-dir -d 100 -c /etc/bacula-dir.conf
>
>
>
> You can help me?
First off remove 127.0.0.1 and local host from all bacula
configuration files. Using either of these will prevent bacula from
being a network backup program. Secondly start the director from the
console
bacula-dir -c /etc/bacula/bacula-dir.conf -d 100
and email the error you get. I am going to guess that the database is
either not configured or not running.
John
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|