简体   繁体   中英

Running SymmetricDS as a Service on CentOS

I have successfully installed SymmetricDS on CentOS 6.3 64 bits. I can launch it :

../bin/sym --port 8080 --server

Now I am trying to launch it as a service.

I followed the instructions of :

http://www.symmetricds.org/doc/3.2/html/advanced-topics.html#running-service

The command

/etc/init.d/sym_service status

returns

SymmetricDS is not running.

When I issue :

/etc/init.d/sym_service start

I get

Starting SymmetricDS/etc/init.d/sym_service: /opt/symmetric-ds/bin/sym_service: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

Any clues ?

The service packaged with SymmetricDS is using the x86 32-bit version of Java Service Wrapper. You'll want to download the latest version of JSW for your platform, which is Linux x86 64-bit community edition found here:

http://wrapper.tanukisoftware.com/doc/english/download.jsp

Then copy the files into place:

jsw/bin/wrapper -> symmetricds/bin/sym_service
jsw/lib/wrapper.jar -> symmetricds/lib/wrapper.jar
jsw/lib/libwrapper.so -> symmetricds/lib/libwrapper.so

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM