Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sysctl: permission denied on key 'vm.swappiness' #13

Open
ghost opened this issue Jul 22, 2014 · 1 comment
Open

sysctl: permission denied on key 'vm.swappiness' #13

ghost opened this issue Jul 22, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 22, 2014

sysctl: permission denied on key 'vm.swappiness'
sysctl: permission denied on key 'vm.overcommit_memory'
./configPostgresql.sh: 255: ./configPostgresql.sh: cannot create /proc/sys/vm/dirty_ratio: Permission denied
root@uhd7m04pcs:~/nominatim-install# sh run.sh

#   Nominatim installation Tue Jul 22 18:57:18 EDT 2014
#   Import and index OSM data in progress, follow log file with:
#   tail -f /root/nominatim-install/setupLog.txt
#   User nominatim exists already and will be used.
#   Postgresql configuring based on system memory and recommended formulae
#   Configuring as usage type: oltp, Dedicated PostgreSQL server: n, override_maintenance_work_mem: 
#   Backing up original config file to /etc/postgresql/9.1/main/postgresql.conf.BACKUP
#   Backing up /etc/sysctl.conf to /var/lib/postgresql/sysctl.conf.BACKUP
#   Configuring for system type: Linux, max memory: 1572864 kB, page size: 4096 bytes, working memory 4MB.
#   Checking the current kernel's shared memory settings...
#   Setting virtual memory sysctls
sysctl: permission denied on key 'vm.swappiness'
sysctl: permission denied on key 'vm.overcommit_memory'
./configPostgresql.sh: 255: ./configPostgresql.sh: cannot create /proc/sys/vm/dirty_ratio: Permission denied
root@uhd7m04pcs:~/nominatim-install# 
@maxze
Copy link

maxze commented Feb 23, 2017

I have the very same issue. Were you able to fix it and if so; how?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant