<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="https://www.kudos.be/feed.xml" rel="self" type="application/atom+xml" /><link href="https://www.kudos.be/" rel="alternate" type="text/html" /><updated>2024-08-18T07:31:24+00:00</updated><id>https://www.kudos.be/feed.xml</id><title type="html">*nix the multiverse</title><subtitle>Website of KUDOS BV &amp; Patrick Van der Veken (IT related topics)</subtitle><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;&quot;/assets/site/osopolar.jpg&quot;, &quot;bio&quot;=&gt;&quot;Linux/UNIX admin, open-source advocate&quot;, &quot;location&quot;=&gt;&quot;Belgium&quot;, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;E-mail&quot;, &quot;icon&quot;=&gt;&quot;fas fa-at&quot;, &quot;url&quot;=&gt;&quot;mailto:patrick@kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;Git (self-hosted)&quot;, &quot;icon&quot;=&gt;&quot;fab fa-git-alt&quot;, &quot;url&quot;=&gt;&quot;https://git.kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;FSF&quot;, &quot;icon&quot;=&gt;&quot;far fa-grin&quot;, &quot;url&quot;=&gt;&quot;https://my.fsf.org/&quot;}, {&quot;label&quot;=&gt;&quot;Linkedin&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://linkedin.com/patvdv&quot;}]}</name></author><entry><title type="html">Moving from Github to self-hosted git</title><link href="https://www.kudos.be/2024/08/02/going-git-self-hosting/" rel="alternate" type="text/html" title="Moving from Github to self-hosted git" /><published>2024-08-02T00:00:00+00:00</published><updated>2024-08-02T00:00:00+00:00</updated><id>https://www.kudos.be/2024/08/02/going-git-self-hosting</id><content type="html" xml:base="https://www.kudos.be/2024/08/02/going-git-self-hosting/">&lt;p&gt;I have taken the step to move all my repositories from &lt;a href=&quot;https://www.github.com&quot;&gt;Github&lt;/a&gt; to my own &lt;strong&gt;self-hosted&lt;/strong&gt; git service at &lt;a href=&quot;https://git.kudos.be&quot;&gt;git.kudos.be&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The move is a logical consequence of the ever further commercialization and exploitation of the Github platform by Microsoft. With the introduction of the Copilot AI integration it is obvious that Microsoft is using the enormous code base as training data for its AI tool. And just as with almost all other current AI technology companies, there is no compensation nor attribution for the use of the original work.&lt;/p&gt;

&lt;p&gt;I know my own code base is pretty insignificant and it will still remain available publicly through my own git service. Moving away from Github is therefore a rather symbolic action but for the sake of my own ethical peace, it is still an important one. My contributions will no longer reside on Microsoft servers where they can be directly fed into the data munching machine of its AI engine.&lt;/p&gt;

&lt;p&gt;For those who are interested in self-hosting git repositories: I recommend using &lt;strong&gt;&lt;a href=&quot;https://www.gitea.com&quot;&gt;Gitea&lt;/a&gt;&lt;/strong&gt; which I have been using a few years already for my private repositories:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;It is FOSS&lt;/li&gt;
  &lt;li&gt;It has grown into full-featured code hosting and CD/CI platform.&lt;/li&gt;
  &lt;li&gt;It has a fast release cycle and vibrant community&lt;/li&gt;
  &lt;li&gt;It ranks well with the known competitors such gitlab, bitbucket etc.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You may find following articles interesting when comparing different code hosting solutions:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.gitea.com/features/comparison&quot; target=&quot;_blank&quot;&gt;Gitea compared to other Git hosting options&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://deploybot.com/blog/finding-your-perfect-code-castle-a-look-at-github-bitbucket-gitlab-and-gitea&quot; target=&quot;_blank&quot;&gt;Finding Your Perfect Code Castle: A Look at GitHub, Bitbucket, GitLab, and Gitea&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://blog.clovyr.io/gogs-vs-gitea-vs-github/&quot; target=&quot;_blank&quot;&gt;Comparing Gogs, Gitea, and GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;&quot;/assets/site/osopolar.jpg&quot;, &quot;bio&quot;=&gt;&quot;Linux/UNIX admin, open-source advocate&quot;, &quot;location&quot;=&gt;&quot;Belgium&quot;, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;E-mail&quot;, &quot;icon&quot;=&gt;&quot;fas fa-at&quot;, &quot;url&quot;=&gt;&quot;mailto:patrick@kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;Git (self-hosted)&quot;, &quot;icon&quot;=&gt;&quot;fab fa-git-alt&quot;, &quot;url&quot;=&gt;&quot;https://git.kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;FSF&quot;, &quot;icon&quot;=&gt;&quot;far fa-grin&quot;, &quot;url&quot;=&gt;&quot;https://my.fsf.org/&quot;}, {&quot;label&quot;=&gt;&quot;Linkedin&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://linkedin.com/patvdv&quot;}]}</name></author><category term="development" /><category term="scripts" /><category term="git" /><category term="gitea" /><summary type="html">I have taken the step to move all my repositories from Github to my own self-hosted git service at git.kudos.be. The move is a logical consequence of the ever further commercialization and exploitation of the Github platform by Microsoft. With the introduction of the Copilot AI integration it is obvious that Microsoft is using the enormous code base as training data for its AI tool. And just as with almost all other current AI technology companies, there is no compensation nor attribution for the use of the original work. I know my own code base is pretty insignificant and it will still remain available publicly through my own git service. Moving away from Github is therefore a rather symbolic action but for the sake of my own ethical peace, it is still an important one. My contributions will no longer reside on Microsoft servers where they can be directly fed into the data munching machine of its AI engine. For those who are interested in self-hosting git repositories: I recommend using Gitea which I have been using a few years already for my private repositories: It is FOSS It has grown into full-featured code hosting and CD/CI platform. It has a fast release cycle and vibrant community It ranks well with the known competitors such gitlab, bitbucket etc. You may find following articles interesting when comparing different code hosting solutions: Gitea compared to other Git hosting options Finding Your Perfect Code Castle: A Look at GitHub, Bitbucket, GitLab, and Gitea Comparing Gogs, Gitea, and GitHub</summary></entry><entry><title type="html">SSH Controls updates</title><link href="https://www.kudos.be/2020/12/30/ssh-controls-updates/" rel="alternate" type="text/html" title="SSH Controls updates" /><published>2020-12-30T00:00:00+00:00</published><updated>2020-12-30T00:00:00+00:00</updated><id>https://www.kudos.be/2020/12/30/ssh-controls-updates</id><content type="html" xml:base="https://www.kudos.be/2020/12/30/ssh-controls-updates/">&lt;!--more--&gt;

