General :: How To Add Application To Run As Service

Sep 2, 2010

How to add an application to run as a service in Linux?is there a script in /etc i should edit? What is recommended. Right now im running something in .profile but that's kind of not what i want.

View 3 Replies


ADVERTISEMENT

General :: Add An Application To Run As A Service?

Mar 2, 2010

How to add an application to start automatically on system startup in Linux? My distro: Mandriva 2009.1

View 3 Replies View Related

General :: Installing An Application Using Service Account

May 27, 2011

I have been asked to install an application using a service account on a RHEL 5.6 Server. In the past I always installed as root and have not used service accounts.

View 1 Replies View Related

Ubuntu :: How To Autostart Service/application

Dec 12, 2010

I am using an Ubuntu VPS(Virtual private server) with SSH access. I run my applications(mangos-realmd & mangos-worldd) in SSH terminal and they start up fine. But when I close the SSH terminal they close! but I want it so that when I close my SSH terminal that those programs remain running, and also want them to start up each time I reboot my system. I am found out with rc.local this is now solved or what-not

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

General :: Application Called Impact - Paths In Java Application ?

Apr 14, 2010

So, I have this application called Impact, it is an explicit time integration Finite Elements code written in Java...

[url]

I untar the pack, and launch the application calling a script, from within the untarred folder,

Code:

This launches a gui which allows me to setup a case, which needs some setup file, tipically some *.in and a mesh file, tipically some *.msh.

Other mode of executuion consists of calling the setup file as argument to Impact.sh script ( CLI execution mode, for g33k5 )

My problem is : I have packed the whole stuff into a Slackware .tgz, that places it in /usr/local/Impact, and placed a calling script in /usr/local/bin,

Code:

Code:

I decided to hack the ImpactGUI_OGL_linux_amd64.sh script from

Code:

Code:

no avail,

Code:

even after adding /usr/local/Impact/bin to PATH... won't go...

I can run this thing from within its directory... but I do not like messing within the directories of my applications, this is why I sent this to /usr/local, and placed a calling script in /usr/local/bin...

View 4 Replies View Related

Ubuntu Servers :: Perform An Action Before A Service Starts And After A Service Stops

Sep 10, 2010

I am running Server 10. I have a requirement to perform an action before the MySQL service starts, and perform another action after MySQL service stops.

I found the init script for MySQL under /etc/init/mysql.conf. I added my thing to the pre-start script there and works fine.

I am having trouble finding the script that stops the server so I can modify.

View 1 Replies View Related

Red Hat / Fedora :: Shows Unrecognized Service After Restart Service Smb

Feb 28, 2010

i can smb in centos 5 and i run service smb restart, it shows :smb: unrecognized service..... i run rpm -qa |grep samba,it shows

samba-common-3.0.33-3.7.el5
samba-client-3.0.33-3.7.el5
.....

View 2 Replies View Related

Fedora :: Start A Service Before Network Service?

Nov 6, 2010

I need to start a service before network service How to?

View 1 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 :: Name Service Is Configured?

Apr 4, 2011

i wanted to know how can i configure name service.

View 2 Replies View Related

General :: Service At 100% CPU Usage

Mar 12, 2010

my linux bos red hat Ent 5.0 is reporting CPU usage 100% for the service/agent cimserver.basically is slows down my system and I have to kill it so my system is OK again.my question is Can I set the CPU usage for this service? I mean can I set it to use only 4% or 10% of my CPU? or any other way to troubleshoot this 100% CPU usage. Since I've uninstalled and reinstall the agent and same issue.is it possible to set the CPU Usage?

View 5 Replies View Related

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 :: Named Service Not Being Functional

Oct 11, 2010

One of the dedicated servers that I have does not seem to have the service 'named' functional:
root@server2 [~]# service named start
Locating /var/named/chroot//etc/named.conf failed: [FAILED]

