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
Nginx Server...:[emerg]: zero size shared memory zone "uploads" #107
Comments
|
I found this related closed issue and I deleted 2 hostmaster servers created but not in use. Server is restored from a backup with the failed image mounted to mounted if you need additional info: |
|
You are too fast probably. After the hostmaster upgrade you should wait a minute so it will have a time to copy all modified config files, since it is copied on server verify which happens always on upgrade. There is a change introduced, so upload progress is now in the main Nginx config file and not included. |
|
When you tried to upgrade the Hostmaster did you notice any errors, like "UPGRADE INFO: ERROR: Something is wrong, trying to re-install Hostmaster.."? |
|
At any rate, it was related to failed for some reason migration form conf.d to pre.d directory. To fix this you don't need to revert to backup, only run |
|
I did have that "Something is wrong, trying to re-install Hostmaster." error but that started a few upgrades ago and on the core hostmaster |
|
I was able to reproduce it with some older install. We added now a more secure upgrade path from conf.d to pre.d. It helped in our tests. |
|
Not sure if I should had this here since I may have used a different version of the script, but I had a similar issue with A14.B.dev8 installing alpha14. I also did not have a pre.d folder created, but I don't know if that's relevant. Adding upload_progress uploads 1m; to a new file, custom_nginx.conf in the /var/aegir/config/server_master/nginx/conf.d directory allows nginx to start and seems to work. This is similar to http://groups.drupal.org/node/84074#comment-282954 Fresh install of Ubuntu 10.4 LTS on a new vps. |
|
Don't use alpha14, it is already outdated here. |
linuxgeneral commentedOct 19, 2010
I just did an upgrade of the latest commit:
http://github.com/omega8cc/nginx-for-drupal/commit/af46822e8fe5d220219a3c629beb3bd8dd23a8d4
The webserver went down and restarting nginx gives this error:
Stopping Nginx Server...: failed!
Starting Nginx Server...:[emerg]: zero size shared memory zone "uploads"
Rebooting did not resolve the problem, I am restoring from a backup now. let me know if you need any log files from the failed image.
The text was updated successfully, but these errors were encountered: