LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2013, 04:10 PM   #1
pshankland
Member
 
Registered: Feb 2006
Location: UK
Distribution: CentOS 5.5
Posts: 46

Rep: Reputation: 15
Question sysctl 'Permission Denied' issues


Hi, I am using a CentOS 6 VPS and trying to install Domino 8.5. Following various instructions I am trying to fix the following errors by manually editing the sysctl.conf file:

Code:
Error - can't open /proc/sys/fs/file-max.
        errno: 13
        Permission denied
/proc/sys/kernel/shmmax has been set to "268435456".
/proc/sys/kernel/sem has been set to "250       256000  32      1024".
Error - can't open /proc/sys/net/ipv4/tcp_fin_timeout.
        errno: 13
        Permission denied
Error - can't open /proc/sys/net/ipv4/tcp_max_syn_backlog.
        errno: 13
        Permission denied
Error - can't open /proc/sys/net/ipv4/tcp_tw_reuse.
        errno: 13
        Permission denied
Error - can't open /proc/sys/net/ipv4/ip_local_port_range.
        errno: 13
        Permission denied
I have modified the /etc/sysctl.conf file to include the following:

Code:
# Settings for Domino
net.ipv4.ip_local_port_range = 1024 65535
fs.file-max = 131072
net.ipv4.tcp_fin_timeout = 15
net.ipv4.tcp_max_syn_backlog = 16384
net.ipv4.tcp_tw_reuse = 1
However, when I run the command 'sysctl net.ipv4.ip_local_port_range' I get the following instead:

Code:
net.ipv4.ip_local_port_range = 32768    61000
I have tried the following but keep getting permission denied errors:

Code:
echo 1024 65535 > /proc/sys/net/ipv4/ip_local_port_range
-bash: /proc/sys/net/ipv4/ip_local_port_range: Permission denied
Everything, apart from the running of the Domino server, is being run as the root user so don't understand why I should get permission denied errors.

Anyone seen this before and can help?

Thanks.
Pete.
 
Old 01-16-2013, 05:11 PM   #2
pshankland
Member
 
Registered: Feb 2006
Location: UK
Distribution: CentOS 5.5
Posts: 46

Original Poster
Rep: Reputation: 15
Question

Just completed a yum update - just in case, then a reboot and then ran '/sbin/sysctl -p' which produced the following errors:

Code:
net.ipv4.ip_forward = 0
net.ipv4.tcp_syncookies = 1
error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key
error: "net.bridge.bridge-nf-call-iptables" is an unknown key
error: "net.bridge.bridge-nf-call-arptables" is an unknown key
error: permission denied on key 'net.ipv4.ip_local_port_range'
error: permission denied on key 'fs.file-max'
error: permission denied on key 'net.ipv4.tcp_fin_timeout'
error: permission denied on key 'net.ipv4.tcp_max_syn_backlog'
error: permission denied on key 'net.ipv4.tcp_tw_reuse'
Anyone?

Thanks.
 
  


Reply



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
mkdir throws Permission Denied error in a directoy even with root ownership and 777 permission surajchalukya Linux - Security 14 09-03-2012 08:34 AM
[SOLVED] # /etc/sysctl.conf -p : permission denied mridul chandhok Linux - Newbie 9 03-11-2011 08:38 AM
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 05:57 AM
Permission Denied ryancoolest Linux - Newbie 7 10-03-2004 10:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:54 AM.

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
Open Source Consulting | Domain Registration