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
|
|
|
|
68254
|
Mon Feb 8 16:19:11 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/" |
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
|
|
|
68253
|
Mon Feb 8 15:07:05 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/" |
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
|
|
68252
|
Mon Feb 8 13:52:33 2016 |
| Tapasi Ghosh | tapasi03@gmail.com | Question | Mac OSX | elog-3.1.0 | New entry cannot be written to directory "/usr/local/elog/logbooks/demo/" |
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
|
Attachment 1: image.png
|
|
68251
|
Thu Feb 4 15:07:07 2016 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Windows | V3.1.1-0767eb0 | Re: Applying cell style or some sort of subst in list view only |
> Good day,
>
> I have an attribute that is 25 chars. it can be empty until someone edit it to fill the information.
> The default view for that logbook is List.
>
> Is it possible to display that attribute in list view but not the entire 25 chars ?
> What I mean is that if the field is empty, show it as empty but if it has some information, show something like "X" in List view.
>
> I tried playing with Styles and Cell Styles but I couldn't figure it out...
> Cell Style seams to require specific values "" to apply the style properties. I can't figure how to apply cell style "if field is not empty" :)
>
> Thanks for your help :)
If your server would run on Linux, then the configuration below would just do what you've asked for:
Attributes = X
List change X = $shell(if [ -z "$X" ] ;then echo "";else echo "X";fi)
But since shell scripting is operating system dependent, you'll need to figure out yourself how to do it in Windows.
Cheers
Andreas |
68250
|
Thu Feb 4 14:47:50 2016 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | V3.1.1-0767eb0 | Re: Applying cell style or some sort of subst in list view only |
> Good day,
>
> I have an attribute that is 25 chars. it can be empty until someone edit it to fill the information.
> The default view for that logbook is List.
>
> Is it possible to display that attribute in list view but not the entire 25 chars ?
> What I mean is that if the field is empty, show it as empty but if it has some information, show something like "X" in List view.
>
> I tried playing with Styles and Cell Styles but I couldn't figure it out...
> Cell Style seams to require specific values "" to apply the style properties. I can't figure how to apply cell style "if field is not empty" :)
>
> Thanks for your help :)
Unfortunately something like this is not implemented in elog.
Stefan |
68249
|
Thu Feb 4 14:21:19 2016 |
| Francois Cloutier | Francois@fcmail.ca | Question | Windows | V3.1.1-0767eb0 | Applying cell style or some sort of subst in list view only |
Good day,
I have an attribute that is 25 chars. it can be empty until someone edit it to fill the information.
The default view for that logbook is List.
Is it possible to display that attribute in list view but not the entire 25 chars ?
What I mean is that if the field is empty, show it as empty but if it has some information, show something like "X" in List view.
I tried playing with Styles and Cell Styles but I couldn't figure it out...
Cell Style seams to require specific values "" to apply the style properties. I can't figure how to apply cell style "if field is not empty" :)
Thanks for your help :) |
68248
|
Fri Jan 29 06:35:05 2016 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Windows | Latest | Re: Can I host elog in the web under windows platform without Apache Web Server? |
Can't help you with that, and I think it is the wrong forum to ask that question.
You'll need a web service provider that will allow you to run your own services.
And then it'll either require some skills in host administration or a full host service by the provider.
Cheers, Andreas
Dawang wrote: |
Thanks Andreas and Stefan,
Since I'm not good in setting up webserver, do you know a web hosting company that can I use to integrate elog so that i can access my elog publicly same as you are using here? Thanks.
BR,
Raymund
Andreas Luedeke wrote: |
I admit that I'm not sure if I understood the question. It is quite some work to do the opposite, to run elog behind an Apache Web Server.
But if you just install ELOG out of the box it will always run without an Apache Web Server. You don't need to add anything in the config file for that.
Dawang wrote: |
Hi All,
Can I host elog in the web (internet) under windows platform (elogd.exe only) without Apache Web Server? If possible, what syntax should I add in the configuration file? Appreciate feedback. Thanks.
Cheers,
Raymund
|
|
|
|