CentOS 5 :: Squid 3.0 Error:(99) Cannot Assign Requested Address?

Aug 13, 2009

I 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]....

View 2 Replies


ADVERTISEMENT

Fedora :: Error: Cannot Assign Requested Address

Jun 7, 2010

Every time I upgrade my system I run a post install script. This script made some harm to the network start that prevents sshd from starting, but I was unable to detect the problem. In my boot.log I found this:

[...]
Starting NetworkManager daemon: [ OK ]
Starting Avahi daemon... Jun 2 14:58:48 Antares kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready

[code]...

So there is a "bind to port 22 failed" probably caused by "eth0: link is not ready", but after the sshd init script fails the eth0 is ready...

View 9 Replies View Related

Networking :: Error: "bind: Cannot Assign Requested Address"

Jun 18, 2010

I have a small cluster (OSCAR, Fedora 8) and I was able to run some application software on it. Then lightning struck very close to the building. Fortunately I had unplugged all the power cables (because the cluster has not yet been moved to where the power lines are protected), but it seems that the institution didn't have any protection on their LAN cables, and so the whole building's public network cards are damaged. A costly lesson.

Anyway, when I tried to run the application software in parallel across the cluster (using the private network which is unscathed) I get the error message given in the subject line. I contacted the application software's help department as I thought I had perhaps forgotten to set something, but according to them it is a normal network problem.

Quote:

Check the /etc/hosts file and make sure that the nodes all have a single definition and you don't have lines like

127.0.0.1 localhost normnode3

and that normnode3 has the same address both on the master and on the node. try ping normnode3 from the master and see what address comes back 64 bytes from 164.190.57.105: icmp_seq=1 ttl=64 time=0.306 ms or is it 127.0.0.1. Then do the reverse. Also double check that you can ssh between nodes without password but I would expect a different error then. The command "hostname" returns gnlserv01, which is the public NIC.

After the lightning I had trouble getting the nodes to communicate "automatically" with each other, but it can be cured by starting the xinetd service and disabling the firewall on the master node (it's not too dangerous since I don't have a public interface at present and since I'm sitting behind the institution's firewall as well.) Just by the way, I would think that ther should be a file somewhere in which I could specify those two commands to take place when the master node is switched on. Could you perhaps enlighten me as to where and how I could specify it?

I was wondering whether I would need to explicitly start a bind-type service or something like that? (Since I had to explicitly start xinetd) I'm rather clueless really. I googled around and found that there is a named service, so I tried to start it, but I don't think it's installed on the computer. Therefore, since I have managed to run the application software in parallel previously, the named service is probably not the problem. Here is a copy of how my /etc/hosts file looks like:

Code:

# Do not remove the following line, or various programs
# that require network functionality will fail.
# These entries are managed by SIS, please don't modify them.
127.0.0.1 localhost.localdomain localhost

[code]........

View 3 Replies View Related

Ubuntu Servers :: Apache 2 (99)Cannot Assign Requested Address?

Mar 20, 2010

my Apache2 was running fine for a while. Bur yeserday when I tried to start it again after a couple of weeks of vacation, I got the message:

* Starting web server apache2 [Sat Mar 20 10:48:12 2010] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.

[code]....

View 7 Replies View Related

Ubuntu Networking :: Samba With Bridge Interface / Cannot Assign Requested Address?

Sep 17, 2010

I have two network interfaces in my pc eth0 and wlan0 and a virtual one br0.

router <= eth0 (0.0.0.0) => br0 (192.168.1.10) <= wlan0 (0.0.0.0) => other pc.

On startup of my pc (ubuntu 10.04 server x64), samba bind itself only to loopback network interface, as i can see when i do netstat -an , preventing me to enter in my shares from a remote pc.

Here is my configuration regarding samba network:

Code:
interfaces = 127.0.0.0/8 192.168.1.0/24
bind interfaces only = yes
and my /etc/network/interface
Code:
# The loopback network interface
auto lo
iface lo inet loopback
code....

Any idea fo speed up my bridge configuration or to force samba to wait unitl the bridge is ready?

View 1 Replies View Related

Server :: Squid Proxy Error - The Requested URL Could Not Be Retrieved

Mar 7, 2010

today there was problem with isp but we fix it now other machine run internet fine but when we run through squid proxy machine it give this message to all users. what fields column values config i should check it. i also reset the cache make empty folder. restart machine also service clear the logs . it is on centos 5.4

see below message

ERROR: The requested URL could not be retrieved While trying to retrieve the URL: [URL] The following error was encountered: Read Error

The system returned:

(104) Connection reset by peerAn error condition occurred while reading data from the network. Please retry your request. Your cache administrator is root.

View 1 Replies View Related

Server :: CentOS 5.3 - Assign IP Address To Printer

Jan 28, 2011

My server is Linux (centos 5.3). In Server System Dhcp server is running, so it assign ip address to client windows .....
1. I want to assign ip address to Printer (printer Hp laser 3055 )
2. How do I configure cups (Network Printer) in linux server
3. How to configure printer in windows client....
How to do this.

