On 8/11/06, Sampsa <[EMAIL PROTECTED]> wrote:
Hi,
I have a problem getting the default system to work (as described in the
installation document).
The issue is that after installing it (from Gentoo source tree), I created
the postgresql database just fine, the daemons start up just fine, I can
interact with the system with bconsole, and everything works perfectly
up to the point where I must check 'status storage', when it says:
#######################
*status storage
Automatically selected Storage: File
Connecting to Storage daemon File at rainyday:9103
rainyday-sd Version: 1.36.3 (22 April 2005) i686-pc-linux-gnu gentoo
1.6.14
Daemon started 11-Aug-06 14:51, 0 Jobs run since started.
Heap: bytes=6,411 max_bytes=6,883 bufs=43 max_bufs=47
Running Jobs:
No Jobs running.
====
No Terminated Jobs.
Device status:
Archive "FileStorage" is not open or does not exist.
#######################
The FileStorage points to /tmp, and /tmp is there with lots of diskspace
and a+rwx rights.
If I try to label it, it shows:
########################
*label
Automatically selected Storage: File
Enter new Volume name: archive1
Automatically selected Pool: Default
Connecting to Storage daemon File at rainyday:9103 ...
Sending label command for Volume "archive1" Slot 0 ...
3999 Device "FileStorage" not found
Label command failed for Volume archive1.
Do not forget to mount the drive!!!
########################
I've tried to change the syntax in bacula-sd.conf but it doesn't help. The
current setup is:
#####################
---- bacula-sd.conf
Device {
Name = FileStorage
Media Type = File
Archive Device = /pub/backups/arch/archive1
LabelMedia = yes;
Random Access = Yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = yes;
}
---- bacula-dir.conf
Storage {
Name = File
Address = rainyday
SDPort = 9103
Password = "<clipped>"
Device = FileStorage
Media Type = File
}
####################
It just keeps complaining that the device doesn't exist. I've tried
different paths, with and without filenames that exist and don't exist.
Please, help me with this. The system version is ' bacula-1.36.3'.
Reply to [EMAIL PROTECTED]
Thanks,
~/S
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
Dont you worry, you can connect to the sd daemon and this message is normal:
Device status:
Archive "FileStorage" is not open or does not exist.
Now, the problem is went you send the Label command, you change the default settings of the File Device in bacula-sd.conf, the default settings are:
bacula-sd.conf
###########################
Device {
Name = FileStorage
Media Type = File
Archive Device = /opt/FileBackups
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
#############################
bacula-dir.conf
#############################
# Definition of file storage device
Storage {
Name = File
Address = 192.168.2.3 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "sd"
Device = FileStorage
Media Type = File
}
#############################
If i where you:
1; i would use IP numbers in bacula-dir
2; Change the bacula-sd device to default settings, just see which line is different...
3; Check that bacula user can rw to the folder you give, all the path:
/pub/backups/arch/archive1
My case:
periko# ll /
drwxrwxrwx 5 root bacula 512 Aug 2 14:48 opt
periko# ll /opt
total 7478
drwxrwxr-x 2 root operator 512 Jul 20 01:54 .snap
drwxrwx--- 2 bacula bacula 512 Aug 16 09:26 FileBackups
-rw-r----- 1 bacula bacula 7618951 Aug 2 15:12 FileFull-0001
drwxr-xr-x 2 bacula bacula 512 Aug 10 18:32 spool
Hope this help, greetings!!!
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users