Zend OPcache PHP package for Debian

[2015-05-05] Updated with 7.0.5 I’ve built a Zend OPcache package for PHP 5.4 that comes with Debian Wheezy due to the simple fact that there just isn’t one out there. The package will place the precompiled PHP extension (amd64) into the right place, and put down a basic config. What you need to know Built with Zend OPcache 7.0.5 on Debian Wheezy (7). The module lives at /usr/lib/php5/20100525/opcache.so The config is in /etc/php5/mods-available/opcache.ini A symlink in /etc/php5/conf.d/20-opcache.ini points to the above config file. Hope you find this handy, and let me know if you find any bugs with the package. …

Zend OPcache PHP package for Debian Read More »

Linux Malware Detect, Debian, and Plesk

Package installation The easiest way to install Linux Malware Detect will be to use a package. Jan Wagner has put a lot of effort into debianising LMD so a big shout out to him (his Github repo). I merely built the package from the repo. So without further ado, here is the download. maldetect_1.4.2+dfsg-13_all.deb Manual installation Linux Malware Detect will not run out of the box in monitor mode (scan mode works fine) on a Debian system. There are a few things you need to do to get it working. LMD comes with a 32-bit inotifywait binary and associated libinotifytools library. Debian Wheezy will …

Linux Malware Detect, Debian, and Plesk Read More »

Fixing problems with the new v2 OpsGenie iOS app

The new version 2.x of the OpsGenie mobile app (iOS) is a sweet sweet upgrade for those coming from version 1.x. For most users who were not part of the beta program the upgrade should have happened seamlessly. For those of us that were, you may have had problems during the upgrade with the app throwing errors like “device push token cannot be empty”, and sound selection not working. To fix the problem, log out of both the beta and final versions of the apps. Uninstall the beta version then go to into Settings -> Notifications -> OpsGenie. Untick everything, go back a …

Fixing problems with the new v2 OpsGenie iOS app Read More »

Graphing Postfix with Cacti

[Updated 2015-03-09] There are a bunch of articles and information on this topic out there, but most of them either don’t work, are outdated, or are scattered across multiple pages on the Cacti forums. I’ve worked out the kinks for you, so here’s what you need to do to graph Postfix with Cacti.This was performed on Debian 6 with Cacti 0.8.7g from the apt repository but should work on other distros too.Note that this article tackles graphing the sent, received, rejected, bounced, spam, and virus statistics. It does not graph mail queues. You need two files, the first is mailgraph.pl which you’ll …

Graphing Postfix with Cacti Read More »

Fixing and removing corrupted Apache configs in Plesk

Today I ran into an interesting problem with Plesk. It had gotten it’s Apache configuration so messed up that when you ran httpdmng reconfigure for any domain, it would throw errors about not being able to find include files. For example: apache2: Syntax error on line 227 of /etc/apache2/apache2.conf: Syntax error on line 7 of /etc/apache2/conf.d/zz010_psa_httpd.conf: Syntax error on line 15 of /opt/psa/admin/conf/generated/14099869670.15839100_horde.include: Syntax error on line 56 of /opt/psa/admin/conf/webmail_horde_bootstrap.conf: Could not open configuration file /opt/psa/admin/conf/generated/14099802590.70236400_domain_com_webmail.include: No such file or directory The fix for this involves some MySQL work. Go into the “psa” database in MySQL. You’ll see a “Configuration” …

Fixing and removing corrupted Apache configs in Plesk Read More »

Scroll to Top