Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th September 2009, 09:07 PM
Avner Offline
Registered User
 
Join Date: Sep 2009
Posts: 3
linuxfedorafirefox
bacula-fd (on Windows Vista 64 bit) fails to connect with bacula-sd (on Fedora 11)

I have a system of 2 machines with the following settings:
1. Fedora 11 (chooplak)
2. Windows Vista 64 bit (family-pc)

bacula (version 2.4.4) installed as follows:
1. On the Fedora 11 machine - bacula-dir, bacula-fd, bacula-sd
2. On the Windows Vista 64 bit machine - bacula-fd

I opted to use an existing rpm instead of having to build from bacula source files.
The fedora repository offers the 2.4.4 version - I couldn't find a newer bacula version rpm for Fedora 11.


Problem:
-----------
bacula-fd from the Windows machine fails to connect bacula-sd on the Fedora 11 machine via port 9103


Observation1:
-------------

I'm getting the follwoing error messages:

05-Sep 10:14 family-pc-backup-fd JobId 29: Warning: VSS was not initialized properly. VSS support is disabled. ERR=The operation completed successfully.

The following post link talks about having to use the bacula-fd 64 bit version for VSS, but I believe this is relevant to the bacula 3.x version, which is irrelevant to me (see settings comment above)
http://www.mail-archive.com/bacula-u.../msg32832.html

I couldn't find an bacula 3.x rpm for Fedora 11. Is a solution to the bacula 2.4.4 32 bit conflict with VSS?


Observation2:
-------------

I can't telnet from the windows machine to the Fedora machine, i.e.
telnet chooplak 9103
Trying 10.0.1.8...

I did open the 9103 port on the Windows machine through "Control Panel/Security/Windows Firewall/Allow a program through Windows firwall"

I can telnet from the Fedora machine to the Windows machine, i.e.
[root@chooplak1 etc]# telnet family-pc 9102
Trying 10.0.1.5...
Connected to family-pc.
Escape character is '^]'.


Any help in getting the Windows bacula-fd to communicate with the Fedora 11 bacula-sd is greatly appreciated.

Regards,
Avner
Reply With Quote
  #2  
Old 10th September 2009, 02:50 AM
barry905 Offline
Registered User
 
Join Date: Jul 2007
Posts: 115
windows_xp_2003firefox
I am running bacula-mysql-3.0.1-1 on my server. I do not have Vista running anywhere here (hate it), but I am running XP, although I haven't installed the bacula client on it. However, I can connect to my server using telnet port 9103.

If all else fails, you can download version 3 from http://sourceforge.net/projects/bacula/files/.

Good luck.

Barry
Reply With Quote
  #3  
Old 20th September 2009, 07:41 AM
Avner Offline
Registered User
 
Join Date: Sep 2009
Posts: 3
linuxfedorafirefox
The reason for the connect failure through port 9103, was the firewall on the Linux side.
Using system-config-firewall, I opened ports 9101, 9102, 9103 on the Linux side and now
Windows bacula-fd client connects bacula-sd successfully.

Also, I managed to build and install bacula 3.0.2 on Fedora 11
The build steps below are for 3.0.2, including bacula-tray-monitor and
slightly variate from the guidelines in:
http://nordickiwi.no-ip.com/mediawik..._-_from_source

tar -xzf ./bacula-3.0.2.tar.gz
cd ./bacula-3.0.2

export PATH=/usr/lib64/qt4/bin/:$PATH
QTDIR=/usr/lib/qt-3.3
QTINC=/usr/lib/qt-3.3/include
yum install qwt qwt-devel

CFLAGS="-g -O2"

./configure \
--sbindir=/usr/local/bacula/bin \
--sysconfdir=/usr/local/bacula/bin \
--with-pid-dir=/usr/local/bacula/bin/working \
--with-subsys-dir=/usr/local/bacula/bin/working \
--enable-smartalloc \
--with-mysql \
--with-working-dir=/usr/local/bacula/ \
--with-dump-email=malkim@shaw.ca \
--with-job-email=malkim@shaw.ca \
--with-smtp-host=localhost \
--enable-bat \
--with-qwt=/usr/local/qwt-5.0.2/ \
--enable-tray-monitor

make
make install

export PATH=/usr/local/bacula/bin/:$PATH


grant_mysql_privileges -u root -p
create_mysql_database -u root -p

mkdir /usr/local/bacula/bin/working

bacula start

drop_mysql_tables -u root -p
make_mysql_tables -u root -p


# Edit
/usr/local/bacula/bin/bat.conf

# Copy
cp -R ./src/qt-console /usr/local/bacula/

# Start BAT.
/usr/local/bacula/qt-console/bat -d99 -c /usr/local/bacula/bin/bconsole.conf


The bacula-fd for the Windows Vista machine was downloaded from
https://sourceforge.net/projects/bac...2.exe/download


There is problem that during a long backup job the Windows box switches to sleep mode,
which closes the connection and causes the job to fail.

I added Heartbeat Interval in the config files to bacula-dir, bacula-sd and bacula-fd
services including the Windows bacula-fd client but this didn't resolve the
problem. No packets are sent to port 9101 on the Linux box (monitored using
tcpdump tcp port 9101)

Disabling Windows from switching to sleep mode solved the problem, but this doesn't look to me like the right solution
Reply With Quote
Reply

Tags
baculafd, baculasd, bit, connect, fails, fedora, vista, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bacula shahdharmit Using Fedora 1 12th July 2009 05:28 PM
bacula backup subotnik Using Fedora 2 8th July 2005 11:56 PM


Current GMT-time: 17:47 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat