Help with Ommail Configuration

This is the place for you, if you got rsyslog up and running but wonder how to make it do what you want.

Moderator: rgerhards

Re: Help with Ommail Configuration

Postby bdgout on Mon Aug 04, 2008 8:35 pm

rgerhards wrote:ok, looks like I need to add some debuging information. Will do that tomorrow morning.


Sounds good, let me know what you find :)
bdgout
Advanced
 
Posts: 42
Joined: Thu Jul 24, 2008 7:47 pm

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

Re: Help with Ommail Configuration

Postby rgerhards on Tue Aug 05, 2008 7:07 am

I have now added additional debug information which tells us when a recipient is added and what exactly is sent to the server (even if it does not echo it). Please install and run the new version.

I then need a *complete* debug log, because vital information is contained in the head of the log.

Download: http://download.rsyslog.com/rsyslog/rsy ... st1.tar.gz

Rainer
User avatar
rgerhards
Site Admin
 
Posts: 1664
Joined: Thu Feb 13, 2003 11:57 am

Re: Help with Ommail Configuration

Postby bdgout on Tue Aug 05, 2008 2:36 pm

Hi Rainer,

I just E-mailed to you my debug log. I let it run for a bit and tested out some E-mail and logs. Is there anything else you wanted me to do? Let me know. I have just sent the debug log to your G-mail account. Thanks!
bdgout
Advanced
 
Posts: 42
Joined: Thu Jul 24, 2008 7:47 pm

Re: Help with Ommail Configuration

Postby rgerhards on Tue Aug 05, 2008 3:39 pm

Thanks, I just checked the log. As it turns out, the ommail.so is NOT the version that was included in today's tarball. So I suspect the root problem is one of make install.

Could you please do a make clean and then a make install AND send (or post) the make log (stdout of make, so make install > log). I hope we'll see where it places it.

Thanks,
Rainer

PS: small side-note: if you mail files, I'd appreciate if you could attach them and not paste them into the message text. It is much easier to review an attached file with a good editor {like vi, of course ;)}.
User avatar
rgerhards
Site Admin
 
Posts: 1664
Joined: Thu Feb 13, 2003 11:57 am

Re: Help with Ommail Configuration

Postby bdgout on Tue Aug 05, 2008 4:32 pm

rgerhards wrote:Thanks, I just checked the log. As it turns out, the ommail.so is NOT the version that was included in today's tarball. So I suspect the root problem is one of make install.

Could you please do a make clean and then a make install AND send (or post) the make log (stdout of make, so make install > log). I hope we'll see where it places it.

Thanks,
Rainer

PS: small side-note: if you mail files, I'd appreciate if you could attach them and not paste them into the message text. It is much easier to review an attached file with a good editor {like vi, of course ;)}.


Thanks for the response. I will do this ASAP after I get back from a meeting this afternoon.

- I will make sure to just send the log next time, I agree that will be easier :)
bdgout
Advanced
 
Posts: 42
Joined: Thu Jul 24, 2008 7:47 pm

Re: Help with Ommail Configuration

Postby bdgout on Tue Aug 05, 2008 8:20 pm

Sent you the log to your Gmail account, sorry for delay.
bdgout
Advanced
 
Posts: 42
Joined: Thu Jul 24, 2008 7:47 pm

Re: Help with Ommail Configuration

Postby rgerhards on Tue Aug 05, 2008 10:01 pm

As far as I can see, ommail is not compiled. Did you enable it? If so, please post output of your configure command as well as a copy of your config.h.

Also, do a rm -f /usr/local/lib/rsyslog/ommail.so

and then a new make install and try to run rsyslogd. I guess it won't find the module any longer...

Thanks,
Rainer
User avatar
rgerhards
Site Admin
 
Posts: 1664
Joined: Thu Feb 13, 2003 11:57 am

Re: Help with Ommail Configuration

Postby bdgout on Wed Aug 06, 2008 2:28 pm

rgerhards wrote:As far as I can see, ommail is not compiled. Did you enable it? If so, please post output of your configure command as well as a copy of your config.h.

Also, do a rm -f /usr/local/lib/rsyslog/ommail.so

and then a new make install and try to run rsyslogd. I guess it won't find the module any longer...

Thanks,
Rainer


It had to have been, I was still getting mail to my one address. I removed the ommail.so using that command and did a fresh install using the following steps.

Is "make uninstall" the proper way to remove rsyslog? I have no idea...

./configure --enable-ommail
make
make install

