web stats
How to auto start Mirth Connect on Ubuntu Server 9.04 - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 07-20-2009, 10:10 AM
TChamberlain TChamberlain is offline
What's HL7?
 
Join Date: Apr 2009
Posts: 3
TChamberlain is on a distinguished road
Default How to auto start Mirth Connect on Ubuntu Server 9.04

Ok Mirth seems to work fine when I start it from the terminal, I want a way to auto start Mirth on reboots

As of this posting I am running the latest Ubuntu Server 9.04 and Mirth Connect 1.8.1.4211.9

Thanks in advance!
Reply With Quote
  #2  
Old 07-22-2009, 09:22 PM
mnowlin mnowlin is offline
OBX.3 Kenobi
 
Join Date: Sep 2006
Posts: 142
mnowlin is an unknown quantity at this point
Default

This is quick and dirty, but it hasn't failed me yet... In /etc/rc.local, add something like:

cd /usr/local/mirth (or wherever your copy is installed)
./mirth.sh 2>&1 >/usr/local/mirth/mirth.log &
cd /

Someday I'll get around to writing a proper service wrapper for Ubuntu, just not today...
Reply With Quote
  #3  
Old 07-23-2009, 05:09 AM
jbartels jbartels is offline
Mirth Guru
 
Join Date: Oct 2006
Posts: 725
jbartels is on a distinguished road
Default

See also: http://www.mirthcorp.com/community/f...ghlight=init.d

All you need to do on Ubuntu is copy mirth-daemon to /etc/init.d and then run `update-rc.d defaults` on it.

mirth-daemon is a standard service wrapper script with start/stop/restart. Double check it to make sure your install path is correct and that its running as the right user.
__________________
Jon Bartels

Zen is hiring!!!!
http://consultzen.com/careers/
Talented healthcare IT professionals wanted. Engineers to sales to management.
Good benefits, great working environment, genuinely interesting work.
Reply With Quote
  #4  
Old 07-27-2009, 12:09 PM
TChamberlain TChamberlain is offline
What's HL7?
 
Join Date: Apr 2009
Posts: 3
TChamberlain is on a distinguished road
Default

Thanks guys, the symbolic link with update-rc.d worked great

Quote:
Originally Posted by jbartels View Post
See also: http://www.mirthcorp.com/community/f...ghlight=init.d

All you need to do on Ubuntu is copy mirth-daemon to /etc/init.d and then run `update-rc.d defaults` on it.

mirth-daemon is a standard service wrapper script with start/stop/restart. Double check it to make sure your install path is correct and that its running as the right user.
Reply With Quote
  #5  
Old 07-27-2009, 09:56 PM
mnowlin mnowlin is offline
OBX.3 Kenobi
 
Join Date: Sep 2006
Posts: 142
mnowlin is an unknown quantity at this point
Default

Hehe - just goes to show that I should pay more attention to changelogs, readmes, etc...

I'll plug that into my Ubuntu box and get rid of that ugly chunk from rc.local - thanks.

(In my weak defense, that method started way back when I installed Mirth on an old Slackware 9 box... )
Reply With Quote
  #6  
Old 08-31-2009, 04:47 PM
mauriciobotero mauriciobotero is offline
What's HL7?
 
Join Date: Feb 2008
Posts: 5
mauriciobotero
Default

Quote:
Originally Posted by jbartels View Post
See also: http://www.mirthcorp.com/community/f...ghlight=init.d

All you need to do on Ubuntu is copy mirth-daemon to /etc/init.d and then run `update-rc.d defaults` on it.

mirth-daemon is a standard service wrapper script with start/stop/restart. Double check it to make sure your install path is correct and that its running as the right user.
How do I start the mirth administrator in ubuntu 8.04, the mirth server runs in a terminal, but how do i get to the administrator so i can edit channels, etc.
Reply With Quote
  #7  
Old 08-31-2009, 05:48 PM
mark@kempster.org mark@kempster.org is offline
Mirth Newb
 
Join Date: Mar 2008
Posts: 7
mark@kempster.org
Default

Point your web browser at http://server:8080. It'll present you with a big green button. Push it to download the webstart .jnlp file. It'll show the user/password box. Login (server default is admin/admin - you should change that) and you'll get to the all-in-one development-and-management tool.
Reply With Quote
  #8  
Old 08-29-2010, 10:39 AM
mgofman mgofman is offline
Mirth Newb
 
Join Date: Apr 2008
Location: Brooklyn NY
Posts: 21
mgofman is an unknown quantity at this point
Send a message via AIM to mgofman Send a message via Yahoo to mgofman
Default

Quote:
Originally Posted by jbartels View Post
See also: http://www.mirthcorp.com/community/f...ghlight=init.d

All you need to do on Ubuntu is copy mirth-daemon to /etc/init.d and then run `update-rc.d defaults` on it.

mirth-daemon is a standard service wrapper script with start/stop/restart. Double check it to make sure your install path is correct and that its running as the right user.
Thank you for this.
Installing this has gotten much simpler.
I will add this to my guide on this forum.
Reply With Quote
Reply

Tags
autostart, linux, start-up, ubuntu

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:23 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation