Sponsored Content
Operating Systems AIX Cannot send syslog event from AIX 6.1 to RHEL Syslog server Post 303012650 by michael_hoang on Wednesday 7th of February 2018 09:34:18 AM
Old 02-07-2018
Linux

thanks bakunin for very detail Smilie I am a newbie in AIX and really appreciate for all help.

Getting back to my query and bakunin's suggestion, I have tried to stop and start the syslogd service after making change of syslog.conf file (using stopsrc -s syslogd and then startsrc -s syslogd. I am not quite sure about refresh -s syslogd as I have seen some posts about this command sometimes may get naughty and do not refresh the conf file at all Smilie )

i will double check the firewall configuration and the syslogd service status tomorrow and get back to you the result after that.

Thank you for your help in advance.
regards,
Michael
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Send email to another server on AIX

I am trying to send an email to another server but i don't seem to be able to do it. I can receive mail form other servers but not send out. I am using IBM AIX 4.x Any knows whcih configuration file i need to set ? or any network port to look out for ? (1 Reply)
Discussion started by: owls
1 Replies

2. AIX

how to configure server to send email in AIX

Hi, anyone can guide me how to configure server to send email in AIX. My server is in a closed network, what do I need to configure and how? SMTP gateway? mail server? Thanks and best regards Solomon (4 Replies)
Discussion started by: chongkls77
4 Replies

3. AIX

send mail configuration in AIX server

Hi All, How to configure sendmail service in AIX server ? Please tell me what all changes has to be made in sendmail.conf file. Please help in this issue to configure it. Thanks jack (1 Reply)
Discussion started by: jack00423
1 Replies

4. Shell Programming and Scripting

Send email from sendmail on AIX using exchange server as SMTP server

i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies

5. AIX

Send message from AIX UNIX server

Hi, I want to send SMS from my AIX unix server. Could you please help me? US Service provider: AT & T I tried the below command but message not received. echo "test msg" | /usr/bin/sendmail -v <mobilenumber>@mobile.att.net (4 Replies)
Discussion started by: rsivasan
4 Replies

6. AIX

Send a file from AIX to PCOMM server

Hi folks, I am having an issue here.Currently, my system sends a file from AIX using CICS program to mainframe . However, Now I need to send file from AIX using CICS program or any other alternative to PCOMM server. Can anyone enlighten me !! Rgds, Targetshell (4 Replies)
Discussion started by: targetshell
4 Replies

7. Solaris

How can i send Solaris syslog loging server?

HI how can i send solaris syslog to centralized logging server? i have tried adding like below and got error: *.err;kern.debug;daemon.notice;mail.crit @172.16.200.50:5000 and the error i got in /var/adm/messages is: Jun 10 13:02:24 aresdb-new.alshaya.com syslogd: line 14:... (10 Replies)
Discussion started by: bentech4u
10 Replies

8. HP-UX

Send Audit Events to Syslog

Hi guys, I am currently runnig hp-ux v11.3. I have enabled auditing and I am able to send the audit events to a text file in syslog format using the following command: audisp -r /var/.audit/audtrail/auditfile -P -o follow -O sync | audit_p2l > /var/adm/auditlog I am required to send the... (0 Replies)
Discussion started by: peter maisiba
0 Replies

9. AIX

Configure AIX server to send logs and auditing to Qradar

Hi All I need your help to configure Aix to send logs to Qradar, I did all the methods that mentioned in IBM website and no use, Plz Help,, The Logs should I receive from Aix and display in Qradar is (create user delete user changing in privileges....etc ) my skype account khaled_ly84 ... (4 Replies)
Discussion started by: khaled_ly84
4 Replies

10. UNIX for Advanced & Expert Users

Syslog-ng not working not collecting logs on rhel

Hi, I need help on syslog-ng on RHEL 7.2. It is working as expected. As per configuration, it is supposed to create authlog, messages and xymessages daily in respective folder of date. But I can see only messages file and that is also not updating well. # ps -ef | grep -i syslog root 22954... (1 Reply)
Discussion started by: solaris_1977
1 Replies
syslogd(1M)                                                                                                                            syslogd(1M)

NAME
syslogd - log system messages SYNOPSIS
/usr/sbin/syslogd [-d] [-f configfile] [-m markinterval] [-p path] [-t | -T] syslogd reads and forwards system messages to the appropriate log files or users, depending upon the priority of a message and the system facility from which it originates. The configuration file /etc/syslog.conf (see syslog.conf(4)) controls where messages are forwarded. sys- logd logs a mark (timestamp) message every markinterval minutes (default 20) at priority LOG_INFO to the facility whose name is given as mark in the syslog.conf file. A system message consists of a single line of text, which may be prefixed with a priority code number enclosed in angle-brackets (<>); pri- orities are defined in <sys/syslog.h>. syslogd reads from the STREAMS log driver, /dev/log, and from any transport provider specified in /etc/netconfig, /etc/net/transport/hosts, and /etc/net/transport/services. syslogd reads the configuration file when it starts up, and again whenever it receives a HUP signal (see signal.h(3HEAD), at which time it also closes all files it has open, re-reads its configuration file, and then opens only the log files that are listed in that file. syslogd exits when it receives a TERM signal. As it starts up, syslogd creates the file /var/run/syslog.pid, if possible, containing its process identifier (PID). If message ID generation is enabled (see log(7D)), each message will be preceded by an identifier in the following format: [ID msgid facil- ity.priority]. msgid is the message's numeric identifier described in msgid(1M). facility and priority are described in syslog.conf(4). [ID 123456 kern.notice] is an example of an identifier when message ID generation is enabled. If the message originated in a loadable kernel module or driver, the kernel module's name (for example, ufs) will be displayed instead of unix. See EXAMPLES for sample output from syslogd with and without message ID generation enabled. In an effort to reduce visual clutter, message IDs are not displayed when writing to the console; message IDs are only written to the log file. See EXAMPLES. The /etc/default/syslogd file contains the following default parameter settings. See FILES. LOG_FROM_REMOTE Specifies whether remote messages are logged. LOG_FROM_REMOTE=NO is equivalent to the -t command-line option. The default value for LOG_FROM_REMOTE is YES. The following options are supported: -d Turn on debugging. This option should only be used interactively in a root shell once the system is in multi-user mode. It should not be used in the system start-up scripts, as this will cause the system to hang at the point where syslogd is started. -f configfile Specify an alternate configuration file. -m markinterval Specify an interval, in minutes, between mark messages. -p path Specify an alternative log device name. The default is /dev/log. -T Enable the syslogd UDP port to turn on logging of remote messages. This is the default behavior. See . -t Disable the syslogd UDP port to turn off logging of remote messages. See . EXAMPLES
Example 1: syslogd Output Without Message ID Generation Enabled The following example shows the output from syslogd when message ID generation is not enabled: Sep 29 21:41:18 cathy unix: alloc /: file system full Example 2: syslogd Output with ID generation Enabled The following example shows the output from syslogd when message ID generation is enabled. The message ID is displayed when writing to log file/var/adm/messages. Sep 29 21:41:18 cathy ufs: [ID 845546 kern.notice] alloc /: file system full Example 3: syslogd Output with ID Generation Enabled The following example shows the output from syslogd when message ID generation is enabled when writing to the console. Even though message ID is enabled, the message ID is not displayed at the console. Sep 29 21:41:18 cathy ufs: alloc /: file system full /etc/syslog.conf Configuration file /var/run/syslog.pid Process ID /etc/default/syslogd Contains default settings. You can override some of the settings by command-line options. /dev/log STREAMS log driver /etc/netconfig Transport providers available on the system /etc/net/transport/hosts Network hosts for each transport /etc/net/transport/services Network services for each transport See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ logger(1), svcs(1), msgid(1M),svcadm(1M), syslog(3C), syslog.conf(4), attributes(5), signal.h(3HEAD), smf(5), log(7D) NOTES
The mark message is a system time stamp, and so it is only defined for the system on which syslogd is running. It can not be forwarded to other systems. When syslogd receives a HUP signal, it attempts to complete outputting pending messages, and close all log files to which it is currently logging messages. If, for some reason, one (or more) of these files does not close within a generous grace period, syslogd discards the pending messages, forcibly closes these files, and starts reconfiguration. If this shutdown procedure is disturbed by an unexpected error and syslogd cannot complete reconfiguration, syslogd sends a mail message to the superuser on the current system stating that it has shut down, and exits. Care should be taken to ensure that each window displaying messages forwarded by syslogd (especially console windows) is run in the system default locale (which is syslogd's locale). If this advice is not followed, it is possible for a syslog message to alter the terminal set- tings for that window, possibly even allowing remote execution of arbitrary commands from that window. The syslogd service is managed by the service management facility, smf(5), under the service identifier: svc:/system/system-log:default Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using the svcs(1) command. 31 May 2005 syslogd(1M)
All times are GMT -4. The time now is 10:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy