public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: Apache not properly restarting for some people with Core Update 181 Release
Date: Sat, 09 Dec 2023 13:49:40 +0100	[thread overview]
Message-ID: <3eebcabc-e711-4c3e-9dad-b3e14bee6ec0@ipfire.org> (raw)
In-Reply-To: <64fe469a-deea-4f51-bf6c-011e0af2555b@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 3145 bytes --]

Hi Arne,

I saw that you had done a mod to the update.sh script for the apache and udev restarts and that the nightly build for the CU181 had run.

So I did an update of a CU180 vm that I cloned and the WUI stayed accessible the whole time. So I can confirm that your fix has solved that problem.

Regards,

Adolf.


On 01/12/2023 13:38, Adolf Belka wrote:
> Hi Michael,
>
> Further update.
>
> I re-ran a test on a vm but using the pakfire commands from the console (request from someone on the forum).
>
> It failed again but with a different error message this time. I don't believe this was due to the different upgrade method but I suspect a timing related issue is more likely to be occurring.
>
> The message in the log was:
>
> |Stopping Apache daemon... [ OK ] Starting Apache daemon... (98)Address already in use: AH00072: make_sock: could not bind to address [::]:81 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:81 no listening sockets available, shutting down|
>
> Regards,
>
> Adolf.
>
>
> On 01/12/2023 13:13, Adolf Belka wrote:
>> Hi Michael,
>>
>> There have been some people still talking about the WUI hanging after the update was done so I ran a vm check.
>>
>>
>> I cloned a CU180 system and then ran the update from pakfire. It came to the post-upgrade scripts and then it hung for a long time.
>>
>> I checked via the console and the changes from your patch were in the initscript.
>>
>> I then ran the status command
>>
>> /etc/rc.d/init.d/apache status
>> /usr/sbin/httpd is not running.
>>
>> Then did a restart followed by another status
>>
>> /etc/rc.d/init.d/apache start
>> Starting Apache daemon...                  [  OK  ]
>>
>> /etc/rc.d/init.d/apache status
>> httpd is running with Process ID(s) 19645 19644 19643.
>>
>>
>> I then checked for messages in the Core Update 181 log and found the following
>>
>> Stopping Apache daemon...                  [  OK  ]
>> Starting Apache daemon...
>> httpd (pid 6165) already running
>>
>> So the new initscript was run but for some reason it thought that httpd was still running at that time.
>>
>> So it looks like the initscript patch has been added in to the updater but is not fixing the problem of Apache not restarting properly.
>>
>> Should I raise this as a bug or leave it with this email thread?
>>
>> Regards,
>>
>> Adolf.
>>
>>
>> On 28/11/2023 16:56, Michael Tremer wrote:
>>> Hello Charles,
>>>
>>> This is correct. The updater should ship the updated script - unless I made a mistake here.
>>>
>>> I did not change the installation images, which will have the old script, but we will ship it with the next update again.
>>>
>>> -Michael
>>>
>>>> On 28 Nov 2023, at 14:46, Charles Brown <cab_77573(a)yahoo.com> wrote:
>>>>
>>>> I had assumed a pakfire update would do based on Michael's post at ...
>>>> https://community.ipfire.org/t/upgrade-to-181-hangs/10634/30
>>>> "A fixed update has been pushed and as soon as all mirror servers have updated, this problem won’t arise any more."
>>>>

      reply	other threads:[~2023-12-09 12:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-25  9:25 Adolf Belka
2023-11-25 13:01 ` Michael Tremer
2023-11-28 11:22   ` Peter Müller
2023-11-28 13:27     ` Charles Brown
2023-11-28 14:39       ` Adolf Belka
2023-11-28 14:46         ` Charles Brown
2023-11-28 15:00           ` Adolf Belka
2023-11-28 15:56           ` Michael Tremer
2023-12-01 12:13             ` Adolf Belka
2023-12-01 12:38               ` Adolf Belka
2023-12-09 12:49                 ` Adolf Belka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3eebcabc-e711-4c3e-9dad-b3e14bee6ec0@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox