Fedora :: Adding Server Startup Script To Service Commands?

Sep 7, 2011

I just installed tomcat server in linux and for shutdown and startup, i have to run the script inside $tomcat/bin folder (startup.sh and shutdown.sh) manually.

I want to add tomcat as service and i want to execute as service commands like /sbin/service tomcat start/stop.

View 7 Replies


ADVERTISEMENT

Server :: Configure Fakemail To Startup As Xinetd Service?

Feb 2, 2010

I found a way to capture emails sent from my Drupal installation, and Fakemail seems simple enough. I can follow the tutorial. Since the application Fakemail needs to be running to capture the outgoing emails, it seems like a good candidate for xinetd, yes? I've found a simple config tutorial describing starting the service and what the parameters are for the service-specific configuration files. This got me this far,

Code:

# default: on
# description: This is a script to start the Sandbox app "fakemail"
service fakemail

[code]....

But the service is not starting up. Will someone help me with this config file? Or, recommend another application which uses a similar configuration like Sendmail so I can copy this The Fakemail application/service is started from command line like so,

# fakemail.py --host=localhost --port=10025 --path=[path_to_email_textfile]

View 9 Replies View Related

Fedora :: Create New Service At Startup?

Dec 30, 2009

i want to start /usr/bin/brscan-key at startup. since i find it handy to push on the scan button , and the scanner is saving the scanned image to my pc.

can i add /usr/bin/brscan-key at /etc/rc.local on a safe way?

View 3 Replies View Related

General :: Server Hangs At Startup To Connect To Ldap Before Network Service Starts?

Jul 6, 2010

I am using centos 5.5 x85_64 2.6.18-194.3.1.el5 The server is hanging at start up due to the follwoing error

udevd[746] nss_ldap reconnecting to LDAP server (sleeping 4 seconds)
udevd[746] failed to bind to LDAP ser er ldap://192.168.0.100 cant contact ldap

It fails and then tries again, and again, each time increasing the sleep time. This is happening before network sercvices are started so ther is no way it can connect to ldap. anyone know a way to fix this problem?

View 2 Replies View Related

Fedora :: How To Execute Commands On Startup

Aug 11, 2011

how to execute commands on startup. I've added lines to /etc/rc.d/rc.local, /etc/rc.local, I've put scripts (with extension .sh) into /etc/init.d/ and I've set the executable permission thing on all of them with chmod -x. I *still* can't get anything at all to execute on startup. The truth is, I'm trying to enable multitouch and button tapping automatically when I startup Fedora. I have the commands

[code]...

