General :: Command To Check Whether Service Installed / Running?

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


ADVERTISEMENT

General :: Check Whether A Service Is Running?

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

General :: Check If Service Is Running Or Not Using Java

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

Ubuntu :: Check If Service Is Running?

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

General :: Check The Snmpd Is Really Running Apart From Service Snmpd Status?

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

Programming :: Make A Script That Will Check Service/s Status Whether Running Or Stop?

Sep 6, 2010

how to make a script that will check service/s status whether running or stop and also will run stop services?

View 9 Replies View Related

Server :: Check What FTP Is Installed / Running

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

General :: Will Command Service Httpd Restart Apache Service?

Dec 25, 2009

will the command service httpd restart the apache service if i enable httpsd service in graphical mode

View 12 Replies View Related

Ubuntu :: Check If A Package Is Installed Via Command Line?

Aug 20, 2010

After sifting through numerous apt-get apt-cache apt-file tutorials I still can't find a command to check if a package is installed via the terminal command/line.

I know there must be some way to do it.

Say I want to check if any package from the libavcodec*.deb family is installed how could I do this without a gui eg synaptic?

View 5 Replies View Related

Ubuntu :: Check Installed Versions Of Apps From Command Line?

Sep 8, 2010

Like i'm curious what version of wine i have installed...What are my current ati drivers installed...If wine isn't 1.2 or 1.3 how do i update it from command line?really any insight into this process would help its not absolutely critical to know but i've been looking around and haven't found informationOr some references to good articles to become a command line guru would be cool as well.

View 8 Replies View Related

Server :: Running "yum Check-update" On A List Rather Than Installed Packages

Nov 24, 2010

I've been google'ing around recently for some good solutions for creating local yum "update" repositories without syncing entire repositories. (or adding hundreds of exclude statements in config files)

I have several boxes with a common base build (centos 5.5/x86_64), one has nagios3, another has apache, and another tomcat6 (also a couple of others) For tomcat and nagios I'm obviously using 3rd party repositories (jpackage, epel, rpmforge to name a few) Everything is installed via RPM from kickstart.

I would like to make an updates repository which contains the updates for everything that's installed (including centos base).

Updates will be downloaded on a separate box, but not sure how to get the list of packages required on that box where the packages are not actually installed. I've looked at reposync and mrepo, but appear to be syncing from what's available rather than what's required.

I was hoping that I can provide an "rpm -qa" output, compare this to a "yum list" or perhaps running "yum check-update" on a list rather than installed packages. I could then use the yum-downloadonly module to get the packages which have changed from available sources.

View 2 Replies View Related

CentOS 5 Server :: Show All Services Running / Installed In The Command Line?

May 6, 2011

Howto show all services running/installed in the command line under Centos 5.6 Server?

View 6 Replies View Related

General :: Bash - Start A Service Only If It Isn't Running?

Apr 16, 2010

I know I have to count how many instances are running: ps x | grep apache2 | wc -l result if it's running: 2, or else: 1 I also know there is a command called test that I could use to perform the verification, but I don't know how to use test with wc

View 3 Replies View Related

General :: Don't Need The Apache Service Running All The Time?

Oct 27, 2010

I have recently ported from Windows to Linux (xubuntu) I am a developer, i installed everything i need, LAMP. Now in Windows i used to turn off all unnecessary Services, i don't need the Apache or MySQL service running all the time. I used: net start mysql

Whenever i needed it. How do i do the same in Linux:
1. Disabling not-needed daemons from auto-starting?
2. Starting them only when i need them?

View 2 Replies View Related

General :: Dnsmasq Service Not Running - Bad Option

Jan 29, 2011

It says that this is a bad option
dchp-range=ignore,192.168.1.99,192.168.1.99
I am very new to linux but it says that's a bad option to why my dnsmasq service isn't running.

View 10 Replies View Related

General :: Check If Ftp Is Installed?

Jul 26, 2010

I found that I have several services running related to ftp

Code:
cat /etc/services | grep ftp
ftp-data 20/tcp

[code]...

View 2 Replies View Related

General :: Check That Dovecot Is Installed Or Not?

Jan 13, 2010

Actually i want my java code to connect to linux sendmail server. Right now i am using gmail pop protocol to connect to gmail server. So now i want to connect to sendmail server using pop and i read that using dovecot you can make sendmail to havepop and imap services. By default it has only SMTP support. So i want to know how can i check that i have dovecot installed or not, or my sendmail has pop or imap enable or not. Means by what command.

View 7 Replies View Related

General :: Check If Have Glut.h Installed?

Mar 31, 2011

os: fedora 9how do i check if i have glut.h installed?actually,i tried to run graphics programs in KdevelopC/C++ ,i included the line#include<GL/glut.h>and it shows an error at all functions including glut functions when i compiled it.also i have gone to project->project options->configure options->linker flags->-lglut

View 2 Replies View Related

General :: Check For Installed Programs?

Feb 23, 2011

I would like to know if there is other ways of checking what is installed in my RHEL other then using rpm -qa.I realised that some programs like firefox that i dl from the firefox website and unzip to use does not appear in the results from rpm -qa.

View 12 Replies View Related

General :: Check If Samba Is Installed Or Not?

Feb 16, 2010

I want to use samba in one of my linux machines so that I can share my directories in linux in windows machine . How do I check in samba is installed or not . I checked in /etc/init.d directory , I expected smbd executables to be there . But I can't find it there . Does it mean that samba in not intstalled there

View 6 Replies View Related

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 View Related

General :: Setup Ubuntu To Boot In Terminal Mode With All Service Running

May 5, 2010

Im running a virtual linux server on a low-end system, and i wold like to configure the server to boot in terminal window and not to the Gnome log in window, this is because of the low specs on the hardware.

View 5 Replies View Related

General :: Check Installed Repositories In Red Hat Server 5?

Jan 13, 2011

when trying to use "yum install skype" i get this line below No Repositories Available to Set Up

View 1 Replies View Related

General :: Check Modinfo Of Installed Modules?

Apr 8, 2011

I have a doubt, suppose i have a module having different versions.I have installed one of these module, now i want to check module info of installed module, Is there any way to check it

View 2 Replies View Related

General :: Unable To Open Zebra Service After Installed Quagga Source File / Fix It?

Apr 8, 2011

I have a problem about to open zebra service after install quagga by command(./configure ; make ; make install ) and add service port ("/etc/services")

#service zebra status
zebra dead but subsys locked

and can't telnet to zebra
"telnet: unable to connection to remote host: connection refused"

I following a manual http://www.quagga.net/docs/docs-info.php but it's not perfect.

View 2 Replies View Related

OpenSUSE :: Get A Message That Says 'Search Service Not Running' With A Button That Says 'Start Search Service'?

Jun 12, 2010

The desktop search has stopped working in Gnome.I get a message that says 'Search Service not running' with a button that says 'Start Search Service'.When I click the button nothing happens

View 1 Replies View Related

General :: Running A Check In Bash Script?

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

General :: Check Which Version Of Bash I'm Running ?

Aug 16, 2010

How can I check which version of bash I'm running

View 2 Replies View Related

General :: Can Bash Check If Screensaver Is Running

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

General :: Check Which Apache Modules Are Enabled/installed?

May 17, 2011

which is the most elegant way to check which apache modules are enabled?

View 3 Replies View Related







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