Now E-mail is not working at all :?, I tried uninstalling and reinstalling other versions and still could not get E-mail working. I did notice there was no ommail.so, only a ommail.la in /usr/local/lib/rsyslog directory.
Last edited by bdgout on Wed Aug 06, 2008 3:19 pm, edited 4 times in total.
bdgout
Advanced
 
Posts: 42
Joined: Thu Jul 24, 2008 7:47 pm

Re: Help with Ommail Configuration

Postby bdgout on Wed Aug 06, 2008 2:34 pm

Here is config.h

[root@sitescope rsyslog-3.21.3-Test1]# cat config.h
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */

/* Defined if debug mode is enabled (its easier to check). */
/* #undef DEBUG */

/* Regular expressions support enabled. */
#define FEATURE_REGEXP 1

/* Description */
#define FSSTND 1

/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1

/* Define to 1 if you have the <arpa/nameser.h> header file. */
#define HAVE_ARPA_NAMESER_H 1

/* Define to 1 if you have the `basename' function. */
#define HAVE_BASENAME 1

/* Define to 1 if your system has a working `chown' function. */
#define HAVE_CHOWN 1

/* Define to 1 if you have the `clock_gettime' function. */
/* #undef HAVE_CLOCK_GETTIME */

/* Define to 1 if you have the <dbi/dbi.h> header file. */
/* #undef HAVE_DBI_DBI_H */

/* Define to 1 if libdbi supports the new plugin-safe interface */
/* #undef HAVE_DBI_R */

/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
don't. */
#define HAVE_DECL_STRERROR_R 1

/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1

/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
/* #undef HAVE_DOPRNT */

/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1

/* Define to 1 if you have the `flock' function. */
#define HAVE_FLOCK 1

/* Define to 1 if you have the `fork' function. */
#define HAVE_FORK 1

/* Define to 1 if you have the `gethostbyname' function. */
#define HAVE_GETHOSTBYNAME 1

/* Define to 1 if you have the `gethostname' function. */
#define HAVE_GETHOSTNAME 1

/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1

/* Define to 1 if you have the <gnutls/gnutls.h> header file. */
/* #undef HAVE_GNUTLS_GNUTLS_H */

/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Define to 1 if you have the <libgen.h> header file. */
#define HAVE_LIBGEN_H 1

/* Define to 1 if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1

/* Define to 1 if you have the `localtime_r' function. */
#define HAVE_LOCALTIME_R 1

/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#define HAVE_MALLOC 1

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1

/* Define to 1 if you have the `mkdir' function. */
#define HAVE_MKDIR 1

/* Define to 1 if you have the <mysql/mysql.h> header file. */
/* #undef HAVE_MYSQL_MYSQL_H */

/* Define to 1 if you have the <netdb.h> header file. */
#define HAVE_NETDB_H 1

/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1

/* Define to 1 if you have the <net-snmp/net-snmp-config.h> header file. */
/* #undef HAVE_NET_SNMP_NET_SNMP_CONFIG_H */

/* Define to 1 if you have the <paths.h> header file. */
#define HAVE_PATHS_H 1

/* Define to 1 if you have the <pthread.h> header file. */
#define HAVE_PTHREAD_H 1

/* Define to 1 if your system has a GNU libc compatible `realloc' function,
and to 0 otherwise. */
#define HAVE_REALLOC 1

/* Define to 1 if you have the `regcomp' function. */
#define HAVE_REGCOMP 1

/* Define to 1 if you have the <resolv.h> header file. */
#define HAVE_RESOLV_H 1

/* Define to 1 if you have the `select' function. */
#define HAVE_SELECT 1

/* Define to 1 if you have the `setid' function. */
/* #undef HAVE_SETID */

/* Define to 1 if you have the `socket' function. */
#define HAVE_SOCKET 1

/* Define to 1 if `stat' has the bug that it succeeds when given the
zero-length file name argument. */
/* #undef HAVE_STAT_EMPTY_STRING_BUG */

/* Define to 1 if you have the <stddef.h> header file. */
#define HAVE_STDDEF_H 1

/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the `strcasecmp' function. */
#define HAVE_STRCASECMP 1

/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1

/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1

/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1

/* Define to 1 if you have the `strerror_r' function. */
#define HAVE_STRERROR_R 1

/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the `strndup' function. */
#define HAVE_STRNDUP 1

/* Define to 1 if you have the `strnlen' function. */
#define HAVE_STRNLEN 1

/* Define to 1 if you have the `strrchr' function. */
#define HAVE_STRRCHR 1

/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1

/* Define to 1 if you have the `strtol' function. */
#define HAVE_STRTOL 1

