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 bind() to 0.0.0.0:32000 failed (Address in use) #43

Open
djarotech opened this issue Apr 8, 2019 · 0 comments
Open

nginx bind() to 0.0.0.0:32000 failed (Address in use) #43

djarotech opened this issue Apr 8, 2019 · 0 comments

Comments

@djarotech
Copy link
Contributor

So although moodle1:32000 is accessible and actually works, the logs show there is a bug somewhere. Looks like it tries to bind twice. To reproduce, follow steps here .

$ kubectl logs moodle1-d798c74bd-6kztb -n namespace1
Changed current directory to /root/.composer
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Using version ^0.3.8 for hirak/prestissimo
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing hirak/prestissimo (0.3.8): Downloading (100%)
Writing lock file
Generating autoload files
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating autoload files
2019-04-08 15:56:17,787 CRIT Set uid to user 0
2019-04-08 15:56:17,787 WARN No file matches via include "/etc/supervisor/conf.d/*.conf"
2019-04-08 15:56:17,826 INFO RPC interface 'supervisor' initialized
2019-04-08 15:56:17,826 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2019-04-08 15:56:17,827 INFO supervisord started with pid 1
2019-04-08 15:56:18,829 INFO spawned: 'php-fpm' with pid 88
2019-04-08 15:56:18,831 INFO spawned: 'nginx' with pid 89
2019/04/08 15:56:18 [emerg] 89#89: bind() to 0.0.0.0:80 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use)
2019/04/08 15:56:18 [emerg] 89#89: bind() to [::]:80 failed (98: Address in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address in use)
2019/04/08 15:56:18 [emerg] 89#89: bind() to 0.0.0.0:32000 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:32000 failed (98: Address in use)
2019/04/08 15:56:18 [notice] 89#89: try again to bind() after 500ms
[08-Apr-2019 15:56:18] NOTICE: fpm is running, pid 88
[08-Apr-2019 15:56:18] NOTICE: ready to handle connections
2019/04/08 15:56:18 [emerg] 89#89: bind() to 0.0.0.0:80 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use)
2019/04/08 15:56:18 [emerg] 89#89: bind() to [::]:80 failed (98: Address in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address in use)
2019/04/08 15:56:18 [emerg] 89#89: bind() to 0.0.0.0:32000 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:32000 failed (98: Address in use)
2019/04/08 15:56:18 [notice] 89#89: try again to bind() after 500ms
2019-04-08 15:56:19,857 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019/04/08 15:56:18 [emerg] 89#89: bind() to 0.0.0.0:80 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use)
2019/04/08 15:56:18 [emerg] 89#89: bind() to [::]:80 failed (98: Address in use)
...
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