Tag: error

  • Securing Dokuwiki with nginx

    After migrating a server from Apache2.4 to nginx a Dokuwiki install was complaining about the following on the admin page:   Previously .htaccess files were controlling access, which aren’t used by nginx. You can test your Dokuwiki install’s access by attempting to visit the following url:   http://yourserver.com/data/pages/wiki/dokuwiki.txt   If you can see any content…

  • Thunderbird and Google Apps or Gmail – wrong password message despite correct password being entered

    This is a frustrating issue – you have youreslf a shiny new Gmail or Google apps account, but for some reason when you try to add the account to Thunderbird it complains about your password being incorrect:   Configuration could not be verified – is the user name or password wrong?   After double checking…

  • ZFS on Linux: Zpool import failed

    ZFS on Linux: Zpool import failed

    We upgraded a Proxmox box today which was running ZFS and ran into this rather scary looking error:   zpool: ../../lib/libzfs/libzfs_import.c:356: Assertion `nvlist_lookup_uint64(zhp->zpool_config, ZPOOL_CONFIG_POOL_GUID, &theguid) == 0′ failed.   Zpools would not import and zpool status did not work. Resolved (so far, anyhow, still testing) by running:   apt-get install zfsutils   Another good reason…

  • Proxmox 3.2: Enabling NFS on a container (CT) VM

      If you’re trying to figure out why you are getting NFS errors despite having NFS set up properly on the host machine and client VM, this may be the answer. With the VM powered off, run at the Proxmox terminal:   vzctl set [VM ID] –features “nfs:on” –save   The next time the VM…

  • Rsync error when connecting to CentOS: rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]

    Rsync error when connecting to CentOS: rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]

      We helped rebuild a backup VM which receives data over rsync today; the first rsync attempt failed with the vague error message:   rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]   The problem ended up being that the rsync package was not installed. A simple:   yum install…

  • Mediawiki 403 forbidden errors after upgrading to Ubuntu 13.10

    Mediawiki 403 forbidden errors after upgrading to Ubuntu 13.10

      A customer upgraded from 13.04 to 13.10 and their internal wiki was broken afterwards; for a simple Apache install where the wiki was installed at the web root and all access was via the LAN (thus they were happy with not restricting the access), the fix was to add:   <Location /> Require all…

  • New CentOS WordPress install: Error 500

    New CentOS WordPress install: Error 500

      Was asked to troubleshoot a client’s installation technique for WordPress on CentOS 6.x yesterday; they were receiving an Error 500 when they tried to access index.php for the first time. Checking the Apache logs showed:   SoftException in Application.cpp:431: Mismatch between target GID (522) and GID (65531) of file “/home/andrea/public_html/index.php” Premature end of script…

  • New Mediawiki install produces error “Fatal exception of type MWException”

      Saw this on a new Mediawiki install where all of the optional extensions were selected, LocalSettings.php had been uploaded to the server and that’s as far as it would go.   To fix, open up LocalSettings.php and comment out the line:   require_once( “$IP/extensions/LocalisationUpdate/LocalisationUpdate.php” );   You should now be able to refresh the…

  • Installing Xen on Ubuntu: Error “makeinfo is missing on your system”

    Installing Xen on Ubuntu: Error “makeinfo is missing on your system”

      This is another error that seems to crop up when making Xen on Ubuntu – you can fix it by installing the texinfo package:   sudo apt-get install texinfo   The error message should now no longer appear.

  • Installing Xen on Ubuntu: Error bits/predefs.h: No such file or directory

    Installing Xen on Ubuntu: Error bits/predefs.h: No such file or directory

      This error cropped up when we were building Xen on a system running Ubuntu 12.04 Server:   /usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory   To get past this point, install gcc-multilib.   sudo apt-get install gcc-multilib   The required files are around 20MB and should allow you to get past that…