[ldm-users] 20080226: Anyone running Fedora 8, and getting syslogd to work?

Hi Gilbert,

re:
>Syslog is installed on my new Fedora 8 system on weather3.admin.niu.edu, 
>which I just replaced today (I saw everyone was over onto weather2, so I 
>declined to send out a notice). There's an rsyslogd, but not a syslogd. 

Yup.

>Anyone have any experience with this, and how to fix it? LDM seems to be 
>working fine...but I'd like to be able to tell. :-)

Yes.  Make the following change to the 'configure' script in the
LDM source directory:

change (near line 5826):

    if test -f /etc/syslog.pid; then
        cat >>confdefs.h <<\_ACEOF
#define SYSLOG_PIDFILE "/etc/syslog.pid"
_ACEOF

    elif test -f /var/run/syslog.pid; then
        cat >>confdefs.h <<\_ACEOF
#define SYSLOG_PIDFILE "/var/run/syslog.pid"
_ACEOF

    elif test -f /var/run/syslogd.pid; then
        cat >>confdefs.h <<\_ACEOF
#define SYSLOG_PIDFILE "/var/run/syslogd.pid"
_ACEOF

    fi


to:

    if test -f /etc/syslog.pid; then
        cat >>confdefs.h <<\_ACEOF
#define SYSLOG_PIDFILE "/etc/syslog.pid"
_ACEOF

    elif test -f /var/run/syslog.pid; then
        cat >>confdefs.h <<\_ACEOF
#define SYSLOG_PIDFILE "/var/run/syslog.pid"
_ACEOF

    elif test -f /var/run/syslogd.pid; then
        cat >>confdefs.h <<\_ACEOF
#define SYSLOG_PIDFILE "/var/run/syslogd.pid"
_ACEOF

    elif test -f /var/run/rsyslogd.pid; then
        cat >>confdefs.h <<\_ACEOF
#define SYSLOG_PIDFILE "/var/run/rsyslogd.pid"
_ACEOF

    fi

After making the change, you will need to rebuild the LDM:

<while still in the LDM source directory>
-- modify 'configure' as per instruction aboe
make distclean
./configure
make
make install
sudo make install_setuids

If you havn't already done so, you need to make the same entries in
/etc/rsyslog.conf as you did in pre-Fedora 8 /etc/syslog.conf

Just so you know: the code mods needed for Fedora 8 have been folded
into an as yet unreleased version of the LDM.  Steve will be making
a release of that new version in the not too distant future.

Cheers,

Tom
--
+----------------------------------------------------------------------------+
* Tom Yoksas                                            UCAR Unidata Program *
* (303) 497-8642 (last resort)                                 P.O. Box 3000 *
* yoksas@xxxxxxxxxxxxxxxx                                  Boulder, CO 80307 *
* Unidata WWW Service                            http://www.unidata.ucar.edu/*
+----------------------------------------------------------------------------+


  • 2008 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: