Eric R. Thern
  • The worlds lousiest placeholder.*
  • Zoidial
  • Recent Posts
  • Research

FreeBSD Plesk 8 – installing php5 as CGI alongside php4

By Eric Thern On November 26, 2007 · Leave a Comment

If you have ever needed php5 to run along side php4, you can always compile php5 as a CGI, and let php4 remain as an apache module.

Here we’ve compiled php5 from FreeBSD’s ports, and have installed it as a CGI so that specific vhosts will run on this new php5. The installation was done [...]

Continue Reading →

Updating Spamassassin on FreeBSD and Plesk

By Eric Thern On November 21, 2007 · Leave a Comment

Updating Spamassassin on Plesk and FreeBSD is quite simple without breaking things since the Spamassassin on Plesk is pretty standard.

System: FreeBSD 6.x
Plesk Version: 8.0.x

May work with other versions.

The stock plesk Spamassassin is a 3.1.x variant, which gets pretty old pretty quick. You can upgrade this via the ports by passing [...]

Continue Reading →

Keeping servers and workstations on time using cron and ntpdate

By Eric Thern On October 3, 2007 · Leave a Comment

I’m a fan of having all my computers report the same time, especially when I have to cross reference logs on different servers and require the times to all match up.

I’ve used rdate to update time in the past, but lately have been using ntpdate, which seems to be quite a bit better.

One [...]

Continue Reading →

FreeBSD pkgdb.db error

By Eric Thern On April 4, 2007 · 1 Comment

What happens with FreeBSD pkg and ports ends up with a corrupted database?

This happens from time to time, here’s how it was solved:

# pkgdb -F
—> Checking the package registry database
[Updating the pkgdb in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb [...]

Continue Reading →
  • Categories

    • apache (4)
    • freebsd (4)
    • general (1)
    • linux & freebsd (13)
    • php (1)
    • plesk (3)
    • sendmail (2)
    • system administration (1)
    • uncategorized (1)
    • vmware (1)
  • Recent

    • GPS data conversion
    • Mysql plesk shortcuts
    • Linux (desktop or server) with md RAID-10
    • Minimizing downtime associated with Web/DNS/Mail IP address migrations
    • VMWare 2.0.x and CentOS 5.4 glibc crashes and instabilities – a workaround solution
  • Topics

    apache apache ddos spam apache referrer ddos apache referrer spam awk bash centos cli client_pref cron dell 1650 djpeg freebsd freebsd 6.x gocr grep httpd.conf image text recognition ipmi ipmitool linux linux & freebsd lm_sensors mailscanner mod_rewrite mod_rewrite blocking of spam ntpdate ocr OpenIPMI optical character recognition permission denied php php4 php5 plesk plesk 8.0.x rpm sendmail sort spam spamassassin suspend tesseract time yum
  • Links

    • Thern Incorporated
  • Admin Links

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org

Eric R. Thern

Pages

  • Recent Posts
  • Research
  • The worlds lousiest placeholder.*
  • Zoidial

The Latest

  • GPS data conversion
    Handy gpsbabel conversions: Google KML to GPX: To translate waypoints into tracks, […]

More

Thanks for dropping by! Feel free to join the discussion by leaving comments, and stay updated by subscribing to the RSS feed.
© 2011 Eric R. Thern
Platform by PageLines