Sponsored Content
Operating Systems AIX Cannot send syslog event from AIX 6.1 to RHEL Syslog server Post 303012649 by bakunin on Wednesday 7th of February 2018 09:07:14 AM
Old 02-07-2018
Quote:
Originally Posted by michael_hoang
For the firewall, I am confirming with the firewall team but they say that it has been opened for port 514 to go through. I need to double check again but it seems firewall team is doing good job and the port should be opened as they said.
hmm, you (or, rather, the firewall boys) do understand there are two rules needed, yes? One for the connection in one direction itself, the second for the acknowledgements back to the client. Maybe this point is moot but i have seen many things in my life and this wouldn't be the strangest.

Quote:
Originally Posted by michael_hoang
And for /etc/syslog.conf content, it is very simple as below:
local0.debug @<Syslog server>
--> This one failed.
Have you made sure the name of the target system is a FQDN? Does the AIX system have proper name resolution for the target? You might, for testing purposes, put the IP address directly there and/or put the host name of the logging server into /etc/hosts.

Also notice that syslog needs reverse lookup too, which is often "forgotten" by novice network admins. If you check the name resolution always try the nslookup not only for the hostname but also for the corresponding IP address. Both have to be successful.

Quote:
Originally Posted by michael_hoang
Just one question: I could not find the syslog daemon log file on AIX server. What is the default location of this log file? Is it /var/log/messages? I think if AIX does not send the syslog event then it should be syslogd issue but could not locate the log files to troubleshoot it.
How is syslog started? Do a

Code:
lssrc -ls syslogd

and post the output. You can use the chssys command to change the way syslogd is started by the system resource controller. See the man page for syslogd for specifics, especially the -d (debug) switch. Also notice that after every change to /etc/syslog.conf you need to restart the subsystem with

Code:
stopsrc -s syslogd ; sleep 2 ; startsrc -s syslogd

(the stopping, starting and sleeping is just my paranoia, probably a refresh -s syslog would suffice)

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
 

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
All times are GMT -4. The time now is 11:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy