Bacula-users

Re: [Bacula-users] 3999 Device "/dev/changer" not found or could not be opened.

2012-04-26 19:57:41
Subject: Re: [Bacula-users] 3999 Device "/dev/changer" not found or could not be opened.
From: "Marchon ." <emaironhead AT gmail DOT com>
To: <drescherjm AT gmail DOT com>
Date: Thu, 26 Apr 2012 23:55:38 +0000
John,

Thanks for the help.

Yes
, /dev/changer is my changer device. Use RedHat is by default it is created as a symbolic link to /dev/sg8.
On my system there is the user bacula. My bacula is running as root. See;

# ps aux | grep bacula
root 14833 0.0 0.0 128340 1384? Ssl 18:18 0:00 / usr / sbin / bacula-sd-v-c / etc / bacula / bacula-sd.conf
root 14848 0.0 0.0 123948 868? Ssl 18:18 0:00 / usr / sbin / bacula-fd-v-c / etc /bacula / bacula-fd.conf
root 14856 0.0 0.0 157232 2580? Ssl 18:18 0:00 / usr / sbin / bacula-dir-v-c / etc / bacula / bacula-dir.conf

And the permissions look right, look;

# ls-l /dev/changer
lrwxrwxrwx 1 root root 3 Apr 30 2011 / dev / changer -> SG8
# Ls-l /dev/sg8
crw-rw ---- 1 root disk 21, 8 Apr 2011 30 / dev/sg8

Before posting my problem, I realized changing test /dev/changer to /dev/sg8 and the same problem occurred.


Best regards
IronHead
----------------


> Date: Thu, 26 Apr 2012 19:25:23 -0400
> Subject: Re: [Bacula-users] 3999 Device "/dev/changer" not found or could not be opened.
> From: drescherjm AT gmail DOT com
> To: emaironhead AT gmail DOT com
> CC: bacula-users AT lists.sourceforge DOT net
>
> 2012/4/26 Marchon . <emaironhead AT gmail DOT com>:
> > Hi,
> >
> > Really really need help
> >
> > When running bconsole to mount or label the following error occurs.
> > ------
> > # bconsole
> > Connecting to Director abnspsrv05:9101
> > 1000 OK: abnspsrv05.cnh-boavista.abnot Version: 5.2.6 (21 February 2012)
> > Enter a period to cancel a command.
> > *mount
> > Automatically selected Catalog: MyCatalog
> > Using Catalog "MyCatalog"
> > The defined Storage resources are:
> >      1: File
> >      2: Autochanger
> > Select Storage resource (1-2): 2
> > Connecting to Storage daemon Autochanger at abnspsrv05:9103 ...
> > 3999 Device "/dev/changer" not found or could not be opened.
> > Enter autochanger drive[0]: 1
> > Enter autochanger slot: 1
> > 3999 Device "/dev/changer" not found or could not be opened.
>
>
> Is /dev/changer really your changer device. It is not mine. If it is
> really your changer device does user bacula have permission to use the
> device.
>
> John
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users