Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: port allocation errors on Database 10g in Linux
John DeStefano wrote:
> I'm having trouble getting Database Control up and running in an
> Oracle Database 10g installation in RHEL4 Linux. I consistently see
> errors like these when I try to create or recreate the repository
> using emca:
> SEVERE: Failed to allocate port(s) in the specified range(s) for the
> following process(es): JMS [5540-5559],RMI [5520-5539],Database
> Control [5500-5519],EM Agent [3938] | [1830-1849]
>
> When I check these port ranges with netstat or lsof, nothing is
> running on those ports, and I can't figure out why Oracle can't work
> with them.
>
> Thanks for any ideas you may have.
Did you modify /etc/sysctl.conf according to Oracle's docs?
If not you might seriously consider logging in as root, pasting this into a terminal window, and then reading the docs for the other essential changes you didn't make.
cat >> /etc/sysctl.conf <<EOF
fs.file-max = 65536
kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.core.rmem_default = 1048576 net.core.rmem_max = 1048576 net.core.wmem_default = 262144 net.core.wmem_max = 262144 net.ipv4.ip_forward = 0
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Mon Jul 16 2007 - 13:36:37 CDT