1
vote
1answer
53 views

Monit configuration reload - supposed to restart monitored services?

Running Monit 5.4 on an Ubuntu server. When I use monit reload, it seems that it restarts monitored services (Tomcat 7 in this situation). Is it the expected behavior? Documentation says : reload ...
0
votes
1answer
20 views

How to restrict all services to single domain in Ubuntu?

Someone has pointed an unknown domain to my server's IP address likely via A records. I would like to reject access to ALL services (httpd, ssh, mail, etc.) from this domain and only allow requests ...
1
vote
2answers
85 views

All traffic is passed through OpenVPN although not requested

I have a bash script on a Ubuntu box which searches for the fastest openvpn server, connects, and binds one program to the tun0 interface. Unfortunately, all traffic is being passed through the VPN. ...
-2
votes
1answer
126 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 ...
1
vote
1answer
133 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 ...
1
vote
3answers
3k 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
2k 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
186 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
431 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
3k 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
1k 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
1k 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
482 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 ...