пятница, 24 апреля 2009 г.

Veritas vs Debian 5.0.1

Обновление софта - источник неиисякаемого геморроя опыта.

backup:/tmp# /etc/init.d/netbackup stop
stopping the NetBackup Service Monitor
tail: cannot open `+2' for reading: No such file or directory
tail: cannot open `+2' for reading: No such file or directory
.......много много строк.......
tail: cannot open `+2' for reading: No such file or directory
tail: cannot open `+2' for reading: No such file or directory
.......
stopping the NetBackup Media Manager
tail: cannot open `+2' for reading: No such file or directory
бла, бла, бла, но срет поменьше чем сервис монитор.

При запуске ругается аналогично, трудовую дейтельность симулирует.

причина: неуловимо изменились некоторые commandline тулзы

лекарство: export _POSIX2_VERSION=199209

хоть убейте, не понимаю, почему помогло


ЗЫ
Дополнение по клиентам веритаса на той же оси, создать линку в /usr/openv/lib
ln -s /usr/lib/libstdc++.so.6.0.8 libstdc++-libc6.2-2.so.3

для 32 битной оси или

ln -s /usr/lib32/libstdc++.so.6 libstdc++-libc6.2-2.so.3

для 64 битной

ln -sf /emul/ia32-linux/usr/lib/libstdc++.so.6 libstdc++-libc6.2-2.so.3

иначе будет притворяться мертвым

1 комментарий:

VVelichko комментирует...

Правильный ответ по ссылке: http://blogs.sun.com/gerrys/entry/tail

The issue can be tracked to the individual way in which the maker of the linux distros have specified which POSIX version they are setting up with. The older POSIX (#1003.2-1992) version defines a different set of parameters for the tail command. Some Linux which specify the new version (#1003.1-2001) by default will therefore throw an error when using the older-style tail command which is still used in the .bin scripts. This is due to backward incompatibilities in the standards. Happily it is very easy to modify this behaviour on Linux to allow you to install the .bin bundles. Using the _POSIX2_VERSION which is detected by the Tail command you can set it to a number which represents either of the two POSIX standards mentioned above.