General :: Check If NFS Mounts Are Still Up And Running?
Apr 27, 2011
How do i check if NFS mounts are still up and running?
when i do the command MOUNT , i get some result, but how can i see (or check) if they still up and running? I'm not so familiar with this command, so i hope that someone can guide me
I know that there must be some NFS links mounted, so if one fails, i need to see that with like an echo or something.
View 12 Replies
ADVERTISEMENT
Jan 29, 2010
I run a script manually like/usr/lib/openoffice.org/program/soffice and when I run
:ps -ef|grep openoffice
I get the following,
root 700 1 0 10:45 ? 00:00:00 /bin/sh /usr/lib/openoffice.org/program/soffice -calc
My question is how to check whether this script is running or not (It can be checked every 10 minutes) and how to make it as a service. (I don't have root access to put this in rc.local file or somewhere else).
View 2 Replies
View Related
Apr 3, 2011
so I wrote a small script that pretty much just takes in two numbers and counts from the first to the second, e.g.
unknown-hacker|544> count.sh 1 3
1
2
3
My problem is I want to make it so that if you input invalid parameters, such as non-numerical characters, more than 2 numbers, etc., you'd get an error message
View 15 Replies
View Related
Aug 16, 2010
How can I check which version of bash I'm running
View 2 Replies
View Related
Nov 13, 2010
I have a bash script that messages the user periodically. Is there any way in the script to check if the screensaver is running, so the script doesn't spam messages while the user is away? The xscreensaver process is always running in the background, I've noticed.
View 5 Replies
View Related
Feb 26, 2011
i've some trouble to write a script on java on linux to check if service(ie:smbd) is runing or not,, could you give me some example? Or if is there any source about it for me to learn? i've two days search with zero result...
View 5 Replies
View Related
Sep 1, 2011
Running 11.04 with the gnome3 team ppa and runs as smooth as silk but cannot find a setting to not have two partitions mounted in fstab and Home and Computer from being mounted on Desktop?
View 1 Replies
View Related
Feb 26, 2010
Is there a unique command ( common to all Linux Distros, Solaris, Windows ) to know whether a service is installed and running on my system or not??
View 5 Replies
View Related
Jul 11, 2011
I have a game server running using java, and it tends to crash sometimes, and only way to start it now is manually, so i thought i could create a script to check periodically if java is running, and if it isn't, run my startup script for the game server also, if it's possible it should log when it actually started the server startup script into a text file or something, so i can check why it crashed.
View 6 Replies
View Related
Dec 17, 2010
Cannot activate Task Manager.
Message: 'Check if your dcopserver is running'
(ASUS Eee Netbook)
View 1 Replies
View Related
Jun 23, 2011
I have Linux server with cent OS.I have installed tomacat6.0 and postgresSQL8.3 on it.The thing is i wanna know whether the tomcat and postgresSQL is running or not using the script.
View 1 Replies
View Related
Nov 24, 2010
I have multiple ubuntu machines and I connect to one through an NFS share. I have done this for a few years without issue. However, since re-installing ubuntu and upgrading to 10.4 I have a problem with my system hanging when the remote shares are lost.
Basically, I can power down the machine downstairs, and my main machine then has a fit. I can not open any folders in ubuntu, nor can I shut down. If I try and shut down the system hangs, last time it hung for 8 hours before I had to kill the power.
These are the lines in my fstab
I don't know what I've done wrong, or how I can prevent this from hanging. I have googled the heck out of this as well and can't seem to find an answer either.
View 2 Replies
View Related
Feb 7, 2010
I am using Sphinx search on my webserver and it quits after a certain amount of time leaving my search page broken.Here is a bash script that I want to run every 10mins via cron:
Code:
#!/bin/bash
if pgrep searchd | grep "[0-9]"
[code]...
View 24 Replies
View Related
Oct 31, 2010
I have gotten an error message to please check that the dcopserver program is running.Where do I look to see if it is running?
View 3 Replies
View Related
Apr 27, 2009
from nmap localhost | grep mysql command i will come to know whether mysql server is running or not.my problem is i want to test whether mysql server is running or not in shell script and if it is running i need to tell the user to stop the server to run the shell script.
View 3 Replies
View Related
Feb 8, 2010
I have six linux Centos 5.0 Servers. I had to configure the snmp client. I just created a pretty basic configuration snmpd.conf file
Code: rocommunity CompanyCom 10.1.1.10
I installed all of these
lm_sensors-2.10.7-4.el5.i386.rpm
net-snmp-libs-5.3.2.2-7.el5.i386.rpm
net-snmp-5.3.2.2-7.el5.i386.rpm
net-snmp-utils-5.3.2.2-7.el5.i386.rpm
4 of them are working fine, the application installed on 10.1.1.10 can query 4 servers but I got 2 Linux Centos that are in a DMZ, and my networking team already opened ports and configured NAT but the SNMP Server 10.1.1.10 is not able to query them how can I check the snmpd is really running apart from service snmpd status? might be related with the DMZ configuration?
View 3 Replies
View Related
Jan 25, 2011
How do I solve the problem of "No swap space, check if decopserver is running" Presume an increase in hidden partition required, my guess. Am using the original Xandros OS.
View 2 Replies
View Related
Apr 19, 2010
i was just wondering where can i check to make sure what bit system i am running. 32 or 64,
View 4 Replies
View Related
Aug 1, 2010
How to check whether ssh is running or not ? (I have install ssh)
If not how to make it run ?
View 4 Replies
View Related
Jan 26, 2011
I'd like to know if there is a script that can check and see if an application has been closed (I don't know a great deal about bash programming).I'm running an organ programme with this script.
/usr/bin/jackd -r -t5000 -dalsa -dhw:0 -r44100 -p1024 -n2 -P &
java -jar /home/user/jOrgan/jorgan.jar &
jack-rack -s space space &
[code]....
View 2 Replies
View Related
Jun 20, 2011
I need a script that is able to check if a service is running or not. It has to do it automatic since it is for restarting a GameServer.
I tried to make one myself, but since the .x86 file has the same name for every server, it is hard to know a way to check if the server is running with the right process.
Is there a way to make a script which is able to check if a service is running (service has same name, but using other ports)
View 1 Replies
View Related
Sep 27, 2010
I am using this command (inside a bash script) to check if mailserver is running correctly (port 25)
# echo | telnet localhost 25 | grep "Connected to "
If it does not respond I receive an email alter.
It works good , but sometime it NEVER respond (neither after 1 hour) , so I receive no notification . DO you know alternative command to the command above ?
View 1 Replies
View Related
Apr 12, 2010
I Bought A New Centos VPS,Not Much Details Are Provided About Setup Etc..I Wanted To Check If FTP Service Is Running Or Not And Which FTP Daemon Is Running.(Is There Any FTP Daemon Pre-Installed With Centos)
View 6 Replies
View Related
Mar 13, 2010
When I installed CentOS v5, I declined the FTP server that cane with it because I have used and prefer ProFTPd. Now I'm not so sure what's running. How do I check what FTP is installed and / or running? ALSO there seem to be TWO ProFTPd conf files, one at:
[code]...
They have different content. Which is the one that is being used?
View 3 Replies
View Related
Oct 27, 2010
I wrote up a script to check to see if any VMs are running in VirtualBox, and if there are, it would save the state they are in and then reboot or shutdown the host.Is there a way to make that script run outside of using an alias for "reboot" and "halt" when I run those two commands?Here's the script:
Code:
#!/bin/bash
if [[ -n $(VBoxManage -nologo list runningvms) ]]
[code]...
View 9 Replies
View Related
Mar 10, 2011
Anyone know a way to check if flash is running? From command line or script.
I've tried
Code:
But it also gives output if flash is blocked(by flashblock in firefox).
View 2 Replies
View Related
Feb 26, 2011
I'm having trouble trying to make a script. What I want to do is check if xScreenSaver is running in my user account. If not, run it. If it's running, kill it.
So this is the script I've made:
Code:
The problem is that I've echoed the output of $(pgrep -u $(whoami) xscreensaver) and it always seems to add 4 numbers to the pid, even if the pid doesn't exist. What do I mean by "doesn't exist"? That no xscreensaver is running in my user, and if I run pgrep -u $(whoami) xscreensaver in bash, I get not output, but if I run the command though the script, I get (for instance) 4050. If I run it again, I get 4054, and again 4058... etc. What the hell is going on with that?
View 5 Replies
View Related
Dec 1, 2009
I've tried to upgrade from Fedora 11 to 12 in a workstation by following the related steps in the documentation. However; in the step 'yum upgrade' I'm getting the following problem:
VirtualBox-3.0.6_52128_fedora11-1.x86_64 from installed has depsolving problems
--> Missing Dependency: libcrypto.so.8()(64bit) is needed by package VirtualBox-3.0.6_52128_fedora11-1.x86_64 (installed)
--> Running transaction check
---> Package kernel.x86_64 0:2.6.30.8-64.fc11 set to be erased
---> Package kernel-devel.x86_64 0:2.6.30.9-90.fc11 set to be erased
--> Processing Dependency: libcrypto.so.8()(64bit) for package: VirtualBox-3.0.6_52128_fedora11-1.x86_64
--> Finished Dependency Resolution
VirtualBox-3.0.6_52128_fedora11-1.x86_64 from installed has depsolving problems
--> Missing Dependency: libcrypto.so.8()(64bit) is needed by package VirtualBox-3.0.6_52128_fedora11-1.x86_64 (installed)
Error: Missing Dependency: libcrypto.so.8()(64bit) is needed by package VirtualBox-3.0.6_52128_fedora11-1.x86_64 (installed)
I've tried to find the packages libcrypto.so.8 without success.
View 3 Replies
View Related
Jun 4, 2010
My DVD/CD burner is rather old now (going on 5 years), and I've had some "quality" issues when I've been burning stuff for the past year.
CD's: When I play a burned CD in my car stereo, the songs have a "skipping" sound to them on the low-volume levels of the audio. I use K3b as my burning software, and it seems to be the best, but am I wrong? Is this a common problem?
DVD's: Specifically video DVD's. After converting the .avi to an image file using DeVeDe Creator, it gives me a file that has the .iso and I burn the disc using K3b. It's really hit or miss.
The question: is there a way to test the performance of my DVD burner to make sure it's working properly? Is there a way to calibrate the mechanism? I have a new External DVD/CD burner that supports "LiteScribe" (I could be mistaken on the name, but it's a technology that allows you to create a picture on the opposite side of the disc), but my INTERNAL is a 5 year old Lite-On.
View 4 Replies
View Related
Jun 15, 2010
I'm using Linux in a large multi-user network. Let A be some group which I'm am member of, but which is not my primary group. According to chmod(2) I should be able to chgrp a file to group A. Trying to do so succeeds on a local as well as on a NFSv3 mount, but not on a NFSv4/Kerberos mount (EPERM). Are there any special considerations regarding chgrp when using NFSv4 mounts?
View 1 Replies
View Related