02-07-2018
Quote:
Originally Posted by
michael_hoang
I am a newbie in AIX
[...]
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
You might want to read about the "System Resource Controller" or SRC, for short. It is sort of a super-daemon to start other daemons (called "subservers" or "subsystems", without wanting to go into details). Here is a (very short and incomplete)
Introduction to System Resource Controller (SRC) Commands
How these subsystems are started is defined with the command
mkssys and stored in a "registry"-like data storage called ODM. You can change an already defined subsystem with the command
chssys and remove a subsystem with the command
rmssys. Display a subsystems properties with the command
lssrc -ls <subsystem>.
Starting such a subsystem is done with
startsrc, stopping with
stopsrc and displayed what is running with
lssrc -a.
refresh reinitialises an already started subsystem if it supports signal communication (basically this sends a
kill -1), but some subsystems won't allow that, which is why you have to do a
stopsrc and then a
startsrc in such a case.
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
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 SUSE
razor2::syslog
Razor2::Syslog(3) User Contributed Perl Documentation Razor2::Syslog(3)
NAME
Razor2::Syslog -- Syslog support for Razor2
SYNOPSIS
use Razor2::Syslog;
my $s=new Razor2::Syslog(Facility=>'local4',Priority=>'debug');
$s->send('see this in syslog',Priority=>'info');
DESCRIPTION
This module has been derived from Net::Syslog. Some optimizations were made to Net::Syslog, in particular support for keeping a socket
open. What follows is the documentation for Net::Syslog, which completely applies to this module.
Net::Syslog implements the intra-host syslog forwarding protocol. It is not intended to replace the Sys::Syslog or Unix::Syslog modules,
but instead to provide a method of using syslog when a local syslogd is unavailable or when you don't want to write syslog messages to the
local syslog.
The new call sets up default values, any of which can be overridden in the send call. Keys (listed with default values) are:
Name <calling script name>
Facility local5
Priority err
SyslogPort 514
SyslogHost 127.0.0.1
Valid Facilities are: kern, user, mail, daemon, auth, syslog, lpr, news, uucp, cron, authpriv, ftp, local0, local1, local2,
local3, local4, local5, local6
Valid Priorities are: emerg, alert, crit, err, warning, notice, info, debug
AUTHOR
Les Howard, les@lesandchris.com
Vipul Ved Prakash, mail@vipul.net
SEE ALSO
syslog(3), Sys::Syslog(3), syslogd(8), Unix::Syslog(3), IO::Socket, perl(1)
perl v5.12.1 2005-05-09 Razor2::Syslog(3)