General :: Ping In A Script Reporting An Error?

Aug 7, 2010

I am trying to run a simple piece of code but is failing on the count of the ping. I want it to report only 1 ping to my remote server and if no ping then error with a message or else the rest of the code will proceed.

Its basically telling me that my rmt server is alive and ready to take connections etc etc.

Heres the code:

Quote:

DATE=`date +%Y/%m/%d`
TIME=`date |awk '{print $4}'`
RMT_HOST=Zeus
COUNT=1

[Code]....

It's complaining about the count number I think.. but for the life of me cannot work out why.

View 16 Replies


ADVERTISEMENT

General :: Ping - Gives Unknown Host Error - Ping To LAN Address Works Fine

May 13, 2011

Even ping google's ip address doesn't work. unknown host error using backtrack4 able to browse net with these settings.

My network settings:

What's the problem with these settings...

View 10 Replies View Related

General :: Crontab Mysqldump Error Mail / Reporting That Backup Is Not Working?

Jan 22, 2010

if I run mysqldump from crontab and error occurs, I would like to have email send to me (reporting that backup is not working).

View 2 Replies View Related

Networking :: Cannot Ping With Command - Ping IP - Address But Can Ping With - Ping IP -I Eth0

Jul 15, 2011

I am using an virtual machine. where I need to ping from one machine to another. earlier I was able to ping. But after going to google.com once, I cannot ping back to this machine.

But if I gave ping -I eth1 <IP> then I can ping.

I cannot install any package, so tell me solution which includes not installing any package.

View 2 Replies View Related

Ubuntu Servers :: PHP Error Reporting Doesn't Work?

Apr 5, 2011

I am developing/testing a PHP app on my netbook. For some reason apache/php are returning nothing but a "500 internal server error" response when there is a problem with my php script. For example, if there is a semicolon or closing brace missing, it should cause the script to die with a hint about which line caused the script to stop working. Instead it displays nothing but a "500 internal server error" message.

View 5 Replies View Related

Fedora Servers :: Apache Updated - Reporting 2.2.0 On Any Error Page

Sep 1, 2009

But after it updated and I restarted the service, it's reporting 2.2.0 on any error page. Yet through yum it's reporting 2.2.13-1. Is that normal? I've only ever used 2.2.x, starting with 2.2.6ish.

View 3 Replies View Related

General :: Error An Not Ping Vhosts Server From My Local Machine

Mar 30, 2010

I just configured vhost server in my linux server. When trying to access the open source (SugarCRM) application running on it, its giving me the error message that i am not connected to internet. I have restarted apache by no luck.

View 1 Replies View Related

Server :: Df Reporting 100% But Du Reporting 20%?

Apr 15, 2011

Today morning I logged on to one of our servers (through ssh -X) to perform a routine maintenance. When I tried to open a GUI application, it failed to connect to the X server of the workstation. Eventually I ended up issuing the command

Code:

df -h /

and shockingly it showed that / is 100% used. I checked / using

Code:

du --max-depth=1 -xh /

to check the sizes of the individual directories, which showed that only about 18% of the / is used and that confused me badly. There was no quick solutions when I googled around; but luckily I found the following link which nicely explained the issue I had:

[URL]


All I did was found out the services responsible for those unreleased files (using lsof +L1) and restarted them. That is it. Now df reports only 18% of the disk is used and all my X things started working again, thanks to Walker.

View 1 Replies View Related

General :: Df Not Reporting The Correct Use%?

Oct 15, 2009

I am attempting to install a small rpm that will give command line access to an integrated array controller on my system so that I can add more local disk. When attempting to apply the package I am receiving an error indicating that there is not enough space available on the filesystem. I have expanded the filesystem several times today in order to try and resolve this issue and also moved ~1.5G of files to another filesystem but I am still receiving the error.

Code:

[root@frenzy1a.mgmt.qa:~]# rpm -ivh /tmp/hpacucli-8.35-7.0.noarch.rpm
Preparing... ########################################### [100%]
installing package hpacucli-8.35-7.0.i386 needs 18MB on the /opt filesystem
[root@frenzy1a.mgmt.qa:~]#

[code]....

I have rebooted the server a couple of times and ran fsck as well.

View 7 Replies View Related

General :: Why Df -h Is Reporting That /var Partition Full

Aug 20, 2009

