similar to: How to add time to squid log

Displaying 20 results from an estimated 4000 matches similar to: "How to add time to squid log"

2006 Nov 06
2
Fwd: How to grep and remove files
Hi All, I want to know how to grep and delete (remove) files . What I need is that there are some unwanted out going mails in the queue in my Centos 4.4 Sendmail Server. I can find them with the below commad. mailq /var/spool/mqueue/ |grep '<>' Then It displays all the mails of that type withg their ids in the following way. [root at gateway ~]# mailq /var/spool/mqueue/ |grep
2007 Mar 21
1
How to bind a username to an ip address with squid
Hi ALL, I am running squid with ncsa support. Each user has a username and passowrd to access Internet. Now the probles is that user now can access Internet with his username and password from all the workstations. I do not need it. So, I think if I bind username to ip address, user can access Internet from that particular pc having that ip address. How to do it? -- Thank you Indunil
2007 Jan 16
2
Fwd: error, While mounting an Audio Cdrom.
Hi, I tried to mount an audio cdrom to listen to its music. But It gives the below error. why is that ? -- [root at worldnet ~]# mount /dev/hdc /media/cdrom/ /dev/hdc: Input/output error mount: block device /dev/hdc is write-protected, mounting read-only /dev/hdc: Input/output error mount: /dev/hdc: can't read superblock [root at worldnet ~]# Thank you Indunil Jayasooriya -- Thank
2007 Mar 30
3
Has REDHAT EL 5 been released?
Hi all, I would like to know has RedHat EL 5 been already released or is it still under beta version? When will CENT OS 5 be available to the world? -- Thank you Indunil Jayasooriya -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070330/001cc6a7/attachment.html>
2016 Jun 07
2
for loop example
Maybe this don't to be the best form to solve your problem, but worked,rs. #!/bin/bash #power by Diego Rodrigues totalFileOne=$(wc -l file1 | cut -d" " -f1) totalFileTwo=$(wc -l file2 | cut -d" " -f1) count=0 if [ ! "${totalFileOne}" -eq "${totalFileTwo}" ];then echo "The two files need of same number of lines" exit 1 fi for
2007 Feb 17
2
HOW to enable traceroute with IPTABLES
Hi, I am setting up a firewall on CENTOS 4.4. I have done default block iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT DROP I have enabled ICMP to www.google.com iptables -A OUTPUT -p icmp -d 64.233.189.104 -j ACCEPT iptables -A INPUT -p icmp -s 64.233.189.104 -j ACCEPT Ping works fine as below [root at firebox rc.d]# ping 64.233.189.104 PING 64.233.189.104 (
2006 Nov 09
8
How to block Yahoo , MSN messanger and Kazza with IPTABLES
Hi, I want to block Yahoo Messenger, MSN messanger and Kazza with IPTABLES as my local network users always go there. How Can I do it? I am not runnig iptables as a script nor have I put anything in my rc.local. But instaed, I input the commands and save it by using the below cmmand /etc/init.d/iptables save and I restart it /etc/init.d/iptables restart My box runs on Cent OS 4.4. Help
2007 Aug 01
3
yum-updatesd.conf on centos 5
Hi All, I am running CentOS5 . Yum pkg was installed by deault fresh installation. pls see below for installed yum pkgs. [root at mailgw ~]# rpm -qa |grep yum yum-updatesd-3.0.5-1.el5.centos.2 yum-3.0.5-1.el5.centos.2 later, I installed below pkg for protection. yum-protectbase-1.0.4-2.el5.centos Now, everything works. But, in this vershion of yum, It has no crontab running. It has a file
2007 Dec 04
2
Help to restore mysql data on CentOS 5
Hi , Help is needed to restore mysql data This is the the setup. 2 Servers running on CentOS. one server has both apache an mysql. the other server only has mysql database. This server has about 12000 records in the database. Last week, It had about 6000 records. then, Someone has backed up these 6000 records to the web server. Now , We need to backup all 12000 records to the webserver.
2006 Oct 02
3
How to copy a file from linux to window pc
Hi, I have file at /opt/mailbackup/mailbackup.tar.gz (this is a Linux Machine) I want to put this file to a windows pc. What is the command to do it. can I use something like the following. mount -t smbfs Then How to use this ? -- Thank you Indunil Jayasooriya
2007 Mar 24
1
Binding an ip address to an username with SQUID passwod file
Hi List, I want to bind an ip address to a username with squid by using squid password file. I am using ncsa_auth programme. Below are line that I have added to squid.conf file. auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd auth_param basic children 5 auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 2 hours auth_param basic
2007 Sep 22
3
vsftp question ?
Hi, I want to setup vsftp on centos 4.5. 2 types of ftp. they are active and pasive. What is the default type ftp type o CentOS ? Is is PASIVE ftp? in /etc/vsftpd/vsftpd.conf, I found below line. What should I do for below line? # Make sure PORT transfer connections originate from port 20 (ftp-data). connect_from_port_20=YES Should I COMMENT it out? I need a very secure ftp service. YOUR
2006 Nov 14
5
opens source trouble ticket
Hi all, I am lookng for a truble ticket to install on my Cents os 4.4 server. RPM is always prefferd. Souce is also welcome. Have you done somethink like this before? What are the packages that you recomend for me. -- Thank you Indunil Jayasooriya -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Jan 26
3
Installing DCC on CentOS 4.4
Hi, I want to install dcc on CentOS 4.4 as I am ruunig Dual-Sendmail with amavisd-new. I am looking for DCC RPM pkg. I searchrd bit I could not find any RPM pkg. Pls help me to find DCC RPM pkg. Have you installed DCC on CentOS 4.4. then Pls guide me. -- Thank you Indunil Jayasooriya -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Dec 13
6
What is equivalent to MS OUTLOOK ?
Hi All, I am looking for an open source email client package that is equivalent to MS OUTLOOK. Clients are running Windows XP and Vista and Linux. So the package should be able to run on both Windows And Linux. Mail server is running Ms Exchange. So this client pkg should be able to access Global Address book of the MS Exchange Server just as MS OUTLOOK. What about evolution ? Pls see, below
2007 Jun 29
2
where is smbmount on centOS 5
Hi, I am searching smbmount command on centOS 5. On, CENTOS 4.4, I used it as follows to backup data to a window PC. I want to do it on CentOS 5 now. mount -t smbfs -o ip=192.168.5.225,username=mailbackup,password=secret //server/mail_backups /mnt/maildaily I can not issue such command on centos 5. When I try , It gives below error. [root at mail ~]# mount -t smbfs -o
2007 Feb 08
5
kernel 2.6.9-42.0.8.EL error while booting - CentOS 4.4
Hi , I am ruuning Senmail with MailScanner on CentOS 4.4. It has updated to kernel 2.6.9-42.0.8.EL from its past kernel 2.6.9-42.0.3.EL. Now the Server can not boot up and gives the below error. mkrootdev: label / not found Mounting root filesystem mount: error 2 mouting ext3 switchroot: mount failed: 22 Kernel panic - not syncing: Attempted to kill init! But I can boot up from its
2009 Mar 16
3
grub issue
HI, I always get a grub prompt ,after I installed 2nd processor to the Server IBM x3610 At the grub prompt, I always have to issue below commands. Then, Server starts successfully. grub> root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub> kernel /vmlinuz-2.6.18-128.1.1.el5PAE [Linux-bzImage, setup=0x1e00, size=0x1bb714] grub> initrd
2007 Aug 10
1
TRANSEPARENT PROXY WITH SQUID 2.6
Hi, I am running squid as a TRANSEPARENT PROXY WITH SQUID 2.5 on CENTOS 4.5. Pls see below for squid.con file. http_port 3128 cache_mem 64 MB cache_dir ufs /var/spool/squid 100 16 256 cache_access_log /var/log/squid/access.log cache_log /var/log/squid/cache.log cache_store_log /var/log/squid/store.log # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS # Example rule
2013 Jul 21
8
When no MTA is installed, How to send an email with a cronjob?
Hi, When no MTA is installed, How to send an email with a cronjob? I have below entrty in my cronjob? my /etc/cron.d/backup file looks like this. MAILTO=myemail at example.com 15 11 * * * root /root/scripts/backup.sh Can I send this email via SMTP server? Hope to hear from you. -- Thank you Indunil Jayasooriya http://www.theravadanet.net/