I am trying to install Oracle on a minimilist Linux distro. I have to modify some limits before hand.
as user "oracle", I should be able to run this command: "ulimit -u 16384"
but i get this error:
-sh: ulimit: max user processes: cannot modify limit: Operation not permitted
here is the contents of sysctl.conf:
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
/etc/security/limits.conf looks like this:
* soft nproc 2047
* hard nproc 16384
* soft nofile 4096
* hard nofile 63536
this distro does not come with pam by default. the Oracle instructions gave instructions to modify a PAM file:
/etc/pam.d/login:
session required /lib/security/pam_limits.so
session required /lib/security/pam_unix.so
how dows pam fit in with this ulimit. Do I need to have PAM installed to use this ulimit command? I config'd && make && make install'd Linux-PAM-0.77.tar.gz which seemd to work and put /lib/security/pam_limits.so /lib/security/pam_unix.so on the file system but I still get the error
thanks
as user "oracle", I should be able to run this command: "ulimit -u 16384"
but i get this error:
-sh: ulimit: max user processes: cannot modify limit: Operation not permitted
here is the contents of sysctl.conf:
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
/etc/security/limits.conf looks like this:
* soft nproc 2047
* hard nproc 16384
* soft nofile 4096
* hard nofile 63536
this distro does not come with pam by default. the Oracle instructions gave instructions to modify a PAM file:
/etc/pam.d/login:
session required /lib/security/pam_limits.so
session required /lib/security/pam_unix.so
how dows pam fit in with this ulimit. Do I need to have PAM installed to use this ulimit command? I config'd && make && make install'd Linux-PAM-0.77.tar.gz which seemd to work and put /lib/security/pam_limits.so /lib/security/pam_unix.so on the file system but I still get the error
thanks