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
ADVERTISEMENT
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
View Related
Nov 1, 2010
I installed privoxy to use with tor however, it seems privoxy didnt create a pid file.I tried creating one many times with no avail. Ive reinstalled many times and still have yet to get privoxy to run.When I try to start the service I get told:$ sudo service privoxy restartNo /var/run/privoxy.pid file found, exiting.Starting Privoxy, Failed.
View 2 Replies
View Related
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
Jul 9, 2011
I am currently in place where I get high speed internet connection. I am using F15 64 bit version. I've installed a lot of softwares and updated theOS completely. My question is is there any way that I can create a startup disk of my system so that I can install it in other system of same configuration.
View 1 Replies
View Related
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
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
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
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
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
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
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
May 16, 2011
I want to be able to create a service so that the bash script will run every time the server boots up.
I am running CentOS 5.
I have been reading about chkconfig and creating a file in /etc/init.d for chkconfig to handle but I cannot seem to get it to work whenever I 'chkconfig servicename on' and then 'service servicename start'
When I do chkconfig --list my service is listed there.
Can someone provide me with a sample of the file I need to create in /etc/init.d and how to get everything running?
View 2 Replies
View Related
Jan 20, 2011
I want to create a link to start apache2 service:
Code:
sudo /etc/init.d/apache2 start
I tried creating a launcher but it did not work at all
View 3 Replies
View Related
Nov 6, 2010
I need to start a service before network service How to?
View 1 Replies
View Related
May 25, 2010
I installed ActiveMQ, set up an init.d script and was able to start | stop | restart ActiveMQ from the init.d script. However, when I tried to use:
>sudo chkconfig --add activemq
upstart seemed not to like it. Having NO documentation on how to create a daemon that works with Upstart on the Ubuntu forums, I'm wondering if anyone has any idea why my init.d script doesn't convert.I'm using Ubuntu 10.x.x but this happens on 9.x.x also.
Here is my script..
Code:
#!/bin/bash
#
### BEGIN INIT INFO
# Provides: activemq
[code]....
View 2 Replies
View Related
Apr 9, 2010
I am use to microsoft products. In microsoft windows, I can make a batch file that says to delete a file on the desktop during startup. would like to create a "batch file" or command that runs at logon in Ubuntu. An example:f I wanted to delete a certain file on the desktop called "new.pdf" everytime I logon,Could I make some kind of file the has the commands "rm new.pdf" in it and run it as a file during login?
View 5 Replies
View Related
Apr 22, 2010
What I want to do is create a custom live USB startup of ubuntu.
I know how to create a usb startup from the iso (any ubuntu iso), with the usb startup disk tool.
Is it possible to add some software to it, for example suppose I want it to have exaile and wireshark (or any software) already installed.
How can I do that ?
View 3 Replies
View Related
Mar 31, 2011
I'm looking to run a program automatically on boot (but before login). I was think to add this to rc.local but it would appear that this file doesn't exist in Angstrom. Where should I put my script?
View 4 Replies
View Related
Oct 10, 2010
Firstly, what's the best way to execute commands on startup, cron? Can I use su in a shell script to switch between different users, if so how?
How do I create several detached screen sessions on startup? screen -A -m -d -S test ./script.sh seems like it should work but using it in a script started by cron doesn't show any screen sessions running after booting.
It looks like the screen session is closed after the command finishes executing, can I keep it open so I can see the output?
View 3 Replies
View Related
Jun 13, 2011
At the Get Slackware page at the Slackware website it gives a list of addresses which when I click one of the addresses it redirects to another page with a list of mirror images. Which address and which mirror image do I need to work with Kubuntu 11.04 on my netbook so I can create a USB startup disk? With my connection speed these mirror image downloads take about an hour and a half and I cannot just be guessing which mirror image to download.
View 8 Replies
View Related
Oct 7, 2010
How to create cron tab when DSL line down set automatically restart the network service while DSL line up?
View 3 Replies
View Related
Jan 7, 2011
An uncaught exception was raised: [Errno 13] Permission denied: '/media/e6f6ac46-4bfc-487b-9c81-aab706ead9e3/boot'
The above is the error message I get when I try to create an usb-flash boot drive. I downloaded the iso for Mint10 and use the "create startup disk" program to create the boot drive. I can see both the iso and the flash drive within the program, but when I click on "create disk" I get the above error message?
View 7 Replies
View Related
Jun 29, 2010
I have little problem with gpk servce pack (from gpk-package-extra package). When im trying to make list of my packages in system i have:
Quote:
Can't write the file, no permissions. OK, but when i run gpk service package as root, program freeze, i click create packages list option but application never create this file, status is always on 0%, even after 1 hour. I saw video tutorial, where base are created by normal user i /home - why i can't Console says nothing about this.
View 2 Replies
View Related
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
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
Mar 13, 2011
I have this script, called zope, which I am trying to register as a service. When I type "chkconfig --add zope", it says "service zope does not support chkconfig" yet when I type "service zope start", it starts zope server alright.
When I type "chkconfig --list", no zope is in sight. If I run, "chkconfig --del zope", it complains with same "does not support" error.
After registering zope, even while it was complaining, I set the run level ("chkconfig --levels 2345 zope on").
Also, when I run: su -l $ZOPE_USER -c "${INSTANCE_HOME}/bin/instance start" > /dev/null 2>&1 with appropriate substitution for ZOPE_USER and INSTANCE_HOME, zope starts alright.
Or some hidden edict that I am not following?
The file is in /etc/init.d.
.//------------------------------
#!/bin/sh
# chkconfig: 2345 84 16
#
[Code]....
View 3 Replies
View Related
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
Nov 24, 2009
It is the first time have I used VPN. I installed OpenVPN in my Fedora 11 computer. I did it following:URL...And I stopped at step 16: service openvpn start . The service can not start up. Even if I disabled Selinux . Does anyone know how to treat this trouble.
View 1 Replies
View Related
Feb 25, 2010
I would like to start some of my services (VNC Server, FTP Server, HTTP server) in the background AFTER I've booted into the GUI. How can I achieve this?
View 2 Replies
View Related