How to install OpenQRM 4.8 with LXC containers in Debian Squeeze/Ubuntu 10.04 LTS: Step by Step (Page 5)


E) INSTALL OPENQRM 4.8

E1) Download the source of OpenQRM 4.8:

Quote:

#svn co https://openqrm.svn.sourceforge.net/svnroot/openqrm openqrm

E2) Change to the OpenQRM source directory:

Quote:

#cd openqrm/trunk/src

E3)

Quote:

#make

It will install all the necessary dependency if run as root. Else you have to install each dependency manually.

E5) Install

Quote:

#make install

E6) Run

Quote:

#make start

It will take some time as it installs and configures several stuffs.

E6.1) It will first ask to setup the root password for the mysql server. Set one of your liking, but not a dictionary word.

E6.2) Again it willl ask the nagios admin password. Supply one but different from the mysql root password.

E6.3) It will ask then to set up the workgroup for SAMBA. I just went with default 'WORKGROUP'.

E6.4) It will ask for postfix domain for SMTP, please specify the tld domain you want to use or else go with 'localhost.localdomain'.

E6.5) It will ask the location of root for tftp and just go with default /srv/tftp.

E6.6) TROUBLESHOOTING: While running 'make start', you may, as I did, encounter the following errors (both in debian squeeze and ubuntu 10.04LTS) related to collectd, dhcp3-server and puppetmaster packages (referred below as ) one after another:

invoke-rc.d: initscript PACKAGENAME, action "start" failed.
dpkg: error processing PACKAGENAME (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing: PACKAGENAME
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: PACKAGENAME could not be installed. Please install manually to continue
make: *** [check] Error 1

Even 'apt-get install PACKAGENAME' to manually install the packages spit out the error: "E: Sub-process /usr/bin/dpkg returned an error code (1)"

To troubleshoot, I did the following:

#rm /var/lib/dpkg/info \ /PACKAGENAME.*
#apt-get -f install
#dpkg --reconfigure -a


PreviousNext