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


ADVERTISEMENT

Debian :: Start Service At Boot Time On 4?

Mar 10, 2010

I am using Debian4 and I have apache under /home/apache/bin/apachectl How to start the apachectl service for every time system restart, Itmust be start automatically. Please tell me how todo or how to write the script, how to configure forrun level 2,3 and 5

View 6 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 :: 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 :: 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

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

Debian :: Hide Boot Text Messages During The Startup?

Sep 23, 2010

Howto hide boot text messages on the screen during Lenny startup? I've tried to change in /boot/grub/menu.lst:

Code:
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

View 5 Replies View Related

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

Debian Configuration :: Hide Boot Text Messages During The Startup?

Sep 25, 2010

Howto configure /boot/grub/menu.lst from Lenny to hide boot text messages during the startup?

View 14 Replies View Related

General :: Debian Lenny Won't Startup Koha Daemons At Boot

Oct 11, 2009

I have installed Koha on Debian Lenny. It does work well, but I have to manually start the koha-zebra-ctl.sh by entering /usr/share/koha/bin/koha-zebra-ctl.sh start The is, however, that this starts at boot from /etc/init.d/koha-zebra-daemon. Like /etc/init.d/koha-zebra-daemon start (does not work now) In the koha-zebra-daemon file I have:

#!/bin/sh
# Quick start-stop-daemon example, derived from Debian /etc/init.d/ssh
set -e
# Must be a valid filename

[code]....

I have made a symbolic link;

ln -s /usr/share/koha/bin/koha-zebra-ctl.sh /etc/init.d/koha-zebra-daemon

I have tried checking whether the symbolic link exists with readlink, but this never seems to return anything anywhere.

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

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

Debian Configuration :: Sshd Service Never "really" Starts On System Boot

Dec 3, 2010

I'm not really sure what the problem is here, but sshd does seem to start on system boot. tty1 does list "OpenBSD Secure Shell server" at least. Also, # service --status-all; indicates that sshd is running, but if I try and actually ssh into my box, I get a "Connection refused" response.

I am, however able to restart the service manually and everything magically works again. Odd...?

View 1 Replies View Related

Debian :: Grub Screen At Startup With Dual Boot Lenny And Karmic Koala

Feb 1, 2010

I have a laptop with Karmic Koala in dual boot with Lenny. I need to reinstall Lenny however if I do that I will loose Karmic Koala in the grub screen because of the new version of grub that comes with Karmic Koala. Which means that I will need to reinstall Karmic Koala after Lenny so that they both appear in the grub screen at startup. If I reinstall only Lenny is it possible to use Gparted to change the boot back to Karmic Koala and have them both in the grub screen again? Or is there another way around it?

View 10 Replies View Related

Debian :: Mount Sshfs At Startup - Get Mount For UserA To Happen On Boot

Mar 18, 2011

I am struggling with getting an sshfs mount mounted on system boot. I have a script that mounts the sshfs for "userA". When userA runs the script all is well - user A can access the remote filesystem, root user can't see it as expected. The basic command is: sshfs userA@remote host:/home/userA /home/userA/mountdir -p 21212 -o password_stdin < passwordfile. I can prepend the sshfs command in the script with su - userA -c and when I run this script logged in as root all is well, userA has access and all is well. If I then put this script in /etc/init.d and reference it properly in the rc. directories the mount doesn't happen. If I prepend the sshfs command with sudo, same thing. Logged in as root I can run the script and UserA has access. Run the script in /etc/init.d during startup and the mount doesn't happen. Echoing text to a log file shows that the script is being executed but no mount happens.

View 4 Replies View Related

Ubuntu Installation :: Triple-Boot / Saying Can't Boot And Takes To A Startup Recovery?

Sep 10, 2010

