uuencode and uudecode are missing from CentOS 5

What a surpriese. I need those sometimes when mailing things from cron so after a quick search around I found the (intuitive named) package that contains those utilities is sharutils.

[cce_bash]
yum install sharutils

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package sharutils.x86_64 0:4.6.1-2 set to be updated
–> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================
Installing:
sharutils x86_64 4.6.1-2 base 203 k

Transaction Summary
========================================================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 203 k
Is this ok [y/N]: y
Downloading Packages:
sharutils-4.6.1-2.x86_64.rpm | 203 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : sharutils 1/1

Installed:
sharutils.x86_64 0:4.6.1-2

Complete!
[/cce_bash]

Disabling external access to the DD-WRT WebGui

So, playing with DynDNS and DD-WRT I worryingly observed that even if I set

Administration->Management->Remote Access->Web GUI Management

to off I can still access my router’s management WebGui via the external address. That seemed wrong, I was about to set firewall rules to block this unitl I tried from my phone using 3G. The WebGui was inaccessible.

The WAN WebGui still works from the INSIDE! But don’t worry it won’t work from outside your network.

Nagios Grapher fun

I was struggling with Nagios Grapher (or was it nagiosgraph – I tested both)  in Slackware 13.1 After installing all dependencies it would still refuse to work. I tracked the problem pretty easy to be related to Perl not being able to load the librrd.so.4 library.

That was funny as I was sure that I did configure, make and make install the latest version. Well, by default, on slackware at least rrdtool installs in /opt !

I added /opt/rrdtool-x.x/lib in /etc/ld.so.conf  (check to see what is the exact path in your case) and rerun ldconfig. Sure enough everything worked fine.

This is the error log I received:
[ccNe_apache]
[Tue Oct 05 14:24:11 2010] [error] [client 127.0.0.1] Premature end of
script headers: show.cgi
[Tue Oct 05 14:28:04 2010] [error] [client 127.0.0.1] Can’t load
‘/usr/lib64/perl5/site_perl/5.10.1/x86_64-linux-thread-multi/auto/RRDs/RRDs.so’
for module RRDs: librrd.so.4: cannot open shared object file: No such
file or directory at
/usr/lib64/perl5/5.10.1/x86_64-linux-thread-multi/DynaLoader.pm line
200.
[Tue Oct 05 14:28:04 2010] [error] [client 127.0.0.1] at
/usr/local/nagiosgraph/etc/ngshared.pm line 27
[Tue Oct 05 14:28:04 2010] [error] [client 127.0.0.1] Compilation
failed in require at /usr/local/nagiosgraph/etc/ngshared.pm line 27.
[Tue Oct 05 14:28:04 2010] [error] [client 127.0.0.1] BEGIN
failed–compilation aborted at /usr/local/nagiosgraph/etc/ngshared.pm
line 27.
[Tue Oct 05 14:28:04 2010] [error] [client 127.0.0.1] Compilation
failed in require at /usr/local/nagios/sbin/show.cgi line 13.
[Tue Oct 05 14:28:04 2010] [error] [client 127.0.0.1] BEGIN
failed–compilation aborted at /usr/local/nagios/sbin/show.cgi line
13.
[Tue Oct 05 14:28:04 2010] [error] [client 127.0.0.1] Premature end of
script headers: show.cgi
[Tue Oct 05 14:28:06 2010] [error] [client 127.0.0.1] Can’t load
‘/usr/lib64/perl5/site_perl/5.10.1/x86_64-linux-thread-multi/auto/RRDs/RRDs.so’
for module RRDs: librrd.so.4: cannot open shared object file: No such
file or directory at
/usr/lib64/perl5/5.10.1/x86_64-linux-thread-multi/DynaLoader.pm line
200.
[Tue Oct 05 14:28:06 2010] [error] [client 127.0.0.1] at
/usr/local/nagiosgraph/etc/ngshared.pm line 27
[Tue Oct 05 14:28:06 2010] [error] [client 127.0.0.1] Compilation
failed in require at /usr/local/nagiosgraph/etc/ngshared.pm line 27.
[Tue Oct 05 14:28:06 2010] [error] [client 127.0.0.1] BEGIN
failed–compilation aborted at /usr/local/nagiosgraph/etc/ngshared.pm
line 27.
[Tue Oct 05 14:28:06 2010] [error] [client 127.0.0.1] Compilation
failed in require at /usr/local/nagios/sbin/show.cgi line 13.
[Tue Oct 05 14:28:06 2010] [error] [client 127.0.0.1] BEGIN
failed–compilation aborted at /usr/local/nagios/sbin/show.cgi line
13.
[Tue Oct 05 14:28:06 2010] [error] [client 127.0.0.1] Premature end of
script headers: show.cgi
[/ccNe_apache]