Troubleshooting

From OpenPSA Wiki

Jump to: navigation, search

Most of the common problems one can encounter during Midgard installation and usage are covered on the Midgard website, see the links below for details.

Contents

[edit] Checklist

these are the items that need to be in place (Note: the paths differ between installations and operating systems. The paths below are for a standard Debian installation)

/etc/midgard/conf.d/DB_NAME: a file containing configuration options for Midgard core
/var/cache/DB_NAME: The directory for Midgard and MidCOM caches. Make sure that the Apache user has write access and that no open_basedir restrictions forbid access
/etc/apache2/sites-available/host.conf: Midgard Engine and a few other Midgard Apache Directives have to be set correctly
/var/lib/midgard/blobs/DB_NAME:The directory for Blobs. Make sure that the Apache user has write access and that no open_basedir restrictions forbid access
MySQL permissions: Make sure that the midgard user has rights to the respective database

[edit] libmidgard.so.9 not found

When you get this error during the initial run of Datagard, execute ldconfig to load the library

[edit] PEAR installation problems

Some PEAR packages check the availability of the Midgard PHP module. Make sure that /etc/php5/cli/php.ini includes the extension midgard.so. Also you should raise the memory_limit, otherwise some larger packages might fail to install.

[edit] Segfaults in other PHP applications

Sometimes applications like phpMyAdmin hav a tendency to prodcue segmentation faults if thes are run on the same host as Midgard. There seems to be a connection between the segfaults and the presence of Alias directives in Apache's config file. So you can try to remove Alias directives for the PHP application in question and replace them with symbolic links on the filesystem level (FOllowSymlinks has to be enabled in Apache for this to work).

[edit] Problems with MidCOM

If there are problems with MidCOM, running the MidCOM URL Method config-test.php might provide some clues. It is accessible from the MidCOM Toolbar.

[edit] Weblinks

  • [1] Debugging Midgard
  • [2] Troubleshooting during installation or upgrades
  • [3] Midgard 1.8 specific notes
Personal tools