&lt;p&gt;&lt;a href=&quot;&quot; class=&quot;btn btn--success&quot;&gt;New&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;added support for standard home directory location for public keys (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$HOME/.ssh&lt;/code&gt;). Set &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;key_location=use_sshd&lt;/code&gt; in &lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;update_ssh.conf[.local]&lt;/code&gt;&lt;/strong&gt; with &lt;em&gt;AuthorizedKeysFile&lt;/em&gt; set to the default value in &lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshd_config&lt;/code&gt;&lt;/strong&gt; (or use the value .&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh/authorized_keys&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p class=&quot;notice&quot;&gt;:pushpin: SSH Controls will not create parent nor intermediate directories in the public key file path if they are missing.&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;added support for SELinux (CentOS/RHEL 8.x)&lt;/li&gt;
  &lt;li&gt;various fixes&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;see-also&quot;&gt;See also&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;i class=&quot;fas fa-terminal&quot;&gt;&lt;/i&gt; &lt;a href=&quot;/ssh_controls/&quot;&gt;SSH Controls&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;&quot;/assets/site/osopolar.jpg&quot;, &quot;bio&quot;=&gt;&quot;Linux/UNIX admin, open-source advocate&quot;, &quot;location&quot;=&gt;&quot;Belgium&quot;, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;E-mail&quot;, &quot;icon&quot;=&gt;&quot;fas fa-at&quot;, &quot;url&quot;=&gt;&quot;mailto:patrick@kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;Git (self-hosted)&quot;, &quot;icon&quot;=&gt;&quot;fab fa-git-alt&quot;, &quot;url&quot;=&gt;&quot;https://git.kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;FSF&quot;, &quot;icon&quot;=&gt;&quot;far fa-grin&quot;, &quot;url&quot;=&gt;&quot;https://my.fsf.org/&quot;}, {&quot;label&quot;=&gt;&quot;Linkedin&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://linkedin.com/patvdv&quot;}]}</name></author><category term="news" /><category term="ssh controls" /><summary type="html"></summary></entry><entry><title type="html">Health Checker updates</title><link href="https://www.kudos.be/2020/12/27/hc-updates/" rel="alternate" type="text/html" title="Health Checker updates" /><published>2020-12-27T00:00:00+00:00</published><updated>2020-12-27T00:00:00+00:00</updated><id>https://www.kudos.be/2020/12/27/hc-updates</id><content type="html" xml:base="https://www.kudos.be/2020/12/27/hc-updates/">&lt;!--more--&gt;

&lt;p&gt;&lt;a href=&quot;&quot; class=&quot;btn btn--success&quot;&gt;New&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Added &lt;i class=&quot;fas fa-plug&quot;&gt;&lt;/i&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;check_linux_dovecot_status&lt;/code&gt; plugin&lt;/li&gt;
  &lt;li&gt;Added &lt;i class=&quot;fas fa-plug&quot;&gt;&lt;/i&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;check_linux_fetchmail_status&lt;/code&gt; plugin&lt;/li&gt;
  &lt;li&gt;Added &lt;i class=&quot;fas fa-plug&quot;&gt;&lt;/i&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;check_linux_uptime&lt;/code&gt; plugin&lt;/li&gt;
  &lt;li&gt;Added &lt;i class=&quot;fas fa-plug&quot;&gt;&lt;/i&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;check_aix_uptime&lt;/code&gt; plugin&lt;/li&gt;
  &lt;li&gt;Added &lt;i class=&quot;fas fa-plug&quot;&gt;&lt;/i&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;check_hpux_uptime&lt;/code&gt; plugin&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href=&quot;&quot; class=&quot;btn btn--info&quot;&gt;Updated&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Added configuration check to &lt;i class=&quot;fas fa-plug&quot;&gt;&lt;/i&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;check_hpux_postfix&lt;/code&gt; plugin&lt;/li&gt;
  &lt;li&gt;Added configuration check to &lt;i class=&quot;fas fa-plug&quot;&gt;&lt;/i&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;check_linux_postfix&lt;/code&gt; plugin&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href=&quot;&quot; class=&quot;btn btn--warning&quot;&gt;Fixed&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Fixes in:
    &lt;ul&gt;
      &lt;li&gt;&lt;i class=&quot;fas fa-plug&quot;&gt;&lt;/i&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;check_linux_ntp_status&lt;/code&gt; plugin&lt;/li&gt;
      &lt;li&gt;&lt;i class=&quot;fas fa-plug&quot;&gt;&lt;/i&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;check_hpux_ntp_status&lt;/code&gt; plugin&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Archiving: made more efficient (aka faster)&lt;/li&gt;
  &lt;li&gt;Show statistics: showing archived events in proper reverse chronological order&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;see-also&quot;&gt;See also&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;i class=&quot;fas fa-terminal&quot;&gt;&lt;/i&gt; &lt;a href=&quot;/check_health/&quot;&gt;Health checker&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;&quot;/assets/site/osopolar.jpg&quot;, &quot;bio&quot;=&gt;&quot;Linux/UNIX admin, open-source advocate&quot;, &quot;location&quot;=&gt;&quot;Belgium&quot;, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;E-mail&quot;, &quot;icon&quot;=&gt;&quot;fas fa-at&quot;, &quot;url&quot;=&gt;&quot;mailto:patrick@kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;Git (self-hosted)&quot;, &quot;icon&quot;=&gt;&quot;fab fa-git-alt&quot;, &quot;url&quot;=&gt;&quot;https://git.kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;FSF&quot;, &quot;icon&quot;=&gt;&quot;far fa-grin&quot;, &quot;url&quot;=&gt;&quot;https://my.fsf.org/&quot;}, {&quot;label&quot;=&gt;&quot;Linkedin&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://linkedin.com/patvdv&quot;}]}</name></author><category term="news" /><category term="health checker" /><summary type="html"></summary></entry><entry><title type="html">HP-UX LVM scripts (update)</title><link href="https://www.kudos.be/2020/11/02/hp-ux-lvm-scripts-update/" rel="alternate" type="text/html" title="HP-UX LVM scripts (update)" /><published>2020-11-02T00:00:00+00:00</published><updated>2020-11-02T00:00:00+00:00</updated><id>https://www.kudos.be/2020/11/02/hp-ux-lvm-scripts-update</id><content type="html" xml:base="https://www.kudos.be/2020/11/02/hp-ux-lvm-scripts-update/">&lt;p&gt;Over the last couple of years I have made some small and not so small improvements to the &lt;a href=&quot;/2016/04/16/hp-ux-lvm-scripts-in-linux-style/&quot;&gt;LVM scripts for HP-UX&lt;/a&gt;. Most notably additional options/toggles were added that make the scripts more interesting:
&lt;!--more--&gt;&lt;/p&gt;
&lt;h2 id=&quot;vgspl&quot;&gt;vgs.pl&lt;/h2&gt;

&lt;p&gt;To limit the output to &lt;strong&gt;PE&lt;/strong&gt; (physical extent) info:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# vgs.pl --pe&lt;/span&gt;

VG                PVs   LVs   Status               Version  PE Size  PE Total   PE Alloc   PE Free    Max PE/PV
vg00              1     9     available            1.0      64       3035       1549       1486       3035
vg_evtdump        0     0     deactivated          n/a      0        0          0          0          0
vg_evtdump1       0     0     deactivated          n/a      0        0          0          0          0
vg_evtdump2       0     0     deactivated          n/a      0        0          0          0          0
vg_evtdump3       0     0     deactivated          n/a      0        0          0          0          0
vg_evtdump4       0     0     deactivated          n/a      0        0          0          0          0
vg_eztdump        1     1     available,exclusive  2.2      64       895        895        0          8000
vg_eztdump1       1     1     available,exclusive  2.2      64       175        175        0          8000
vg_eztdump2       1     1     available,exclusive  2.2      64       255        255        0          8000
vg_eztdump3       1     1     available,exclusive  2.2      64       95         95         0          8000
vg_eztdump4       1     1     available,exclusive  2.2      64       95         95         0          8000
...&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;To limit the output to &lt;strong&gt;PV&lt;/strong&gt; (physical volume) info:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# vgs.pl --pv&lt;/span&gt;

VG                PVs   LVs   Status               Version  Max PV   Act PV   PVGs     Max PE/PV
vg00              1     9     available            1.0      16       1        0        3035
vg_evtdump        0     0     deactivated          n/a      0        0        0        0
vg_evtdump1       0     0     deactivated          n/a      0        0        0        0
vg_evtdump2       0     0     deactivated          n/a      0        0        0        0
vg_evtdump3       0     0     deactivated          n/a      0        0        0        0
vg_evtdump4       0     0     deactivated          n/a      0        0        0        0
vg_eztdump        1     1     available,exclusive  2.2      2048     1        0        8000
vg_eztdump1       1     1     available,exclusive  2.2      2048     1        0        8000
vg_eztdump2       1     1     available,exclusive  2.2      2048     1        0        8000
vg_eztdump3       1     1     available,exclusive  2.2      2048     1        0        8000
vg_eztdump4       1     1     available,exclusive  2.2      2048     1        0        8000
...&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;To limit the output to &lt;strong&gt;active&lt;/strong&gt; VGs only:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;vgs.pl &lt;span class=&quot;nt&quot;&gt;--active&lt;/span&gt;

VG                PVs   LVs   Status               Version  PE Size  VG Size    VG Free    VG Max     VG Major/Minor
vg00              1     9     available            1.0      64       190        93         3035        64/0x1e0000
vg_eztdump        1     1     available,exclusive  2.2      64       56         0          500        128/0x173000
vg_eztdump1       1     1     available,exclusive  2.2      64       11         0          500        128/0x177000
vg_eztdump2       1     1     available,exclusive  2.2      64       16         0          500        128/0x176000
vg_eztdump3       1     1     available,exclusive  2.2      64       6          0          500        128/0x178000
vg_eztdump4       1     1     available,exclusive  2.2      64       6          0          500        128/0x185000
...&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;h2 id=&quot;lvspl&quot;&gt;lvs.pl&lt;/h2&gt;

&lt;p&gt;To show &lt;strong&gt;FS&lt;/strong&gt; filesystems related info:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# lvs.pl --fs&lt;/span&gt;

LV                               VG                Status            Size    Extents    Filesystem           FS size    FS free
/dev/vg00/lvol1                  vg00              available,syncd   2       32         /stand               2          2
/dev/vg00/lvol2                  vg00              available,syncd   8       128        -                    0          0
/dev/vg00/lvol3                  vg00              available,syncd   9       135        /                    9          6
/dev/vg00/lvol4                  vg00              available,syncd   4       60         /home                4          1
/dev/vg00/lvol5                  vg00              available,syncd   20      320        /opt                 20         8
/dev/vg00/lvol6                  vg00              available,syncd   5       80         /tmp                 5          3
/dev/vg00/lvol7                  vg00              available,syncd   12      192        /usr                 12         8
/dev/vg00/lvol8                  vg00              available,syncd   31      490        /var                 31         11
/dev/vg00/lvol9                  vg00              available,syncd   7       112        /var/adm/crash       7          7
/dev/vg_eztdump/lvdat1           vg_eztdump        available,syncd   56      895        /EZT/d               56         13
/dev/vg_eztdump1/lvdat1          vg_eztdump1       available,syncd   11      175        /EZT/d1              11         6
/dev/vg_eztdump2/lvdat1          vg_eztdump2       available,syncd   16      255        /EZT/d2              15         15
/dev/vg_eztdump3/lvdat1          vg_eztdump3       available,syncd   6       95         /EZT/d3              6          6
/dev/vg_eztdump4/lvdat1          vg_eztdump4       available,syncd   6       95         /EZT/d4              6          6
/dev/vg_eqtdump/lvdat1           vg_eqtdump        available,syncd   101     1615       /EQT/d               99         43&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;</content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;&quot;/assets/site/osopolar.jpg&quot;, &quot;bio&quot;=&gt;&quot;Linux/UNIX admin, open-source advocate&quot;, &quot;location&quot;=&gt;&quot;Belgium&quot;, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;E-mail&quot;, &quot;icon&quot;=&gt;&quot;fas fa-at&quot;, &quot;url&quot;=&gt;&quot;mailto:patrick@kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;Git (self-hosted)&quot;, &quot;icon&quot;=&gt;&quot;fab fa-git-alt&quot;, &quot;url&quot;=&gt;&quot;https://git.kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;FSF&quot;, &quot;icon&quot;=&gt;&quot;far fa-grin&quot;, &quot;url&quot;=&gt;&quot;https://my.fsf.org/&quot;}, {&quot;label&quot;=&gt;&quot;Linkedin&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://linkedin.com/patvdv&quot;}]}</name></author><category term="sysadmin" /><category term="scripts" /><category term="hp-ux" /><category term="perl" /><summary type="html">Over the last couple of years I have made some small and not so small improvements to the LVM scripts for HP-UX. Most notably additional options/toggles were added that make the scripts more interesting:</summary></entry><entry><title type="html">Health Checker updates</title><link href="https://www.kudos.be/2020/10/31/hc-updates/" rel="alternate" type="text/html" title="Health Checker updates" /><published>2020-10-31T00:00:00+00:00</published><updated>2020-10-31T00:00:00+00:00</updated><id>https://www.kudos.be/2020/10/31/hc-updates</id><content type="html" xml:base="https://www.kudos.be/2020/10/31/hc-updates/">&lt;!--more--&gt;

&lt;p&gt;&lt;a href=&quot;&quot; class=&quot;btn btn--success&quot;&gt;New&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Added &lt;i class=&quot;fas fa-plug&quot;&gt;&lt;/i&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;check_linux_fail2ban_status&lt;/code&gt; plugin&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href=&quot;&quot; class=&quot;btn btn--warning&quot;&gt;Fixed&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Various fixes in:
    &lt;ul&gt;
      &lt;li&gt;&lt;i class=&quot;fas fa-plug&quot;&gt;&lt;/i&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;check_linux_httpd_status&lt;/code&gt; plugin&lt;/li&gt;
      &lt;li&gt;&lt;i class=&quot;fas fa-plug&quot;&gt;&lt;/i&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;check_linux_mysqld_status&lt;/code&gt; plugin&lt;/li&gt;
      &lt;li&gt;&lt;i class=&quot;fas fa-plug&quot;&gt;&lt;/i&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;display_init&lt;/code&gt; plugin&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;see-also&quot;&gt;See also&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;i class=&quot;fas fa-terminal&quot;&gt;&lt;/i&gt; &lt;a href=&quot;/check_health/&quot;&gt;Health checker&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;&quot;/assets/site/osopolar.jpg&quot;, &quot;bio&quot;=&gt;&quot;Linux/UNIX admin, open-source advocate&quot;, &quot;location&quot;=&gt;&quot;Belgium&quot;, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;E-mail&quot;, &quot;icon&quot;=&gt;&quot;fas fa-at&quot;, &quot;url&quot;=&gt;&quot;mailto:patrick@kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;Git (self-hosted)&quot;, &quot;icon&quot;=&gt;&quot;fab fa-git-alt&quot;, &quot;url&quot;=&gt;&quot;https://git.kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;FSF&quot;, &quot;icon&quot;=&gt;&quot;far fa-grin&quot;, &quot;url&quot;=&gt;&quot;https://my.fsf.org/&quot;}, {&quot;label&quot;=&gt;&quot;Linkedin&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://linkedin.com/patvdv&quot;}]}</name></author><category term="news" /><category term="health checker" /><summary type="html"></summary></entry><entry><title type="html">Oracle: unable to mount filesystems</title><link href="https://www.kudos.be/2020/08/03/oracle-unable-to-mount-filesystems/" rel="alternate" type="text/html" title="Oracle: unable to mount filesystems" /><published>2020-08-03T00:00:00+00:00</published><updated>2020-08-03T00:00:00+00:00</updated><id>https://www.kudos.be/2020/08/03/oracle-unable-to-mount-filesystems</id><content type="html" xml:base="https://www.kudos.be/2020/08/03/oracle-unable-to-mount-filesystems/">&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mount&lt;/code&gt; command fails for filesystems with option &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;convosync=direct&lt;/code&gt;:&lt;/p&gt;

&lt;!--more--&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# mount /u01/ORACLE/DBX01&lt;/span&gt;
UX:vxfs mount: ERROR: V-3-21262: option not supported on this version of vxfs.&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;Online JFS is not enabled. This is due to an error in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/inittab&lt;/code&gt;:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-conf&quot; data-lang=&quot;conf&quot;&gt;&lt;span class=&quot;n&quot;&gt;vxen&lt;/span&gt;::&lt;span class=&quot;n&quot;&gt;bootwait&lt;/span&gt;:/&lt;span class=&quot;n&quot;&gt;sbin&lt;/span&gt;/&lt;span class=&quot;n&quot;&gt;fs&lt;/span&gt;/&lt;span class=&quot;n&quot;&gt;vxfs&lt;/span&gt;/&lt;span class=&quot;n&quot;&gt;vxenablef&lt;/span&gt; -&lt;span class=&quot;n&quot;&gt;a&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;Replace this line with the correct one:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-conf&quot; data-lang=&quot;conf&quot;&gt;&lt;span class=&quot;n&quot;&gt;vxen&lt;/span&gt;::&lt;span class=&quot;n&quot;&gt;bootwait&lt;/span&gt;:/&lt;span class=&quot;n&quot;&gt;sbin&lt;/span&gt;/&lt;span class=&quot;n&quot;&gt;fs&lt;/span&gt;/&lt;span class=&quot;n&quot;&gt;vxfs5&lt;/span&gt;.&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;/&lt;span class=&quot;n&quot;&gt;vxenablef&lt;/span&gt; -&lt;span class=&quot;n&quot;&gt;a&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;Execute it manually for now (as root) for the mount to succeed:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# /sbin/fs/vxfs5.0/vxenablef -a&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;</content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;&quot;/assets/site/osopolar.jpg&quot;, &quot;bio&quot;=&gt;&quot;Linux/UNIX admin, open-source advocate&quot;, &quot;location&quot;=&gt;&quot;Belgium&quot;, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;E-mail&quot;, &quot;icon&quot;=&gt;&quot;fas fa-at&quot;, &quot;url&quot;=&gt;&quot;mailto:patrick@kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;Git (self-hosted)&quot;, &quot;icon&quot;=&gt;&quot;fab fa-git-alt&quot;, &quot;url&quot;=&gt;&quot;https://git.kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;FSF&quot;, &quot;icon&quot;=&gt;&quot;far fa-grin&quot;, &quot;url&quot;=&gt;&quot;https://my.fsf.org/&quot;}, {&quot;label&quot;=&gt;&quot;Linkedin&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://linkedin.com/patvdv&quot;}]}</name></author><category term="sysadmin" /><category term="database" /><category term="hp-ux" /><category term="oracle" /><category term="vxfs" /><summary type="html">The mount command fails for filesystems with option convosync=direct:</summary></entry><entry><title type="html">Tracing automounter</title><link href="https://www.kudos.be/2020/07/07/tracing-automounter/" rel="alternate" type="text/html" title="Tracing automounter" /><published>2020-07-07T00:00:00+00:00</published><updated>2020-07-07T00:00:00+00:00</updated><id>https://www.kudos.be/2020/07/07/tracing-automounter</id><content type="html" xml:base="https://www.kudos.be/2020/07/07/tracing-automounter/">&lt;h2 id=&quot;levels&quot;&gt;Levels&lt;/h2&gt;

&lt;p&gt;Two levels of automounter tracing are available:&lt;/p&gt;

&lt;!--more--&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Detailed (level 3)&lt;/strong&gt;: Includes traces of all automounter requests and replies, mount attempts, timeouts, and unmount attempts. You can start level 3 tracing while the automounter is running.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Basic (level 1)&lt;/strong&gt;: Includes traces of all automounter requests and replies. You must restart the automounter to start level 1 tracing.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;to-start-and-stop-automounter-detailed-tracing&quot;&gt;To start and stop automounter detailed tracing&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;Log in as root to the NFS client.&lt;/li&gt;
  &lt;li&gt;Issue the following commands:&lt;/li&gt;
&lt;/ol&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# ps -ef | grep &apos;automount&apos;&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# kill -SIGUSR2 &amp;lt;PID&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;Level 3 tracing is appended to the file &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/var/adm/automount.log&lt;/code&gt;. To stop level 3 tracing, issue the same commands listed above to send the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SIGUSR2&lt;/code&gt; signal to the automounter. The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SIGUSR2&lt;/code&gt; signal is a toggle that turns tracing on or off depending on its current state. If you have basic (level 1) tracing turned on when you send the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SIGUSR2&lt;/code&gt; signal to the automounter, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SIGUSR2&lt;/code&gt; signal turns tracing off.&lt;/p&gt;

&lt;h2 id=&quot;to-start-and-stop-automounter-basic-tracing&quot;&gt;To start and stop automounter basic tracing&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;Log in as root to the NFS client.&lt;/li&gt;
  &lt;li&gt;Add &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;2&amp;gt; tracefile&lt;/code&gt; to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AUTO_OPTIONS&lt;/code&gt; variable in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/rc.config.d/nfsconf&lt;/code&gt; file, as in the following example:&lt;/li&gt;
&lt;/ol&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-conf&quot; data-lang=&quot;conf&quot;&gt;&lt;span class=&quot;n&quot;&gt;AUTO_OPTIONS&lt;/span&gt;=&lt;span class=&quot;s2&quot;&gt;&quot;-f $AUTO_MASTER 2&amp;gt; /var/adm/automount.log&quot;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;This change redirects standard error to the file &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/var/adm/automount.log&lt;/code&gt;. Automounter basic trace output is sent to standard error.&lt;/p&gt;

&lt;ol start=&quot;3&quot;&gt;
  &lt;li&gt;Issue the following command to get a list of all the automounted directories on the client:&lt;/li&gt;
&lt;/ol&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# /usr/bin/grep tmp_mnt /etc/mnttab&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;ol start=&quot;4&quot;&gt;
  &lt;li&gt;For every automounted directory listed by the grep command, issue the following command to determine whether the directory is currently in use:&lt;/li&gt;
&lt;/ol&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# /usr/sbin/fuser -cu local_mount_point&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;This command lists the process IDs and user names of everyone using the mounted directory.&lt;/p&gt;

&lt;ol start=&quot;5&quot;&gt;
  &lt;li&gt;Warn any users to cd out of the directory, and kill any processes that are using the directory, or wait until the processes terminate. You can issue the following command to kill all the processes using the mounted directory:&lt;/li&gt;
&lt;/ol&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# /usr/sbin/fuser -ck local_mount_point&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;ol start=&quot;6&quot;&gt;
  &lt;li&gt;Issue the following commands to kill the automounter (PID is the process ID returned by the ps command):&lt;/li&gt;
&lt;/ol&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# ps -ef | grep automount&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# kill -SIGTERM PID&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p class=&quot;notice--danger&quot;&gt;:warning: Do not kill the automounter with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-SIGKILL&lt;/code&gt; (-9).&lt;/p&gt;

&lt;ol start=&quot;7&quot;&gt;
  &lt;li&gt;Issue the following command to start the automounter with tracing enabled:&lt;/li&gt;
&lt;/ol&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# /usr/sbin/automount &amp;lt;options&amp;gt; -T&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;&lt;em&gt;options&lt;/em&gt; is the list of options configured in the AUTO_OPTIONS variable in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/rc.config.d/nfsconf&lt;/code&gt; file. You can also source the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/rc.config.d/nfsconf&lt;/code&gt; file, and then enter the automount command as follows:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# /usr/sbin/automount $AUTO_OPTIONS -T&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;To stop automounter logging, kill the automounter and restart it, start it without the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-T&lt;/code&gt; option.&lt;/p&gt;</content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;&quot;/assets/site/osopolar.jpg&quot;, &quot;bio&quot;=&gt;&quot;Linux/UNIX admin, open-source advocate&quot;, &quot;location&quot;=&gt;&quot;Belgium&quot;, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;E-mail&quot;, &quot;icon&quot;=&gt;&quot;fas fa-at&quot;, &quot;url&quot;=&gt;&quot;mailto:patrick@kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;Git (self-hosted)&quot;, &quot;icon&quot;=&gt;&quot;fab fa-git-alt&quot;, &quot;url&quot;=&gt;&quot;https://git.kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;FSF&quot;, &quot;icon&quot;=&gt;&quot;far fa-grin&quot;, &quot;url&quot;=&gt;&quot;https://my.fsf.org/&quot;}, {&quot;label&quot;=&gt;&quot;Linkedin&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://linkedin.com/patvdv&quot;}]}</name></author><category term="sysadmin" /><category term="networking" /><category term="hp-ux" /><category term="autofs" /><category term="nfs" /><summary type="html">Levels Two levels of automounter tracing are available:</summary></entry><entry><title type="html">Too many PTYs in use</title><link href="https://www.kudos.be/2020/06/04/too-many-ptys-in-use/" rel="alternate" type="text/html" title="Too many PTYs in use" /><published>2020-06-04T00:00:00+00:00</published><updated>2020-06-04T00:00:00+00:00</updated><id>https://www.kudos.be/2020/06/04/too-many-ptys-in-use</id><content type="html" xml:base="https://www.kudos.be/2020/06/04/too-many-ptys-in-use/">&lt;!--more--&gt;

&lt;h2 id=&quot;problem&quot;&gt;Problem&lt;/h2&gt;

&lt;p&gt;SSH session to remote systems is hanging:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-conf&quot; data-lang=&quot;conf&quot;&gt;&lt;span class=&quot;n&quot;&gt;Jun&lt;/span&gt;  &lt;span class=&quot;m&quot;&gt;3&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;10&lt;/span&gt;:&lt;span class=&quot;m&quot;&gt;11&lt;/span&gt;:&lt;span class=&quot;m&quot;&gt;52&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;serv1&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;sshd&lt;/span&gt;[&lt;span class=&quot;m&quot;&gt;21086&lt;/span&gt;]: &lt;span class=&quot;n&quot;&gt;error&lt;/span&gt;: &lt;span class=&quot;n&quot;&gt;openpty&lt;/span&gt;: &lt;span class=&quot;n&quot;&gt;Not&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;a&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;typewriter&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;Jun&lt;/span&gt;  &lt;span class=&quot;m&quot;&gt;3&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;10&lt;/span&gt;:&lt;span class=&quot;m&quot;&gt;11&lt;/span&gt;:&lt;span class=&quot;m&quot;&gt;52&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;serv1&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;sshd&lt;/span&gt;[&lt;span class=&quot;m&quot;&gt;21086&lt;/span&gt;]: &lt;span class=&quot;n&quot;&gt;error&lt;/span&gt;: &lt;span class=&quot;n&quot;&gt;session_pty_req&lt;/span&gt;: &lt;span class=&quot;n&quot;&gt;session&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;alloc&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;failed&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;h2 id=&quot;solution&quot;&gt;Solution&lt;/h2&gt;

&lt;p&gt;There are too many sessions using PTYs:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# ps -ef | awk &apos;{ print $6 }&apos; | grep &quot;pts&quot; | wc -l&lt;/span&gt;
60&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;Where is the maximum supported PTYs is:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# kctune -v nstrpty&lt;/span&gt;

Tunable             nstrpty
Description         Maximum number of Streams-based pseudo-terminals
Module              ptm
Current Value       60 &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;Default]
Value at Next Boot  60 &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;Default]
Value at Last Boot  60
Default Value       60
Can Change          At Next Boot Only

&lt;span class=&quot;c&quot;&gt;# ls /dev/pts | egrep -i &apos;^[0-9]&apos; | wc -w&lt;/span&gt;
60&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;h2 id=&quot;background&quot;&gt;Background&lt;/h2&gt;

&lt;p&gt;There are actually three different types of ptys in HP-UX. You can see them all among the output of lsdev:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-conf&quot; data-lang=&quot;conf&quot;&gt;&lt;span class=&quot;n&quot;&gt;Character&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;Block&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;Driver&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;Class&lt;/span&gt;
&lt;span class=&quot;m&quot;&gt;16&lt;/span&gt; -&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ptym&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ptym&lt;/span&gt;
&lt;span class=&quot;m&quot;&gt;17&lt;/span&gt; -&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ptys&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ptys&lt;/span&gt;
&lt;span class=&quot;m&quot;&gt;139&lt;/span&gt; -&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;telm&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;strtelm&lt;/span&gt;
&lt;span class=&quot;m&quot;&gt;140&lt;/span&gt; -&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;tels&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;strtels&lt;/span&gt;
&lt;span class=&quot;m&quot;&gt;156&lt;/span&gt; -&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ptm&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;strptym&lt;/span&gt;
&lt;span class=&quot;m&quot;&gt;157&lt;/span&gt; -&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;pts&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;strptys&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;The telnet connection uses “telnet stream” ptys. The slave side of those appear as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/dev/pts/t*&lt;/code&gt;. The dtterm and hpterm terminals use “stream” ptys. The slave side of those appear as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/dev/pts/[0-9]*&lt;/code&gt;. The xterm terminal uses plain old ptys. The slave side of those appear as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/dev/ttyp*&lt;/code&gt;. Each type of pty has different kernel parameter limits and different device files. Check the kernel parameters and try recreating the device files with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;insf&lt;/code&gt;. (&lt;i class=&quot;far fa-hand-point-right&quot;&gt;&lt;/i&gt; example: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;insf -en 120&lt;/code&gt;)&lt;/p&gt;

