Server :: Rotating Logs In Squid 2.7 Stable9

Aug 13, 2010

I've installed squid 2.7 stable9 in centos 5.4 x32 bit. I've installed and configured it successfully, its working fine. I want to clear few doubts, for that your kind help is needed. Parallely, I've configured another server using binary rpms with same squid version (2.7 stable9). I found that it creates a /etc/logrotate.d/squid for rotating log files (access.log, cache.log, store.log). Which is properly rotating log files using compress, dateext and size options (i manually added the size option).

But after compiling and installing from source code, its automatically not created. I want to rotate the log files in the same way as it is doing when i install using binary rpms. Below logfile_rotate entry is present in my squid.conf file (in source code installation scenario) logfile_rotate 10 Below logfile_rotate entry is present in my squid.conf file which is commented (in binary rpm installation scenario) #logfile_rotate 10 I want to rotate the log files by size (as I've more than 200 users, these logfiles size increasing very fast, ie. approx 80 MB per hour), with compress and dateext option.

View 3 Replies


ADVERTISEMENT

CentOS 5 Server :: Rotating Named Logs Via Syslog.conf?

Mar 1, 2010

OS CentOS 5.4 I have a DNS server that is logging all named and dns requests to the chrooted named directory. By default named logs to /var/log/messages but I want to isolate all the dns queries and requests to separate files. I know I can add entries to /etc/syslog.conf to "roll" the logs and logrotate should pick them up but fuzzy as to the syntax. I don't know what "tag" to use in the first fieild. for example

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none/var/log/messages

Here is the logging section of my named.conf

