Showing posts with label startup. Show all posts
Showing posts with label startup. Show all posts
Tuesday, August 16, 2016
Avoiding Windows Service startup timeouts in your code
check this out: https://www.devopsonwindows.com/avoid-windows-service-start-up-timeouts/
Thursday, April 03, 2014
Waiting for the network to be up on the BeagleBone Black
It finally hit me today as I was reading over this article, and it should have hit me sooner. The article mentions that in order to get past the network startup hurdles in systemd, you need to wait on the NetworkManager service. However, I use connman. It didn't occur to me until today that they provide exactly the same functionality, and I just needed to swap one with the other. Now, I have all my network dependent programs simply After=connman.service in the systemd service descriptor files, and they're golden.
Monday, July 07, 2008
Tomcat quirks
In recent weeks, we've had problems with our company's servers going down because of power problems at our colocation provider. As a result, the fact that Tomcat hadn't been properly configured to boot at startup had really burned us. Consequentially, I've been spending the past few days troubleshooting why the servers wouldn't startup, and ensuring that they do come up properly at boot time in future. The following are some of the things I've run across.
The JAVA_HOME and JRE_HOME variables must be set. If they're not, then Tomcat won't start, at least on Ubuntu Gutsy Gibbon Server. This is a problem I encountered with the default installation of JIRA on one of our production servers.
When using EhCache with Hibernate, the tmp directories don't get deleted, regardless of whether or not Tomcat is shutdown properly. This will block the container from starting up again, so these temp files must be deleted. I encountered this problem with my own applications.
Labels:
boot,
gutsy gibbon,
init script,
JAVA_HOME,
quirks,
script,
startup,
Tomcat,
ubuntu
Subscribe to:
Posts (Atom)