Entries by Stefan Helander

apache2 randomly uses old self signed certificate

On a site with a valid SSL certificate, sometimes a page load would result in a warning about being insecure. When inspecting the certificate, it turned out to be an old self signed certificate that shouldn’t be in use any more since the site now has a valid “real” SSL certificate. Reloading the page a […]

Ispconfig not processing job queue – spamfilter_policy error

Suddenly some of my slave servers stopped processing the job queue. Ispconfig version 3.2.9. Investigating the log files. /var/log/ispconfig/cron.log shows: PHP Fatal error:  Uncaught mysqli_sql_exception: Data truncated for column ‘warnvirusrecip’ at row 1 in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:302 See this discussion: https://forum.howtoforge.com/threads/uncaught-mysqli_sql_exception-data-truncated-for-column-warnvirusrecip-at-row-1.90116/ This is how I solved it. On the master server: mysqldump -uroot -p –add-drop-table dbispconfig spamfilter_policy […]

CloudLog gives ‘Access denied’

Checking to web server logs reveals: Got error ‘Access to the script ‘/var/www/XXX/web/logbook’ has been denied (see security.limit_extensions)’ The URL of the logbook showed https://DOMAIN/index.php/logbook Solution Add the following to php.ini for the site: cgi.fix_pathinfo=1

Joomla! breadcrumbs module caching problem

I’ve hade problems with the Joomla! breadcrumbs module being cached, so the wrong breadcrumb is being displayed. The problem is that the module is being cached. This has been reported as a bug and it has the status as being fixed. However, in an old Joomla! install, which is updated to the latest version, I […]

Zoneminder 1.37 no image – capturing but not analyzing

Zoneminder version 1.37.28. The installation had been running for years without problem but somehwere in the 1.37 version problems started to occur. Some cameras did not give visible streams in Zoneminder from time to time. Checking the cameras video directly, they where ok, so the problem was in Zoneminder. Some cameras was “capturing” but analyzing […]

Nagios check_vnc without authentication

If you need to monitor a VNC service without logging in, the following check_command can be used. Edit your nagios configuration file and add: # VNCdefine command{ command_name check_vnc command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ -w 5 -c 8 -e “RFB”} Then on the service you want to monitor use: define service{ use generic-service ; […]