KnowledgeForum Serial Number Generator

It turns out that the SN Gen app was on www2. I was able to grab the files and copy them to Transfer. Files are:

  • /Library/WebServer/CGI-Executables/gensernum.cgi
  • /Library/WebServer/Documents/license/cal.htm
  • /Library/WebServer/Documents/license/calendar.htm
  • /Library/WebServer/Documents/license/kforumsn.txt

Need to tweak firewall (ipfw) to secure it now.

 

 

Posted in Journal, Knowledge Forum, LiM | Comments Off on KnowledgeForum Serial Number Generator

Fun with iptables

In CentOS 6, on backwater, iptables was not starting cleanly. Found a patch for the init script. Create a file named centos.iptables.patch that contains:

--- 5350.orig.sh 2011-05-27 19:58:32.000000000 +0100
+++ 5350.sh 2011-05-27 19:57:32.000000000 +0100
@@ -120,6 +120,12 @@
 for i in $tables; do
 echo -n "$i "
 case "$i" in
+ security) 
+ $IPTABLES -t security -P INPUT $policy \
+ && $IPTABLES -t security -P OUTPUT $policy \
+ && $IPTABLES -t security -P FORWARD $policy \
+ || let ret+=1
+ ;; 
 raw)
 $IPTABLES -t raw -P PREROUTING $policy \
 && $IPTABLES -t raw -P OUTPUT $policy \

then run (as root):

patch -u /etc/init.d/iptables centos.iptables.patch

Note: “patch needs to be installed using “yum install patch.”

Posted in Journal | Comments Off on Fun with iptables

Setting up Nagios on Backwater

The first thing I wanted to do was deal with the web server. I didn’t want apache serving any pages other than nagios. I decided to redirect everything to techmentor.com. To do this I has to allow overrides int the main conf file:

<Directory "/var/www/html">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

Then in /var/www/html I created the following .htaccess file:

RewriteEngine on
AddType text/cache-manifest manifest
RewriteCond %{HTTP_HOST} ^backwater\.techmentor\.com$
RewriteRule ^/?$ "http\:\/\/www\.techmentor\.com\/" [R=301,L]

Another piece of interest was that I had to separately install check_nrpe.

Posted in Journal, System Monitoring | Comments Off on Setting up Nagios on Backwater

VNC, MRTG, and More

Setup VNC servers on liminf03 and kfserver01. Used http://wiki.centos.org/HowTos/VNC-Server as a reference.

Also added additional disk volumes to MRTG. These included Share and Backup volumes on ShareA, ShareB, and ShareC. Reconfigured shareb_usedroot target on ShareB, it was monitoring the Share volume instead. This left historical data wonky.

Purchased 2 hard drives, a recorder and ant two microphones for Mike. Also purchased a Dell monitor for Christophe.

Move ACI project folders from ShareB to ShareA. ShareB was 97% full and Nagios has been nagging me.

Spent about an hour trying to get an NFS share working from netmon01. Finally gave up when I realized Samba was already configured and sharing. Need to mount /share on the various boxes and determine which file I want to make common to them all.

Posted in Journal, LiM, Purchases, System Monitoring | Comments Off on VNC, MRTG, and More

Setting Up ResourceSpace on CentOS 5.8

yum install ghostscript
yum install libtool
yum install libtool-ltdl
yum install lcms
yum install zip
yum install mysql
yum install mysql-server
yum install php53-gd
yum install php53-mysql
yum install php53-mbstring

chkconfig httpd on
chkconfig mysql on
service httpd start (or restart)
service mysql start
Posted in Journal | Comments Off on Setting Up ResourceSpace on CentOS 5.8

Digital Asset Management (DAM) Tools

Looking for a good, open source, DAM tool. Here’s what I am findind:

Posted in Journal | Comments Off on Digital Asset Management (DAM) Tools

OS X Tricks: Command line fun…

Amount of Memory

sysctl -a | grep hw.memsize:

or

/usr/sbin/system_profiler SPHardwareDataType | grep Memory

Amount of Swap

ls -al /private/var/vm/swapfile0 | awk '{print $5}'

Amount of Free Swap

vm_stat | awk '/Pages free:/ {print substr($3,1,match($3,/\./)-1)}'
Posted in Journal, LiM, System Monitoring | Comments Off on OS X Tricks: Command line fun…

Boy, what did I get into…

So I discover a little Mac command line tool, a system profiler (/usr/sbin/system_profiler ), that I thought I could use to generate a cfg2html type report. Well, I want to convert the text output to HTML. I looked at txt2tags, but it didn’t handle the new lines cleanly, so I turned to a Perl script called txt2html. To build it requires some Perl modules. So, of course, I turn to CPAN. Well running cpan on netmon01 recommended an update to CPAN. Sure, why not…well I’m still pounding return to default to all the missing dependency install requests.

Posted in Journal, LiM, System Monitoring | Comments Off on Boy, what did I get into…

Backup Status 11/02/2012

ShareA: Running occasional error 23 “Result too large (34)”

ShareB: Running

ShareC: Running occasional error 23 “Result too large (34)”

QBServer: Running 65% disk space available

Company: Running

kforum: Running

Kforumhost: Running

Kfserver01: Running

Posted in Backups, Journal, LiM | Comments Off on Backup Status 11/02/2012

Backups for Monica

Using an external 250GB disk, identified by Mike, I setup Time Machine to backup Monica’s iMac.

Posted in Backups, Journal, LiM | Comments Off on Backups for Monica