-
Notifications
You must be signed in to change notification settings - Fork 54
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
Error in Kubernetes-proxy log #75
Comments
I believe this is harmless, right @bmcstdio? |
It doesn't cause any problems for me, but still an error. |
Not quite right. It just means the logfile doesn't exist and so it gets created. |
Directory is missing and the log file does not get created, nor the directory. I tested this. So unless the directory is created prior to startup the log file does not get created. |
The error is harmless. It happens because, when starting and before reading the configuration file, NGINX tries to open that file because it is the default path it was compiled with. After reading the configuration NGINX uses the log file specified in the I am closing this issue as there's nothing else to see here. |
Running DCOS 1.11 kubernetes 1.0.1-1.9.6. After launching kubernetes I see the following error in the kubernetes-proxy log. Startup is looking for a directory /var/log/nginx to exist. This directory does not exist in a generic Centos 7 install. Creating this directory on the nodes resolves the error at next launch.
I0323 15:49:06.166402 7 executor.cpp:651] Forked command at 12
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory)
The text was updated successfully, but these errors were encountered: