Header RSS Feed
» IT tipps and howto's

How To: Stop and start Oracle server on Linux/Unix

Legato Networker is a often-used and well known backup software solution from EMC. To also use this software on not officially supported operating systems (in this example Gentoo Linux), here is a little workaround how to install it on your Gentoo machine.


1. Copy the client-package of Networker on your system (via SFTP, mounted CD and so on). Save the file lgtoclnt-7.3.3-1.x86_64.rpm in /.

Install Networker on Gentoo

2. Because Gentoo doesn’t know how to handle installations of RPM-files, it must be converted into a tar.gz-file. It sounds complicated, in fact it is the easiest thing ever with the rpm2targz command.

Install Networker on Gentoo

3. Decompress the new tar.gz-file. The files within this package will be moved into /usr/bin, /usr/lib and /usr/sbin.

Install Networker on Gentoo

4. Add your Networker backup server in /etc/hosts.

Install Networker on Gentoo

5. Create a symbolic link /usr/bin/nsrexecd to /usr/sbin/nsrexecd

Install Networker on Gentoo

6. Install startup-script in /etc/init.d because the Networker client-package doesn’t include a startscript. After you’re finished with the script, give it the correct executable rights.

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Beschreibung: Startscript fuer Networker angepasst fuer Gentoo
# $Header: $

depend() {
need net

start() {
(echo 'starting NetWorker daemons: ') > /dev/console
if [ -f /usr/sbin/nsrexecd ]; then
(/usr/sbin/nsrexecd -s zbus01) > /dev/console 2>&1
(echo ' nsrexecd') > /dev/console
if [ -f /usr/sbin/lgtolmd ]; then
(/usr/sbin/lgtolmd -p /nsr/lic -n 1) > /dev/console 2>&1
(echo ' lgtolmd') > /dev/console
if [ -f /usr/sbin/nsrd -a ! -f /usr/sbin/NetWorker.clustersvr ]; then
(/usr/sbin/nsrd) > /dev/console 2>&1
(echo ' nsrd') > /dev/console

stop() {
(echo 'stopping NetWorker daemons:') > /dev/console
if [ -f /usr/sbin/nsr_shutdown ]; then
if [ -f /usr/sbin/NetWorker.clustersvr ]; then
(/usr/sbin/nsr_shutdown -c -a -q) > /dev/console 2>&1
(echo ' nsr_shutdown -c -a -q') > /dev/console
(/usr/sbin/nsr_shutdown) > /dev/console 2>&1
(echo ' nsr_shutdown') > /dev/console

Install Networker on Gentoo

7. For a correct run of Networker it is a must to have portmap running too. So that’s why we start networker and portmap now.

Install Networker on Gentoo

8. Finally we’re almost done. Now we want portmap and networker to start automatically after a boot of the machine.

Install Networker on Gentoo

Go to Homepage home
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

6905 Days
until Death of Computers