I have a Computer, It came with Windows 7 64bit on it. I installed Ubuntu through WUBI. I used the Windows Disk Management program to resize my HDD. I shrunk the main drive and created a 20 gig free space. I installed WindowsXP on this 20g space. I had to change from AHCI to ATA. I started my new XP installation. As I should have expected my the screen that let me pick between Windows 7 and Ubuntu was gone, and it just said XP. Well thats cool. I get in XP use bcdeasy and use the install Win7 to mbr. So I restarted. Great I now I have Ubuntu and Win7... but no XP. So i think, okay, ill boot into Ubuntu, use the update grub command and XP will be there, so i do it and restart. No XP, So i try to boot into Win7 and see if i can do something in there.. No luck it says it can't boot and takes me to a startup recovery thing. Which, as Windows recovery things tend to do, doesn't find anything wrong. So I have Ubuntu now, which is great, but I do need Windows.

View 4 Replies View Related

Ubuntu :: Service Not Starting During Boot?

Mar 19, 2010

I'm having a problem getting my MPD service to start during boot. This started a week or so ago. It's no big deal, just a pain. It start fine when I run the script in a terminal. I changed the start priority with update-rc.d. I occasionally get a segfault message in my syslog and messages log. Not sure what it means.

Mar 18 22:44:25 tony-laptop kernel: [ 1244.162897] mpd[3874]: segfault at c00 ip 0806f7d2 sp b6f2a130 error 4 in mpd[8048000+4e000]
Mar 18 22:55:28 tony-laptop kernel: [ 1907.414336] mpd[4759]: segfault at c ip 00194d1d sp b6f9bcd4 error 4 in libpthread-2.10.1.so[18d000+15000]

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

Fedora :: DHCPD Service Not Starting On Boot

Jan 19, 2010

I just installed F12 from scratch and I'm facing a curious situation with dhpd. The service is enabled, but It fails to start on boot. I see the following error on /var/log/messages:

Jan 18 17:15:28 neo dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jan 18 17:15:28 neo dhcpd: ** Ignoring requests on eth1. If this is not what
Jan 18 17:15:28 neo dhcpd: you want, please write a subnet declaration
Jan 18 17:15:28 neo dhcpd: in your dhcpd.conf file for the network segment
Jan 18 17:15:28 neo dhcpd: to which interface eth1 is attached. **

However service dhcpd start, works just fine when I login, after the system boots:

Jan 18 17:26:49 neo dhcpd: Internet Systems Consortium DHCP Server 4.1.0p1
Jan 18 17:26:49 neo dhcpd: Copyright 2004-2009 Internet Systems Consortium.
Jan 18 17:26:49 neo dhcpd: All rights reserved.
Jan 18 17:26:49 neo dhcpd: For info, please visit [URL]
Jan 18 17:26:49 neo dhcpd: WARNING: Host declarations are global. They are not limited to the scope you declared them in.
Jan 18 17:26:49 neo dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Jan 18 17:26:49 neo dhcpd: Wrote 0 deleted host decls to leases file.
Jan 18 17:26:49 neo dhcpd: Wrote 0 new dynamic host decls to leases file.
Jan 18 17:26:49 neo dhcpd: Wrote 5 leases to leases file.
Jan 18 17:26:49 neo dhcpd: Listening on LPF/eth1/00:30:48:80:2e:7e/192.168.1.0/24
Jan 18 17:26:49 neo dhcpd: Sending on LPF/eth1/00:30:48:80:2e:7e/192.168.1.0/24
Jan 18 17:26:49 neo dhcpd: Sending on Socket/fallback/fallback-net

So it can't be a problem with my dhcpd.conf file.

View 2 Replies View Related

Fedora :: Akmods.service Fails At Boot

Jul 13, 2011

[URL]i discovered a new problem. The command to look for failed services reports the following:

Code:
systemctl list-units --failed
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
akmods.service loaded failed failed LSB: Builds and install new kmods from akmod packages
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
JOB = Pending job for the unit.

1 units listed. Pass --all to see inactive units, too. The akmods.service is installed of the nvidia graphics card module, which loads fine and is behaving fine. I tried to disable the service and then enable it again, but the error persists.