df -h reports that my /var partition is full..
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 2.0G 1.4G 454M 76% /
/dev/sda1 99M 16M 79M 17% /boot
/dev/sda2 9.7G 2.2G 7.1G 24% /usr
/dev/sda3 7.7G 7.4G 0 100% /var
/dev/sda7 989M 17M 922M 2% /tmp
/dev/sda8 52G 9.0G 40G 19% /home
none 493M 0 493M 0% /dev/shm
[Code]....

Does anyone know of anything that might be on the /var partition and taking up space that I can't see, or just why df -h is reporting that it's full?

View 7 Replies View Related

General :: 'who' Command Incorrectly Reporting?

Nov 4, 2010

SERVER INFO:[root@bml pts]# uname -aLinux bml.xxx.co.uk 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i686 unknownCan someone explain exactly how 'who' builds its user list?I have a problem where it's listing a user on my server, but I can not kill them.

# [root@bml pts]# who | sort
...
simons pts/52 Nov 2 12:33 (derby1)

[code]....

View 5 Replies View Related

Ubuntu :: Screen Popped Up A Couple Windows Reporting Error "Could Not Update ICEAuthority File" While Booting Up

May 4, 2010

note: acct and acct2 are not the actual account names. I spent a long time figuring out this ubuntu problem on my own and decided to share it with the ubuntu users out there. I will give a summary of what had happened and what I had done to resolve it. I did a lot of complicated account password changing as well. I wanted to get rid of the login keyring thing.

I had tried messing around with some of ubuntu's settings when I first installed 10.04 Lucid Lynx. I changed settings in: System>>Administration>>Users and Groups, and System>>Administration>>Login Screen. I got terrible results, but ended up solving it on my own. The first account I had was named "acct". I had an issue with the keyring always needing to be unlocked, meaning I had to type in a password twice. I did not like this. So I decided, why not delete this "acct" account and make a new one that I can use?

I made a second user account called "acct2". I messed around a lot with the settings, just to see what would happen and what would work. I tried to cut out some of the files that were in the other account, the account "acct", while I was in user account "acct2". I could not because I did not have the rights to do it.

I realized I had to change those files to shared. I logged back into the other account "acct", which was an administrator account. I made them all shared files. Next, I went back into acct2, then cut all the files out of acct that I needed, then I deleted the home folder for acct. This is probably where the problems all started. I always start with the purple screen and have no choice to log into my usable acct2 account and have to wait 7 minutes to get that option to do so. When I rebooted, the screen popped up a couple windows reporting errors to me:

[Code]...

View 1 Replies View Related

General :: OpenSSH Server Reporting Wrong Version?

Aug 3, 2009

My Fedora Core 8 server came with OpenSSH Server 4.7p1 installed. I could not find a YUM package or RPM for 5.2p1, so I installed it manually and rebooted. Now if I do a version check with "sshd -v", it reports it's version as "OpenSSH_5.2p1", but if I connect with Putty, it reports "SSH-2.0-OpenSSH_4.7". Do I have two versions of OpenSSH running or what's going on?

View 2 Replies View Related

OpenSUSE Network :: Nmblookup Resolves But Cannot Ping Netbios Names Or Ping FQDN

Feb 23, 2011

This applies to my 2 opensuse PC's, my Windows PC is fine.I can ping a hostname, say "PC1" but I can not ping PC1.domain.local (even the host PC can not ping it's own FQDN). When I ping just the hostname the ping stats even list the FQDN.Onto the next issue, since all my PC's, have the domain prefix domain.local, my Synology can not. I can ping it's IP and that is it. I can resolve it's name with nmblookup just fine tho and that is what is killing me. How is this not resolving.Even weirder, I can browse to "Synology" in Network Servers under places on the slab.

View 3 Replies View Related

Networking :: Debian 5 - After SysCp Installation And Configure Ping Valure - Ping - Unknown Host

Jul 9, 2010

Ive got a problem on my server ....installed Debian 5 , Webmin and than syscp settung up syscp ready ....

I try to ping "localhost" ansver ping: unknown host
I try to ping "localhost." there is a host with IP 127.0.0.1

I need it to change it in "localhost"

Is that the bind9 maybe?

View 1 Replies View Related

Ubuntu Networking :: Unable To Ping Over Wireless But Can Ping Over Wired?

Jul 24, 2010

I have two machines on this network, one running Ubuntu and the other running Fedora.

When I'm using the Wireless network on the Ubuntu machine, I cannot ping the Fedora machine. Everything else works. I can browse the net fine.

If I switch over to the Wired Network then I can ping the other machine.

I don't understand why ping doesn't work only over the Wireless. I can ping the router so I'm guessing it's getting blocked by the router but I didn't block ICMP traffic.

I tried asking on IRC and they ran out of ideas too to find out where the problem is.

View 7 Replies View Related

Debian Configuration :: Can Ping Public Ip But Cannot Ping Domain Name

Apr 6, 2011

I have a debian server installed with a static ip. Now i am able to ping my ip, but when i try to configure a domain name with the nameserver as my ip, i am not able to ping the domain name

eg:

View 7 Replies View Related

Ubuntu Servers :: Ip Ping Is Continuous, Dns Ping Is Discontinuous?

Aug 5, 2010

When i ping www.google.es, i get something like:Quote:

ping www.google.es
(wait 20 seconds)
64 bytes from 66.249.92.104: icmp_seq=2 ttl:53 time=80 ms

[code].....

View 2 Replies View Related

Networking :: BIND9 SLOW Ping When Ping By Hostname

Feb 1, 2011

I just installed my first EVER bind DNS server. I am running bind9 on Ubuntu 10.04. Everything seems to be working great except one thing: If I ping a host that I have set up in bind by its HOSTNAME the pings take 5-6 seconds to reply/print to the screen between each echo response. If I ping by the host's IP address, they echo back very quickly.

I have read that IPv6 can cause this, but I have disabled it in /etc/sysctl.conf and the problem still exists.

I know everyone says this can't be a DNS issue, but this never was an issue with dnsmasq (which i was using prior), and it doesn't make sense that the ping are ONLY slow when pinging by hostname and not IP.

Configs below:

Ping by hostname - there is a 5-6 second delay between each one of the responses:

Code:

Ping by IP - the responses come VERY quickly one after the other:

Code:

/etc/resolv.conf:

Code:

Code:

rev.0.168.192.in-addr.arpa:

Code:

View 10 Replies View Related

Networking :: Can't Ping Past Gateway / Can Ping Server From Outside

Apr 29, 2010

So, I have an Virtual Machine running CentOS 5.4. It sits behind a hardware firewall which also does NAT'ing. I've set up plenty of these, so I know for sure the firewall and NAT rules are set up correctly. From the host, I can ping anything in my subnet and the gateway. But I can't ping anything else beyond the gateway. I can perform DNS queries and when I try to ping, it finds the appropriate IP address.But from the outside, I can ping the PUBLIC address (It's a 1 public to 1 private address NAT, not 1 public to multiple private). I've tried it with IPTABLES on and off, with no change.

View 11 Replies View Related

Networking :: Ping Connection To Router OK But No Ping Between Boxes In LAN

May 26, 2010

I have Mandriva One 2009.0 (192.168.1.100) on one box and Mandriva Free 2010.0 (192.168.1.118) on the other. I can ping router (192.168.1.1) from both of these boxes but I can't ping one box to the other and the other way around. What's going on?.

Do I have to change some settings in router?. Or is it firewall issue on those two machines?. Both of these boxes are connected by cable. Symbol of the router: TL-WR340G.

View 2 Replies View Related

Server :: Error: No Route To Host" Both Systems Ping Each Other And Firewall Is Also Disabled

Feb 2, 2010

using redhat on server machine and open suse on client machine.i have installed nfs server and and it is running properly but when i want to mount shares from my client machine it gives the following.

error. "mount.nfs: mount to NFS server '10.3.31.146:/share' failed: System Error: No route to host" both systems ping each other and firewall is also disabled. another problem is when i remotely access from my server machine to client machine it gives the following error ssh:connect to host 10.3.31.147 port 22:connection refused what can be the problem?

View 2 Replies View Related

Ubuntu Networking :: Install NIC Wired RC-400 - Error Comes Out - Unable To Access The Internet Or Ping Any IP Address?

May 5, 2010

we are trying to install this NIC Rosewill RC-400 Chipset RTL8169S-32 in Ubuntu 9.04 we downloaded the drivers from Rosewill website (For kernel 2.4.x and 2.6.x V 3.1) but when we follow the instruction in the readme file and do make clean modules and error comes out