/* Define to 1 if you have the `strtoul' function. */
#define HAVE_STRTOUL 1

/* Define to 1 if `sa_len' is member of `struct sockaddr'. */
/* #undef HAVE_STRUCT_SOCKADDR_SA_LEN */

/* Define to 1 if you have the <syslog.h> header file. */
#define HAVE_SYSLOG_H 1

/* Define to 1 if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1

/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1

/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1

/* Define to 1 if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1

/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#define HAVE_SYS_WAIT_H 1

/* Define to 1 if you have the `ttyname_r' function. */
#define HAVE_TTYNAME_R 1

/* Define to 1 if you have the `uname' function. */
#define HAVE_UNAME 1

/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* Define to 1 if you have the <utmp.h> header file. */
#define HAVE_UTMP_H 1

/* Define to 1 if you have the `vfork' function. */
#define HAVE_VFORK 1

/* Define to 1 if you have the <vfork.h> header file. */
/* #undef HAVE_VFORK_H */

/* Define to 1 if you have the `vprintf' function. */
#define HAVE_VPRINTF 1

/* Define to 1 if `fork' works. */
#define HAVE_WORKING_FORK 1

/* Define to 1 if `vfork' works. */
#define HAVE_WORKING_VFORK 1

/* the host environment, can be queried via a system variable */
#define HOSTENV "i686-pc-linux-gnu"

/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
slash. */
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1

/* Define with a value if your <sys/param.h> does not define MAXHOSTNAMELEN */
/* #undef MAXHOSTNAMELEN */

/* Defined if debug mode is disabled. */
#define NDEBUG 1

/* Defined when large file support is disabled. */
/* #undef NOLARGEFILE */

/* Define to 1 if your C compiler doesn't accept -c and -o together. */
/* #undef NO_MINUS_C_MINUS_O */

/* Indicator for a BSD OS */
/* #undef OS_BSD */

/* Name of package */
#define PACKAGE "rsyslog"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "rsyslog@lists.adiscon.com"

/* Define to the full name of this package. */
#define PACKAGE_NAME "rsyslog"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "rsyslog 3.21.3-Test1"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "rsyslog"

/* Define to the version of this package. */
#define PACKAGE_VERSION "3.21.3-Test1"

/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void

/* Defined if runtime instrumentation mode is enabled. */
/* #undef RTINST */

/* Define to the type of arg 1 for `select'. */
#define SELECT_TYPE_ARG1 int

/* Define to the type of args 2, 3 and 4 for `select'. */
#define SELECT_TYPE_ARG234 (fd_set *)

/* Define to the type of arg 5 for `select'. */
#define SELECT_TYPE_ARG5 (struct timeval *)

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* Define to 1 if strerror_r returns char *. */
#define STRERROR_R_CHAR_P 1

/* network support is integrated. */
#define SYSLOG_INET 1

/* Description */
#define SYSLOG_UNIXAF 1

/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1

/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */

/* Define if you want to use GSSAPI */
/* #undef USE_GSSAPI */

/* Define if you want to enable zlib support */
#define USE_NETZIP 1

/* Multithreading support enabled. */
#define USE_PTHREADS 1

/* Defined if valgrind support settings are to be enabled (e.g. prevents
dlclose()). */
/* #undef VALGRIND */

/* Version number of package */
#define VERSION "3.21.3-Test1"

/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif

/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the
#define below would cause a syntax error. */
/* #undef _UINT8_T */

/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */

/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef gid_t */

/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif

/* Define to rpl_malloc if the replacement function should be used. */
/* #undef malloc */

/* Define to `int' if <sys/types.h> does not define. */
/* #undef mode_t */

/* Define to `long int' if <sys/types.h> does not define. */
/* #undef off_t */

/* Define to `int' if <sys/types.h> does not define. */
/* #undef pid_t */

/* Define to rpl_realloc if the replacement function should be used. */
/* #undef realloc */

/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */

/* Define to `int' if <sys/types.h> does not define. */
/* #undef ssize_t */

/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef uid_t */

/* Define to the type of an unsigned integer type of width exactly 8 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint8_t */

/* Define as `fork' if `vfork' does not work. */
/* #undef vfork */

/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
/* #undef volatile */



Here is my config log captured.

