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

nginx: [emerg] open() "/etc/nginx/conf.d/gateway/s3_location_common.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/default.conf:1 #222

Closed
akashgreninja opened this issue Mar 13, 2024 · 2 comments

Comments

@akashgreninja
Copy link
Collaborator

Describe the bug
On running the standalone_ubuntu_oss_install.sh script i get the below error
nginx: [emerg] open() "/etc/nginx/conf.d/gateway/s3_location_common.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/default.conf:1
.

To Reproduce
Steps to reproduce the behavior:

  1. i copied the standalone_ubuntu_oss_install.sh script on my x86_64 x86_64 x86_64 GNU/Linux vm
  2. ran the sudo env $(cat settings.env) sh s3-gateway.sh command
  3. Saw the above error

Expected behavior
It was supposed to start the nginx server with all configured s3 gateway

Your environment

  • x86_64 x86_64 x86_64 GNU/Linux

Additional context
i did fix it by adding the missing file ie
touch /etc/nginx/conf.d/gateway/s3_location_common.conf
and it started working as expected

@4141done
Copy link
Collaborator

Hi @akashgreninja , thank you for reporting this bug. I have pushed a fix for the bug here #226

Apologies for any confusion this may have caused.

@4141done
Copy link
Collaborator

I'm going to close this issue for now. Please feel free to reopen if the issue persists with the latest commit.

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

2 participants