Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 473 of 808  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  69178   Wed Jul 22 19:10:08 2020 Reply Stefan Rittstefan.ritt@psi.chQuestionAllELOG V3.1.2-bd7Re: How to change name of record Id from $@MID@$.

No idea what you are talking about. $@MID@$ is used in the database files to indicate the start of a new message. It is not used on any elog web page. If you want to put the message ID on your web page, you should use the variable "$message id" as written in the documentation. You say JS, where is your JS running? You wrote a JS program to work on the raw elog database files? Or you wrote an extension to run in your browse? You have to be a bit clearer.

Stefan

John wrote:

Hi Everyone,

I tried using this $@MID@$ in JS as a variable and cannot doit. I researched a little and found no answer on special character usage. If anyone knows, please lemme know. I also tried breifly in Elogd to change it to something like just MID, but need a better editor as  (Kate) is not saving the program back in correct iso (character) format. So I thought I'd pose the question in the meanwhile.

Thanks, John

 

  2263   Thu Jun 28 15:24:31 2007 Reply Stefan Rittstefan.ritt@psi.chQuestion 2.6.5-1870Re: How to change elog directories in windows

toumbi wrote:
Hi , I need an example for windows directories syntax.
I would like to start elog in windows xp from a server directories "\\myserver\elog\" for example and/or "G:\elog\"
I want my elogd.cfg be on this server and not on my local hard drive.
also I would like the windows service start automatically from "\\myserver\elog\" or "G:\elog\"
thank you for your help.


If you go to Computer Management, click on Services, double click on ELOG, you will see "Path to executable". Either you move elogd.exe to d:\elog and start it there, or you start elogd with the "-c" flag, which specifies the location of the config file, such as
...\elogd.exe -c g:\elog\elogd.cfg

I have to warn you however that sometimes I personally had kind of poor network connection to a Windows server, so the reply time of elog was many seconds.
  2264   Thu Jun 28 17:05:56 2007 Reply toumbitoumbi@yopmail.comQuestion 2.6.5-1870Re: How to change elog directories in windows

Stefan Ritt wrote:

toumbi wrote:
Hi , I need an example for windows directories syntax.
I would like to start elog in windows xp from a server directories "\\myserver\elog\" for example and/or "G:\elog\"
I want my elogd.cfg be on this server and not on my local hard drive.
also I would like the windows service start automatically from "\\myserver\elog\" or "G:\elog\"
thank you for your help.


If you go to Computer Management, click on Services, double click on ELOG, you will see "Path to executable". Either you move elogd.exe to d:\elog and start it there, or you start elogd with the "-c" flag, which specifies the location of the config file, such as
...\elogd.exe -c g:\elog\elogd.cfg

I have to warn you however that sometimes I personally had kind of poor network connection to a Windows server, so the reply time of elog was many seconds.

Hi stephan , I remove elog and setup it again wiht the nis installer, and enter Z:\ELOG\ which is a mapping drive of my server directorie.
but it dont work. i have an error code 3 when i register the services with the shortcut "Register ELOG server service" .
Attachment 1: elog.JPG
elog.JPG
  2265   Thu Jun 28 17:08:32 2007 Reply Stefan Rittstefan.ritt@psi.chQuestion 2.6.5-1870Re: How to change elog directories in windows

toumbi wrote:
Hi stephan , I remove elog and setup it again wiht the nis installer, and enter Z:\ELOG\ which is a mapping drive of my server directorie.
but it dont work. i have an error code 3 when i register the services with the shortcut "Register ELOG server service" .


If you see the service config page, then the service is already registered, and you should not use the shortcut "Register ELOG server service" any more. Just change "Startup type" to "Automatic" or "Manual" and click on the "Start" button.
  2268   Thu Jun 28 17:20:18 2007 Reply toumbitoumbi@yopmail.comQuestion 2.6.5-1870Re: How to change elog directories in windows

Stefan Ritt wrote:

toumbi wrote:
Hi stephan , I remove elog and setup it again wiht the nis installer, and enter Z:\ELOG\ which is a mapping drive of my server directorie.
but it dont work. i have an error code 3 when i register the services with the shortcut "Register ELOG server service" .


If you see the service config page, then the service is already registered, and you should not use the shortcut "Register ELOG server service" any more. Just change "Startup type" to "Automatic" or "Manual" and click on the "Start" button.

Hi again, See what happen when i install it on Z:\ELOG\ (it is a mapped drive of \\myserver\ELOG\)

Why code 3 ?

Ps: last time , i stopped and registered the service to copie the last version of elogd 1870
Attachment 1: elog.JPG
elog.JPG
  2269   Thu Jun 28 17:23:24 2007 Reply Stefan Rittstefan.ritt@psi.chQuestion 2.6.5-1870Re: How to change elog directories in windows

toumbi wrote:
Why code 3 ?


No idea, this is an error coming from Windows. Try to start the service manually via the Service Manager, maybe you get some more error there. Or start elogd interactively in a DOS box, like

z:\ELOG\elogd.exe -v -c z:\ELOG\elogd.cfg

maybe there is some access rights conflict.
  2270   Thu Jun 28 17:38:39 2007 Reply toumbitoumbi@yopmail.comQuestion 2.6.5-1870Re: How to change elog directories in windows

Stefan Ritt wrote:

toumbi wrote:
Why code 3 ?


No idea, this is an error coming from Windows. Try to start the service manually via the Service Manager, maybe you get some more error there. Or start elogd interactively in a DOS box, like

z:\ELOG\elogd.exe -v -c z:\ELOG\elogd.cfg

maybe there is some access rights conflict.

When i start the service with start button it fail to lunch
but the command z:\ELOG\elogd.exe -v -c z:\ELOG\elogd.cfg work !!
Maybe The service doesn't have access right , ( i see it is Log on with Local System).
Attachment 1: elog.JPG
elog.JPG
Attachment 2: elog.JPG
elog.JPG
  2272   Thu Jun 28 19:25:48 2007 Reply Stefan Rittstefan.ritt@psi.chQuestion 2.6.5-1870Re: How to change elog directories in windows

toumbi wrote:
Maybe The service doesn't have access right , ( i see it is Log on with Local System).


In that case it might help to run elog under your personal account.
ELOG V3.1.5-3fb85fa6