&lt;h2 id=&quot;workaround&quot;&gt;Workaround&lt;/h2&gt;

&lt;p&gt;Create an SSH session without PTY:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;nv&quot;&gt;$ &lt;/span&gt;ssh &lt;span class=&quot;nt&quot;&gt;-T&lt;/span&gt; root@serv1 /bin/ksh &lt;span class=&quot;nt&quot;&gt;-i&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;</content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;&quot;/assets/site/osopolar.jpg&quot;, &quot;bio&quot;=&gt;&quot;Linux/UNIX admin, open-source advocate&quot;, &quot;location&quot;=&gt;&quot;Belgium&quot;, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;E-mail&quot;, &quot;icon&quot;=&gt;&quot;fas fa-at&quot;, &quot;url&quot;=&gt;&quot;mailto:patrick@kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;Git (self-hosted)&quot;, &quot;icon&quot;=&gt;&quot;fab fa-git-alt&quot;, &quot;url&quot;=&gt;&quot;https://git.kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;FSF&quot;, &quot;icon&quot;=&gt;&quot;far fa-grin&quot;, &quot;url&quot;=&gt;&quot;https://my.fsf.org/&quot;}, {&quot;label&quot;=&gt;&quot;Linkedin&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://linkedin.com/patvdv&quot;}]}</name></author><category term="sysadmin" /><category term="hp-ux" /><summary type="html"></summary></entry><entry><title type="html">Health Checker updates</title><link href="https://www.kudos.be/2020/05/09/hc-updates/" rel="alternate" type="text/html" title="Health Checker updates" /><published>2020-05-09T00:00:00+00:00</published><updated>2020-05-09T00:00:00+00:00</updated><id>https://www.kudos.be/2020/05/09/hc-updates</id><content type="html" xml:base="https://www.kudos.be/2020/05/09/hc-updates/">&lt;!--more--&gt;

