0
votes
1answer
9 views

Ubuntu - Create Script to Restart Multiple Tomcat Instances

I have 4 instances of Tomcat to serve a JSP application. Every now and then I have to restart them all (when I recompile a class, for instance). But every time I have to restart their services one by ...
11
votes
5answers
1k views

Fixing services that have been disabled in /etc/default/ with puppet?

I'm using puppet to (theoretically) get npcd to start upon installation, however on Ubuntu, that service comes installed with the default setting in /etc/default/npcd of RUN="no": $ cat ...
2
votes
2answers
272 views

mysql stopped after an import on a server

Hi all this night I have imported into my server (server Linux 512Mb Ram with ubuntu), is a very big import in a database with Magento (e commerce). When I open my site mysql doesn't work, I have seen ...
1
vote
1answer
446 views

Setting up mongodb via upstart - how to pass options?

I installed MongoDB in an Ubuntu Server VM inside VMware using these instructions: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/. Everything works fine, and I can access MongoDB ...
1
vote
1answer
58 views

How to start/stop service with Apache2 on Ubuntu

Using Apache, I'd like to be able to start and stop a service on the same server. Essentially, I'm looking for a way to allow Apache (or some script called by Apache) to call sudo service XXXX start. ...
0
votes
1answer
218 views

Ubuntu Server SSH does not autostart

I use a VPS with Ubuntu 10.04. After I performed "apt-get upgrade", the ssh daemon stopped working and does not automatically start when I restart my server. I have only access to files (edit, create ...
2
votes
2answers
615 views

Ubuntu Daemon Best Practices?

I have a RingoJS webserver (runs atop Jetty) that is part a an Apache reverse proxy setup. I would like multiple Ringo processes to run autonomously in the background, startup automatically on ...
2
votes
4answers
2k views

Service to harden an Ubuntu Server

I have a webserver which is hosted on mosso- Ubuntu 8.04. It does not have Cpanel installed. I wanted know if anyone can recommend any good services to harden my server from hacking etc. I tried ...