Did you check the ownership of the device?:

#ls -l  /dev/nst0
crw-rw----  1 bacula bacula 9, 128 2006-09-21 08:42 /dev/nst0

¡Suerte!

El Jueves, 28 de Septiembre de 2006 07:55, escribió:
> Hi, today upgrade my bacula, but when I'm try to mount the tape to run a
> job, show me an error:
>
>
> Connecting to Director doom:9101
> 1000 OK: doom-dir Version: 1.38.11 (28 June 2006)
> Enter a period to cancel a command.
> *mount
> Using default Catalog name=Catalogo DB=bacula
> The defined Storage resources are:
>      1: Tape
>      2: File
> Select Storage resource (1-2): 1
> dev.c:362 dev.c:356 Unable to open device "LTO3" (/dev/nst0):
> ERR=Permission denied 3901 open device failed: ERR=dev.c:356 Unable to open
> device "LTO3" (/dev/nst0): ERR=Permission denied
>
>
> The user to start services it's "bacula"
>
>
> doom:/usr/local/bacula/etc# ps -ef | grep bacula
> bacula    1319     1  0 12:41 ?        00:00:00
> /usr/local/bacula/sbin/bacula-sd -u bacula -v -c
> /usr/local/bacula/etc/bacula-sd.conf bacula    1327  1319  0 12:41 ?       
> 00:00:00 /usr/local/bacula/sbin/bacula-sd -u bacula -v -c
> /usr/local/bacula/etc/bacula-sd.conf bacula    1329  1327  0 12:41 ?       
> 00:00:00 /usr/local/bacula/sbin/bacula-sd -u bacula -v -c
> /usr/local/bacula/etc/bacula-sd.conf bacula    1330     1  0 12:41 ?       
> 00:00:00 /usr/local/bacula/sbin/bacula-fd -u bacula -v -c
> /usr/local/bacula/etc/bacula-fd.conf bacula    1333  1330  0 12:41 ?       
> 00:00:00 /usr/local/bacula/sbin/bacula-fd -u bacula -v -c
> /usr/local/bacula/etc/bacula-fd.conf bacula    1337  1333  0 12:41 ?       
> 00:00:00 /usr/local/bacula/sbin/bacula-fd -u bacula -v -c
> /usr/local/bacula/etc/bacula-fd.conf bacula    1341     1  0 12:41 ?       
> 00:00:00 /usr/local/bacula/sbin/bacula-dir -u bacula -v -c
> /usr/local/bacula/etc/bacula-dir.conf bacula    1353  1341  0 12:41 ?      
>  00:00:00 /usr/local/bacula/sbin/bacula-dir -u bacula -v -c
> /usr/local/bacula/etc/bacula-dir.conf bacula    1354  1353  0 12:41 ?      
>  00:00:00 /usr/local/bacula/sbin/bacula-dir -u bacula -v -c
> /usr/local/bacula/etc/bacula-dir.conf bacula    1355  1353  0 12:41 ?      
>  00:00:00 /usr/local/bacula/sbin/bacula-dir -u bacula -v -c
> /usr/local/bacula/etc/bacula-dir.conf root      1369  1365  0 12:43 pts/0  
>  00:00:00 /usr/local/bacula/sbin/bconsole -c
> /usr/local/bacula/etc/bconsole.conf bacula    1370  1353  0 12:43 ?       
> 00:00:00 /usr/local/bacula/sbin/bacula-dir -u bacula -v -c
> /usr/local/bacula/etc/bacula-dir.conf root      1371  1369  0 12:43 pts/0  
>  00:00:00 /usr/local/bacula/sbin/bconsole -c
> /usr/local/bacula/etc/bconsole.conf root      1372  1371  0 12:43 pts/0   
> 00:00:00 /usr/local/bacula/sbin/bconsole -c
> /usr/local/bacula/etc/bconsole.conf postgres  1373  1273  0 12:43 ?       
> 00:00:00 postgres: bacula bacula [local] idle
>
>
> And every file belongs to bacula, why I have this error?
>
> dev.c:362 dev.c:356 Unable to open device "LTO3" (/dev/nst0):
> ERR=Permission denied 3901 open device failed: ERR=dev.c:356 Unable to open
> device "LTO3" (/dev/nst0): ERR=Permission denied
>
> thanks again
>
> lordjea
>
>
> ---------------------------------
>
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com

-- 
Cris.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to