-1
votes
0answers
9 views

Unable to unpack opensemanticsearch solr package // missing LSB information

i am trying to install opensemanticsearch Solr based .deb. This is the error i get. I have a solr-tomcat installed on AWS ubuntu 14.0.4 instance Preparing to unpack .../ubuntu/solr_14.09.06_all.deb ...
0
votes
2answers
61 views

upstart multiple parameters

So Im working on a upstart process and wanted to know if I could pass in multiple parameters my-upstart-service restart PARM1=foo PARM2=bar PARM3=hello Here is kinda what I had in mind description ...
0
votes
1answer
39 views

Why a service in init.d and not in rc*.d started?

I have a configured and working service script myservice in the /etc/init.d and in /etc/rc*.d directories of an Ubuntu 13.10 distribution. Removing the links in /etc/rc*.d using update-rc.d -f ...
1
vote
2answers
72 views

Which init daemon starts cups?

I have a fresh installation of Ubuntu 14.04, and have not touched anything. Cups is running, as reported by both ps and netstat. There are /etc/init/cups.conf and /etc/init.d/cups, both of them seem ...
-1
votes
1answer
34 views

Are there any plans to simplify console service management on Ubuntu?

I am quite perplexed about the direction in which service management is going on Ubuntu and the funny part is that the same seems to be happening with OS X but that's another story. I do appreciate ...
0
votes
1answer
2k views

Samba started twice on boot up after upgrade to 14.04

the second attempt results in a failure: Starting SMB/CIFS File and Active Directory Server[74G[[31mfail[39;49m] I'd like to figure out where the second attempt is coming from and remove it. ...
1
vote
0answers
36 views

Starting Network Audio System via its init.d script fails but works when using start-stop-daemon on the command line

I'm running Ubuntu 13.10 (saucy salamander) and need the Network Audio System service (package nas, version 1.9.3-6) which relies on /dev/dsp and /dev/mixer so I installed the OSS Proxy Daemon osspd ...
1
vote
1answer
2k views

How do I stop transmission-daemon?

How do I stop transmission-daemon? I've ran sudo /etc/init.d/transmission-daemon stop and after a while I get confirmation that it completed [ OK ]: greg@VManage:~$ sudo ...
0
votes
1answer
378 views

initclt not seeing init script in Ubuntu 12 64bit

I created an init script in LSB format, and copied it to the /etc/init.d directory. I can manually start, stop, status the service and all works fine. I then try to set the service to auto stop/start ...
1
vote
0answers
187 views

UPSTART services all hang when stopping (stop/waiting)

I am using Ubuntu 13.10 After an IPL, there are many run once services that hang, they are all in STOP/WAITING status. Also, if I try to stop any normal service like apache2, mysql, vsftp I get the ...
0
votes
1answer
224 views

Init.d script problem

The init.d script is installed properly and by me i wrote the script correctly. But i have a very strange situation. The script executes a multi-threaded program written in c++ by me. If i execute the ...
5
votes
1answer
2k views

service vs. initctl [duplicate]

Why are some deamons run out of service and some out of initctl? Do both tools do the same thing and it is just a matter of personal preference of the user what they will use? E.g. sudo service ...
0
votes
2answers
62 views

Making a service from the project

Hi I have a java server(it listens) which runs when I do: ant compile jar run in the terminal What I want to do is sudo service myproject start so that I won't have to be in terminal(when I do ctrl+c ...
0
votes
1answer
208 views

How to create a init.d script for openssh-server which was compiled and installed from source using configure + make + make install?

I have installed openssh-server in my Ubuntu PC using apt-get install openssh-server. The version is 5.9. Now, I would like to compile and install openssh-server version 6.2 from source codes. I have ...
1
vote
0answers
152 views

Why won't honeyd start on boot?

I have installed honeyd on my machine and configured the appropriate settings to get it to run as a service. The service will run fine and functions as expected if I start it with command: sudo ...
3
votes
3answers
5k views

Can't start, stop, or interface with SSH service

Having really bizarre behavior with ssh. I have the ssh-server running fine, configured ufw (firewall) fine as well. However, it seems I can't manage ssh as a service or through /etc/init.d/ssh. I ...
5
votes
1answer
4k views

How to start / stop Dropbox at a specific time

I have setup a service on my Ubuntu 10.04.4 LTS server, which works when started and stopped manually using sudo service <service> start etc. However I would like to have the service (dropbox ...
2
votes
1answer
224 views

How to auto-install runlevel control for existing service/daemon?

Need to install a service/daemon (in this case bind9, a DNS service) runlevel control, aka "rc" control (/etc/rc*.d and such). bind9 came pre-installed on my 11.04 system, but without aforementioned ...
2
votes
2answers
637 views

Init.d script gets return code 1 when calling itself, how can I get output?

My question is, how can I modify the script so that it will tell me what goes wrong? The scenario is this: I'm trying to get Sonatype Nexus to start as a service in Ubuntu 10.04, and it just will ...
1
vote
2answers
1k views

What is start_daemon?

I'm trying to understand start_daemon in the following /etc/init.d/nagios-nrpe-server startup script: start) if [ "$INETD" = 1 ]; then exit 1 fi ...
1
vote
1answer
2k views

How do I get Upstart to start my Mediatomb service?

I've been struggling, trying to get my Mediatomb server to start automatically on Upstart run level 2. I can't figure it out. I guess Upstart is still new to me and I don't understand it. I even ...
3
votes
1answer
587 views

Why does $ service --status-all output to STDERR instead of STDIN?

This is very unintuitive. e.g. When a user tries to: # service --status-all | grep postgres This won't work... The only way to grep `service' is: # service --status-all 2>&1 | grep ...
11
votes
2answers
7k views

How do I set up a service?

I have a script that I would like to run as a service on my Ubuntu Server 11.04 headless box. That is, I want to have the correct files under /etc/init.d/ and to be able to control it via the service ...
21
votes
2answers
95k views

How to start and stop a service? [duplicate]

Possible Duplicate: What’s the recommended way to enable / disable services? Are there any other command to start stop restart service in ubuntu other than the below following. service ...
3
votes
1answer
2k views

Setting the owner of the file created by start-stop-daemon output redirection

I have the following line in do_start() of my custom init script that starts a java application: start-stop-daemon --background --start --quiet --oknodo --make-pidfile --pidfile $PIDFILE --chdir ...
2
votes
2answers
2k views

Custom daemon script: works, but does not run at boot / startup

this is Ubuntu 10.10 Maverick. I have the following shell script in init.d that I want to run as a "daemon" (background service with start/stop/restart really) at system startup. There is a symlink ...
3
votes
1answer
335 views

Is init.d “safe” enough to use or should i use `runit` or `daemontools` on a server

I am looking to deploy my application on a server on which I would have no access in the future. I would like to have an indication of start-up errors generated by my program in particular and the ...
13
votes
5answers
18k views

How to correctly add a custom daemon to init.d?

I've got a 3-rd party proprietary application server daemon which can be started and stopped by couple of command lines. I need this daemon to start when the system starts up and correctly stopped on ...
27
votes
5answers
34k views

Command to list services that start on startup?

Is there a command to list services that run on startup? I imagine it would involve parsing /etc/init.d/, and the various /etc/rc.* directories.