5 running corascript, Running corascript – Campbell Scientific LoggerNet for Linux Installation Guide User Manual

Page 10

Advertising
background image

LoggerNet for Linux Installation Guide

6

When starting the daemons, the init scripts csildep and csildmp use settings
from the configuration files ldep.conf and ldmp.conf respectively (located in
/etc/opt/CampbellSci). You can use a text editor to examine the comments
within these configuration files to understand what options are available. On-
line documentation (in PDF format) is also available for these daemons in the
/opt/CampbellSci/LoggerNet directory. You may need to disable these
daemons from starting automatically if you do not require them for the
operation of your system.

Depending on selections made during operating system installation, SELinux
may be enabled on the Linux PC. SELinux limits the actions of both users and
programs by enforcing security policies throughout the operating system. One
policy for SELinux does not allow ports at or under 1024 to be opened by a
non-root process. Since the default port used by LDMP, 1024, falls within that
range of disallowed ports, you must either change the ldmp.conf file to use a
different port or you must disable or change the SELinux policies before the
LDMP daemon will start. You should read the installation guide for your
distribution of Linux and understand SELinux if you plan to make changes or
disable this security feature.

4.5 Running CoraScript

The CoraScript interpreter executable is
/opt/CampbellSci/LoggerNet/cora_cmd and can be run with no special
permissions using that path on the command line. It is recommended that an
alias be created as follows:

alias

cora_cmd=/opt/CampbellSci/LoggerNet/cora_cmd

By placing this line in your .bashrc file, you will be able to run cora_cmd
without always specifying the path.

Advertising