Is this just a kind of notification, that everything is okay, and no new modules need to be build? Or is this indication for possible breakage ahead during next kernel update?

View 9 Replies View Related

OpenSUSE Install :: Add Service To Boot At Start?

Apr 9, 2010

I wonder how could I start my ruby on rails mongrel_cluster at the start of my openSUSE 11.0 Server and I don't have a GUI. So the shell solution would be good.

View 1 Replies View Related

Red Hat / Fedora :: How To Stop DHCPD Service During Boot

Jul 19, 2010

I am a Linux newbie using Oracle Enterprise Linux version 4 update 7 (its almost similar to Redhat Linux). While going through tutorials, I tried to configure the DCHP service and set it to start after every boot via the command

chkconfig dhcpd on

When I boot my Linux,the OS hangs when it tries to start the dhcpd service.Thus,I cannot log into my Linux and shutdown the service. How can I go around this and shutdown the DHCP service to enable my Linux to fully load after a boot?

View 2 Replies View Related

Programming :: Writing A Service In C++ And Starting At Boot?

Nov 10, 2010

I created a small C++ program which starts a server in a separate thread and waits the user to press q using the standard input/output. Something like:

Code:
printf(...);
server->Start();

[code]....

View 8 Replies View Related

Ubuntu :: Preventing Ssh Service From Starting At Boot?

Sep 22, 2010

Since my desktop (Ubuntu 10.4.1 for now) has no need for anyone trying to ssh into it, I want to prevent ssh from starting as a service when I boot up.

If I type: sudo update-rc.d -f ssh-agent remove

in terminal, will that stop the service for all boots (until I run: sudo update-rc.d ssh-agent defaults -- in terminal)?

I've already removed (unchecked) ssh agent key from my startup applications

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

Fedora :: Boot Stops At 'Start Service Local'

Feb 13, 2011

I performed the first update in 4 months to my Fedora 12 Constantine. I also removed a 'dial-up' package (figured i didnt need it) and the KDE package after the update. Firefox was not getting a connection to the internet at this point. The network view showed the ethernet as inactive. Everything besides Firefox appears to work fine.

I restart machine.

It boots until right after the fedora logo fills up. At this point my dual monitors go to sleep. No response from anything. When I start in interactive mode I hit y for everything. Everything works great until libvirtd, libvirt-guest, and local. After y on all three nothing happens. I can type on the screen but no response. It just sits there. I can boot into text mode and do whatever I want. What can I do? What other information do I need to move forward?

I have looked at the Xorg.0.?? i forget what its called. I am not versed in reading the messages in it. Same for the other logs I looked at.

How I troubleshoot Linux problems: Install Linux -> Problem -> Google -> Run Command -> Didn't work? -> Start Over

View 10 Replies View Related

Fedora Servers :: F15 Sendmail Service Not Starting On Boot-up?

May 29, 2011

Just upgraded to F15 and I cannot seem to get the sendmail service starting at boot time.It starts and works just fine by hand after boot, so there's nothing wrong with the sendmail
configuration itself."runlevel" shows a current run level of 5 and "chkconfig" shows sendmail on for run level 5.All the other mail service (mailman, clamd, etc.) start fine.Doing "service sendmail start" after boot gets everything up and running just fine, but itsure would be nice to have it run at boot like it used to

View 1 Replies View Related

Ubuntu Servers :: Custom Service Start At Boot?

Jul 6, 2011

I have a few problems getting a custom service/daemon to auto-start at boot. I'm running ubuntu 11.04 Server amd64 edition. One of the services is a Teamspeak3 server I'm trying to start. I would like it to start up automatically on boot. ts3 already have a script with start/stop commands so all i have done is make a little script for it to get it to run as the correct user.

Code:
#!/bin/sh
### BEGIN INIT INFO
# Provides: ts3
# Required-Start: $all
# Required-Stop: $local_fs $remote_fs $network $syslog $named
# Default-Start: 2 3 4 5

[Code]...

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







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