emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59515: closed (nginx: Fails to start on boot while upstream service


From: GNU bug Tracking System
Subject: bug#59515: closed (nginx: Fails to start on boot while upstream service is not yet running)
Date: Tue, 21 Mar 2023 23:03:02 +0000

Your message dated Wed, 22 Mar 2023 00:02:13 +0100
with message-id <adb1b5b7-f016-cf7c-0f98-aac29e5ae25a@web.de>
and subject line nginx: Fails to start on boot while upstream service is not 
yet running
has caused the debbugs.gnu.org bug report #59515,
regarding nginx: Fails to start on boot while upstream service is not yet 
running
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
59515: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59515
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: nginx: Fails to start on boot while upstream service is not yet running Date: Wed, 23 Nov 2022 16:34:57 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0
When I start my personal server with a radicale service behind a nginx
reverse proxy, nginx fails to start.

The relevant part in the log:
Nov 23 16:02:56 localhost shepherd[1]: Service networking has been started.
Nov 23 16:02:56 localhost shepherd[1]: Service radicale has been started.
Nov 23 16:02:56 localhost shepherd[1]: Service ssh-daemon has been started.
Nov 23 16:02:56 localhost shepherd[1]: [nginx] nginx: [emerg] host not
found in upstream "localhost:5232" in
/gnu/store/y29zl57pprwxbcxfx593s16456kxk99y-nginx.conf:15
Nov 23 16:02:56 localhost shepherd[1]: Failed to start nginx in the
background.

The config can be found here:
https://gitlab.com/jonsger/jonsger-guix/-/blob/master/config/baebia.scm#L116
```
(upstream-blocks (list
  (nginx-upstream-configuration
    (name "radicale")
    (servers (list "localhost:5232")))))
```

I wonder whats going wrong here. Is there a way to define that nginx
service should wait until radicale service is started?

~Jonathan



--- End Message ---
--- Begin Message --- Subject: nginx: Fails to start on boot while upstream service is not yet running Date: Wed, 22 Mar 2023 00:02:13 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0
Closing.
Workaround with using "127.0.0.1" instead of "localhost" provided.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]