揮発性のメモ2

http://d.hatena.ne.jp/iww/

ulimitコマンドがエラーになるとき

直接ログインしてulimitコマンドを実行しても問題ないのに
sshでログインしてulimitを使うとエラーになることがある。

-bash: ulimit: max user processes: cannot modify limit: 許可されていない操作です
-bash: ulimit: open files: cannot modify limit: 許可されていない操作です
[hoge@hoge01 hoge]$

sshd_configを編集して暫定回避する。セキュリティなんて無視する。

# UsePrivilegeSeparation yes
UsePrivilegeSeparation no

このエラーが出る状態だと、Oracleのインストール時に他のノードに到達不能とか言われてクラスタインストールができない。