# pwd
# /var/named/chroot/etc
logging
{

[code]....

View 5 Replies View Related

Server :: Tools - Squid Accounts - To Create - Change - Modify Users Of Squid And To View Their Logs

May 23, 2010

My squid server works fine in fedora 11 system . Is there any web like interface for admins to create,change,modify users of squid and to view their logs.

View 1 Replies View Related

Server :: Access Logs In Squid Proxy?

Feb 24, 2011

i am monitoring access log messages in squid proxy server,can it possible to get date,time,day in access logs is it possible

View 2 Replies View Related

Server :: Deleting The Squid Access Logs?

Dec 23, 2010

Is there any way to delete squid proxy access logs. e how can the access logs be deleted

View 6 Replies View Related

General :: Isolating A Day Logs From A Squid Week Log

Mar 30, 2010

I have been requested to deliver the logs for last friday, but the problem is that I have configured squid logs to be weekly, not daily. How can I extract the logs generated friday from the week file?

View 3 Replies View Related

Server :: Rotating Files That End With A Date Stamp?

Oct 10, 2010

how I should go about rotating files that end with a date stamp. This is the configuration I have to rotate my Apache access files, but it is not working:

/var/log/httpd/access_log.* {
compress
daily
rotate 1
copytruncate
missingok
notifempty
}


The files are created with a date extension like the ones below:

[Code]....

View 6 Replies View Related

Server :: Logrotate Rotating Daily When Should Rotate Weekly?

Mar 18, 2010

I have an Ubuntu server, and I have a special script on logrotate.d to rotate the samba_audit logs:

/var/log/auditsamba/auditoria.log {
weekly
rotate 12
missingok

[code]....

View 14 Replies View Related

CentOS 5 Server :: Squid Proxy Configuration SQUID 2.6.STABLE21

Jan 17, 2011

I would like to ask some help and tutorial for setting up and how to configure squid proxy server in my (Home PC Server). I am a newbie in Linux Centos. I already installed in my system the CentOS 5.5 . Now, I want to configure it as my internet server, all of my 4 system running in Windows including the laptop I want to connect through my CentOS pc with username authentication. I assign all IP address by static. see tthe attachement in my set up. [url] I just want to know what I need to change and add in my squid config file. And how can I configure properly my CentOS with 2 LAN card as internet server.

View 1 Replies View Related

Server :: Monitor Server Snmp Read From Logs Parsed Possible?

Jul 21, 2009

I would like to monitor a RedHat via snmp. I would like to make available data via snmp. The data that I would like to graph are only present in logs file. Is it possible to parse data from applicative logs and have them available for my cacti server via snmp? I already monitor CPU, mem, and others with cacti using the standard MIB.What would be the logical step I would need to achieve that?

View 1 Replies View Related

Server :: How To Analysis IBM DSA Logs

Oct 24, 2010

I Have RHEL4 running on IBM X3550 server, we request IBM support regarding issues with this server, they will request for IBM DSA logs. The logs are quite extensive and cover almost all server config & can identify hardware issues with drivers...etc. I want to know if there is a way to analysis those logs offline without sending them to IBM support?

View 3 Replies View Related

General :: Q2 Patching Logs Of Particular Server ?

Jun 10, 2011

How to get the Q2 patching logs of particular server (Linux 2.6.9-100.EL)

View 1 Replies View Related

Hardware :: How To Find Logs In Hp-ux Server

Jan 11, 2010

how to find logs in hp-ux server why it get unexpected shut..down is any hardware failure or or its been hard boot

View 3 Replies View Related

Server :: Define How Old Logs Should Rsyslog Keep

Aug 25, 2010

I was wondering how could I specify for how long the logs will be kept. Rsyslog doesn't have such an option (at least I didn't find it).Do I have to use logrotate for this, or is there some other option?

View 1 Replies View Related

Server :: How To Check Logs For Previous Day

Oct 5, 2010

how to check maillogs for previous days. wht is command to check log for yesturday in sendmail8.14 .fedora os i know /var/log/maillog.this gives o/p for today but wht abut yesturday.?

View 10 Replies View Related

Server :: Security Logs With Message ID?

Mar 9, 2011

Iam looking security specific event ID on Linux .hear are thousnds of event ID in Microsoft Windows/XP and VISTA etc. Similar way looking for Linux,unix ,Solaries,AIX etc event ID. I would to correlate and implement with Arcsight.

View 2 Replies View Related

Server :: Unable To See All The Logs Forwarded To Box?

Apr 19, 2011

We are forwarding logs (perl script executed logs) to one Red Hat Linux box. We have to get 97 logs for each time the script runs. But we see inconsistent number of logs coming to Linux box. Like one time we got 56, other time 3 , other time 43.. like this.. We are sure that 97 logs are being forwarded. Checked the Rsyslog.config filer any filters and couldn't see any filter dropping them. When we run the tcpdump, we can see 97 connections, but logs are not there in specified location.

View 1 Replies View Related

Server :: How To Setup Logs In Vsftpd

Oct 20, 2010

how to setup logs in Vsftpd? I have default configuration in CentOS but its not log`ing

View 1 Replies View Related

Server :: Squid Accepts Only HTTP Requests But Speaks FTP On The Server Side?

Apr 26, 2011

Here is my query:

Squid document says that Squid accepts only HTTP requests but speaks FTP on the server side when FTP object are requested.

We call Squid HTTP and FTP caching proxy server. Does it also caches FTP contents? Is it possible to configure FTP clients to use Squid cache? When we make an FTP request to an FTP site via Squid will it be bypassed?

View 5 Replies View Related

Server :: Make Squid 2.6 Stable As Transparent Proxy Server?

Dec 22, 2010

I want to make a transparent squid proxy server in centos. The squid proxy version is 2.6 stable. I made a normal squid server but want to make it transparent so that users do not need to enter the proxy settings in web browser. Even i searched about this on google but not getting it properly.I have two lan cards on centos system. ETH1 used for LAN and ETH2 used for WAN. And in this squid.conf i written "http_port 172.16.31.1:3128 transparent" and i also added a rule in iptables which is "iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128" but still i have to enter proxy settings at client's web browser to use internet

View 4 Replies View Related

Server :: Installing And Configuring Transparent Squid Server On Centos5.4?

Sep 17, 2010

I would like to install and configure Transparent squid proxy on a gateway server ,but i dont have a local OR intranet DNS server.I am facing issues do that ,regard .My IP series is 192.168.1.1/24

View 5 Replies View Related

Server :: Installing Squid On A CPanel Server - URI::URL Dependency Already Installed?

Jan 12, 2010

I know this seems obvious but i'm stuck. I'm trying to install squid via the command "yum install squid" and here is the output:Quote:

Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00

[code]....

View 1 Replies View Related

Ubuntu Servers :: How IPAddress Can Hit Server Yet Not Appear In ANY Logs

Oct 31, 2010

Since Port 80 and 443 are the only ports I have open, how is it that an IPAddress can hit my server yet not appear in ANY logs ?

View 9 Replies View Related

General :: Collect All Logs Of Unix Server?

Dec 26, 2010

I am installing RHEL 5.5 to be a syslog server to collects logs from servers (HP-UX, Linux, Windows and Cisco Network Devices). and i can now collect logs from my windows PC on syslog linux server by using Datagram SyslogAgent software. can collect logs from HP-UX 11.23 server. and i configuring the Unix server as in the steps below:

1. Log in as root

2. Go to /etc/syslog.conf

3. Add a line: *.*<tab>@<Sentinel Server IP Address>

*.* @10.15.1.5

4. Save and Close

# netstat -na | grep 514

tcp 0 0 *.514 *.* LISTEN
udp 0 0 *.514 *.*

[code]....

View 1 Replies View Related

Server :: Configuring Syslog And Exporting Of Logs?

Jan 17, 2011

configure syslog server on ubuntu now i want to export logs of windows and ubuntu desktop to the syslog server

View 6 Replies View Related

Server :: Locating Infected Files In Logs?

Oct 29, 2010

I ran a scan (clamscan -r --remove /home/) on my user's home directory yesterday & since I have so many users on my mail server, it takes a very long time to complete. I came back in this morning and realized that there were two infected files found during last nights scan:

Code:
----------- SCAN SUMMARY -----------
Known viruses: 847768
Engine version: 0.96.4
Scanned directories: 23114
Scanned files: 1066439
Infected files: 2

[Code]....

View 5 Replies View Related

Server :: Logrotate For Logs That Change Filenames

Nov 26, 2010

Say that a certain server process generates log files and names them according to the current date; e.g.

server.nov-20.2010.log
server.nov-21.2010.log
server.nov-22.2010.log
server.nov-23.2010.log

i'd like to have logrotate compress the logs that are older than 3 days. Is this possible with logrotate, or do i just schedule a cron job to bzip everything under the folder older than 3 days?

View 1 Replies View Related

Server :: Monitor Postfix Logs - Activity ?

Feb 26, 2010

I have been using Postfix since 2006 with no problems ever. Simple & rock solid however I was wondering what you guys use for monitoring all your email traffic and logs? Is there an application or utility you guys suggest using as a mail administrator to easily scan / view logs in a organized and clean view?

View 1 Replies View Related

Server :: Redirecting Boot Logs To Emails?

Nov 15, 2010

I am done with installing cron jobs for performing rebboting operations, now my requirement is sending the bootlogs to an email address.

View 1 Replies View Related

Server :: Getting Logwatch Working With Shorewall Logs?

Sep 9, 2010

How to get logwatch working with shorewall logs. I tried fwlogwatch but could not get that working.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved