Pages

Friday, December 14, 2012

Linux error "There are stopped jobs"

This error will come when you try to logout or exit from a terminal and there are some tasks which are running in background.  surendra@linuxnix.com:~$ ping linuxnix.com PING linuxnix.com (216.239.38.21) 56(84) bytes of data. 64 bytes from any-in-2615.1e100.net (216.239.38.21): icmp_req=1 ttl=50 time=61.3 ms 64 bytes from any-in-2615.1e100.net (216.239.38.21): icmp_req=2 ttl=50 time=63.2 ms ^Z [1]+  Stopped                 ping linuxnix.com surendra@linuxnix.com:~$ exit There are stopped...

Sunday, December 2, 2012

Solution of "No Route to Host error" Issue

No Route to Host error Linux solution Q. I am seeing an error when trying to connect to a server, but I am able to ping and see other ports open by using telnet command? Is there a solution to resolve this issue? First of all check what are open ports on that machine nmap server-ip Check if your service is running and showing in nmap output.Check if your service is running or not on tha If your port is not open check your iptables output. iptables -L This will show all the rules. You can flush the iptables if you are not much concern about...

Saturday, November 17, 2012

'main' not defined in your config (for this host).

This is the error you will see when configuring drbd(Distributed Replicated Block Device). This is caused when the main resource in not defined in any or .res files in /etc/drbd.d folder. So check you defined main as resource in the .res files or not. If its defined and you feel there is no config error, check if the host name is matching in the res file to the uname -n command uname -n if you see the difference between the names then change the config files according to the uname -n command output...

Sunday, October 14, 2012

WARNING: Re-reading the partition table failed with error 16: Device or resource busy

WARNING: Re-reading the partition table failed with error 16: Device or resource busy We will see this error from RHEL6 on words. This error is due to the partition table changes are not updated to kernel. When ever we change the partition table and try to save the table changes we get this error. Even you will get the following error as well The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) Syncing disks. when you see this error and executing partprobe command...

Wednesday, October 3, 2012

Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied

Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied This error will occurs if the user do not have permissions to connect to virt-manager or virtviewer tools. To resolve this issue execute below commands Step1: Conform if your root user account have permissions or not virsh -c qemu:///system list if you dont see any issue from root user, try to execute the same command with normal user where you want to start virt-viewer or virt-manager. If you see any issues such as "failed to connect socket" issue with normal...

(98)Address already in use: make_sock: could not bind to address 192.168.1.1:443 no listening sockets available

Solution for (98)Address already in use: make_sock error The error (98)Address already in use: make_sock: could not bind to address 192.16.1.1:443 no listening sockets available is commonly seen when we are starting a network related service such as Apache(httpd), DNS(bind) squid etc. When and Why this error occurs? This error occurs when service tried to bind that particular port to the IP address. In other words for example there is service ABC running on port 443 and you tried to start some other...

Tuesday, October 2, 2012

All about Linux and Open source errors with their solutions

The idea of this blog is simple. This is totally meant for the errors which are seen daily when we are configuring some servers, applications, tools etc. I felt there is no dedecated blog which deals only with errors related to Linux, Unix and open source tools which work on Linux/Unix based flavors. This site is for those people who are looking for the errors they are seeing on day to day activities. What you will see in this blog? All about errors and their solutions so that you no need to scratch your head on what went wrong in creating this...