-2
votes
1answer
106 views

Just installed Ubuntu server - What services can i disable/uninstall?

i just installed Ubuntu server 13.04. What services can i disable/uninstall? All i want is to keep sshd (to connect to my vps) and whatever is absolutely needed for the system to run and get rid of ...
0
votes
1answer
73 views

Why isn't my upstart service listed in service --status-all

I created a bunch of upstart jobs for my services that I'm running on an Ubuntu 12.04. I can successfully start them and stop with with: service my_service start service my_service stop but they ...
0
votes
0answers
64 views

checkrestart says that I should restart /sbin/init somehow, but even a full server restart doesn't do that?

I'm running a ubuntu server rackspace cloud server, and after a recent upgrade, I've got an init service that doesn't have a restart process: rr@server:~$ sudo checkrestart [sudo] password for rr: ...
1
vote
3answers
2k views

How do you run a NodeJS app in the background without it ending when you log out?

I'm trying to keep an application on my ubuntu server running so that Google has time ping it, but the app keeps shutting down when I log out. I start the Nodejs app with supervisor to monitor ...
4
votes
2answers
1k views

Upstart : start service after non-upstart process

On Ubuntu 10.04, I need to start my service with upstart, but only when mysql is up and running. The problem is that mysql itself is not handled by upstart, so I can't use the "start on" feature. ...
0
votes
1answer
177 views

How to allow SSH access to only one domain name on a server hosting multiple domains?

I have an Ubuntu server hosting example1.com and example2.com. Both names are pointing to the same IP address. I've configured Apache and it's working ok by using /var/www/example1 for the first and ...
1
vote
1answer
397 views

init.d script worked OK on Ubuntu 10.10 but not on 11.10 despite LBS header correction

On Ubuntu 11.10, if I run /usr/bin/cserver -c /etc/cserver.conf & it'll work fine. But if I run service cserver start or /etc/init.d/cserver start as I did on 10.10, it won't. It just says ...
2
votes
2answers
2k views

RH/CentOS service & chkconfig equivalents in Ubuntu/Debian

In RedHat/CentOS distros, you start and stop services with /sbin/service: /sbin/service httpd reload You set whether they should run on startup with /sbin/chkconfig: /sbin/chkconfig --levels 2345 ...
0
votes
2answers
940 views

Startup services running twice

When I reboot my ubuntu 10.04 32 bit machine all the startup services started twice. The startup process looks like this: Starting apache2 Starting apache2 (98)Address already in use: make_sock: ...
2
votes
2answers
925 views

How do I configure another instance of redis on ubuntu?

I basically want to have 2 instances of redis on Ubuntu. I looked at /etc/init.d/redis-server script and tried to create a new one (redis-server-dev) pointing to another config file (new port etc) ...
0
votes
2answers
461 views

Ubuntu SSLH Service Not Starting on Boot

I am trying to run SSH and HTTPS both on Port 443 on an Ubuntu server. I found SSLH which seems to do the trick. My only problem is getting it to start on system boot. Supposedly, it is already setup ...
1
vote
1answer
4k views

Restart networking in ubuntu karmic (9.10) using upstart

As far as I know karmic uses upstart to control some of the services. Is there any way to restart the networking service without rebooting the system? The problem is that when I try to do it in any ...