[root@sitescope rsyslog-3.21.3-Test1]# cat /var/log/configure.log
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking host system type... (cached) i686-pc-linux-gnu
checking for library containing clock_gettime... -lrt
checking for library containing dlopen... -ldl
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/stat.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for uint8_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking for struct sockaddr.sa_len... no
checking for unistd.h... (cached) yes
checking for working chown... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for vprintf... yes
checking for _doprnt... no
checking for flock... yes
checking for basename... yes
checking for alarm... yes
checking for clock_gettime... no
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for localtime_r... yes
checking for memset... yes
checking for mkdir... yes
checking for regcomp... yes
checking for select... yes
checking for setid... no
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strndup... yes
checking for strnlen... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for uname... yes
checking for ttyname_r... yes
checking for MAXHOSTNAMELEN... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for SYSLOG_UNIXAF support... yes
checking for FSSTND support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating runtime/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating plugins/imudp/Makefile
config.status: creating plugins/imtcp/Makefile
config.status: creating plugins/im3195/Makefile
config.status: creating plugins/imgssapi/Makefile
config.status: creating plugins/imuxsock/Makefile
config.status: creating plugins/immark/Makefile
config.status: creating plugins/imklog/Makefile
config.status: creating plugins/imtemplate/Makefile
config.status: creating plugins/imfile/Makefile
config.status: creating plugins/imrelp/Makefile
config.status: creating plugins/imdiag/Makefile
config.status: creating plugins/omtesting/Makefile
config.status: creating plugins/omgssapi/Makefile
config.status: creating plugins/ommysql/Makefile
config.status: creating plugins/ompgsql/Makefile
config.status: creating plugins/omrelp/Makefile
config.status: creating plugins/omlibdbi/Makefile
config.status: creating plugins/ommail/Makefile
config.status: creating plugins/omsnmp/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
****************************************************
rsyslog will be compiled with the following settings:

Multithreading support enabled: yes
Klog functionality enabled: yes (linux)
Regular expressions support enabled: yes
Zlib compression support enabled: yes
MySql support enabled: no
libdbi support enabled: no
PostgreSQL support enabled: no
SNMP support enabled: no
Mail support enabled: no
RELP support enabled: no
imdiag enabled: no
file input module enabled: no
input template module will be compiled: no
Large file support enabled: yes
Networking support enabled: yes
GnuTLS network stream driver enabled: no
Enable GSSAPI Kerberos 5 support: no
Debug mode enabled: no
Runtime Instrumentation enabled: no
Diagnostic tools enabled: no
valgrind support settings enabled: no
rsyslog runtime will be built: yes
rsyslogd will be built: yes
[root@sitescope rsyslog-3.21.3-Test1]#


Why does it say Mail support not enabled when I configured it to?
bdgout
Advanced
 
Posts: 42
Joined: Thu Jul 24, 2008 7:47 pm

Re: Help with Ommail Configuration

Postby bdgout on Wed Aug 06, 2008 7:59 pm

Anyone have any suggestions for getting ommail back up and working? How do I go about checking if it is running properly? Thanks.
bdgout
Advanced
 
Posts: 42
Joined: Thu Jul 24, 2008 7:47 pm

Re: Help with Ommail Configuration

Postby rgerhards on Wed Aug 06, 2008 8:58 pm

I was on the road. I just checked ./configure --help. To enable mail functionality, use --enable-mail (not --enable-ommail).

Rsyslog reports error messages as syslogd.err - so you should see them in your logs. Anyhow, the issue is that ommail was not generated, this was also why you used the old version (it was never overwritten).
User avatar
rgerhards
Site Admin
 
Posts: 1664
Joined: Thu Feb 13, 2003 11:57 am

Re: Help with Ommail Configuration

Postby bdgout on Wed Aug 06, 2008 9:35 pm

rgerhards wrote:I was on the road. I just checked ./configure --help. To enable mail functionality, use --enable-mail (not --enable-ommail).

Rsyslog reports error messages as syslogd.err - so you should see them in your logs. Anyhow, the issue is that ommail was not generated, this was also why you used the old version (it was never overwritten).


Got it working Rainer, works great. Tested it with 5 different E-mail addresses and they all received the alerts instantly. Nice job!
Last edited by bdgout on Thu Aug 07, 2008 1:54 pm, edited 1 time in total.
bdgout
Advanced
 
Posts: 42
Joined: Thu Jul 24, 2008 7:47 pm

Re: Help with Ommail Configuration

Postby rgerhards on Thu Aug 07, 2008 9:28 am

I am glad it works now. Some time I must find out how I make ./configure complain about invalid options, that is ones given that it does not know...
User avatar
rgerhards
Site Admin
 
Posts: 1664
Joined: Thu Feb 13, 2003 11:57 am

Google Ads


Previous

Return to Configuration

Who is online

Users browsing this forum: No registered users and 0 guests

cron