Which I want to execute whenever I start Fedora (it's a bit tedious to write them every time, or even to have to execute a script myself whenever I start my computer). Furthermore, if I can figure this out, then I can do all sorts of things. Does anyone have a clear, surefire way in which I can do this? I'm not good with using Linux at all

View 7 Replies View Related

Fedora :: 15 Service Configuration App - Enable / Disable At Startup Setting Is Greyed Out

Jun 25, 2011

When installing Samba and Webmin I use the application "system-config-services" or (if it is easier to find for you that way) menu->Administration->Service management. In this application I can start the services I need (nmb, smb, webmin), but the enable/disable at startup setting is greyed out... Even when I start the application as root it still gives me no possibility to configure the services to start up on boot. This should be possible. It works this way in Fedora 13 and Fedora 14, so why not in Fedora 15?

Before reporting a bug, I would like to ask if other users here have the same problem (and -if possible- a solution)... In the mean tim I guess it is back to the old way of configurating services - sigh..

[edit] I tried to remove the [SOLVED] from the title, but the forum software does not seems to allow me to do that... I thought it was solved by installing xinetd, but I was happy a bit too early. I still have no answer for this problem.

View 6 Replies View Related

Ubuntu :: Adding Multiple Commands To Launcher (cd & Mono)

Feb 7, 2011

so I am trying to make a launcher under application/Games menu for OpenBVE. In this launcher I need it to run 2 commands in the terminal:

Code:
cd /home/username/OpenBVE
and
Code:
mono OpenBve.exe

[Code]....

View 4 Replies View Related

Debian Configuration :: Adding Router For Mail Service Function?

Jun 10, 2011

I'm building a Debian based router, I want to add to this router a mail service function. I don't want mail to be sent outside of the network, what I want is the ability for services to send mail to the Debian server and for me to then pick them up from this server via pop3 into my normal mail application. Given I'm not looking for mail to be sent outside of the network and its strictly for services to log notifications via. What of the various mail applications should I setup? i.e. just looking for SMTP + POP3 internally.

View 5 Replies View Related

Debian :: Service At Boot / Startup

Mar 1, 2016

I wanna know why the services ssh & mpd don't run at system boot / startup ?

I am under Debian Jessie 8 Stable , my uniques repos are : main contrib non-free

I don't use extra repositories.

i try installing , and rebooting , and dont work , after I try

First i stop and disable it :
Code: Select allsudo systemctl stop ssh.service ; sudo systemctl disable ssh.service ;
sudo systemctl stop sshd.socket ; sudo systemctl disable sshd.stop

# This dont make anything :
Code: Select allsudo systemctl stop mpd.service ; sudo systemctl stop mpd.service

[Code] ....

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

Ubuntu :: How To Run Commands On Terminal Startup

Aug 3, 2011

I have a question regarding terminal. I try to launch it from the "Startup Applications" by entering a script.Code: sh -c '/usr/bin/gnome-terminal'but it does not start.Also, when it does start I would like it to auto run certain commands: navigate to my project folder run "play test" open a new tab run "top".how can I achieve this?

View 9 Replies View Related

General :: Config Service Startup Options In Ubuntu?

Jan 23, 2011

I'm not used to using Ubuntu or Debian as a server. I'm more accustomed to Red Hat/Fedora ways and even Gentoo (yikes).

Under Red Hat installs, you can often configure most services that start from init using config files in /etc/sysconfig named by the service. Is there and equivalent thing under Ubuntu?

Specically I'm trying to control how the libvirtd and kvm processes are started as far as command line options go. I need to add the --listen option somewhere.

View 1 Replies View Related

Ubuntu :: How To Make Bluetooth Service Disabled At Startup

Jun 5, 2011

I have recently installed Lubuntu 11.04 on an old system. the problem is that it hangs at startup when tries to "Starting Bluetooth". I have searched through this forum and the web and it seems that the problem has something to do with my TV Card. But I can't remove the card because it is a part of my Graphic Card which is an "ATI Radeon 8500DV All In Wonder". I can start the machine with Lubuntu Live CD, and so I thought that maybe I can change a value in a file from installed Lubuntu through Live session that makes the Bluetooth Service disabled at startup.

View 3 Replies View Related

General :: Bash - Where And How Are Custom Startup Commands Configured

Jan 11, 2011

I'd like to add custom startup commands (for example starting a process, registering to a registration server, downloading a configuration file) to the Linux startup process. Those commands should be triggered on startup only. What is the standard/appropriate way to do this?

EDIT: Is /etc/profile the right place to trigger such things?

EDIT2: I'm using Ubuntu.

View 4 Replies View Related

Debian :: Adding A Startup Sound To Squeeze?

May 14, 2011

I wanted to customize my debian a little bit by adding a startup sound but I can't figure out how.

I'm using Gnome and Debian 6 Squeeze

View 6 Replies View Related

Ubuntu :: Adding Ifort To Path At Startup?

Feb 17, 2010

I just downloaded intel's fortran compiler, ifort. However, I seem to have to add it to path for every single terminal I open using:

Code:
source <install-dir>/bin/ifortvars.sh <arg>

I immediately think that there should be a way of doing this automatically at startup. However, this isnt just pointing to where ifort is, but running a shell script, which evidently only affects a single terminal session.

View 5 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 :: Adding SSH Server To Multiple Run Levels?

Oct 23, 2009

hHow would I add my SSH server to run levels 3,4,5? I have been trying to search google for this answer to my problem for hours and cannot have any luck.

View 2 Replies View Related

Red Hat / Fedora :: Adding Additional Hostname To Another Server

May 21, 2010

i had 1 server and its hostname is resolving fine.

i purchased 1 vps and its hostname isnt resolving.

for server1 say hostname is server1.domain.com

and for vps i add server2.domain.com

and when i ping my server2.domain.com i get Host Unknown error.

do i add Hostname and make it resolve in VPS.

i want to use hostname like server2.domain.com.

i want both server to have common domain name but diff hostname.

View 5 Replies View Related

General :: Adding Cairo-Dock To The List Of Startup Applications?

Dec 14, 2010

I'm running Ubuntu maverick meercat 10.10. I don't think it's very necessary to mention my hardware to get an answer to this question.I found out about the Cairo-Dock and fell in love with it. It annoys the hell out of me to have to start it every time I boot. I navigate to- System> Preferences> Startup ApplicationsUnder the startup programs tab I click on add... Now what??? Put the name as Cairo... what about the command. I don't know what file to navigate to.

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

Red Hat / Fedora :: Adding Second Postfix Server To Support SSL SMTP

Sep 20, 2010

I have searched through piles of postfix and sendmail documentation but I'm not sure of the terminology to describe what I want to do so I'm never sure what solutions are workable. Null client, relay hosts. What I have already is a RHEL postfix server which sends and receives email. What I want to do is add a second postfix server to the network. The second server should accept only ssl smtp mail and forward it on to the main postfix server. Users shouldn't use it for normal internal sending/receiving. It's only to allow me to support ssl smtp from people working out of the office without messing about with the main postfix server. I thought a Null Client sounded likely but I don't think it will accept mail. Is it a relay host I'm trying to configure? Any pointers on configuring something to just accept secure smtp and forward?

View 1 Replies View Related

Fedora Networking :: Setup A Single Imap Server To Pop3 Service ?

Mar 31, 2010

My actual mail is via pop3 from verizon. What I've done so far is just pull my pop3 mail onto my main machine at my house. But I'm finding I'd rather have a single imap server on my network so then all my machines could see the same mail.

I don't really want the imap server to poll verizon for mail, I just want the imap server to check pop3 mail at verizon only when one of my mail apps checks into it to look for mail.

View 1 Replies View Related

Ubuntu :: XFCE - Configuring Startup Apps / Adding Custom Keyboard

Jun 20, 2011

I am new to XFCE and I'd like to ask few question about usage:
1. How can I disable dragging windows through workspaces? I like them to stay at one.
2. How do you configure startup applications?
3. Why XFCE menu doesn't show some of my custom icons? (png, tried more than one, for custom launcher - eclipse)
4. How do I add custom keyboard? (ALT+SHIFT switching)
5. I restarted laptop and all my applications re-opened after restart. I do not want that. How to disable this?

View 9 Replies View Related

Red Hat / Fedora :: Add Scripts To Server Startup - Where Add This Order To Run

Aug 25, 2010

I setup a memcached and want to run this file " /etc/init.d/memcached " when the server boots. I do not know where to add this in order to run at start-up(in which file).

View 4 Replies View Related

General :: Automatic Startup Of Ventrilo Server Fedora 12?

Feb 1, 2011

I'm looking for a way to automatically startup Ventrilo when my linuxbox restarts. At the moment I have to manually start it up. I know there is a way and I've tried to follow other threads but I can't seem to find a tutorial on how to do this with the Fedora 12 distro.

View 5 Replies View Related

Fedora :: X Server Freezes On Startup After Yesterday's System Update / Fix It?

May 15, 2010

After yesterday system update the x server won't start up anymore. It locks immediately with blank screen leaving the computer unresponsible until hard reboot. I hat to once again go with the "vesa" driver, as I mentoined earlier in another thread it is a life saver, always works. My video card is integrated Radeon HD3250 - video driver was fglrx from ATI itself. "radeon" driver now reports that modesetting is not supported and will not load with EE-type X server error.

Anyone else experienced this? Are there any changes in the most recent X server that once again break compatibility with the official ATI driver?

View 3 Replies View Related

Ubuntu :: GNU Screen In Startup Screen: Multiple Commands

Aug 4, 2010

I am searching for a way to run multiple commands at boot time using the gnu screen utility.

A solution could be:

But the result would be many sessions, each one with just one child. What I need is just one session with many children, one child per command.

View 2 Replies View Related

Ubuntu :: After Adding 'killall Gnome-panel' To The Startup Applications Does The Panel Fail To Load Altogether

Dec 4, 2010

Regarding the gnome-panel in Ubuntu (64 bit).... I discovered some time ago that I wasn't the only one who routinely (every login) had their gnome-panel appear butchered, for which Alt-F2 then 'killall gnome-panel' would easily fix.

Having become impatient with this over the past 8 months, I decided I would automate the process and so cofiguring the startup applications seemed like a perfectly logical choice to me. Turns out I was wrong. After adding 'killall gnome-panel' to the startup applications not only does the panel fail to load altogether now, but Alt-F2 doesn't even work.

I tried Ctl-Alt-F1 and working with the graphics-free mode thinking I could somehow navigate to the startup apps config file and edit it, but I don't know where it is or how to edit it without logging in as root and I certainly don't know of any 'root password'.

View 9 Replies View Related

CentOS 5 Server :: A New Service Appears After The Entire Server Was Replaced

Mar 29, 2010

I noticed that my VPS was rebooted recently and a new service appears

[root@localhost ~]# pstree
init─┬─brcm_iscsiuio───2*[{brcm_iscsiuio}]

View 3 Replies View Related







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