SUSE Linux Enterprise Server

From ZENWorks Wiki

Jump to: navigation, search

Contents

eDirectory

ndsrepair

Prompt for advanced options like declare new epoch.

Linux:> ndsrepair -S -Ad

Unattended Full Repair

Linux:> ndsrepair -U

To Find where ndsrepair is located, try a few of the following commands.

Linux:> locate ndsrepair
Linux:> whereis ndsrepair
Linux:> find /opt -name "ndsrepair

Local Repair Check the database and the index

Linux:> ndsrepair -R -i yes

SNMP

First Check
Linux:> snmpcheck

In my case on a sles sp1 box running Novell Access Manager 3, I got a dump.

Checking SNMP
Linux:> snmpconfig
Can't locate Tk.pm in INC (INC contains: /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at /usr/bin/snmpcheck line 652.

BEGIN failed--compilation aborted at /usr/bin/snmpcheck line 652.


Install the following RPM

  • perl-xmltv-0.5.50-0.pm.1.i586.rpm

Other dependencies may be required.

Run the SNMP configure

Linux:> snmpconf -i

This is a menu driven SNMP configuration utility.

Great SNMP reads

Finally, the resulting file, which is saved in your home directory, must be copied to /usr/share/snmp/snmpd.conf

Software Raid

Commands

  • Output detail about an array
mdadm -D /dev/md0
  • Try to repair a failed array
mdadm --assemble --force /dev/md0
  • Add device sde partition 1 to the array
mdadm -a /dev/md0 /dev/sde1

Links

mdadm Help at Ubuntu

mdadm HOWTO

More mdadm help

Personal tools