I'm trying to get the Linux version of Veritas NetBackup 5.0 working on
FreeBSD. It mainly works, but after performing one backup, then fails
to perform any others.

I've narrowed this down to a problem with "bpsched" interaction with the
OS. When it starts up, it creates seveal message queues which it
normally removes when it exits. Under the Linux emulation in FreeBSD,
these message queues are not removed. So - when it starts up again, it
is unable to re-create them.

There are a *lot* of these messasges in the system log:

linux: pid 2763 (bpsched): ioctl fd=5, cmd=0x8954 ('\M^I',84) is not

When starting up after the first time, the NetBackup bpsched log says:

<32> main_bpsched: error creating req message queue: 17
<16> bpsched: scheduler exiting - error creating or getting message
queue (209)

The output of "ipcs -a" shows the following in the Message Queues section:

q 65538 1280592210 --rw-rw-rw- root wheel root wheel
0 0 65536 0 0 no-entry no-entry 22:01:47
q 65539 1093288528 --rw------- root wheel root wheel
296 1 65536 2853 2754 22:04:56 22:03:26 22:03:16
q 65540 1331056194 --rw------- root wheel root wheel
0 0 65536 2763 2756 22:03:26 22:03:26 22:03:16

If I remove these, then I can do another backup.

Has anyone got any ideas or experience with this?



freebsd-emulation@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"