ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
68255
|
Mon Feb 8 16:27:45 2016 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Mac OSX | elog-3.1.0 | Re: New entry cannot be written to directory "/usr/local/elog/logbooks/demo/" |
The process elogd runs as the user "nobody". This user obviously cannot write to /usr/local/elog/logbooks/demo.
But apparently you've created the wrong directory anyway: you've listed /usr/local/elog/demo, but ELOG looks for /usr/local/elog/logbooks/demo.
Cheers, Andreas
Tapasi Ghosh wrote: |
Thanks for your reply.
I am the user and it also has the write access
cd /usr/local/elog/
ls -ltr
drwxrwxrwx 6 tapasi admin 204 Jan 7 18:26 demo
Andreas Luedeke wrote: |
You should check if the directory /usr/local/elog/logbooks/demo belongs to the right user and has the right write permissions.
Since the elogd process belongs to the user "nobody", the directory should best belong to "nobody" as well (or - not recommended - allows write access for "others")
Cheers, Andreas
Tapasi Ghosh wrote: |
Dear All,
I could not submit a new enetry to my logbook whenever restarting my laptop. I am a new user to elog.
Attached is the screenshot of the error message and also there is "nobody" while I grep elog.
----------------------
>>
Tapasis-MacBook-Pro-2:elog-3.1.0 tapasi$ ps aux | grep elog
tapasi 560 0.4 0.0 2432772 644 s002 S+ 9:50AM 0:00.01 grep elog
nobody 76 0.0 0.4 2481308 18440 ?? Ss 9:48AM 0:00.08 /usr/local/sbin/elogd -c /usr/local/elog/elogd.cfg
--------------------------
Any suggesstion will be very much appreciated.
Thanks in advance,
Tapasi
|
|
|
|
68256
|
Mon Feb 8 17:40:27 2016 |
| Tapasi Ghosh | tapasi03@gmail.com | Question | Mac OSX | elog-3.1.0 | Re: New entry cannot be written to directory "/usr/local/elog/logbooks/demo/" |
Sorry, it was my mistake while copying from terminal to the email . There is no "demo" directory under /usr/local/lib.
Tapasis-MacBook-Pro:elog tapasi$ cd /usr/local/elog/logbooks/demo
Tapasis-MacBook-Pro:demo tapasi$ ls -ltr
total 0
drwxr-xr-x 3 tapasi admin 102 Sep 22 11:00 2001
drwxr-xr-x 55 503 admin 1870 Dec 17 13:21 2015
drwxr-xr-x 2 tapasi admin 68 Jan 7 14:54 2016
So, how can I change the user from "nobody" to my name, so that elogd runs in my user name ?
Thanks
Andreas Luedeke wrote: |
The process elogd runs as the user "nobody". This user obviously cannot write to /usr/local/elog/logbooks/demo.
But apparently you've created the wrong directory anyway: you've listed /usr/local/elog/demo, but ELOG looks for /usr/local/elog/logbooks/demo.
Cheers, Andreas
Tapasi Ghosh wrote: |
Thanks for your reply.
I am the user and it also has the write access
cd /usr/local/elog/
ls -ltr
drwxrwxrwx 6 tapasi admin 204 Jan 7 18:26 demo
Andreas Luedeke wrote: |
You should check if the directory /usr/local/elog/logbooks/demo belongs to the right user and has the right write permissions.
Since the elogd process belongs to the user "nobody", the directory should best belong to "nobody" as well (or - not recommended - allows write access for "others")
Cheers, Andreas
Tapasi Ghosh wrote: |
Dear All,
I could not submit a new enetry to my logbook whenever restarting my laptop. I am a new user to elog.
Attached is the screenshot of the error message and also there is "nobody" while I grep elog.
----------------------
>>
Tapasis-MacBook-Pro-2:elog-3.1.0 tapasi$ ps aux | grep elog
tapasi 560 0.4 0.0 2432772 644 s002 S+ 9:50AM 0:00.01 grep elog
nobody 76 0.0 0.4 2481308 18440 ?? Ss 9:48AM 0:00.08 /usr/local/sbin/elogd -c /usr/local/elog/elogd.cfg
--------------------------
Any suggesstion will be very much appreciated.
Thanks in advance,
Tapasi
|
|
|
|
|
68257
|
Mon Feb 8 19:29:47 2016 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Mac OSX | elog-3.1.0 | Re: New entry cannot be written to directory "/usr/local/elog/logbooks/demo/" |
Use
usr = <user anme>
in elogd.cfg as written in the documentation.
Stefan
Tapasi Ghosh wrote: |
So, how can I change the user from "nobody" to my name, so that elogd runs in my user name ?
|
|
490
|
Mon Mar 1 16:49:34 2004 |
| Val Schmidt | vschmidt@ldeo.columbia.edu | Question | Linux | elog-2.5.1-1 | top text/bottom text |
Hello,
I have a quick question regarding how to display text using the "Top text"
feature in the elogd.cfg file. I've made an entry that looks like the
following:
Top text = <h1>TEXT TO DISPLAY</h1>
But instead of getting just "TEXT TO DISPLAY" I get something like this:
----begin page ---
/usr/local/elog "TEXT TO DISPLAY"
...rest of page
----end page ---
...that is, on the far left at the top of the page in unformatted text
is "/usr/local/elog/" prepended to the text I want do display.
I don't know if this is a bug, or (more likely) something misconfigured in
my setup. But any help that could be provided would be most greatful.
Thanks,
Val |
491
|
Mon Mar 1 16:58:36 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | elog-2.5.1-1 | Re: top text/bottom text |
This was a bug which only occurs under certain conditions, that's why nobody
has seen it yet. I fixed it, the new version is available under CVS:
http://midas.psi.ch/cgi-bin/cvsweb/elog/src/elogd.c?rev=1.275 |
492
|
Mon Mar 1 17:26:34 2004 |
| Val Schmidt | vschmidt@ldeo.columbia.edu | Question | Linux | elog-2.5.1-1 | Re: top text/bottom text |
> This was a bug which only occurs under certain conditions, that's why nobody
> has seen it yet. I fixed it, the new version is available under CVS:
>
> http://midas.psi.ch/cgi-bin/cvsweb/elog/src/elogd.c?rev=1.275
Great!
I'm inclined to wait until you release a new rpm with the changes, as I'm
likely to mucky things up by trying to upgrade from the cvs archive rather than
using the rpm mechanics.
But glad to hear it's fixed.
By the way, ELOG is a fantastic tool. I'm very thankful for all the effort gone
into it. I do wish there were standard sql hooks, as I'm a bit fearful of how
it will scale. But the front-end, which is often most neglected, is well
thought out. Thanks so much, Val |
383
|
Mon Jun 30 14:15:52 2003 |
| Robert Keeney | brassrlk@yahoo.com | Question | Linux | elog-2.3.6-1 | Email Notification |
Is there a way to configure elog so users that have their email notification
on only get notified for updates to logs they have access to? I've looked
all through the documentation and I can't seem to find a way to do this.
If not is there some way I can work around this without to much trouble? I
have lots of logs and would really hate to have to make configuration
changes in all of them .
Having the message body mailed to you is very convenient but some of my
users only get to see their logs. If the body gets mailed to them they get
to see everything anyway.
When I had to use separate password files this wasn't an issue. |
384
|
Mon Jun 30 17:07:03 2003 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | elog-2.3.6-1 | Re: Email Notification |
> Is there a way to configure elog so users that have their email notification
> on only get notified for updates to logs they have access to? I've looked
> all through the documentation and I can't seem to find a way to do this.
I guess you have a global password file and use "login user" statements for
your logbooks. I have added some code which does per default not send any
email to people who are not in the "login user" list, in case this list is
present. New code under CVS. Please give it a try and let me know if it works
for you.
- STefan |