CentOS 5 :: Schedule A Squid Restart At 13:10?
Apr 24, 2009How do I schedule a Squid restart on CENTOS for example at 13:10
View 2 RepliesHow do I schedule a Squid restart on CENTOS for example at 13:10
View 2 RepliesDoes anyone know how to schedule a Fedora box to automaticly shutdown and then resume later at a specific time?Shutting down is easy, but I have found nothing about the restarting part.
View 14 Replies View RelatedI 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 RelatedI am hosting a few customer servers now, all of which are virtual machines running on a CENTOS 5.x host. Each Centos host has a couple of extra drives. When I formatted them ext3 they automatically had a schedule of a full forced fsck after 6 months. Do I really need to do that check regularly? It results in a fairly large outage since my disks are each 1TB and there are up to three extra drives on each server. I try to reboot these servers every 6 months but this part adds a large amount of time to a routine reboot.
View 5 Replies View RelatedHow to install squid 3.1 on centos 5? I found something that convinces me. default "yum install" I installed the version 2.6 of squid. What happens?
View 4 Replies View Relatedset up a squid on our network, our dhcp server and dns are built in windows os. integrate if i will be built a squid server in centos 5.5.
View 2 Replies View RelatedLooking for some help getting Squid installed on CentOS 5.3 and using WCCP with a Cisco 2811 router. I think I have the port translation correct and have Squid configured for WCCP. What I can't figure out is the GRE part. Does anyone have the steps needed to configure GRE on CentOS?
View 1 Replies View RelatedI try to find what users visiting in terms of websites and the stations.webalizer do nice graphs.but, Squid log file only keep IP address with websites.I need squid to keep IP address along with host name and username of the person.how do I do it ?
I am thinking update squid to Dans-guardian.
Does Dans-guardian keep all username and host name ?
I need information to configure squid proxy server in centos 5.3 i need that urgent.
View 1 Replies View RelatedI need to install web proxy on my VPS, means, i'll get ip:port (without login and password) to add on firefox and to connect throught that Proxy ....
I have successfully installed Squid (with the command line : yum install squid)
Now, i need to know how to change squid.conf to be able to use that ip:port on firefox .
My squid version is 2.6.STABLE21 installed via yum on CentOS release 5.4 (Final) 2.6.18-164.el5 x86_64. My configuration is as follows (truncated)
acl hrusers proxy_auth -i "/etc/squid/access/hr.dept"
acl hrsites url_regex -i "/etc/squid/access/hrsites"
acl r-sites url_regex -i "/etc/squid/access/restricted-sites"
acl stream req_mime_type -i "/etc/squid/access/stream"
[Code]...
But even then streaming is not getting blocked.
I have finished reconfiguring my 1st PC Centos 5.5 with Squid and Dansguarian. Works fine the configuration is basic.lets name it to 1st PCeth0 - modem ip (public)eth1 - 172.16.1.1 (LAN)Then I've decided to change and add another Centos 5.5 for Firewall Service that is directly connected to the modem and then shares internet connection and some ports to 1st PC.
lets name it to 2nd PC, it also has two NICSeth0 - modem ip (public)eth1 - 10.0.0.1 (ip to connect to the 1st pc with squid services)so I changed the ip of the 1st PC with theseeth0 - 10.0.0.2eth1 - 172.16.1.1 (LAN)and connects the eth0 (10.0.0.2) of the 1st PC to the eth2 (10.0.0.1) of the 2nd PCthen I've tried browsing on the network but it does not work...is there a simple iptables command for the 1st PC and 2nd PC?
2nd PC (firewall to be)
#vi /home/user1/fw.sh
#!/bin/sh
[code]....
i installed squid 2.6 proxy server on centos 5.4,squid performs services very nice but after reboot the system.it shows a just black screen written with " GRUB_ " and held the boot process,tell me what should i do ?
View 1 Replies View Relatedhow do i configure squid proxy server in centos 5.5 final text mode only to block facebook from 9am to 4pm
View 3 Replies View Relatedi have a proxy server up and running but one server using port 8181 cannot be accessed.how i can open that port!...i tried adding it in the safe ports but it still isn't working...
View 1 Replies View RelatedI am using centos 5 for squid. I have enabled delay pools in it. The scenario is I have two clients machines have IP address 192.168.1.200 (The Manager) and 192.168.1.201 (Manager Assistant). The issue is I assign 512kbps to the Manager IP address and 128 to his assistant. When either of them download it start from 60 KB/Sec they finally get 11 KB/Sec which is wrong. If I disable the assistant delay pools settings then the Manager get 60KB/Sec continuously. By enabling both squid does not show any error.
Following is my line of code taken from squid.conf
Code:
acl our_512kbps src "/usr/local/squid/etc/our_512kbps"
acl our_128kbps src "/usr/local/squid/etc/our_128kbps"
http_access allow our_512kbps
http_access allow our_128kbps
http_access deny all
#Now Delay Pools
delay_pools 1
delay_class 1 1
delay_parameters 1 65536/65536 #512/8*1024=65536
delay_access 1 allow our_512kbps
delay_access 1 deny all
#Now delay class 2
delay_class 1 2
delay_parameters 1 65536/65536 16384/16384 #128/8*1024=16384
delay_access 1 allow our_128kbps
delay_access 1 deny all
I installed squid 2.7 and want to use squid_session external acl rule. But there is no squid_session in any dir, looked everywhere. On my Ubuntu box I also have squid 2.7 and there I have squid_session.
View 4 Replies View RelatedI have got squid 3.0 stable 13 installed on a new centos5 box .I have used it on other centos5 ones and it has worked really well.It didnt give any error messages during installation on this one until i used the proxies in the browser.I have used it on other centos5 ones and it has worked really well.But with this box I am getting this error in browser-The following error was encountered while trying to retrieve the URL:Yahoo!Socket FailureThe system returned: (99) Cannot assign requested addressSquid is unable to create a TCP socket, presumably due to excessive load. Please retry your request.I have tried many options for http_port but to no avail.I have never seen this error before with and am totally clueless
Excerpts from cache.log
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2009/08/13 05:57:17| Squid Cache (Version 3.0.STABLE10): Exiting normally.
[code]....
what i need, I got two servers for about 4000 users and 300 servers and well the guy never setup dns caching right, so im redoing it. Now my goals
1) DNS cache
2) Transparent Squid Cache only
3) Load Balance - at switchlevel
Upgraded Hardrives to SSD 2x32gb each server 4gb of ram 2x Dell poweredge 850's - p4 2.8 (single cores) So any advise , pointers , expeirnces and best ways to do this being both server will do both dns caching and squid! Also is bind9 the best for this?? i seen stuff about DNSmasq what performs better( i dont need DHCP)
I am not able to use outlook or any other email client on my computer(to access gmail account) I am also not able to forward port to my computer for a bit torrent client
I can access the internet using proxy settings
I have just installed CentOS 5 as a server with 2 NIC's for my home network.
My set up is something like this
adsl wireless router(static ip from ISP) - (192.168.0.1/24) Cent os server (10.1.1.1/8) - switch/hub - clients(windows XP/Vista,Linux)
the linux server acts as a Web Server,DHCP and Squid proxy server
Will installing an email server resolve my problem?
I just installed Webmin on this CentOS 5.5 client and would like to know if it's possible to remotely administer the Squid server. The one I'm using for webmin is different from the one where Squid proxy is running.
How do you set it up and where in Webmin?
I have installed squid using CentOS 5. The server is dedicated only for squid proxy server. I want to know how can I disable unwanted services which load at booting time. Like sendmail,samba,etc etc. These services take memory and are not in use. I does not know how can I make my server only for squid proxy service by removing unwanted services?
View 1 Replies View RelatedI am using Cent Os 5. I want to know that is there any way to check that how much size of squid cache directory is full? Normally when squid size will reach upto 2GB then I have to clean it.
# cache_dir ufs /var/spool/squid 2000 16 256
I assign 2000 MB to the cache size. One month have been pass while squid is running but i am unable to know how to check the current status of my squid cache size.
I'm using CentOS 5 on VMware workstation 7 for testing purposes. When I restart the VM it forgets all my preferences or other settings (keyboard(using azerty here), firefox bookmarks, even the desktop beackground) are reset. This happens with the root user and the default centos user. Is there something I'm looking over or is there something I can do about that problem?
View 5 Replies View RelatedI have install squid 2.6 in my cent os 5 system. The proxy server is working perfect using the following method.
Code:
[root@localhost squid-2.6.STATBLE22]# ./configure@--prefix=/usr/local/squid
I want to enable delay pools feature in it.For that purpose I do as following
Code:
[root@localhost squid-2.6.STATBLE22]# ./configure --enable-delay-pools && "configuration successful"
The question is should I configure it as I do it for squid
./configure --enable-delay-pools--prefix=/usr/local/squid
To enable delay pools may I need the correction in the steps which I have taken.
[root@localhost squid-2.6.STATBLE22]#make
[root@localhost squid-2.6.STATBLE22]# make install
In short to enable delay pools may I just use
# ./configure --enable-delay-pools
then
#make
#make install
today i encountered centos 5.5 final server with a squid configured to block facebook from 9am to 4pm. i have tried to follow up the steps but am stack where time restriction is done and there is no proxy configuration done in the browser. the ip address of the server is being used as the default gateway.
View 2 Replies View RelatedHere is my network diagram ADSL router----firewall--LAN inside the LAN my squid is running. currently all users are working with out proxy server. I installed the proxy server inside the LAN. now all users can access web browsing ,but no other ports are working , like POP3, smtp, then some other TCP port based applications are not working. My firewall ( juniper) is created and tested the rules to allow the POP3 and smtp and selected poprts which is working , but I redirected through squid proxy server the clients are not able to access. where do I have to create rules?
** in squid proxy( i already did in safe port list stillnot working)
** IP tables?
I just want to place upload/download limit to each ip address ( say 20MB per day for each ip or specific ip) using squid proxy i tried through delay pool but it control only download/upload speed not place any download/upload quota restriction. following are my codes I have 1Mbps line
delay_pools 2
delay_class 1 2
# here 700kbps(87Kbytes) Net-Total usage limit, with 50Kbytes per user
[code]...
I also used
"reply_body_max_size" parameter to control upload limit.
But
"request_body_max_size" only restrict download based on size.
how to setup quota ( download quota per day per ip)
I installed squid non the CentOS 5 server. When I try to start squid I am receiving following error:
# service squid start
init_cache_dir /var/spool/squid... Starting squid: [FAILED]
The logs indicate the following:
$ sudo tail /var/log/squid/squid.out
squid: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: Permission denied .....
Although, all the libraries which are shown as missing are present, but still I am seeing the following.
$ ldd /usr/sbin/squid
linux-vdso.so.1 => (0x00007fffb95ff000)
libcrypt.so.1 => not found
libssl.so.6 => not found
libcrypto.so.6 => not found
libdl.so.2 => not found
libz.so.1 => not found
librt.so.1 => not found
libpthread.so.0 => not found
libm.so.6 => not found
libnsl.so.1 => not found
libc.so.6 => not found
I have tried setting the environment variable LD_LIBRARY_PATH
$ echo $LD_LIBRARY_PATH
/lib64:/usr/lib64:/lib:/usr/lib
But still no use.
We have a squid-proxy configured with 1 delay pool to limit the bandwith to 6M. I have to create a kind of exception for a specific
remote host for which we want to reserve 1M which is not included within the 6M. How should I do that? Here is our actual configuration of the delay pools
acl all_network src 0.0.0.0/0.0.0.0
delay_pools 1
delay_class 1 1
[code]....