...
Food for thought: Experimental (untested) suggestions that may better integrate this parallel opReports 3.4.1 into the default installation at /usr/local/omk/
Move aside /usr/local/omk/conf/schedule directory and symlink /opt/omk/conf/schedule to /usr/local/omk/conf/schedule
Code Block sudo mv /usr/local/omk/conf/schedule /usr/local/omk/conf/schedule_DISABLED sudo ln -s /opt/omk/conf/schedule /usr/local/omk/conf/schedule # consider removing the default install schedule reports at '/opt/omk/conf/schedule/' # and moving the original schedule reports from '/usr/local/omk/conf/schedule_DISABLED/' to '/opt/omk/conf/schedule/'
Move aside /usr/local/omk/var/reports directory and symlink /opt/omk/var/reports to /usr/local/omk/var/reports
Code Block sudo mv /usr/local/omk/var/reports /usr/local/omk/var/reports_DISABLED mkdir -p /opt/omk/var/reports sudo ln -s /opt/omk/var/reports /usr/local/omk/var/reports # consider removing any reports at '/opt/omk/var/reports/' # and moving the original schedule reports from '/usr/local/omk/var/reports_DISABLED/' to '/opt/omk/var/reports/'
Move aside /usr/local/omk/var/opreports/ directory and symlink /opt/omk/var/opreports/ to /usr/local/omk/var/opreports/
Code Block sudo mv /usr/local/omk/var/opreports /usr/local/omk/var/opreports_DISABLED mkdir -p /opt/omk/var/opreports sudo ln -s /opt/omk/var/opreports /usr/local/omk/var/opreports
Implement the omkd-standalone service on port 8043:
Code Block # set up init.d service (opReports-3.4.1-standalone.tar.gz was built on a VM with systemd # - hence the '.bak' in filename at this stage: install/omkd-standalone.init.d.bak) # - we copy to /etc/init.d and rename file to omkd-standalone sudo cp install/omkd-standalone.init.d.bak /etc/init.d/omkd-standalone # on Debian or Ubuntu we would now: # sudo update-rc.d omkd-standalone defaults # but we are on Centos, so: sudo chkconfig --add omkd-standalone sudo chkconfig omkd-standalone on sudo service omkd-standalone start
...