Logs for the services in redhat


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Logs for the services in redhat
# 1  
Old 02-17-2016
Logs for the services in redhat

I need find the details of the services like iptables start /stop time in redhat. I checked in the /var/log/messages but could not find any entries for the same.
How can I find the start/stop details of services in redhat 6.
# 2  
Old 02-17-2016
Hi,

There is a very good guide to reading the logs that you require here.

Regards

Gull04
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

If I ran perl script again,old logs should move with today date and new logs should generate.

Appreciate help for the below issue. Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt.............. 1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies

2. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies

3. Red Hat

Restart of services if port no is changed in /etc/services in RHEL

I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed. I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed. Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies

4. UNIX for Advanced & Expert Users

Sort command results are different in Redhat 4 vs Redhat 5

Hi, I am having a text file with the following contents ########### File1 ########### some page1.txt text page.txt When I sort this file on Red Hat 5, then I get the following output ########### File1 ########### page1.txt page.txt some (3 Replies)
Discussion started by: sarbjit
3 Replies

5. AIX

Help with /etc/services

Hi In my AIX 5.3 box I already have the below entry: #cat /etc/services | grep -i 3602 infiniswitchcl 3602/tcp # InfiniSwitch Mgr Client infiniswitchcl 3602/udp # InfiniSwitch Mgr Client Now I got an requirement to add the below entry in the same port... (6 Replies)
Discussion started by: samsungsamsung
6 Replies

6. Solaris

etc/services

Need help from the unix admins out there. I am trying to telnet from a windoze machine to a sun machine. It won't let me connect. I looked at etc/services and I found the port that telnet was listening on. But, how can I tell if its actually up and available? is there a unix command I can issue?... (15 Replies)
Discussion started by: Harleyrci
15 Replies

7. Linux

RedHat Directory Services

All if you have used RedHat Directory Services, I'm trying to put a posix groupid on the groups and can't figure out a way to do so. If you have had any success in this area please let me know. Thank You (0 Replies)
Discussion started by: aojmoj
0 Replies

8. Shell Programming and Scripting

Grep yesterday logs from weblogic logs

Hi, I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows: """"""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies

9. UNIX for Dummies Questions & Answers

services

I have an application service running on an AIX server Client application is able to connect to the server machine. Strange thing is when i do "netstat -a | grep servicename" I get no output but when i do "ps -ef | grep service name", I am able to see the service running I... (1 Reply)
Discussion started by: bryan
1 Replies

10. UNIX for Advanced & Expert Users

services

Hi, Is it possible to remove/disconnect a socket connection having a status of LISTEN, from command prompt..?? Thanks in Advance.. (1 Reply)
Discussion started by: shibz
1 Replies
Login or Register to Ask a Question