Oh Backups…

Realized today, after Erica corrupted a config file, that the Trials directory was not being backup up (from kfserver01). I changed the backup to just grab all of /home/lim.

Posted in Backups, Journal, LiM | Comments Off on Oh Backups…

DHCP: Failover

Configured liminf01 as secondary/failover server with liminf03. It appears that while both are up they round-robin/load balance between them. Tested liminf03 going down. On Windows, must do a /release before a /renew is successful on the failover server. I don’t anticipate that being a problem.

Posted in DNS, Journal, LiM | Comments Off on DHCP: Failover

CentOS 6.x and Nagios – Allow Nagios to run external commands…

After what seemed like days of messing with permissions, SELinux was the problem. To solve the dreaded Could not stat() command file ‘/usr/local/nagios/var/rw/nagios.cmd’!” error, when trying to reschedule a test or acknowledge an alert, a simple

setenforce 0

was the solution. Though, permissions do also have to be correct.

chown nagios.nagcmd /usr/local/nagios/var/rw
chmod g+rwx /usr/local/nagios/var/rw
chmod g+s /usr/local/nagios/var/rw
Posted in Journal, LiM, System Monitoring | Comments Off on CentOS 6.x and Nagios – Allow Nagios to run external commands…

Things I’d Like to Accomplish

  • Host Poker
  • Host Movie Night
  • Develop Process for Scanning Bills
  • Get tools cleaned up and put away
Posted in Journal | Comments Off on Things I’d Like to Accomplish

Things I learned today…

  • After a power outage lock files on KF DBs do indeed need to be removed before KF will load those DBs. At least that is true for short outages.
  • After a power outage, despite being set to auto-login, you must login to the console on kforumhost to kick-off the nightly backup script.
Posted in Journal, LiM | Comments Off on Things I learned today…

Power Outage

LIMINFO03 and KFSERVER01 still fail to auto start after power outage. Additionally KF failed to start when KFSERVER01 was restarted.

Fixed typo in KF start script and fixed typo in lim’s crontab:

  • In main KF folder KF script had reference to $LOGILE fixed to $LOGFILE.
  • In crontab “/home/lim/KnowledgeForum_Trial/kf” was referenced, replaced with “/home/lim/KnowledgeForum_Trials/kf”
Posted in LiM | Comments Off on Power Outage

Backup Status – 12/07/2012

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

ShareB: Running

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

QBServer: Running 62% disk space available

Company: Running

kforum: Running

Kforumhost: Running

Kfserver01: Running

Posted in Backups, Journal, LiM | Comments Off on Backup Status – 12/07/2012

Email on Kforumhost and ShareC

Configured post fix on kforumhost to relay though the admin Gmail account.

Noticed logwatch mails from ShareC going only to admin@learninginmotion.net.Checked aliases files and that looks right. Ran newaliases, just in case I forgot before.

Posted in Email, Journal, LiM | Comments Off on Email on Kforumhost and ShareC

Perl Scripting Fun: Building an array of filenames

Using a script to count login activities in a KF log file. I wanted to effectively go through all the *.log?? files, ignoring zipped files. Finally settled on:

my $logpath="/var/log/kforum";
chdir($logpath) or die "$!";
@files = glob "*.log *.log.[0-9] *.log.[0-9][0-9]";
Posted in Journal | Comments Off on Perl Scripting Fun: Building an array of filenames

Credit Card Processing

Helped Erica fumble through processing a CC order. Her instructions have old login info. Authorize.net, auto-settled to purchase, which made instructions difficult for Erica to follow. Part of the instructions include filling out an old-style CC slip. Not sure if we have any, or what do. Suggested that she talk to Christophe.

Posted in Journal, LiM | Comments Off on Credit Card Processing