Learn how to start and stop the iDempiere ERP server with these simple steps, along with automating the stop process through a script

To start the iDempiere ERP server, follow these steps:

To navigate work directory:

  1. Connect to the server using SSH or access the command line interface.
  2. Type the command “cd idempiere” to navigate to the iDempiere installation directory.
./idempiere-server.sh &

To shut down the iDempiere ERP server, follow these steps:

# connet to osgi
telnet localhost 12612
exit
[enter]
[enter]

Automate the stop process through a script.

Install the Expect interpreter.

apt install expect

The stop service script is used to stop the OSGi service.

#!/usr/bin/expect
set ip "localhost"
spawn "/bin/bash"
send "telnet $ip 12612\r"
expect "'^]'."
sleep 2
send "exit\r"
sleep 1
send "y\r"
expect eof

More iDmpiere ERP information
https://www.ninniku.tw/category/idempiere/

By Ray Lee (System Analyst)

iDempeire ERP Contributor, 經濟部中小企業處財務管理顧問 李寶瑞

2 thoughts on “How to start and stop iDempiere Server?”

Leave a Reply

Your email address will not be published. Required fields are marked *