Note that the double slashes (//) ARE part of the output as well as the long gap before [FAILED] appears. This 'named' service not being functional is not a problem which is preventing the server / the application on it from working. There are entries in /etc/resolv.conf though.

View 1 Replies View Related

General :: Converting A Script Into A Service?

Jan 14, 2011

How to convert a user written script into a service in linux?

View 1 Replies View Related

General :: Difference Between Deamon And Service?

Jun 15, 2010

difference between deamon and service in Linux?

View 9 Replies View Related

General :: How To (Always) Start MySQL Service

Mar 27, 2010

I installed MySQL and I want the service to (always) start. When I google I always find the same answer; Goto System > Administration > Services. But I don have it. Administration for me goes from 'Printing' to 'Software Sources', so there's no 'Services'...

Also should I be able to start it from a shell, but I also can find that. (I have no /etc/rc.d/-directory and my /etc/init.d/-directory han no 'mysql'). I just started using Linux a few days ago (I only used MaxOsX and Windows before).

View 7 Replies View Related

General :: Block FTP And SMTP Service?

Sep 8, 2010

i would like to block FTP and SMTP service as a part of linux server hardening.

View 14 Replies View Related

General :: Remove A Service Completely?

May 17, 2010

I want to completely remove a service i.e ypserv from my red hat linux service list.that how can i completely remove a particular service from the service list

View 5 Replies View Related

General :: Use SSH (Secure Shell) Service?

Jun 11, 2010

I want to learn using SSH (Secure Shell) service in linux and connect to SSH server with PuTTY to test some commands, but I have not worked with it yet;

I have Ubuntu 9.04 on my "Virtual Machine" and my host OS is Win.XP and I have installed "OpenSSH server" and "PuTTY" from the ubuntu repository,

Is this action rational? I mean I want to connect from PuTTY on linux(on VM) to the SSH Server on linux?

(Meanwhile, I have no work with the host Windows and just wanna test it on the linux!)

where should I see the "Host Name/Ip Address" of the SSH Server to enter in the PuTTy's dialog? In windows we can use "ipconfig" command to see the IP Addresses, but I don't know what is the command in linx for this purpose?

use SSH Service in ubuntu correctly

View 1 Replies View Related

General :: NIS Service Not Listed Under Services?

May 14, 2010

In red Hat linux i want to implement NIS server. For that purpose i check the current running services under (Server settings,Services) but NIS was not listed in it.please let me know is there different name of NIS service or i have to install it separately

View 7 Replies View Related

General :: How To Stop Ftp And Smtp Service

Nov 30, 2010

clafiry what this means? It is in my secure log file: xinetd[5544]: START: smtp pid=6574 from=xx.xx.xx.xx xinetd[5544]: START: ftp pid=6465 from=xx.xx.xx.xxThey are repeated in my secure log hundreds of times, one every second or so.Also how can I stop my ftp and smtp service? Tried the usuals:service ftpd stop/etc/init.d/proftpd stopIt's a Fedora server.

View 1 Replies View Related

General :: Service Won't Start At Boot?

May 25, 2010

I have a service/daemon that won't start from boot. I have used the chkconfig --add <script name> command that went ok I also used the chkconfig <script name> on and that seems to be fine and I have made the script executable Chmod 777 <filename>. By all account it looks like the script is running at boot the the services has not started. When I do a ps -ef | grep ndb_mgmd this process is no there. the script can be run from the console and sems to run fine!

#!/bin/bash
# chkconfig: 345 70 30
# description: MySQL Cluster management server start/stop script
echo hello Paul >> /tmp/hello.txt
configdir=/var/lib/mysql-cluster/

[Code]....

View 10 Replies View Related

General :: Starting A Service At Startup?

May 11, 2010

I want to start a service and a script SiteMonitor.sh at startup.

Here is brief working of SiteMonitor.sh(This script monitors the ip addresses of machines which are using http service of the host. This script checks this after every 5 seconds therefore i have run it at background.)

To start with i have modified /etc/rc.local file.

Here is the content of my /etc/rc.local file.

Code:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

[Code]....

View 14 Replies View Related

General :: Xinetd - Unrecognized Service

May 21, 2010

I've already installed centos 5.5 and checked the xinetd services using the command : service xinetd status and the reply is xinetd: unrecognized service.

View 3 Replies View Related

General :: Time Synchronisation Service On UNIX

Jan 27, 2010

I have a VPS running Debian. The time that it reports from the date command is two minutes fast.Is there a service that I can install that will keep the time correct?

View 2 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 :: Cannot Connect To Service With Public IP Only With Localhost

Apr 20, 2010

I have installed Linux Mint 8 (based on ubuntu). And I have setup a webserver on port 8098.

I can connect to my webserver with http://127.0.0.1:8098, but when I try to connect to http://192.168.1.107:8098 from the same machine or another machine it doesn't work.

How can I get this working? Is there any default firewall settings that I have to change?

View 2 Replies View Related

General :: Tcp Port Open By Unknown Service?

Jun 1, 2010

Running openSUSE 11.2 x86_64.Here's what a nmap of my IP provides:

PORT STATE SERVICE
23/tcp open telnet
80/tcp open http

[code]....

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







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