LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-25-2006, 09:53 AM   #1
PredatorX
Member
 
Registered: Sep 2003
Location: The Hague
Distribution: Gentoo / Suse 9.2
Posts: 53

Rep: Reputation: 15
/proc/sys/net/ipv4/ip_local_port_range suse 10.1 not set at boot


I am trying to install Oracle 10g / AS on Opensuse 10.1 .
1 of the requirements is setting the port range, found in
/proc/sys/net/ipv4/ip_local_port_range .
Among other settings that do work, is put the line
net.ipv4.ip_local_port_range = 1024 65000
in /etc/sysctl.conf .

When rebooting and doing a
cat /proc/sys/net/ipv4/ip_local_port_range
i get
1024 29999
.
When doing a sysctl -d i do get the right ports.
Does anyone know if this is a bug?
Or maybe a Suse specific thing messing this up?

Any info very welcome?
 
Old 11-26-2006, 07:42 PM   #2
nuxrl
Member
 
Registered: Jun 2006
Location: NY, USA
Distribution: Slackware, Arch
Posts: 176

Rep: Reputation: 35
Quote:
sysctl -d
Did you mean
Code:
#sysctl -a
Change
Quote:
net.ipv4.ip_local_port_range = 1024 65000
to
Code:
net.ipv4.ip_local_port_range=1024 65000
and do a
Code:
#/sbin/sysctl -p /etc/sysctl.conf
to see what happens.
 
Old 11-27-2006, 04:49 AM   #3
PredatorX
Member
 
Registered: Sep 2003
Location: The Hague
Distribution: Gentoo / Suse 9.2
Posts: 53

Original Poster
Rep: Reputation: 15
thanks for the quick response.
with the -d i meant -p (sorry), so setting the settings from /etc/sysctl.conf.
I tried your advice, it did not work.
Seems like a bug to me?

i'll wait for a while if anyone can solve it, else I'll report a bug.
Does it work on your pc?
any1 can try it on suse 10.1?
thanks
 
Old 11-27-2006, 07:04 AM   #4
nuxrl
Member
 
Registered: Jun 2006
Location: NY, USA
Distribution: Slackware, Arch
Posts: 176

Rep: Reputation: 35
PredatorX,

I tried in my system, Ubuntu 6.10, and it worked. I don't use Suse so I can't say if Suse does something specially. One thing you might try is to see if there's another line in /etc/sysctl.conf with the same key net.ipv4.ip_local_port_range, but I doubt about that.

I will keep my eyes on this thread. It would be interesting to see what comes out.

Good luck!

-n
 
Old 11-29-2006, 01:54 AM   #5
PredatorX
Member
 
Registered: Sep 2003
Location: The Hague
Distribution: Gentoo / Suse 9.2
Posts: 53

Original Poster
Rep: Reputation: 15
It seems it does not work.
There is no other line that conflicts with the settings.
I've installed the orarun package form Novell, which is fo SLES, but works for Suse 10.1.
I saw the approach there is putting the setting in /etc/sysconfig/oracle ,
but that has no effect either.
Found on google that SLES has a command for explicitly using sysctl.conf :
chkconfig boot.sysctl on
That did not fix it either.
Guess I'll have to file a bug report, I'll post the number if it's done.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't create file using echo: /proc/sys/net/ipv4/ip_local_port_change rsumbeling Linux - General 4 07-17-2013 04:20 AM
nat not working, cannot change /proc/sys/net/ipv4/ip_forward 70k51k Linux - Networking 7 12-04-2006 10:16 AM
/proc/sys/net doesn't exist. jimhawk Linux - Networking 1 03-15-2006 05:03 PM
/proc/sys/net/ipv4/ip_local_port_range wetwet Linux - Networking 0 07-06-2004 08:47 AM
default values for /proc/sys/net/ipv4 robeb Linux - Networking 0 06-07-2002 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration