# Suddenly All Sites go down

**URL:** <https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012>\
**Category:** Help! (Home for newbies)\
**Created:** [June 3, 2023, 12:12pm UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012 "2023-06-03T12:12:31Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [June 3, 2023, 12:12pm UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/1 "2023-06-03T12:12:31Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Ubuntu Linux 22.04.2 |
| Webmin version | 2.021 |
| Usermin version | 1.861 |
| Virtualmin version | 7.7 |
| Theme version | 20.21 |

| Package updates | All installed packages are up to date |  
Just now for no obvious (to me) reason all 3 sites on this box ceased to show their web pages, They were all running just normally yesterday. The IP4 and IP6 addresses still point correctly but for some reason the domains only resolve externally (but not in a browser). I have checked the LE certs and they seem current. I have checked access and error logs and both are empty for today with only the usual garbage yesterday (-attempts to find a wordpress site - there is none)  
If I go to `Services -> Preview Website` I get

 ![Screenshot 2023-06-03 130808](https://cdn.forum.virtualmin.com/uploads/default/original/2X/b/be98e997d99022a4dac255e73dac7563f36b3b17.png)

but can still login with [https://domain.com:10000](https://domain.com:10000)

---

<div class="post-metadata">

**Author:** ![ID10T](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/id10t/32/7895_2.png) [@ID10T](https://forum.virtualmin.com/u/ID10T)\
**Post date:** [June 3, 2023, 12:40pm UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/2 "2023-06-03T12:40:49Z")

</div>

Connection refused? Is the web server still up?

---

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [June 3, 2023, 1:05pm UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/3 "2023-06-03T13:05:48Z")

</div>

It must be (I assume) as I can log in to both Virtualmin Port 10000 and Usermin (20000)

---

<div class="post-metadata">

**Author:** ![ID10T](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/id10t/32/7895_2.png) [@ID10T](https://forum.virtualmin.com/u/ID10T)\
**Post date:** [June 3, 2023, 1:09pm UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/4 "2023-06-03T13:09:13Z")

</div>

I don’t think that’s how this works. Neither depend on your web server to work. You don’t need to install a web server to use them.

---

<div class="post-metadata">

**Author:** ![DeanM](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/d/7993a0/32.png) [@DeanM](https://forum.virtualmin.com/u/DeanM)\
**Post date:** [June 3, 2023, 1:14pm UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/5 "2023-06-03T13:14:18Z")

</div>

Yes, that’s true.  
Virtualmin and Usermin are working with the miniserv Server. A own one for the 2 systems.

What’s the output from

sudo systemctl status nginx

?

I think you’re using by general NGINX.

---

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [June 3, 2023, 1:17pm UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/6 "2023-06-03T13:17:36Z")

</div>

OK a bit more digging and it came to my notice (I don’t know why I didn’t look here before 💢 - especially as it has been an issue in the past) the NGinx server was down why (No idea) there has not been a reboot recently. But sure enough “Restart” fixed it! - I conclude that some days just are not made for IT, thanks for the help.

---

<div class="post-metadata">

**Author:** ![Randomz](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@Randomz](https://forum.virtualmin.com/u/Randomz)\
**Post date:** [June 4, 2023, 2:38am UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/7 "2023-06-04T02:38:01Z")

</div>

I missed this thread earlier, but I had the same thing happen - sites became unavailable 5 days ago (May 31). I couldn’t find anything obvious, mild panic, so I rebooted the server.  
This is on a RHEL 9.2 server running Apache, all up to date.

---

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [June 4, 2023, 7:59am UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/8 "2023-06-04T07:59:33Z")

</div>

> [@Randomz](#):
>
> couldn’t find anything obvious, mild panic, so I rebooted the server.

Never quite understood this myself and I cannot point the finger at Virtualmin - I didn’t have to quite go so far as a reboot I am suspicious that a package update might nave been the cause of taking Nginx (in my case) down. However this particular box has been pretty much unattended for about a week. The only thing that has happened is that a site owner has done a package update through `yarn` (NodeJS package.json) but I didn’t think that had any connection to system packages and I don’t think they have access to installing new system packages. Still would like to get to the bottom of this as it seems very likely to happen again.

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [June 4, 2023, 8:06am UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/9 "2023-06-04T08:06:33Z")

</div>

Nothing in log file if you can find it when it crashed/stopped?  
Is the memory usage ok?

---

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [June 4, 2023, 8:36am UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/10 "2023-06-04T08:36:31Z")

</div>

Nothing in `/var/log/nginx/error.log` or should I be looking elsewhere?  
Memory OK and quite a big swapfile

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [June 4, 2023, 9:09am UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/11 "2023-06-04T09:09:28Z")

</div>

Weird, I don’t use nginx so don’t know. You think you would have something in the error.log unless its not on.  
I guess you just have to monitor, hopefully it was just a once off.

Virtual Server template using apache look like this and it shows the log config.

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/2X/9/9b39e3e3c944e3a546816356eee9e6764f782ce0.png)

do you have logs in the virtualserver?

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/2X/a/af93b20e0528e30fbe35d239d4c8a4f4c6747ff7.png)

---

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [June 4, 2023, 10:55am UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/12 "2023-06-04T10:55:40Z")

</div>

> [@stefan1959](#):
>
> do you have logs in the virtualserver?

only today and these are just normal trashy attempts of little merit nothing prior (perhaps I need to monitor more closely for another Nginx down event = thogh this is just one of many boxes

 ![Screenshot 2023-06-04 115103](https://forum.virtualmin.com/uploads/default/original/2X/9/9458eb78416e35dbbd36c3e8f2f5dad0ef03f439.png)

---

<div class="post-metadata">

**Author:** ![Randomz](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@Randomz](https://forum.virtualmin.com/u/Randomz)\
**Post date:** [June 10, 2023, 2:40pm UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/13 "2023-06-10T14:40:24Z")

</div>

This happened to my server again about 12 hours ago.

I didn’t check every domain web site, but the main ones were all down though I did find a small one that was still available - possibly cached on my PC?

I checked that httpd was running, then restarted it anyway - to no avail.

I was able to log into [domain.com:20000](http://domain.com:20000) for a domain that the website wasn’t working.

I was just seeing a blank screen, though a client/web developer said that he saw something like resource shortage or whatever. He will screen shot for me if it happens again,

Reboot was the only way that I could get it all working again.

Any suggestions what else to look for if there is a next time?

I have setup a monitor system to let me know is a certain website goes down.

---

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [June 10, 2023, 4:15pm UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/14 "2023-06-10T16:15:12Z")

</div>

> [@Randomz](#):
>
> I checked that httpd was running,

That is Apache server (isn’t it?) and as restarting it did not fix - perhaps it is not only Nginx falling over? Everything seems OK for now and hasn’t repeated here despite a few package updated. Clearly something to keep an 👁 on.

---

<div class="post-metadata">

**Author:** ![Randomz](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@Randomz](https://forum.virtualmin.com/u/Randomz)\
**Post date:** [June 11, 2023, 12:21am UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/15 "2023-06-11T00:21:13Z")

</div>

Yes, it is Apache.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [June 11, 2023, 2:35am UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/16 "2023-06-11T02:35:46Z")

</div>

Please open new topics for new problems. Your problem is entirely unrelated to OPs problem.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [June 11, 2023, 2:35am UTC](https://forum.virtualmin.com/t/suddenly-all-sites-go-down/121012/17 "2023-06-11T02:35:49Z")

</div>

Closed on June 11, 2023, 2:35am UTC


