Differences between revisions 3 and 39 (spanning 36 versions)
Revision 3 as of 2009-02-09 02:10:55
Size: 570
Comment:
Revision 39 as of 2010-11-26 22:49:25
Size: 2169
Editor: KiwamuIzumi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from How to/Restart the elog
## page was renamed from elog
attachment:elog.png
Line 3: Line 7:
The elog is installed in Nodus under /export/elog/elog-2.7.5/. The elog is installed on Nodus under {{{/cvs/cds/caltech/elog/elog-2.8.0/}}}.
Line 7: Line 11:
==== Manual Restart procedure ====
Line 9: Line 14:
To kill the process, ssh nodus and then enter: '''''To kill the process''''', ssh nodus and then enter:
Line 11: Line 16:
1) pkill -3 elogd  . {{{ pkill -3 elogd
Line 13: Line 18:
2) rm -f /var/run/elogd.pid  rm -f /var/run/elogd.pid }}}
Line 15: Line 20:
To restart it enter: '''''To restart it''''' enter:
Line 17: Line 22:
elogd -p 8080 -c /export/elog/elog-2.7.5/elogd.cfg -D  . {{{
./elogd -p 8080 -c /cvs/cds/caltech/elog/elog-2.8.0/elogd.cfg -D }}}

----
==== The restarting script ====
The following scripts executes the above commands for you if you are feeling particularly lazy or lost

 1. Log into nodus
 2. Go to /cvs/cds/caltech/elog/
 3. Run ./start-elog-nodus

----
==== FCKeditor (HTML Editor) ====
A little subprogram called ''FCKeditor'' is responsible for the text editing interface that appears when the HTML encoding is chosen as a way to write/edit an entry.

If the ''make'' command is used to compile the elog, the FCKeditor fails to be installed.

In that case, during the installation of the elog, one has just to go inside the path {{{/cvs/cds/caltech/elog/elog-2.7.5/scripts/}}} and simply unzip the file {{{fckeditor.zip}}}. That's it.

===== Enabling the browser's context menu =====
The context menu is that one which pops up when right clicking with the mouse.

attachment:contextmenu.png

Under FCKeditor, the context menu is disabled by default. To enable it, one has to modify the FCKeditor config file {{{/cvs/cds/caltech/elog/elog-2.7.5/scripts/fckeditor/fckconfig.js}}} by setting the field {{{FCKConfig.BrowserContextMenuOnCtrl = false}}} ; to {{{true}}}.

Then to get the browser's context menu, instead of FCKeditor's, one has to hold <CTRL> when right clicking with the mouse.

Sometime clearing the cash of the browser might be necessary in order for the change to have effect.

attachment:elog.png

We're using the [https://midas.psi.ch/elog/ Electronic Logbook] software by [https://midas.psi.ch/~stefan/ Steffan Ritt].

The elog is installed on Nodus under /cvs/cds/caltech/elog/elog-2.8.0/.

It can be accessed from either the address: http://nodus.ligo.caltech.edu:8080/40m/ or from the old one on Dziban http://dziban.ligo.caltech.edu:40/40m/.

Manual Restart procedure

The elog runs on background in Nodus.

To kill the process, ssh nodus and then enter:

  • {{{ pkill -3 elogd rm -f /var/run/elogd.pid }}}

To restart it enter:

  • ./elogd -p 8080 -c /cvs/cds/caltech/elog/elog-2.8.0/elogd.cfg -D 


The restarting script

The following scripts executes the above commands for you if you are feeling particularly lazy or lost

  1. Log into nodus
  2. Go to /cvs/cds/caltech/elog/
  3. Run ./start-elog-nodus


FCKeditor (HTML Editor)

A little subprogram called FCKeditor is responsible for the text editing interface that appears when the HTML encoding is chosen as a way to write/edit an entry.

If the make command is used to compile the elog, the FCKeditor fails to be installed.

In that case, during the installation of the elog, one has just to go inside the path /cvs/cds/caltech/elog/elog-2.7.5/scripts/ and simply unzip the file fckeditor.zip. That's it.

Enabling the browser's context menu

The context menu is that one which pops up when right clicking with the mouse.

attachment:contextmenu.png

Under FCKeditor, the context menu is disabled by default. To enable it, one has to modify the FCKeditor config file /cvs/cds/caltech/elog/elog-2.7.5/scripts/fckeditor/fckconfig.js by setting the field FCKConfig.BrowserContextMenuOnCtrl = false ; to true.

Then to get the browser's context menu, instead of FCKeditor's, one has to hold <CTRL> when right clicking with the mouse.

Sometime clearing the cash of the browser might be necessary in order for the change to have effect.

How_To/Restart_the_elog (last edited 2021-03-03 02:03:20 by AnchalguptaATligoDOTorg)