Starting in Linux
To start a Model Manager server manually on Linux®, type
<Installation directory>/bin/comsol modelmanagerserver
To stop the server, press Ctrl+C in the terminal window where it was started.
The Apache Solr™ search platform and the PostgreSQL® database system do not support running as a root user on Linux®.
systemd Service
Use the following instructions to start a Model Manager server in a Linux® version that includes systemd:
1
/usr/lib/systemd/system/comsolmodelmanagerserver62.service
with content similar to:
[Unit]
Description=COMSOL Model Manager server 6.2
Wants=network.target network-online.target
After=network.target network-online.target
 
[Service]
Type=exec
User=comsoluser
Group=comsolgroup
TimeoutSec=300
ProtectHome=off
ExecStart=/usr/local/comsol62/modelmanagerserver/bin/comsol modelmanagerservice
 
[Install]
WantedBy=multi-user.target
You only need to replace the values for User and Group.
2
systemctl enable /usr/lib/systemd/system/comsolmodelmanagerserver62.service
3
systemctl start comsolmodelmanagerserver62
To stop the Model Manager server service cleanly, run:
systemctl stop comsolmodelmanagerserver62