&lt;p&gt;&lt;a href=&quot;&quot; class=&quot;btn btn--success&quot;&gt;New&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An &lt;strong&gt;Ansible&lt;/strong&gt; role for deploying &amp;amp; configuring the toolset is also available at following Github repository: &lt;i class=&quot;fab fa-github&quot;&gt; &lt;a href=&quot;https://github.com/patvdv/kudos.check_health&quot;&gt;https://github.com/patvdv/kudos.check_health&lt;/a&gt;&lt;/i&gt;&lt;/p&gt;

&lt;h2 id=&quot;see-also&quot;&gt;See also&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;i class=&quot;fas fa-terminal&quot;&gt;&lt;/i&gt; &lt;a href=&quot;/check_health/&quot;&gt;Health checker&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;&quot;/assets/site/osopolar.jpg&quot;, &quot;bio&quot;=&gt;&quot;Linux/UNIX admin, open-source advocate&quot;, &quot;location&quot;=&gt;&quot;Belgium&quot;, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;E-mail&quot;, &quot;icon&quot;=&gt;&quot;fas fa-at&quot;, &quot;url&quot;=&gt;&quot;mailto:patrick@kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;Git (self-hosted)&quot;, &quot;icon&quot;=&gt;&quot;fab fa-git-alt&quot;, &quot;url&quot;=&gt;&quot;https://git.kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;FSF&quot;, &quot;icon&quot;=&gt;&quot;far fa-grin&quot;, &quot;url&quot;=&gt;&quot;https://my.fsf.org/&quot;}, {&quot;label&quot;=&gt;&quot;Linkedin&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://linkedin.com/patvdv&quot;}]}</name></author><category term="news" /><category term="health checker" /><summary type="html"></summary></entry><entry><title type="html">sendmail - Deferred local mailer exited with EX TEMPF</title><link href="https://www.kudos.be/2020/04/30/sendmail-deferred-local-mailer-exited-with-ex-tempf/" rel="alternate" type="text/html" title="sendmail - Deferred local mailer exited with EX TEMPF" /><published>2020-04-30T00:00:00+00:00</published><updated>2020-04-30T00:00:00+00:00</updated><id>https://www.kudos.be/2020/04/30/sendmail-deferred-local-mailer-exited-with-ex-tempf</id><content type="html" xml:base="https://www.kudos.be/2020/04/30/sendmail-deferred-local-mailer-exited-with-ex-tempf/">&lt;!--more--&gt;

&lt;h2 id=&quot;problem&quot;&gt;Problem&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mailq&lt;/code&gt; showing:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-conf&quot; data-lang=&quot;conf&quot;&gt;&lt;span class=&quot;n&quot;&gt;p68KakUM019887&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;15952&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;Sat&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;Jul&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;9&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;11&lt;/span&gt;:&lt;span class=&quot;m&quot;&gt;40&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;MAILER&lt;/span&gt;-&lt;span class=&quot;n&quot;&gt;DAEMON&lt;/span&gt;
(&lt;span class=&quot;n&quot;&gt;Deferred&lt;/span&gt;: &lt;span class=&quot;n&quot;&gt;local&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;mailer&lt;/span&gt; (/&lt;span class=&quot;n&quot;&gt;usr&lt;/span&gt;/&lt;span class=&quot;n&quot;&gt;bin&lt;/span&gt;/&lt;span class=&quot;n&quot;&gt;rmail&lt;/span&gt;) &lt;span class=&quot;n&quot;&gt;exited&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;with&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;EX_TEMPF&lt;/span&gt;)&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;h2 id=&quot;solution&quot;&gt;Solution&lt;/h2&gt;

&lt;p&gt;I had to add the FQDN to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sendmail.cw&lt;/code&gt; as it only featured the short hostname before.  Looks like this caused the lock file to be created. Then execute:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-shell&quot; data-lang=&quot;shell&quot;&gt;&lt;span class=&quot;c&quot;&gt;# /sbin/init.d/xntpd stop&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# rm /var/mail/username.lock&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# rm /var/spool/mqueue/*&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# /sbin/init.d/xntpd start&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;</content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;&quot;/assets/site/osopolar.jpg&quot;, &quot;bio&quot;=&gt;&quot;Linux/UNIX admin, open-source advocate&quot;, &quot;location&quot;=&gt;&quot;Belgium&quot;, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;E-mail&quot;, &quot;icon&quot;=&gt;&quot;fas fa-at&quot;, &quot;url&quot;=&gt;&quot;mailto:patrick@kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;Git (self-hosted)&quot;, &quot;icon&quot;=&gt;&quot;fab fa-git-alt&quot;, &quot;url&quot;=&gt;&quot;https://git.kudos.be&quot;}, {&quot;label&quot;=&gt;&quot;FSF&quot;, &quot;icon&quot;=&gt;&quot;far fa-grin&quot;, &quot;url&quot;=&gt;&quot;https://my.fsf.org/&quot;}, {&quot;label&quot;=&gt;&quot;Linkedin&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://linkedin.com/patvdv&quot;}]}</name></author><category term="sysadmin" /><category term="hp-ux" /><category term="sendmail" /><summary type="html"></summary></entry></feed>