[syslog-ng]syslog-ng dying on hup

nija@magicaldesk.com nija@magicaldesk.com
Mon, 23 Oct 2000 09:07:17 -0700


Hello,

  I am having a small problemm with syslog-ng.  About every third time I hup syslog-ng, it dies.  I can start it again immediately, but I am curious why it is dying.

I have included the conf file.

Any ideas?

Thank you



# Configuration file for server side syslog-ng
################################################


####################################
# Global options used by syslog-ng
####################################
options { time_reopen     ( 0   );
          sync            ( 0   );
          chain_hostnames ( no  );
          use_dns         ( yes );
          use_fqdn        ( yes );
          };


###########################################
# Global Source statments for the program
###########################################
source src { sun-streams( "/dev/log" door( "/etc/.syslog_door" ));
             internal   (                                       );
             tcp        ( max-connections(1000)                 );
             udp        (                                       );
             };


destination all_messages      {
  file("/var/log/syslog-ng/$YEAR/$MONTH/$DAY/all-messages"
  create_dirs(yes)
  perm(755)
  dir_perm(755)
  );};

destination all_messages2     {
  pipe("/var/adm/nco"
  );};

destination all_program       {
  file("/var/log/syslog-ng/$YEAR/$MONTH/$DAY/$HOST/$PROGRAM"
  create_dirs(yes)
  perm(755)
  dir_perm(755)
  );};

destination all_facility      {
  file("/var/log/syslog-ng/$YEAR/$MONTH/$DAY/$HOST/$FACILITY"
  create_dirs(yes)
  perm(755)
  dir_perm(755)
  );};

destination all_priority      {
  file("/var/log/syslog-ng/$YEAR/$MONTH/$DAY/$HOST/$PRIORITY"
  create_dirs(yes)
  perm(755)
  dir_perm(755)
  );};

destination all_host          {
  file("/var/log/syslog-ng/$YEAR/$MONTH/$DAY/$HOST/messages"
  create_dirs(yes)
  perm(755)
  dir_perm(755)
  );};

destination all_only_program  {
  file("/var/log/syslog-ng/$YEAR/$MONTH/$DAY/program/$PROGRAM"
  create_dirs(yes)
  perm(755)
  dir_perm(755)
  );};

destination all_only_priority {
  file("/var/log/syslog-ng/$YEAR/$MONTH/$DAY/priority/$PRIORITY"
  create_dirs(yes)
  perm(755)
  dir_perm(755)
  );};

destination all_only_facility {
  file("/var/log/syslog-ng/$YEAR/$MONTH/$DAY/facility/$FACILITY"
  create_dirs(yes)
  perm(755)
  dir_perm(755)
  );};

destination all_fac_pri       {
  file("/var/log/syslog-ng/$YEAR/$MONTH/$DAY/facility/$FACILITY.$PRIORITY"
  create_dirs(yes)
  perm(755)
  dir_perm(755)
  );};


log { source( src ); destination( all_messages      );};
log { source( src ); destination( all_messages2     );};
log { source( src ); destination( all_program       );};
log { source( src ); destination( all_facility      );};
log { source( src ); destination( all_priority      );};
log { source( src ); destination( all_host          );};
log { source( src ); destination( all_only_program  );};
log { source( src ); destination( all_only_priority );};
log { source( src ); destination( all_only_facility );};
log { source( src ); destination( all_fac_pri       );};


_____________________________________________________________
Global Virtual Desktop
Get your free Desktop at http://www.magicaldesk.com