<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Servers &amp; Ops on iniy.org</title><link>https://iniy.org/categories/servers-ops/</link><description>Recent content in Servers &amp; Ops on iniy.org</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 12 Apr 2024 11:00:19 +0000</lastBuildDate><atom:link href="https://iniy.org/categories/servers-ops/index.xml" rel="self" type="application/rss+xml"/><item><title>Guide to limits.conf / ulimit /open file descriptors under linux</title><link>https://iniy.org/2014/07/guide-to-limitsulimit/</link><pubDate>Fri, 04 Jul 2014 18:43:00 +0000</pubDate><guid>https://iniy.org/2014/07/guide-to-limitsulimit/</guid><description>&lt;h1 id="why-does-linux-have-an-open-file-limit"&gt;Why does linux have an open-file-limit?&lt;a class="anchor" href="#why-does-linux-have-an-open-file-limit" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The open-file-limit exists to prevent users/process to use up all resources on a machine. Every file-descriptor uses a certain amount of RAM and a malicious or malfunctioning program could bring down the whole server.&lt;/p&gt;</description></item><item><title>Informatica 9.1 Installation could not start _AdminConsole</title><link>https://iniy.org/2012/08/informatica-9-1-installation-could-not-start-adminconsole/</link><pubDate>Wed, 08 Aug 2012 13:53:07 +0000</pubDate><guid>https://iniy.org/2012/08/informatica-9-1-installation-could-not-start-adminconsole/</guid><description>&lt;p&gt;Installing Informatica with the installer was straightforward, but for some strange reason the adminconsole could not be started. Here the output I found in the Logfile:&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;INFA_HOME/tomcat/logs/node.log&#10; 2012-08-08 12:17:45,294 ERROR [Thread 6 of 6 in DomainServiceThreadPool] [SPC_10013] Prozess für Dienst _AdminConsole konnte nicht gestartet werden.&#10; 2012-08-08 12:27:41,524 ERROR [Thread 6 of 6 in DomainServiceThreadPool] [SPC_10013] Prozess für Dienst _AdminConsole konnte nicht gestartet werden.&#10; 2012-08-08 12:42:07,275 ERROR [Thread 6 of 6 in DomainServiceThreadPool] [SPC_10013] Prozess für Dienst _AdminConsole konnte nicht gestartet werden.&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;this is not very helpful, but in the following logfile I found a clue:&lt;/p&gt;</description></item><item><title>Glassfish Directory Deployment (explode Ear)</title><link>https://iniy.org/2012/07/glassfish-directory-deployment-explode-ear/</link><pubDate>Wed, 04 Jul 2012 14:12:27 +0000</pubDate><guid>https://iniy.org/2012/07/glassfish-directory-deployment-explode-ear/</guid><description>&lt;p&gt;Recently I was struggeling with glassfish directory deployment. Actually it is quite easy:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;unzip the ear-File (eg. example.ear) to a directory without .ear&lt;/li&gt;&#10;&lt;li&gt;then go into this directory and unzip all war and jar files to directories named _jar and _war (only on this directory level, don&amp;rsquo;t touch the files in /lib)&lt;/li&gt;&#10;&lt;li&gt;now copy the folder into your domains-autodeploy-folder&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;For more convenience, use this script. I think it is selfexplaining.&lt;/p&gt;</description></item><item><title>Glassfish 3.1.1 increase asadmin deployment timeout</title><link>https://iniy.org/2012/03/glassfish-3-1-1-increase-asadmin-deployment-timeout/</link><pubDate>Thu, 01 Mar 2012 16:48:18 +0000</pubDate><guid>https://iniy.org/2012/03/glassfish-3-1-1-increase-asadmin-deployment-timeout/</guid><description>&lt;p&gt;Recently I was wondering why the deployment of a EAR-File on Glassfish 3.1.1 over the Web-Administration-Console or with asadmin took very very long in compare to local deployment with eclipse. The EAR-File is about 50 MB of size and contains a complex web-application. With eclipse deployment takes about 20 seconds. With administration-console or with asadmin the deployment takes more than 10 minutes. As the default deployment timeout value of asadmin is 600 seconds i even wasn&amp;rsquo;t able to deploy it at all.&lt;/p&gt;</description></item><item><title>Installing Glassfish 3.1 on headless Centos 5.5</title><link>https://iniy.org/2011/03/installing-glassfish-3-1-on-headless-centos-5-5/</link><pubDate>Thu, 10 Mar 2011 09:01:09 +0000</pubDate><guid>https://iniy.org/2011/03/installing-glassfish-3-1-on-headless-centos-5-5/</guid><description>&lt;p&gt;i run into some problems installing glassfish on a centos server without X-Windows. You can use the glassfish installer, but actually just unzipping the glassfish-zip is the easier method.&lt;/p&gt;&#10;&lt;h2 id="method-1-installing-just-with-a-zip-file-easy-method"&gt;Method 1: Installing just with a zip file (easy method)&lt;a class="anchor" href="#method-1-installing-just-with-a-zip-file-easy-method" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;1. you have to get a java sdk and install (i used the rpm provided by oracle)&lt;br&gt;&#10;2. get the glassfish zip-file install package &lt;a href="http://glassfish.java.net/downloads/3.1.2-final.html" title="http://glassfish.java.net/downloads/3.1.2-final.html" rel="noopener"&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>My first steps with Solaris</title><link>https://iniy.org/2010/11/my-first-steps-with-solaris/</link><pubDate>Tue, 30 Nov 2010 22:06:37 +0000</pubDate><guid>https://iniy.org/2010/11/my-first-steps-with-solaris/</guid><description>&lt;p&gt;For some time now a friend of mine kept nagging me about how cool Solaris were and what nice features like ZFS and everthing it had. As I was using Debian Linux for a really long time and was absolutely satisfied in all situations I didn&amp;rsquo;t give Solaris much of a thought. But recently I decided to give it a chance and try something new. So here are my first experiences and tipps.&lt;/p&gt;</description></item><item><title>OTRS Installation on Debian Linux Lenny</title><link>https://iniy.org/2010/11/otrs-installation-on-debian-linux-lenny/</link><pubDate>Tue, 30 Nov 2010 22:05:45 +0000</pubDate><guid>https://iniy.org/2010/11/otrs-installation-on-debian-linux-lenny/</guid><description>&lt;h2 id="requirements"&gt;Requirements&lt;a class="anchor" href="#requirements" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;A Debian Lenny Basic Installation&lt;/p&gt;&#10;&lt;h2 id=""&gt;&lt;a class="anchor" href="#" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;h2 id="install-otrs-over-apt-get"&gt;Install OTRS over apt-get&lt;a class="anchor" href="#install-otrs-over-apt-get" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;This part is easy&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;apt-get install otrs2&#10;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="first-test"&gt;First Test&lt;a class="anchor" href="#first-test" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Point your browser to your IP (for example 192.168.1.123) /otrs and you should see the OTRS Login&lt;/p&gt;</description></item><item><title>nagios nsca wrapper</title><link>https://iniy.org/2010/11/nagios-nsca-wrapper/</link><pubDate>Tue, 30 Nov 2010 21:56:29 +0000</pubDate><guid>https://iniy.org/2010/11/nagios-nsca-wrapper/</guid><description>&lt;h2 id="nsca-vs-nrpe"&gt;nsca vs. nrpe&lt;a class="anchor" href="#nsca-vs-nrpe" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Personally i favor nrpe as I can control at a central point which checks are really run. I can have 30 checks in the config but, use only 5 of them. With nsca you have to adjust the cronjob-list on every server and have no central option.&lt;/p&gt;</description></item><item><title>nagios checks too slow</title><link>https://iniy.org/2010/11/nagios-checks-too-slow/</link><pubDate>Tue, 30 Nov 2010 21:51:12 +0000</pubDate><guid>https://iniy.org/2010/11/nagios-checks-too-slow/</guid><description>&lt;p&gt;lately i came across a really dumb problem. Our nagios server sucked like hell and I couldn&amp;rsquo;t find the source of the problem. I was tuning nagios-parameters but nothing changed. The server had low load and cpu-usage, but the checks were delayed about 15-30 minutes (should be checked every 2 minutes). Then I found the solution. &lt;strong&gt;nagios active hostchecks&lt;/strong&gt; YOU HAVE TO DISABLE THIS CRAP. In Nagios 2.x the hostchecks are serial, thus delaying all other checks, while checking. With some hundreds hosts it can happen fast, that the server is almost only checking the hosts and not doing anything else.&lt;/p&gt;</description></item><item><title>nfs: Stale File Handle with LVM partitions</title><link>https://iniy.org/2010/10/nfs-stale-file-handle-with-lvm-partitions/</link><pubDate>Tue, 12 Oct 2010 09:24:57 +0000</pubDate><guid>https://iniy.org/2010/10/nfs-stale-file-handle-with-lvm-partitions/</guid><description>&lt;p&gt;recently I was having a problem with NFS. I wanted to export a quite large NFS-Volume (20TB) and when I tried to mount it on the client there was always the error&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;nfs: Stale File Handle&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I couldn&amp;rsquo;t find the error and read some articles which indicated perhaps a corrupted underlying filesystem. Fearing the worst i wanted to do a fsck, but as the server currently is under heavy use this was no option. Luckily i found the next article which explains, that with LVM-Volumes one has to set a &amp;ldquo;fsid&amp;rdquo; Option or the export/mount could fail.&lt;/p&gt;</description></item><item><title>Mini-Howto: SNMP (Simple Network Management Protocol)</title><link>https://iniy.org/2010/01/mini-howto-snmp-simple-network-management-protocol/</link><pubDate>Thu, 21 Jan 2010 12:33:06 +0000</pubDate><guid>https://iniy.org/2010/01/mini-howto-snmp-simple-network-management-protocol/</guid><description>&lt;p&gt;This Howto covers some SNMP Basics and examples how you can read some values&lt;/p&gt;&#10;&lt;h2 id="introduction"&gt;Introduction&lt;a class="anchor" href="#introduction" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The &amp;ldquo;Simple Network Management Protocol&amp;rdquo; is a powerful possibility to query network-devices for information, or even to manage them. It&amp;rsquo;s often also a security risk. As SNMP is a bit difficult to use at the beginning some administrators just skip over it. This can lead to security holes, when SNMP is activated by default on devices. For example on some HP-Switches I configured the default setting for SNMP was set to &amp;ldquo;read + write&amp;rdquo; for &amp;ldquo;public&amp;rdquo;. SNMP was limited to the local network, but still this enables all connected servers to shutdown ports and have other fun as they wanted. Often the configuration is like that to enable some configuration tools to control the switches.&lt;/p&gt;</description></item><item><title>Installing OTRS on CentOS 5</title><link>https://iniy.org/2009/12/installing-otrs-on-centos-5/</link><pubDate>Sat, 26 Dec 2009 18:44:50 +0000</pubDate><guid>https://iniy.org/2009/12/installing-otrs-on-centos-5/</guid><description>&lt;p&gt;The rpm-packages for CentOS can easily be downloaded from &lt;a href="http://otrs.org/download/" rel="noopener"&gt;http://otrs.org/download/&lt;/a&gt; . Install with yum&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;wget http://ftp.otrs.org/pub/otrs/RPMS/fedora/4/otrs-2.4.5-01.noarch.rpm&#10;yum install --nogpgcheck otrs-2.4.5-01.noarch.rpm&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Don&amp;rsquo;t forget to disable selinux.&lt;/p&gt;&#10;&lt;p&gt;call in your browser &lt;strong&gt;&lt;a href="http://yourserver.com/otrs/installer.pl" rel="noopener"&gt;http://yourserver.com/otrs/installer.pl&lt;/a&gt;&lt;/strong&gt; and setup the database.&lt;/p&gt;&#10;&lt;p&gt;Now install the otrs cronjobs&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;sudo -u otrs /opt/otrs/bin/Cron.sh&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;this installs the otrs cronjobs in /var/spool/cron/otrs&lt;/p&gt;</description></item><item><title>Installing OpenBSD 64Bit on a Software Raid 1 (Mirroring)</title><link>https://iniy.org/2009/09/installing-openbsd-64bit-on-a-software-raid-1-mirroring/</link><pubDate>Sun, 27 Sep 2009 11:34:54 +0000</pubDate><guid>https://iniy.org/2009/09/installing-openbsd-64bit-on-a-software-raid-1-mirroring/</guid><description>&lt;h2 id="credits"&gt;Credits&lt;a class="anchor" href="#credits" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;This very good article is written by &lt;strong&gt;&lt;a href="mailto:mredivo@binarytool.com"&gt;Marcus Redivo&lt;/a&gt;&lt;/strong&gt;.&lt;br&gt;&#10;&lt;a href="http://www.eclectica.ca/howto/openbsd-software-raid-howto.php" rel="noopener"&gt;http://www.eclectica.ca/howto/openbsd-software-raid-howto.php&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;I added a warning to stress one point (see red font) which took me 5 hours to find the error, the rest is the orginal tutorial, have fun.&lt;/p&gt;</description></item><item><title>Build your own Debian Packages</title><link>https://iniy.org/2009/07/build-your-own-debian-packages/</link><pubDate>Wed, 08 Jul 2009 14:28:09 +0000</pubDate><guid>https://iniy.org/2009/07/build-your-own-debian-packages/</guid><description>&lt;p&gt;Until now when I wrote some scripts I always copied them directly to the Servers .I always thought: &amp;ldquo;It would be really cool if this were a Debian Package&amp;rdquo;. I played with the thougth of creating my own packages but it seemed to be very complicated (reading the Debian Standard Howto). Lately I discovered, that the Debian Howto covers a lot more than I actually needed and to create a simple binary package you actually need almost only your scripts. So let&amp;rsquo;s start.&lt;/p&gt;</description></item></channel></rss>