02-07-2018
Hi Robin,
Thank you very much for your response.
I have tried to configure remote logging, local logging. Local logging success but remote failed.
Yes, the logger server is listening on port 514 as default. and we are receiving data from other UNIX Server but only AIX is having issue.
I do not see any error while starting syslog file. Furthermore, creating local syslog file is success.
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.
And for /etc/syslog.conf content, it is very simple as below:
local0.debug @<Syslog server>
--> This one failed.
I have test with local logger as below content:
local0.debug /tmp/syslog.log
--> It works.
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.
Feel free to let me know any suggestion if you have
I really appreciate it.
Regards,
Michael.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT REDHAT
logger
LOGGER(1) BSD General Commands Manual LOGGER(1)
NAME
logger -- a shell command interface to the syslog(3) system log module
SYNOPSIS
logger [-isd] [-f file] [-p pri] [-t tag] [-u socket] [message ...]
DESCRIPTION
Logger makes entries in the system log. It provides a shell command interface to the syslog(3) system log module.
Options:
-i Log the process id of the logger process with each line.
-s Log the message to standard error, as well as the system log.
-f file Log the specified file.
-p pri Enter the message with the specified priority. The priority may be specified numerically or as a ``facility.level'' pair. For
example, ``-p local3.info'' logs the message(s) as informational level in the local3 facility. The default is ``user.notice.''
-t tag Mark every line in the log with the specified tag.
-u sock Write to socket as specified with socket instead of builtin syslog routines.
-d Use a datagram instead of a stream connection to this socket.
-- End the argument list. This is to allow the message to start with a hyphen (-).
message Write the message to log; if not specified, and the -f flag is not provided, standard input is logged.
The logger utility exits 0 on success, and >0 if an error occurs.
Valid facility names are: auth, authpriv (for security information of a sensitive nature), cron, daemon, ftp, kern, lpr, mail, news, security
(deprecated synonym for auth), syslog, user, uucp, and local0 to local7, inclusive.
Valid level names are): alert, crit, debug, emerg, err, error (deprecated synonym for err), info, notice, panic (deprecated synonym for
emerg), warning, warn (deprecated synonym for warning). For the priority order and intended purposes of these levels, see syslog(3).
EXAMPLES
logger System rebooted
logger -p local0.notice -t HOSTIDM -f /dev/idmc
SEE ALSO
syslog(3), syslogd(8)
STANDARDS
The logger command is expected to be IEEE Std 1003.2 (``POSIX.2'') compatible.
4.3 Berkeley Distribution June 6, 1993 4.3 Berkeley Distribution