The OpenQRM installation is quite difficult if you ask me. I have tried installing on both Debian and Ubuntu with the precompiled .deb packages and directly from the Debian and Ubuntu repository. Everything seems to fail in one way or the other. But I finally got it working and here is how I did it.
Installing a fresh Debian 5.0
I am using Virtual Box on my Ubuntu Workstation. This gives me the option to install the OpenQRM in a closed internal network, without having access to new hardware.
To start with I am doing a fresh installation of Debian 5.05 without any additions. No server software, no desktop software, nothing. Just like this:
Installing the basic packages for building the OpenQRM source
Now I have the most basic Debian installation. The OpenQRM will be installed from the svn repository, so I have to install the subversion and make programs. I will also install the mysql-server-5.0 and postfix manually before starting, as it seems something gets messed up if the OpenQRM installation handles these two:
root@openqrm:~# aptitude install subversion make postfix mysql-server-5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be installed:
bsd-mailx{a} ca-certificates{a} file{a} libapr1{a} libaprutil1{a} libdb4.5{a} libdbd-mysql-perl{a} libdbi-perl{a}
libexpat1{a} libhtml-template-perl{a} libldap-2.4-2{a} liblockfile1{a} libmagic1{a} libmysqlclient15off{a}
libneon27-gnutls{a} libnet-daemon-perl{a} libplrpc-perl{a} libpq5{a} libserf-0-0{a} libsqlite3-0{a} libsvn1{a}
libterm-readkey-perl{a} libxml2{a} mailx{a} make mime-support{a} mysql-client-5.0{a} mysql-common{a}
mysql-server-5.0 openssl{a} openssl-blacklist{a} perl{a} perl-modules{a} postfix psmisc{a} python{a}
python-minimal{a} python2.5{a} python2.5-minimal{a} sgml-base{a} ssl-cert{a} subversion xml-core{a}
0 packages upgraded, 43 newly installed, 0 to remove and 0 not upgraded.
Need to get 64,1MB of archives. After unpacking 189MB will be used.
Do you want to continue? [Y/n/?] Y
During the installation of mysql-server-5.0 you will be asked to type in a MySQL root user password. I am entering ‘openqrm’ – you can choose whatever you like, as long as you can remember it later on.
The postfix packages will ask how to deliver mail from the system. This depends on your setup, but I will select the “Internet Site” option, so that the server can delivery mail directly on the internet.
Download OpenQRM from the svn repository
When this is done, the next step is the fetch the newest version from the svn repository:
root@openqrm:~# svn co https://openqrm.svn.sourceforge.net/svnroot/openqrm openqrm ... Checked out revision 1998.
This can take a few minutes and it finishes by displaying which revision I have checked out.
Compiling the OpenQRM source
Next step is to change to the src-folder and start the code compiling by running the ‘make’ command:
openqrm:~# cd openqrm/trunk/src/ openqrm:~/openqrm/trunk/src# make ... ...
This will download and install all the needed Debian packages by itself.
Installing the OpenQRM source
To install the OpenQRM software run the ‘make install’ command, when the previously ‘make’ command has finished:
openqrm:~/openqrm/trunk/src# make install
This will copy all files to the correct positions on the system.
OpenQRM system scripts
The final installation step is to run the ‘start’ command, which activates all startup scripts and installs the last required system software:
openqrm:~/openqrm/trunk/src# make start ...
Accessing the Web interface
All software has now been installed and the final step is to prepare the MySQL-database.
This is done by accessing the OpenQRM website. My server has the IP address 192.168.1.26, so I will point my browser at http://192.168.1.26/openqrm/ and type in ‘openqrm’ in the username and password prompt.
Step 1
I am clicking ‘next’:
Step 2
I am selecting the MySQL option:

Step 3
Now enter the password for the MySQL root user and click ‘Initialyze’

All done
The OpenQRM should now be installed without any errors:

The browser will now redirect to the main screen and we are ready to go.

