When running a service application on Linux, there are some platform-specific issues to consider, as follows.
root
either, unless you really have to.man adduser
may be helpful./etc/init.d/skeleton
; if you know what you're doing, you can customise
this to start the Daemon and any service applications automatically when the system
boots. Otherwise, start them all manually, or get some help. The format of boot
scripts varies from distro to distro, so we can't provide ready-to-use ones.
If you get boot scripts wrong, you can make your system unbootable. Proceed at your own risk!
chmod 700 root
.Don't confuse the Checkpoint user ID (heresu -c "/opt/cpoint/bin/chameleon -conf myglint.conf chamel@server password chamelsubsys &" chameld
chamel@server
), used
for Checkpoint access-control, with the system user ID (here chameld
)
used for file-level access-control. The -conf
option is covered in
Application configurations.man su
if you don't understand the incantation above.cpoint
.
Don't run other services as cpoint
.If possible, you should shut down a service application using the special mechanisms provided; these ensure a clean shutdown.
If these fail, fall back to using the techniques for killing generic applications.
It may happen that you need to kill the Checkpoint Daemon, or any other java app.
In a modern Linux environment, most (Checkpoint) applications which are not services will have some sort of GUI; even browser-fronted applications can be configured to have a small "front panel" GUI. (As, indeed, can service applications.) This can be used to shut down the application. This method is greatly to be preferred since it allows the application to shut down cleanly.
However, it can happen that an application gets "wedged" and cannot shut itself down cleanly. If this happens, you have no choice but to cut it off at the knees instead, and hope it doesn't do too much damage. (Depending on the application, you should get away with this. Usually!)
In order to do this, you need to use the unix kill
command.
In order to do that, you need to identify the process ID of the
process in question. Unfortunately, this is not always easy; it can depend
both on the application in question and on the Java VM implementation.
Running ps aux |grep java
in a shell is usually a good place
to start; further details are a matter of general administration for your
particular Linux distribution and are beyond the scope of this guide.
Method of last resort:
killall java
.Alternatively, you could just ignore the wedged application and wait for it to go away next time you reboot.
The Checkpoint Daemon is a service application. Don't kill it until you have shut down all (other) Checkpoint applications; this ensures that it's not in use and can therefore be killed safely.
To shut down the Checkpoint Daemon, use
pasistop -daemon
.
Some Checkpoint installations are only used by remotely-accessed service applications. It's possible (although a bit more awkward) to run these on a "headless" server - ie. a machine which doesn't have a GUI available at all, but only a text console. NB. This is still beta.
[Even a headless server will need most of the X libraries installed, or Java won't start.]
The basic idea is as follows.
.conf
file to allow
you to configure Checkpoint using a browser on the workstation rather than
the server itself.
As alluded to in step 3 above, you'll need to
edit Checkpoint Command Centre's
.conf
file to make
Checkpoint Command Centre accessible from the workstation. The conf file
is /opt/cpoint/conf/cpcc.conf
.
Specifically, you will have to set (at least) the following changed parameter values.
accessMode = plain
isControlPanel = false
preferredPort = 8488
isSurf = false
It should be clear that the preferred port can be whatever you like, as long as it's above 1024.
Then connect to http://<servername>:8488/
and
take it from there. (If you changed the preferred port above, change the URL as
well, obviously.)