Hi, 26.07.2007 01:56,, Craig White wrote:: ... >> as the bacula user, with the tape drive unmounted from bacula (or the >> SD stopped), try >> mt -f /dev/nst0 rewind >> and >> ... eject >> >> If that works - great. If it doesn't, you should at least get an error >> message. If it's 'permission denied' again, there's still something >> missing, though I wouldn't understand that :-) >> >> If this works from the shell, I would recommend upgrading Bacula to >> the latest released version, because that should fix the group >> association problem I recall. > ---- > I suspect that you're correct - I am running bacula-2.0.3 here on RHELv5 > without issue and at this friend's office, I am running 1.3.8.x on > CentOS 4.5 and it is a problem
That looks like the group membership is in fact the problem. > but in answer to your question, I can > eject a tape as root, but if I try to run... > > # su - bacula -c 'mt -f /dev/nst0 rewind' > This account is currently not available. > > and on both systems, bacula user has /sbin/nologin shell so this all > doesn't make sense so I probably need to compile a newer version ;-( For testing purposes, I would not hesitate to set that to /bin/bash or whatever you prefer... Arno > Thanks > -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users