Differences between revisions 49 and 50
Revision 49 as of 2014-06-20 18:50:15
Size: 2139
Comment:
Revision 50 as of 2014-12-20 00:36:54
Size: 1809
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 . 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 {{{/export/home/elog/elog-2.8.0/}}}.  . 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 {{{/export/home/elog/elog/}}}.
Line 12: Line 12:
= Manual Restart procedure =
 . The elog runs on background in Nodus. '''''To kill the process''''', ssh nodus and then enter:
= Restart procedure =
 . The elog runs on background in Nodus, configured as an Upstart service. It can be restarted by running:
Line 15: Line 15:
 . {{{ pkill -3 elogd   . `sudo initctl restart elog`
Line 17: Line 17:
 rm -f /var/run/elogd.pid }}}

 . '''''To restart it''''' enter:

 . {{{
./elogd -p 8080 -c /export/home/elog/elog-2.8.0/elogd.cfg -D }}}

<<BR>>
----
= 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 /export/home/elog
  . 3. Run ./start-elog.csh
 . This runs the rules in /etc/init/elog.conf



Restart procedure

  • The elog runs on background in Nodus, configured as an Upstart service. It can be restarted by running:
    • sudo initctl restart elog

  • This runs the rules in /etc/init/elog.conf



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.
    • 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)