From: Loren C. <lor...@gm...> - 2012-02-09 22:13:10
|
Does the changes in the wrapper warrant an upgrade from 3.5.11 to 3.5.13 or do we want to wait for 3.5.14? http://wrapper.tanukisoftware.com/doc/english/release-notes.html There is an old file wrapper.conf-3.3.9 in tools/wrapper/conf/ that looks like it is referring to the 3.3.9 version. Begin forwarded message: > From: Anders Bruun Olsen <ab...@ds...> > Subject: Re: [Exist-open] Problems installing service on Linux Ubuntu server > Date: February 9, 2012 9:45:46 AM GMT+01:00 > To: Efraim Feinstein <efr...@gm...> > Cc: exi...@li... > > I usually grab the newest (community) version of the wrapper from wrapper.tanukisoftware.com since I need a proper 64-bit version, which the included version does not seem to be. > The newer versions also have the added advantage of supporting upstart (used in Ubuntu instead of sysv init). > > Short instructions for switching to newer wrapper: > > 1. download from wrapper.tanukisoftware.com > 2. mv $EXIST/tools/wrapper $EXIST/tools/wrapper.old > 3. unpack wrapper to tools/wrapper > 4. cp -a tools/wrapper.old/{classes,work} tools/wrapper/ > 5. cp tools/wrapper.old/conf/{log4j.xml,wrapper.conf} tools/wrapper/conf/ > 6. cp tools/wrapper/bin/testwrapper tools/wrapper/bin/exist > 7. edit tools/wrapper/conf/wrapper.conf and set wrapper.java.command to the correct java bin > 8. edit tools/wrapper/conf/wrapper.conf and set set.EXIST_HOME to the path to your exist install > 9. edit tools/wrapper/bin/exist and set APP_NAME="exist" and APP_LONG_NAME="eXist server" > 9. edit tools/wrapper/bin/exist and set USE_UPSTART="yes" and RUN_AS_USER="yourusername" > 10. run "tools/wrapper/bin/exist install" to add exist as a service that will start at boot and can be controlled by the service command (it installs a config-file in /etc/init) > > 2012/2/7 Efraim Feinstein <efr...@gm...> > Hi, > > Debian (and Ubuntu, which is a Debian derivative) have recently switched > to a newer system of update scripts that use a Makefile-like dependency > graph to determine which services need to be started first. The eXist > startup scripts don't have the information. > > The command line I've used to initialize /etc/init.d on Debian is: > /usr/sbin/update-rc.d existdb start 20 2 3 4 5 . stop 80 0 1 6 . > > I'm pretty sure the scripts work without the LSB header, although you > will be given the warning you reproduced below until they have an LSB > header.... > > On 02/07/2012 03:27 PM, Pallant, Julie wrote: > > > > root@hfdev:f# update-rc.d existdb defaults > > update-rc.d: warning: /etc/init.d/existdb missing LSB information > > update-rc.d: see <http://wiki.debian.org/LSBInitScripts> > > Adding system startup for /etc/init.d/existdb ... > > /etc/rc0.d/K20existdb -> ../init.d/existdb > > /etc/rc1.d/K20existdb -> ../init.d/existdb > > /etc/rc6.d/K20existdb -> ../init.d/existdb > > /etc/rc2.d/S20existdb -> ../init.d/existdb > > /etc/rc3.d/S20existdb -> ../init.d/existdb > > /etc/rc4.d/S20existdb -> ../init.d/existdb > > /etc/rc5.d/S20existdb -> ../init.d/existdb > > > > I have created a symbolic link from > > $EXIST_HOME/tools/wrapper/bin/exist.sh /etc/init.d/existdb > > Another little pointer: I've found that on some systems, the wrapper > executable ($EXIST_HOME/tools/wrapper/bin/wrapper) needs to be linked to > the appropriate executable in the same directory, which also needs to be > chmod-ded +x. (True on 64 bit Debian where you need to symlink > $EXIST_HOME/tools/wrapper/bin/wrapper-linux-x86-64 to wrapper *or* > change the wrapper command in exist.sh ) > > > > > Thank you for any insight or pointing to documentation on this problem > > The documentation is http://wiki.debian.org/LSBInitScripts :-) > > Hope this helps, > > -- > --- > Efraim Feinstein > Lead Developer > Open Siddur Project > http://opensiddur.net > http://wiki.jewishliturgy.org > ... and Harvard Physics Department :-) > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > > > -- > Anders Bruun Olsen > It-ansvarlig > Det Danske Sprog- og Litteraturselskab > (Society for Danish Language and Literature) > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/_______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open |