Archive for the ‘intermediate’ Category

How to install/configure eDirectory 8.8.5 on Opensuse

UPDATE (post-publish), 20100806:  Though this post was originally tested entirely on 32-bit Opensuse 11.1, thanks to the prompt by Philip (see comments below), I have set up and tested this config on 64-bit Opensuse 11.3 with the 64-bit eDirectory 8.8sp5.  I can confirm that it works well.  Now back to the original post… A little [...]

Ping-per-second / Notify Script

As a sysadmin (probably like you), sometimes I need to whip up special-purpose mini-scripts to do simple monitoring tasks that I don’t want to bother our main monitoring system with… This is one of them… I needed to monitor a network device (an appliance, actually) constantly and rapidly, to see if the interface was flapping [...]

iFolder 3.8 Change Local User Password Script…

If you have an iFolder 3.8 (and some previous versions) server, and you use the local database (instead of LDAP or what-not), then you may have run into a situation where you have to change a password for a regular user when that current password is not known. Of course, if the user *knows* his [...]

How can I renew my Centos/Apache SSL certificate?

I got this question the other day from a Centos administrator: “The certwatch tool has been sending the me an email warning me that I need to renew the SSL Certificate. What do I do?” The email message read like the following (names have been changed): ################# SSL Certificate Warning ################ Certificate for hostname ‘www.yourlinuxguy.com’, [...]

eDirectory Backup / Restore Cheat-Sheet

Here’s a quick cheat-sheet on how to do fast backup of your eDirectory tree from an OES Linux server.  While we’re at it, we’ll do a quick restore of an object. First, let’s back it up!  Let’s grab the whole tree: ndsbackup cvf /tmp/ndsbackup-treeRoot.bak [Root] …note that you will be prompted for the admin user [...]

Why can’t I unmount my mount?

This basic (re-worded) question came in from Jeff: “Why won’t my remote filesystem mount unmount when I try the umount command?” It’s very true:  If you try to umount (unmount) a filesystem that is currently being accessed, it will not let you do it.  And it will tell you something like, “umount: /media/ncp: device is [...]

Handy little “rug lu” commands

This question came in from Steve in a comment:  “…I am looking for a way to run the “rug lu” command and have it dump the output my local machine to look over and see what updates I have ahead of me…” So I replied, but then I thought of alot more stuff… so much [...]

Handy little “zypper up” script

I run quite a few Opensuse (mostly 11.1 at the time of this writing) servers in what you might call “pseudo-production” mode.  For some of those servers, and especially for my test lab servers, I like to have them as up-to-date as possible by using some type of call to zypper in a cron job [...]

Have OES2sp1 on Linux? Watch out for SLES10sp3…

While working with a customer today, we were solving some silly problems that cropped up while patching his OES2sp1 Linux servers.  Some nonsense about Mozilla dependencies on 64-bit servers (see Novell TID 7004278 for details on that). But that’s not what I’m here to discuss today… Anyway, since SLES10sp3 came out in the past few [...]

Near-line Data Backups With RDiff-Backup

Backups are great.  Yes, I’m that guy that loves backups.  Of course everyone uses an off-line, off-site backup system like JungleDisk, right?  Or if you’re lucky enough to have your own personal cloud, then you’ve got that covered from that angle… But what about near-line backups, where you can rapidly restore data (like in the [...]