View 1 Replies View Related

CentOS 5 Server :: Trying To Assign Static IP Address

May 1, 2010

i am trying to assign a Static IP address and for the life of my i cannot get it to work Can someone explain to me the easiest way to do it and if i restart the server it won't get lost either.

View 1 Replies View Related

CentOS 5 Server :: Centos And Xen: Lan Error - Vif0.0: Received Packet With Own Address The Source Address

Jun 18, 2010

I installed the Centos 5.5 and after the Xen. After I put a virtual machine named VM01.Initially it worked properly, I tried everything and it worked.When rebooted, I had problems with the network.I have two network cards eth0 and eth1, but eth1 does not have any ip and I use only eth0.The error that appears is:

vif0.0: received packet with own address the source address

View 3 Replies View Related

CentOS 5 :: Error: Requested Datatype Primary Not Available

Aug 2, 2009

I get this error:

Error: requested datatype primary not available

# rpm -q centos-release
centos-release-5-3.el5.centos.1

None of the following actions fixed the error.

# yum clean all
# rm -f /var/lib/rpm/__db*
# rpm --rebuilddb

[Code]....

View 5 Replies View Related

Networking :: Program To Assign Globa LIPv6 Address And Bind() To The Previously Assigned Address?

Apr 24, 2010

Consider the following program:

Code:
#include <stdio.h>
#include <stdint.h>

[code]...

View 2 Replies View Related

Fedora Networking :: Ftp Connecting - Error "The Requested Name Is Valid, But No Data Of The Requested Type Was Found"

Sep 30, 2009

i used my windows box to connect to ftp(fed box) and i keep getting an error saying "The requested name is valid, but no data of the requested type was found." does anyone know why i cant connect?

View 1 Replies View Related

Networking :: Assign A Address To Ethernet Address?

May 29, 2011

how to assign a address to my ethernet card all the options available

View 1 Replies View Related

Server :: Binding Of IP Address To Its Mac Address In Squid Proxy?

Jun 3, 2009

I want to know how to bind Ip addresses to its mac addresses in Squid Proxy

View 5 Replies View Related

Server :: Bind IP Address With MAC Address In Squid 3?

Jan 13, 2010

i have followed web site [URL] for MAC to IP bind but it dont work on my system

Code:

acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8

[code].....

View 3 Replies View Related

General :: How To Assign IP Address

May 14, 2010

I have a fresh installed redhat 9 with 1 network card attached may I know what command will I type to assign 10.0.0.1 on the network card?

and also when I type hostname it always reply localhost.localdomain

how can I assign a hostname

View 4 Replies View Related

Ubuntu :: Assign A Static Ip Address?

Jun 13, 2010

I want to assign a static ip address, my network/interfaces files shows

Code:
auto lo
iface lo inet loopback

am I correct to add

Code:
iface eth0 inet static
address 10.42.43.10
netmask 255.255.252.0
gateway 10.42.43.1

or is there more I need?

View 4 Replies View Related

Networking :: How To Assign IP Address To EC2 Cloud

Nov 15, 2010

I have set up a cloud (Ubuntu) environment in my test lad and it's working fine I am confused setting up the public IP in the production environment. The cloud instance will get only a Internal IP address ( Private) we cannot bind the Public Ip to the cloud instance as it uses Elastic IP, so I am confused how can I set up this if I have about 250 Public Ip to 250 cloud instance. How will I map this 250 Public IP with the 250 internal IPs is there any hardware device.

View 3 Replies View Related

Fedora Servers :: Cannot Assign IP Address To Eth0

Feb 17, 2009

Just Installed Fedora 10 on Dell PowerEdge 2950. Installation went fine. Problem is I cannot Assign a Ip address to eth0. Service "NetworkManager " dies on its own "ifconfig eth0 192168.0.8/24" works though.

View 6 Replies View Related

Networking :: Assign Own IP Address On Ubuntu Desktop?

Jan 20, 2010

I am a certified newbie into linux. I am using now ubuntu 9.04. Now here is my question. Is it possible to assign your own IP address on your ubuntu desktop, I mean a fixed IP address? Because everytime I start my computer, my internet service provider will automatically assigned a NEW IP address to my computer, but when I'm on windows the ip address is fixed.

I've installed and configured lampp and joomla. I am trying to learn how to use the joomla under ubuntu using only my computer as my local host. But when I restart my computer, the IP Address that is assigned is different to what I used when I installed joomla so I cant access my website even if I am using the same computer when I installed it. Is it possible to assign a fixed IP Address to my computer under ubuntu.

View 7 Replies View Related

Networking :: Assign An Alternate Ip Address On Same Lan Card

Jul 10, 2010

I am running Linux AS4 Update version. I have one lan card and the primary IP-Address is 192.168.0.215 & subnet is 255.255.255.0

Now I want to assign an alternative IP-Address on the same card & the IP I want to assign is 192.168.15.215.

I run the following command from root user:

Now when I ping this IP 192.168.15.215 From Windows machine then its reply me & properly reply comming from this Ip.

