LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lsyncd error: Illegal instruction (https://www.linuxquestions.org/questions/linux-newbie-8/lsyncd-error-illegal-instruction-4175484142/)

usafitz 11-10-2013 04:59 PM

lsyncd error: Illegal instruction
 
You guys are awesome, so I hope that you can help me with this one too.

My problem today is with lsync. Here's the tutorial that I was following:
https://community.rackspace.com/products/f/18/t/158

And here's the error that I ran into after trying to start the service:
Starting lsyncd: /bin/bash: line 1: 23399 Illegal instruction /usr/local/bin/lsyncd -pidfile /var/run/lsyncd.pid /etc/lsyncd.lua [FAILED]

What I've found is that the files referenced in the file '/etc/init.d/lsyncd' don't exist after I do the 'make install' command.

lockfile="/var/lock/subsys/lsyncd"
pidfile="/var/run/lsyncd.pid"

I'm not sure if I'm supposed to create them, or if they're supposed to be installed, but either way, they aren't referenced in the instructions other than in that file. Since' I keep getting that error message, I can't troubleshoot any further. So here I am :)

Does anyone know of this particular problem, and/or another tutorial that might explain some of it? I'm running CentOS 6.4.

thanks!

usafitz 11-10-2013 05:06 PM

incidentally, those files may just be made after the program starts, so I'm not so sure that it's the problem that they're not on the system. They seem like nothing more than reference files. I'm stumpped!

usafitz 11-14-2013 12:01 PM

Here's the fix I found... just FYI:

https://community.rackspace.com/prod.../158/5178#5178


All times are GMT -5. The time now is 04:28 PM.