Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 624 of 808  Not logged in ELOG logo
icon1.gif   Need help with permission, posted by Dan Witteman on Fri Sep 23 01:32:15 2022 
Hello,

I have just installed elog onto an ubuntu focal server using <sudo make install> and I am unable to create new entries.

When I access the log via a windows PC connected to the local network, I can see the demo logbook with the 1 test post, but I cannot create or
    icon2.gif   Re: Need help with permission, posted by Mikkel D. Lund on Mon Sep 26 12:21:52 2022 
Hi all,

I have the same problem on Ubuntu 22.04. I have compiled from the latest tarball and copied all our logbooks from our old Ubuntu 18.04 server
to a new Ubuntu 22.04. The logbooks does however not appear when I log in, so I assume ELOG doesn't have read access either?
    icon2.gif   Re: Need help with permission, posted by Stefan Ritt on Mon Sep 26 12:38:29 2022 
Permissions are handled by the operating system and have nothing to do with elog. Make sure you run elog under an account which has write access to the
desired directories. Consult Ubuntu documentation how to do that. Sometimes it's helpful to start elog interactively with the -v flag to see some verbose
output. Maybe you can spot something there.
    icon2.gif   Re: Need help with permission, posted by Stefan Ritt on Mon Sep 26 12:45:50 2022 
Sometimes this can also be an SELinux issue, if you have that service running. Try "journalctl | grep denied" to see denied resources and consult
the SELinux documentation on how to fix that.




Stefan
    icon2.gif   Re: Need help with permission, posted by Dan Witteman on Mon Sep 26 19:21:33 2022 
I used "chown" to pass permissions from root to my deafult user, then restarted the service and now I can make posts. Thank you!




Stefan
Ritt wrote:



Sometimes this can also be an SELinux issue, if you have that service
icon8.gif   Anyone else running elogd on redhat ES 8 having random crashes?, posted by mathew goebel on Tue Oct 4 20:43:28 2022 
For the last couple of months we are getting a random elogd crash once in a while we are getting something like the following in the middle of the night

> Sep 29 20:45:07 elog kernel: server_name686835]: segfault at 7ffd7f5a0000 ip 00007fceaeabbf06 sp 00007ffd7f577348 error 6 in libc-2.28.so[7fceaea8a000+1bc000]
    icon2.gif   Re: Anyone else running elogd on redhat ES 8 having random crashes?, posted by Stefan Ritt on Wed Oct 5 08:21:12 2022 
Most likely these are some currupt logbook files. If you get a coredump (or stack trace) you can maybe figure out which file it was. These are plain
ASCII files (YYMMDDa.log) and you can see with an editor if someting there is not in order.

Stefan
    icon2.gif   Re: Anyone else running elogd on redhat ES 8 having random crashes?, posted by mathew goebel on Wed Oct 5 20:39:16 2022 
Thanks for the info! 




Stefan
Ritt wrote:



Most likely these are some currupt logbook files. If you get a coredump
ELOG V3.1.5-3fb85fa6