december 17th, 2010 at 03:14
I must say this is the most clear and direct install tutorial of this software I have come across. I had openQRM setup on a test server almost a year ago and I remember it was an absolute pain to setup and get working. I tried with several other distros but only successful 1 time. I spent a max of 30min on this tutorial and amazingly IT WORK IN THE END!
High Five!
I and the rest of the logger heads out there appreciate this easy to understand tutorial.
Thanks again,
Casey
januar 30th, 2011 at 17:15
I installed Openqrm on my Debian 5.03 server by following the instructions on this link. http://huuah.com/installing-openqrm-on-debian-5-0/
However I cannot get the Storage Plugins to work. I tried local-storage and nfs-storage. When I click on Create->Storage->New Storage, it displays “No storage plugins enabled”. My NFS server is working properly. I verified from the logs that the server is running correctly (see below) and issuing commands. Any ideas?
-Adam
Jan 29 11:02:38 server01 logger: openQRM-cmd-queu NOTICE : Running f5a713dd81489c49103c579ba654616a : /usr/share/openqrm/bin/dbclient -K 10 -y -i /usr/share/openqrm/etc/dropbear/dropbear_rsa_host_key -p 1667 root@10.10.1.155 “/usr/share/openqrm/bin/openqrm-cmd openqrm_server_plugin_command nfs-storage start”
Jan 29 11:02:39 server01 logger: openQRM engine: Running as root cmd : openqrm_server_plugin_command nfs-storage start
Jan 29 11:02:39 server01 logger: openQRM-cmd-queu NOTICE : Running d26845043ddab3e1026b36697da1191b : /usr/share/openqrm/bin/dbclient -K 10 -y -i /usr/share/openqrm/etc/dropbear/dropbear_rsa_host_key -p 1667 root@10.10.1.155 “/usr/share/openqrm/bin/openqrm-cmd openqrm_server_plugin_command nfs-storage start”
Jan 29 11:02:39 server01 logger: openQRM engine: Running as root cmd : openqrm_server_plugin_command nfs-storage start
Jan 29 11:02:39 server01 logger: openQRM-cmd-queu NOTICE : Running ed90f5c39dc4b62de0da2670971bf9ca : /usr/share/openqrm/bin/dbclient -K 10 -y -i /usr/share/openqrm/etc/dropbear/dropbear_rsa_host_key -p 1667 root@10.10.1.155 “/usr/share/openqrm/bin/openqrm-cmd openqrm_server_plugin_command nfs-storage start”
Jan 29 11:02:39 server01 logger: openQRM engine: Running as root cmd : openqrm_server_plugin_command nfs-storage start
Jan 29 11:02:40 server01 logger: openQRM-cmd-queu NOTICE : Running 3957ce3ca205325863560d8f7514fd3f : /usr/share/openqrm/bin/dbclient -K 10 -y -i /usr/share/openqrm/etc/dropbear/dropbear_rsa_host_key -p 1667 root@10.10.1.155 “/usr/share/openqrm/bin/openqrm-cmd openqrm_server_plugin_command nfs-storage start”
Jan 29 11:02:40 server01 logger: openQRM engine: Running as root cmd : openqrm_server_plugin_command nfs-storage start
Jan 29 11:04:01 server01 logger: openQRM-cmd-queu NOTICE : Running 18acbf4c6e27e745be7257c36f039cfe : /usr/share/openqrm/bin/dbclient -K 10 -y -i /usr/share/openqrm/etc/dropbear/dropbear_rsa_host_key -p 1667 root@10.10.1.155 “/usr/share/openqrm/bin/openqrm-cmd openqrm_server_plugin_command nfs-storage stop”
Jan 29 11:04:02 server01 logger: openQRM engine: Running as root cmd : openqrm_server_plugin_command nfs-storage stop
Jan 29 11:04:46 server01 logger: openQRM-cmd-queu NOTICE : Running b75dee3362084277787ac5226c866108 : /usr/share/openqrm/bin/dbclient -K 10 -y -i /usr/share/openqrm/etc/dropbear/dropbear_rsa_host_key -p 1667 root@10.10.1.155 “/usr/share/openqrm/bin/openqrm-cmd openqrm_server_plugin_command nfs-storage start”
Jan 29 11:04:46 server01 logger: openQRM engine: Running as root cmd : openqrm_server_plugin_command nfs-storage start
Jan 29 13:35:26 server01 logger: openQRM-cmd-queu NOTICE : Running 1eda792205c5459c6c9edf394a3ba89e : /usr/share/openqrm/bin/dbclient -K 10 -y -i /usr/share/openqrm/etc/dropbear/dropbear_rsa_host_key -p xxxxxxxx root@10.10.1.155 “/usr/share/openqrm/bin/openqrm-cmd openqrm_server_plugin_command local-storage init openqrm polardesign”
Jan 29 13:35:26 server01 logger: openQRM engine: Running as root cmd : openqrm_server_plugin_command local-storage init openqrm polardesign
Jan 29 13:35:26 server01 logger: openQRM-server: init openQRM plugin local-storage user openqrm
Jan 29 13:35:36 server01 logger: openQRM-cmd-queu NOTICE : Running b4b338adc442ed3b052aa8be4adbc7be : /usr/share/openqrm/bin/dbclient -K 10 -y -i /usr/share/openqrm/etc/dropbear/dropbear_rsa_host_key -p xxxxxxxx root@10.10.1.155 “/usr/share/openqrm/bin/openqrm-cmd openqrm_server_plugin_command local-storage start”
Jan 29 13:35:36 server01 logger: openQRM engine: Running as root cmd : openqrm_server_plugin_command local-storage start
Jan 29 13:40:09 server01 logger: openQRM-cmd-queu NOTICE : Running 25f4300626db9ab8a5991c9fe21580ea : /usr/share/openqrm/bin/dbclient -K 10 -y -i /usr/share/openqrm/etc/dropbear/dropbear_rsa_host_key -p xxxxxxxx root@10.10.1.155 “/usr/share/openqrm/bin/openqrm-cmd openqrm_server_plugin_command nfs-storage stop”
Jan 29 13:40:09 server01 logger: openQRM engine: Running as root cmd : openqrm_server_plugin_command nfs-storage stop
Jan 29 13:40:14 server01 logger: openQRM-cmd-queu NOTICE : Running 8ddda72b7aa468ed44fe287ed7b306ac : /usr/share/openqrm/bin/dbclient -K 10 -y -i /usr/share/openqrm/etc/dropbear/dropbear_rsa_host_key -p xxxxxxxx root@10.10.1.155 “/usr/share/openqrm/bin/openqrm-cmd openqrm_server_plugin_command nfs-storage start”
Jan 29 13:40:14 server01 logger: openQRM engine: Running as root cmd : openqrm_server_plugin_command nfs-storage start
Jan 29 13:51:12 server01 apache2: openQRM openqrm-local_storage-appliance-hook.php: (openqrm_new_appliance) Handling add event for appliance 2
Jan 29 13:51:12 server01 apache2: openQRM openqrm-lxc-storage-appliance-hook.php: (openqrm_lxc_storage_appliance) Handling add event 2/storage/10.10.1.155
Jan 29 13:51:12 server01 apache2: openQRM openqrm-lxc-storage-appliance-hook.php: (openqrm_lxc_storage_appliance) Appliance 2 image IS available on this lxc-storage host, equal .. storage/10.10.1.155
Jan 29 13:51:12 server01 apache2: openQRM openqrm-xen-storage-appliance-hook.php: (openqrm_xen_storage_appliance) Handling add event 2/storage/10.10.1.155
Jan 29 13:51:43 server01 apache2: openQRM openqrm-local_storage-appliance-hook.php: (openqrm_new_appliance) Handling remove event for appliance 2
Jan 29 13:51:43 server01 apache2: openQRM openqrm-lxc-storage-appliance-hook.php: (openqrm_lxc_storage_appliance) Handling remove event 2/storage/10.10.1.155
Jan 29 13:51:43 server01 apache2: openQRM openqrm-lxc-storage-appliance-hook.php: (openqrm_lxc_storage_appliance) Appliance 2 image IS available on this lxc-storage host, equal .. storage/10.10.1.155
Jan 29 13:51:43 server01 apache2: openQRM openqrm-xen-storage-appliance-hook.php: (openqrm_xen_storage_appliance) Handling remove event 2/storage/10.10.1.155