[etherlab-users] Syntax error by starting dls (data logging service)

Ralph Oosterveld r.n.oosterveld at student.utwente.nl
Fri Jun 20 16:43:18 CEST 2014


When I want to start the data logging service using the next command, I get
a syntax error.

>> sudo /etc/init.d/dls start
/etc/init.d/dls: 66 /etc/init.d/dls: Syntax error: "(" unexpected

The dls-file is attached and the following are the things I did before
according the install documentation.

# tar xjf dls-1.3.1.tar.bz2
# cd dls-1.3.1
# ./configure
# make
# sudo make install

I don’t have a /etc/sysconfig folder and instead of this I am using
/etc/default the same I did by installing EtherCAT. So I also edited the
following files.

SYSCONFIG=/etc/sysconfig/dls >to> SYSCONFIG=/etc/default/dls

. /etc/sysconfig/dls >to> . /etc/default/dls

Then copied by using the next commands.
# cd /opt/etherlab
# sudo cp etc/init.d/dls /etc/init.d/dls
# sudo cp etc/sysconfig/dls /etc/default/dls
# sudo cp etc/profile.d/dls.sh /etc/profile.d/dls.sh
# sudo insserv dls

I hope this can be solved.

Thank you in advance,
*Ralph Oosterveld*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20140620/3e46baa4/attachment-0002.htm>

More information about the Etherlab-users mailing list