But when I want to access this Ip by \192.168.15.215 from run prompt then it gave me error. The specified network name is no longer available..

I already restart the machine & network service but the problem remains same.

View 2 Replies View Related

Networking :: Assign A Private IP Address To The Same Interface?

May 15, 2011

I recently just upgraded from humble Linux user to confused Linux admin of my own virtual Linux server. When I issue the ifconfig command I get following output.

Code:

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:1.2.3.4 P-t-P:1.2.3.4 Bcast:1.2.3.4 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

The WAN IP of the interface is not really 1.2.3.4 I just changed that IP for security reasons.What I am trying to figure out, is it possible to assign a private IP address to the same interface or can I only have one IP address per interface. I understand I have a mask of /32 so I am not going to be able to subnet the address to create any more addresses, so I assume I am stuck with the WAN IP (public IP) that I have, and just need to deal with it.

The reason I ask this is because I have been reading through several DNS/BIND tutorials/walk-throughs, and a lot of them specify setting up a intranet access with 192.168.1.1 address for the local DNS server, but since I am connecting to the sever via SSH I figure I do not need a private IP address.

View 5 Replies View Related

General :: Assign IP Address To 2nd Ethernet Card?

Jun 22, 2010

In my red hat Linux machine there was a Lan card using eth0. IP is asign to that network card and it is functioning properly. I add another ethernet card in my linux machineit was detacted and when i use the commandQuote:[root@localhost root] # ifconfig -ait show me both eth0 and eth1 lan cards.I can see Ip address in my eth1 ethernet card but When I enter into

Code:
[root@localhost root] # cd /etc/sysconfig/network-scripts
and i use ls command it only show me the file ifcfg-eth1 and with

[code]...

View 8 Replies View Related

General :: Assign IP Address Using Command Line?

Mar 26, 2010

I am using internet in my home PC using Red Hat 9. To assign static IP to my linux machine I use "System Settings....> Network" and then double click on "eth0" to assign the static IP.Well these all settings by using GUI interface.Kindly guide me that if I use only command line interface "runlevel 1" then in that case which file should i edit and assign my static IP,Subnet Mask,Default Gateway DNS settings.2- 2nd thing is,is there any way that I may open web broswer in command line? or the administrator should only use internet on Run Level 5 ?

View 14 Replies View Related

Server :: Assign An Alternate Ip Address On Same Lan Card

Jul 10, 2010

I am running Linux AS4 Update version. I have one lan card and the primary IP-Address is 192.168.0.215 & subnet is 255.255.255.0

Now I want to assign an alternative IP-Address on the same card & the IP I want to assign is 192.168.15.215.

I run the following command from root user ifconfig eth0:1 192.168.15.215 netmask 255.255.255.0 up

Now when I ping this IP 192.168.15.215 From Windows machine then its reply me & properly reply comming from this Ip.

But when I want to access this Ip by \192.168.15.215 from run prompt then it gave me error.

The specified network name is no longer available..

View 5 Replies View Related

Programming :: Assign Absolute Address To Pointer

Dec 20, 2010

I want to assign an address location to a pointer and wanted to display the value at that memory location.I wrote a small program for this and it is like this : (i am using gcc 4.4 compiler)

# include "stdio.h"
int main()
{
unsigned int *a;
a=(unsigned int *)0x3f8;
printf("%u",*a);
return 0;
}

But it is giving Segmentation fault

View 14 Replies View Related

CentOS 5 Server :: Squid - Error While Loading Shared Libraries

Jan 23, 2011

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.

View 12 Replies View Related

Fedora Networking :: Get The Router To Assign An IP Address Through DHCP?

Jan 24, 2009

I noticed that my internet connection wasn't automatically brought up each time I logged into Fedora so I opened the system-config-network tool and edited my network adapter by checking the box marked "automatically start at boot/login." To my surprise, the connection went down and upon trying to click on the device to let the manager bring up the connection the greyed-out phrase "device not managed" appeared underneath the device name and wouldn't allow me to connect.

Even when I used ifconfig/dhclient to get the connection up nothing happened. I could get the router to assign an IP address through DHCP, pinged a few sites to make sure it was legit, but still couldn't use firefox to browse anything. Seems as if network manager GUI is conflicting with command line attempts to bring the network up. I'd like to permanently disable system-config-network if possible because it's acting screwy!

View 5 Replies View Related

Ubuntu Networking :: Unable To Get DHCP To Assign IP Address

Mar 22, 2010

I'm using Ubuntu 9.10, and I want DHCP to assign an IP address automatically. I can ping my router, and get a reply. I just have no idea how to do this.I'm trying to get my Ubuntu machine onto my Windows network.

View 9 Replies View Related

Networking :: DHCP To Assign Specific IP To A Particular MAC Address Of A Machine?

Feb 22, 2010

I want to setup 1Gbps our lab network and we purchased 'Buffulo Giga layer switch ' with 24ports. Is there a way to tell DHCP to assign specific IP to a particular MAC address of a machine ? We want to use DHCP and whatever the port we use ,it should have same IP ..

View 1 Replies View Related







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