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...
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
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
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.
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?
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?
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.
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!
I have installed Windows 7 followed by Fedora 11. Everytime I install Fedora 11 with Win 7, the first to boot, I get BOOTMGR missing. Later I used "df -h" command to see the disk file usage fdisk -l" to see the info regarding Disk Partitions. Went into the /boot/grub/menu.lst and modified the order. I set the partition where I find the bootmgr.exe.mui, there was another file named "memtest.exe.mui in the same file.
I navigated to the above said through Fedora 11. Located inside the Win 7 installed directory /boot/en-US/
When I changed the menu.lst file, I get a new error Error 12: Invalid device requested when I tried to boot Win 7. Does that mean that Fedora 11 GRUB is not getting the bootmgr.exe.mui since its 2 levels inside the boot directory ??
I'm trying to install Fedora 13 on my HP dv6 laptop and when I try to use the Use Free Space installation type, I receive a Partitioning Error: Could not allocate requested partitions - not enough free space on disks. Before I started the install, I used the Disk Management utility in Windows 7 to shrink the volume of the C: drive down to 242 GB and leaving 210 GB Unallocated. Here is what the screen looks like when I select Create Custom Layout (also receive the not enough free space error):
I'm trying to install Fedora 3 Core on an old hard drive I had lying around. The problem I'm having is that when I go to manually repartition the hard drive with Disk Druid I get this error: Could not allocate requested partitions: Partitioninf Failed: Could not allocate partitions as primary partitions. I can't view the contents of the hard drive to delete stuff.
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.
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.
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.
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
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 ?
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.
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; }
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.
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.
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 ..
I have installed Ubuntu 8.10 Server Edition on Virtual Box. When I start the virtual machine I do not have connection to my home network. The router I have does not assign any IP address to this machine. Now I have some questions which I am finding hard to find answers for over the internet and other forums.
If I do have a network interface (I checked this using ifconfig -a) then is there a command to actually make the operating system connect to that network (something like repair on windows)?? Also what is the difference between a network interface with alias eth0 and eth5? I know that when it was eth0 the virtual machine used to connect to the network automatically. Now that it is eth5 it does not! I do not know however if this is related.
I was trying to assign the static IP address of my internet connection to my home server and managed to make a mess of it. I've configured the router to assign it the address every time but when I rebooted everything the server is cut off from the network completely (rather unfortunate with a headless server...). The only file I've edited on the server when trying to do this is /etc/network/interfaces, everything else network related is default. My intention in editing the file was to make the server accept the IP address assigned by the router since the router was already configured to assign the right one. I put in
Code: inet dhcp in the /etc/network/interfaces file, is that wrong? What is that line supposed to be?
I have an Ubuntu 10.04 server/router with IPv6 internet connectivity (I have an internet routable /64 subnet). Since I have this abundance of IPv6 addresses I wanted to try and assign v6 addresses to specific users on the local system. I've been looking at ip6tables with packet mangling but I don't seem to be able to find out how to do this or if this is even possible.
Current configuration: eth0: Local network, has the /64 IPv6 public range active and the IPv4 LAN range. tun0: 6in4 tunnel with a ISP assigned public v6 address. eth1: Standard IPv4 internet connection.
All users on my system use the v6 address configured on tun0. I want to force them to use the /64 range which is configured on eth0. If I can force users to use a specific v6 address, I'll configure more then one v6 address on this interface based on the users userID on the system.