Re: [Bacula-users] Getting RHEL 7 to see ancient Ultrium 4 LTO

2022-08-01 Thread Charles Tassell

Hi Ray,

  If the drive is SCSI it might be a termination issue.  Does the drive 
show up in the BIOS POST screen's SCSI section with the other devices?  
What's the output of "cat /proc/scsi/scsi"?  The only driver you should 
need is "st" (SCSI tape) if it's seeing the other attached devices and 
the controller itself.


On 2022-08-01 17:32, Clouse, Raymond [JT4 LLC] wrote:

Our original backup solution was an orphaned WD software paired with an Ultrium 
4 LTO StorageLoader tape drive.  As it was orphaned we got a new Ultrium 7 and, 
with the help of this mailing list, got it working with Bacula and now it's our 
primary backup solution.  Thank you.

But we want to use the old drive as a backup to the backup.  We installed RHEL 
7 (couldn't do 8 or 9 because the Dell 2950's RAID array is no longer 
supported) and the PERC 6i SCSI controller is seen in dmesg and created 
/dev/sg0, sg1, and sg2.  But it doesn't see the tape drive so sg4 and sg5 
aren't created.

Do I need a driver for this?  Is RHEL 7 able to see the drive?

--
Ray Clouse
System Administrator V, MCS Development
raymond.clo...@jt4llc.com
raymond.clouse@us.af.mil
661-277-6464 (office)
714-699-3176 (cell)


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users





___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bsmtp from within a container

2022-08-01 Thread dmitri maziuk

On 2022-08-01 3:57 PM, Justin Case wrote:


bsmtp: bsmtp.c:124-0 Fatal malformed reply from mailserver.dummy.net: 504 5.5.2 
<3422f1072002>: Helo command rejected: need fully-qualified hostname


Who runs the mailserver? Typically you's set "permit-mynetworks" before 
"reject-XX-helo-hostname" and add the docker ip ranges to "mynetworks" 
-- assuming it's postfix.


Since docker uses private ip ranges, these ips should never appear on 
"the Internet" side of the mailserver, i.e. it's not opening the relay 
for everyone: only to docker containers (which could be a problem too 
dep. on how far they trust their customers).


$.02
Dima


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bsmtp from within a container

2022-08-01 Thread Justin Case
One problem I ignored so far is that the Bacula Docker container I use 
(pwa666/bacula-server:11-postgresql-latest) cannot send emails to me.

bsmtp only seems to use the output of the “hostname” command as the hostname 
during the negotiation phase. this hostname is some arbitrary ID, not a FQDN. 

3422f1072002 --> HELO 3422f1072002

Setting the hostname fails in the container (but thats something to talk about 
to the container maintainer).

my mailserver complains when the hostname used during negotiation is not a FQDN.

bsmtp: bsmtp.c:124-0 Fatal malformed reply from mailserver.dummy.net: 504 5.5.2 
<3422f1072002>: Helo command rejected: need fully-qualified hostname

I did not find a bsmtp option to override the hostname for smtp client. such an 
option might be useful.

But my mailserver also requires the sending mail user to authenticate and from 
what I have seen in the documentation bsmtp cannot do that, correct?

So I would have to use some other smtp client like “mail”? (which is not in the 
container, again a problem to clarify elsewhere)

Best,
 J/C

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Getting RHEL 7 to see ancient Ultrium 4 LTO

2022-08-01 Thread Clouse, Raymond [JT4 LLC]
Our original backup solution was an orphaned WD software paired with an Ultrium 
4 LTO StorageLoader tape drive.  As it was orphaned we got a new Ultrium 7 and, 
with the help of this mailing list, got it working with Bacula and now it's our 
primary backup solution.  Thank you.

But we want to use the old drive as a backup to the backup.  We installed RHEL 
7 (couldn't do 8 or 9 because the Dell 2950's RAID array is no longer 
supported) and the PERC 6i SCSI controller is seen in dmesg and created 
/dev/sg0, sg1, and sg2.  But it doesn't see the tape drive so sg4 and sg5 
aren't created.

Do I need a driver for this?  Is RHEL 7 able to see the drive?

--
Ray Clouse
System Administrator V, MCS Development
raymond.clo...@jt4llc.com
raymond.clouse@us.af.mil
661-277-6464 (office)
714-699-3176 (cell)


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula-sd systemd service modification prevents daemon failure

2022-08-01 Thread mark . bergman
While bacula-sd would start fine when run manually at the command-line
with "/opt/bacula/bin/bacula-sd", running it as a systemd service
consistently resulted in the daemon starting and then stopping almost
immediately, with no errors from bacula-sd and with systemd reporting
just an 'unknown error'.

If the daemon was run with "-T -d xxx -f", it would remain running.

Modifying the systemd service file (/usr/lib/systemd/system/bacula-sd.service) 
to use:

Type=forking

(instead of "Type=simple") allowed the daemon to start correctly under
systemd without any debugging options.

Thanks,

Mark

-- 
Mark Bergman   voice: 215-746-4061  
 
mark.berg...@pennmedicine.upenn.edu  fax: 215-614-0266
http://www.med.upenn.edu/cbica/
IT Technical Director, Center for Biomedical Image Computing and Analytics
Department of Radiology University of Pennsylvania


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users