Cannot edit localhost etc/init.de

Problems with installing LogicalDOC? No problems, the solution is closer than you think.

Moderator: car031

usmoonpatrol
Posts: 1
Joined: Tue May 24, 2011 6:01 am

Cannot edit localhost etc/init.de

Tue May 24, 2011 6:13 am

Hello at all,

first... excuse my bad english, i write from germany! :-)

I run Linux Ubuntu 11 and have install the LogicalDoc CM Version with the graphical UI. No prob.

But if i want:

Post-installation

To start LogicalDOC at server bootstrap you need to copy the startup script into your system initialization directory so execute the command:

$ cp /LogicalDOC/bin/logicaldoc /etc/init.d

Then edit the file /etc/init.d/logicaldoc adjusting the paths.
Save the file and execute the commands:

$ chkconfig --add logicaldoc
$ /etc/init.d/logicaldoc start


then:

1.) I cannot copy with the command to directory init.de

then... i do it with krusader in gksudo modus

ok... is finished

2.) Then edit the file /etc/init.d/logicaldoc adjusting the paths.

my first directory is: /home/dirk and then is see the folder LogicalDoc

What kinds of change i must change/entry now in the logicaldoc file?
I Have only this:

#! /bin/sh
# Copyright (c) 2008 Logical Objects snc
# All rights reserved.
#
### BEGIN INIT INFO
# Provides: logicaldoc
# Required-Start:
# Should-Start:
# Required-Stop:
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: LogicalDOC Document Management System
### END INIT INFL

home/dirk/LogicalDOC/bin/logicaldoc.sh $*

---------

...then... if i command

$ chkconfig --add logicaldoc

the message:

:~/LogicalDOC/bin$ $ chkconfig --add logicaldoc
$: Befehl nicht gefunden / Not found

and i cannot

/etc/init.d/logicaldoc start

Sorry if my report is stupid, but i use Ubuntu since short time first.

Can everyone help me?

Thanks and Greetings from Germany :)

Dirk
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: Cannot edit localhost etc/init.de

Tue May 24, 2011 8:56 am

Hi Dirk,

I am no expert in Ubuntu, but I saw on the wiki of logicaldoc that there is an installation guide for ubuntu 8.10
http://wiki.logicaldoc.com/wiki/Ubuntu_ ... tion_guide

The notes say that the guide refers to the installation of logicaldoc 4.5 with postgres, so I warn you that there will be many differences, but just to see some commands, I think might be a good starting point.

In order to run logicaldoc testing the start from init.d you should use:

sudo /etc/init.d/logicaldoc start

Regarding the chkconfig command may not be installed on your system. This command for some installations of ubuntu is optional.
You can choose to install it manually or you can choose an alternative for ubuntu

See these links
http://slashzeroconf.wordpress.com/2008 ... v-rc-conf/
http://ubuntuforums.org/showthread.php?t=190464
http://ubuntuforums.org/archive/index.php/t-20583.html
http://manpages.ubuntu.com/manpages/mav ... fig.8.html

Alex

Return to “Installation”

Who is online

Users browsing this forum: No registered users and 53 guests