etherpad-lite icon indicating copy to clipboard operation
etherpad-lite copied to clipboard

install service with missing LSB information

Open bingjie2680 opened this issue 15 years ago • 8 comments

Hi ,

I am using debian 5.0 web server and I followed the step here to install the service.: https://github.com/Pita/etherpad-lite/wiki/How-to-deploy-Etherpad-Lite-as-a-service

but when I get to the last command: update-rc.d etherpad-lite default ,

I get a message saying: /etc/init.d/etherpad-lite missing LSB information. and I reboot the server, the ehterpad lite is not started.

does anybody know what may be the issues?

bingjie2680 avatar Aug 31 '11 12:08 bingjie2680

Use a . not a ,

JohnMcLear avatar Aug 31 '11 12:08 JohnMcLear

Hi thanks for your quick respone. if you are talking about the comma after 'default', then I am sorry, because that comma is only used in here for a break, my command in the shell is update-rc.d etherpad-lite default hope this is clear.

bingjie2680 avatar Aug 31 '11 12:08 bingjie2680

so I solved the LSB error reporting by removing double qoutes from the variable like this, from:

PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/node/bin"
LOGFILE="/var/log/etherpad-lite/etherpad-lite.log"
EPLITE_DIR="/usr/share/etherpad-lite"
EPLITE_BIN="bin/safeRun.sh"

to

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/node/bin
LOGFILE=/var/log/etherpad-lite/etherpad-lite.log
EPLITE_DIR=/usr/share/etherpad-lite
EPLITE_BIN=bin/safeRun.sh

but even thought this issue is solved, I still can not start the service by runing command

/etc/init.d/etherpad-lite start

when I run this command, there is no error, but when I open the browser and access 127.0.0.1:9001, it just does not work. when I try to stop the service, the error says " /etc/init.d/etherpad-lite: line 40: kill: (15994) - No such process "

do you guys may be have some ideas? I really don't know any code in /etc/init.d/etherpad-lite, please kindly help me, thank you very much.

by the way, if I directly run bin/run.sh then it works perfectly.

bingjie2680 avatar Aug 31 '11 16:08 bingjie2680

Look into the logfile please

Pita avatar Nov 12 '11 23:11 Pita

Last update August the 31st, gonna close this issue in a week, will ping the author.

JohnMcLear avatar Nov 14 '11 02:11 JohnMcLear

@johnyma22 Maybe we should add a issue categorie called question or support

Pita avatar Nov 14 '11 03:11 Pita

I have later installed ubuntu instead. :)

bingjie2680 avatar Nov 14 '11 21:11 bingjie2680

ok, I close this now

Pita avatar Nov 15 '11 03:11 Pita