Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 419 of 808  Not logged in ELOG logo
icon5.gif   elogd crashes during Find and Mirror operations under MacOS, posted by Andreas Warburton on Sat Dec 24 10:40:00 2016 
When installing ELOG 3.1.2 on my Mac Sierra (10.12.2) with the latest XCode 8.2.1, it seemed to install fine but for one warning when building elogd:


cc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -Wno-deprecated-declarations -DHAVE_SSL -I /opt/local/include -o elogd 
src/elogd.c
crypt.o auth.o regex.o mxml.o  -lssl
src/elogd.c:13840:13: warning: '__builtin___strlcpy_chk' will always overflow
      destination buffer [-Wbuiltin-memcpy-chk-size]
icon5.gif   Gmail email smtp settings, posted by Devrim Esenturk on Mon Jan 2 16:32:18 2017 
Hi all

I am trying to send email via Gmail smtp with no success. Elog uses port 25 which is not allowed. I need to use 587 or 465 ports to send mail.
How can I change the port?
    icon2.gif   Re: elogd crashes during Find and Mirror operations under MacOS, posted by Andreas Luedeke on Tue Jan 3 09:20:23 2017 
I have no experience with ELOG on OSX, therefore I can only give very vague and indirect support (sorry).

I suggest that you first try
an installation without actual logbook data (just move it to a save place for a while). Does a "find" still crash elogd?

If elogd
is still crashing, you should prune your configuration until it stops crashing. Submit the smallest config here that still crashes the logbook.

Since
    icon2.gif   Re: elogd crashes during Find and Mirror operations under MacOS, posted by Stefan Ritt on Tue Jan 3 09:44:18 2017 
The current GIT revision (c017d07) fixes the problem with
the strlcpy() function (macOS 10.12.2, XCode 8.2). Can you try if that fixes your other problems, too?

Plese remember to use the recursive clone to get that version:
    icon2.gif   Re: elogd crashes during Find and Mirror operations under MacOS, posted by Andreas Warburton on Tue Jan 3 12:43:56 2017 
 




Stefan
Ritt wrote:



The current GIT revision (c017d07)
    icon2.gif   Re: elogd crashes during Find and Mirror operations under MacOS, posted by Andreas Warburton on Tue Jan 3 12:45:13 2017 
Thank you very much (both Andreas and Stefan)!  The build now runs without warnings, and I am now able to do Find operations without crashes.  I
still am having some issues with the synchronization, but I suspect that this is elog-content related, so will in the coming days do some more testing
from CERN (where I have higher bandwidth with my home institution in Canada).  Incidentally, I had to add a line to Makefile in order to be able to
    icon2.gif   Re: elogd crashes during Find and Mirror operations under MacOS, posted by Stefan Ritt on Tue Jan 3 12:58:13 2017 
Ah, thanks for telling me. I added that to the Makefile. I did not need this because I had in my .profiel following line

export C_INCLUDE_PATH=/opt/local/include

which I need also for other macports-based projects. But having this twice does not hurt.
icon5.gif   How to make two attributes reacting with each other, posted by Xuan Wu on Thu Jan 5 12:55:05 2017 
Hi all,

I have two attributes defined like following

Attributes = Author, Author Email, Icon, Category, System, Subject
ELOG V3.1.5-3fb85fa6