Code:
make -C src/ clean
make[1]: Entering directory `/home/trinity/Desktop/r8169-6.006.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers rset[code]...

So I went do realteak downloaded latest available drivers that seems to be were release yesterday did same command and same error So I made only make and it went fine did then make clean modules and went fine so made make install, depmod -a and modprobe r8169 verify int was up and getting correct ip from router but I'm not able to access the internet or ping any IP address

Code:
xxx@xxx-desktop:~$ uname -a
Linux xxx-desktop 2.6.28-18-generic #60-Ubuntu SMP Fri Mar 12 04:40:52 UTC 2010 i686 GNU/Linux
xxx@xxx-desktop:~$

View 9 Replies View Related

SUSE :: ADSL Router (Ping - Kinternet) - Error: Cannot Read Real Interface For Eth-bus-pci-0000:04:00.0

Jul 19, 2010

recently I have installed a suse 10 sp2 on my computer. I have a big problem about connecting to my ADSL Router. The problem is that I can't ping the router at all and the Kinternet log is prompted that

status is: disconnected
trying to connect to smpppd
connect to smpppd
Status is: disconnected
error: cannot read real interface for eth-bus-pci-0000:04:00.0

I can easily open the web page of my router with windows OS but in the suse I can not do that with firefox.

View 6 Replies View Related

Fedora Networking :: Xp Can Ping 10 - But Can't Ping Xp

May 21, 2009

I have connected xp and fedora through crossover cable . xp has ip address 192.168.0.1/24 (manually assigned) fedora has 192.168.0.2/24 with default route equal to 192.168.0.1

I can ping fedora from xp computer but i can't able to ping xp from fedora computer.

I have manully edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file with correct subnet mask and ip address because when i tried to give ip address manully in network manager the subnetmask is replaced with gateway address don't know why.

Now i want to share internet through crossover cable . xp is connected to internet through wireless usb adapeter.

View 8 Replies View Related

Ubuntu :: Bug Reporting / How To Do So

May 28, 2011

I am new to Ubuntu, so I do not know how to report bugs if and when found. Could anyone tell me how to do so?

View 2 Replies View Related

Fedora Networking :: Error For Ping Was "network Is Unreachable"

Mar 12, 2009

I installed Fedora 10 and are using KDE. I struggled to get my network up and running - error for ping was "network is unreachable". I eventually got it right by modifying my ifcfg-eth0 file manually.

Now I'm trying to install with yum, but yum fails to connect, probably because of the proxy. I've set the proxy in <System Settings><Network Settings><Proxy> but it doesn't allow me to also add the authorization - greyed out. I've chosen the manual configuration of proxy.

1. How can I enable or allow the adding of authorization in the proxy dialogs or

2. Where is the proxy file which I can modify from command line (and how)?

View 4 Replies View Related

Ubuntu :: Reporting A Bug At LaunchPad?

Sep 1, 2011

Is this seriously the ONLY way to report a bug? I can't just fill out a form somewhere without running software to do it? When I try to do it the way explained in the guide, it tells me that I'm using a stable version of Xubuntu, and that only people running dev versions (like 11.10) can report bugs.This seems absurd. Are they saying that all stable releases are perfect in every way? Surely one must be able to report a bug for them...

View 4 Replies View Related

Ubuntu Servers :: "ERROR :Closing Link: [unknown@127.0.0.1] (Ping Timeout)"

Apr 3, 2011

I am trying to set up the IRCD-IRC2 server to allow local chat between users connected to my Ubuntu server through SSH. I have port forwarding all set up to the point when I open port 6667 on the localhost it immediately comes back with":My.Irc.Com 020 * lease wait while we process your connection." Sounds promising. But it's not. It hangs for over a minute, then comes back with "ERROR :Closing Link: [unknown@127.0.0.1] (Ping timeout)" and closes the connection.

I don't want IRC2 to connect to any other servers. I just want it to facilitate chat between other users logged in through SSH as I said. Here is my ircd.conf file

M:My.Irc.Com::BC, Canada:6667:0001
A:Canada:info@irc.com:Notes::SrvName:
P:127.0.0.1:::6667:
I:127.0.0.1::::10

Can anyone tell me what I'm doing wrong?

View 1 Replies View Related

Debian Multimedia :: Use The "ping -a" Command For Getting An Audible Ping

Jul 8, 2011

I try to use the "ping -a" command for getting an audible ping. But there is just silence The command "beep" works fine, so everything should be ok with the speaker (in the konsole).

View 3 Replies View Related







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