<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="ltr">
<div>
<div dir="ltr">I’m sorry, I said 11.5 LTS but it is actually 12.5.1 LTS. I tried upgrading to 13 at one point to see if it solved the issue, but the problem persisted, so I did another 12.5.1 clean install. No certificates, all default config. The problem will
 arise as soon as you reboot after installation is fully done, regardless <span id="ms-outlook-ios-cursor"></span>it is a clean slate install, or data has been added to it.</div>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">I also encountered the admin problem as soon as I changed the password for administrator. Role changes to (reseller). I had to go into the database and change the administrator account to is_system as a work around. I thought it was something
 I had done wrong, but I saw it again after a clean install, so I assumed it was a bug.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">As for the logs, that is the puzzling part…</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">/var/log/nginx/error.log is empty</div>
<div dir="ltr">/var/log/ngcp/nginx/error.log is also empty</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">When the server boots, right before the login prompt shows up, you can see:</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:12.0px Helvetica"><span style="font-family:'Helvetica';font-weight:normal;font-size:12.00px">[FAILED] Failed to start nginx.service - A high performance web server and a reverse proxy server.</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:12.0px Helvetica"><span style="font-family:'Helvetica';font-weight:normal;font-size:12.00px">[FAILED] Failed to start prometheus-nginx-exporter.service - </span>NGINX Prometheus Exporter.</p>
<br>
</div>
<div id="ms-outlook-mobile-signature">
<div dir="ltr"><br>
</div>
Get <a href="https://aka.ms/o0ukef">Outlook for iOS</a></div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Walter Klomp <walter@myrepublic.net><br>
<b>Sent:</b> Sunday, January 19, 2025 10:31:24 AM<br>
<b>To:</b> Cesar Mora <cesarluis89@gmail.com><br>
<b>Cc:</b> spce-user@lists.sipwise.com <spce-user@lists.sipwise.com><br>
<b>Subject:</b> Re: [Spce-user] nginx and prometheus-nginx-exporter fail to load after reboot</font>
<div> </div>
</div>
<div>
<div dir="auto">Maybe do have a look at why nginx doesn’t boot. The logs are all in /var/log/nginx and in /var/log/ngcp</div>
<div dir="auto"><br>
</div>
<div dir="auto">Rate-o-mat depends on valid billing entries. Will not affect operations but will affect credit control and CDR etc…. </div>
<div dir="auto"><br>
</div>
<div dir="auto">Are you using any let’s encrypt certificates?</div>
<div dir="auto"><br>
</div>
<div dir="auto">I’m running 12.5.1 as CE and other than a known bug on admin access rights it should just work out of the box. And I installed it from installer CD. </div>
<div dir="auto"><br>
</div>
<div dir="auto">Just try to not update it to development 13.x first. <br clear="all">
<br clear="all">
<div dir="auto">
<div dir="ltr" class="x_gmail_signature" data-smartmail="gmail_signature">
<table dir="ltr" width="500" cellspacing="0" cellpadding="0" style="margin-top:16px">
<tbody>
<tr>
<td style="padding-bottom:8px">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding-right:24px">Regards<br>
Walter. </td>
<td valign="top"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<img src="https://scribe-mail.myrepublic.net/s2/roz335gx.gif" width="1" height="1" alt="Signature header"></div>
</div>
</div>
<div>On Sun, 19 Jan 2025 at 22:20, Cesar Mora <<a href="mailto:cesarluis89@gmail.com">cesarluis89@gmail.com</a>> wrote:<br>
</div>
<div>
<div class="x_gmail_quote x_gmail_quote_container">
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-style:solid; padding-left:1ex; border-left-color:rgb(204,204,204)">
<div>
<div>
<div dir="ltr">
<div dir="ltr">Yup, done all that per the manual, otherwise the install is incomplete and won’t run. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">
<ol style="margin-top:0px; margin-bottom:0px">
<li style="list-style-type:"1) ""><span>boot with install cd</span></li><li style="list-style-type:"2) ""><span>Setup network interface</span></li><li style="list-style-type:"3) ""><span>Wait until full install is complete and asks for the first reboot.</span></li><li style="list-style-type:"4) ""><span>After first reboot, go into terminal multiplexer and run ngcp-initial-configuration.</span></li><li style="list-style-type:"5) ""><span>Move listening services from lo to neth0 (interface name in my case).</span></li><li style="list-style-type:"6) ""><span>Run first ngcpcfg apply ‘net config change’</span></li><li style="list-style-type:"7) "">Reboot again.</li><li style="list-style-type:"8) "">Config.yml is now updated with new listening interface name, run ngcpcfg apply ‘added network interface’</li><li style="list-style-type:"9) "">Now everything works perfectly fine, I added peering server, registered some test customers, all good!</li></ol>
<div dir="ltr"><br>
</div>
<div><span>Everything will keep working perfectly until I reboot the server for any reason. The server will boot, sip services work, ssh works, but ngix service will fail to boot, so no web UI. ngcp-services shows ngix and prometeus-ngix-exporter are managed
 and on-boot but status is failed to start. Manually restarting them will get them up and running, but this is not the expected behaviour. Btw, ngcp-rate-o-mat service will start on boot, but also fails after the server has been running for a while, but doesn’t
 seem to affect anything vital.</span></div>
</div>
</div>
</div>
<div id="x_m_9180668916572416775ms-outlook-mobile-signature">
<div><br>
</div>
Get <a href="https://aka.ms/o0ukef" target="_blank">Outlook for iOS</a></div>
<hr style="display:inline-block; width:98%">
<div id="x_m_9180668916572416775divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(0,0,0)"><b style="font-family:Calibri,sans-serif">From:</b> Walter Klomp <<a href="mailto:walter@myrepublic.net" target="_blank" style="font-family:Calibri,sans-serif">walter@myrepublic.net</a>><br>
<b style="font-family:Calibri,sans-serif">Sent:</b> Sunday, January 19, 2025 9:35:28 AM<br>
<b style="font-family:Calibri,sans-serif">To:</b> Cesar Mora <<a href="mailto:cesarluis89@gmail.com" target="_blank" style="font-family:Calibri,sans-serif">cesarluis89@gmail.com</a>><br>
<b style="font-family:Calibri,sans-serif">Cc:</b> <a href="mailto:spce-user@lists.sipwise.com" target="_blank" style="font-family:Calibri,sans-serif">
spce-user@lists.sipwise.com</a> <<a href="mailto:spce-user@lists.sipwise.com" target="_blank" style="font-family:Calibri,sans-serif">spce-user@lists.sipwise.com</a>><br>
<b style="font-family:Calibri,sans-serif">Subject:</b> Re: [Spce-user] nginx and prometheus-nginx-exporter fail to load after reboot</font>
<div> </div>
</div>
<div>
<div dir="auto">After rebooting you need to do an ngcp-initial-install if memory serves me right. Just continue with the manual after the reboot. </div>
<div dir="auto"><br clear="all">
<div dir="auto">
<div dir="ltr" data-smartmail="gmail_signature">
<table dir="ltr" width="500" cellspacing="0" cellpadding="0" style="margin-top:16px">
<tbody>
<tr>
<td style="padding-bottom:8px">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding-right:24px">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><img src="https://scribe-mail.myrepublic.net/s2/5ld2ixgk.png" border="0" alt="Signature image" height="80" width="131" style="display:block; height:80px; width:131px">
</td>
</tr>
<tr>
</tr>
</tbody>
</table>
</td>
<td valign="top">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="font-size:15px; font-family:Helvetica,"Helvetica Neue",Arial,sans-serif; font-weight:700; line-height:18px; height:18px; text-align:left; color:rgb(177,78,181)">
Walter Klomp</td>
</tr>
<tr>
<td style="font-size:14px; font-family:Helvetica,"Helvetica Neue",Arial,sans-serif; line-height:21px; height:21px; text-align:left; padding-bottom:16px; color:rgb(124,131,139)">
Head of Voice Network</td>
</tr>
<tr>
<td style="height:0px; padding-bottom:16px">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="middle" style="width:20px; text-align:left; padding-bottom:8px"><img width="10" height="10" alt="Email" src="https://scribe-mail.myrepublic.net/s2/iin6dwue.png" style="display:block">
</td>
<td valign="middle" style="font-size:14px; font-family:Helvetica,"Helvetica Neue",Arial,sans-serif; line-height:21px; height:21px; text-align:left; padding-bottom:8px; color:rgb(124,131,139)">
<a href="mailto:walter@myrepublic.net" target="_blank" style="font-family:Helvetica,"Helvetica Neue",Arial,sans-serif">walter@myrepublic.net</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="font-size:14px; font-family:Helvetica,"Helvetica Neue",Arial,sans-serif; line-height:21px; height:21px; text-align:left; padding-bottom:16px">
<span style="font-family:Helvetica,"Helvetica Neue",Arial,sans-serif; color:rgb(54,74,97)">Beyond Work :
</span><span style="font-family:Helvetica,"Helvetica Neue",Arial,sans-serif; color:rgb(177,78,181)"></span><span style="font-family:Helvetica,"Helvetica Neue",Arial,sans-serif; color:rgb(177,78,181)"></span></td>
</tr>
<tr>
<td style="font-size:14px; font-family:Helvetica,"Helvetica Neue",Arial,sans-serif; line-height:21px; height:21px; text-align:left; padding-bottom:0px; color:rgb(141,143,153)">
<a href="https://www.google.com/maps/search/11+Lorong+3+Toa+Payoh,+%2304?entry=gmail&source=g" style="font-family:Helvetica,"Helvetica Neue",Arial,sans-serif">11 Lorong 3 Toa Payoh, #04</a>-11/15, Jackson Square, Block B, Singapore 319579</td>
</tr>
<tr>
<td style="font-size:14px; font-family:Helvetica,"Helvetica Neue",Arial,sans-serif; line-height:21px; height:21px; text-align:left; padding-bottom:16px; color:rgb(54,74,97)">
<a href="http://www.myrepublic.net" target="_blank" style="font-family:Helvetica,"Helvetica Neue",Arial,sans-serif">www.myrepublic.net</a></td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="middle" align="right" style="padding-bottom:20px; width:20px"><a href="https://scribe-mail.myrepublic.net/s2/21iu7kgk" target="_blank" style="text-decoration:none; color:rgb(180,76,180)"><strong style="text-decoration:none; font-weight:normal; color:rgb(180,76,180)"><img width="20" height="20" alt="Facebook-f" src="https://scribe-mail.myrepublic.net/s2/q9chqsid.png" style="display:block">
</strong></a></td>
<td valign="middle" align="right" style="width:32px; padding-bottom:20px"><a href="https://scribe-mail.myrepublic.net/s2/kzqypegm" target="_blank" style="text-decoration:none; color:rgb(180,76,180)"><strong style="text-decoration:none; font-weight:normal; color:rgb(180,76,180)"><img width="20" height="20" alt="Instagram" src="https://scribe-mail.myrepublic.net/s2/utfu0jo4.png" style="display:block">
</strong></a></td>
<td valign="middle" align="right" style="width:32px; padding-bottom:20px"><a href="https://scribe-mail.myrepublic.net/s2/geefi681" target="_blank" style="text-decoration:none; color:rgb(180,76,180)"><strong style="text-decoration:none; font-weight:normal; color:rgb(180,76,180)"><img width="20" height="20" alt="Twitter" src="https://scribe-mail.myrepublic.net/s2/clvsj9jg.png" style="display:block">
</strong></a></td>
<td valign="middle" align="right" style="width:32px; padding-bottom:20px"><a href="https://scribe-mail.myrepublic.net/s2/3bzu1nu9" target="_blank" style="text-decoration:none; color:rgb(180,76,180)"><strong style="text-decoration:none; font-weight:normal; color:rgb(180,76,180)"><img width="20" height="20" alt="Linkedin-in" src="https://scribe-mail.myrepublic.net/s2/8m8pkzdy.png" style="display:block">
</strong></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="height:0px; line-height:0px; border-top-width:1px; border-top-style:solid; padding-bottom:12px; border-top-color:rgb(245,245,245)">
</td>
</tr>
<tr>
<td style="font-size:11px; font-family:Helvetica,"Helvetica Neue",Arial,sans-serif; line-height:16px; height:16px; text-align:left; color:rgb(158,158,166)">
The information in this message is privileged and confidential. If you are not the intended recipient of this email, please don't read, copy, use, distribute or tell anyone about it; kindly destroy it and notify the sender by return email. Please advise immediately
 if you or your employer does not consent to email for messages of this kind. Any content that is not concerned with MyRepublic business reflects the views of the sender only and not those of MyRepublic.</td>
</tr>
<tr>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<img src="https://scribe-mail.myrepublic.net/s2/roz335gx.gif" width="1" height="1" alt="Signature header"></div>
</div>
</div>
<div><br>
</div>
<div><br>
<div>
<div dir="ltr">On Sun, 19 Jan 2025 at 21:16, Cesar Mora <<a href="mailto:cesarluis89@gmail.com" target="_blank">cesarluis89@gmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-style:solid; padding-left:1ex; border-left-color:rgb(204,204,204)">
Hi,<br>
<br>
I’ve been trying to get a stable install of Sipwise CE for the last couple of days with no avail. Everything goes smooth per the handbook, until I reboot the server. Each time I reboot the server, nginx and prometheus-nginx-exporter fail to load, and have to
 be manually started by ngcp-service restart or by ngcpcfg apply which also restarts services. I have tried using the installcd, doing a clean debian with ngcp installer, and with various versions of the release, and always get the same outcome. I even tried
 installing 11.5 LTS and upgrading from there to 13.1.1, same thing. I checked if systemclt has something in the logs for not being able to start nginx, but nope, clear logs. After I restart the services, everything keeps working butter smooth until the server
 gets rebooted again, which is not reliable for production.<br>
<br>
This is running on a SuperMicro blade, dedicated host, no VMs. I have come to the conclusion that there might be some kernel issue with this hardware, but I cannot replicate the issue with a clean Debian install.<br>
<br>
Any help is appreciated!<br>
<br>
Cesar<br>
-- <br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com" rel="noreferrer" target="_blank">http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com</a><br>
</blockquote>
</div>
</div>
<br>
<span style="font-family:sans-serif; background-color:rgb(255,255,255); color:rgb(34,34,34)"><font size="1" style="font-family:sans-serif; color:rgb(34,34,34)"><span style="font-family:Arial; font-style:italic; vertical-align:baseline; white-space:pre-wrap; color:rgb(102,102,102)">The
 contents of this email and any attachments are confidential and may also be privileged. You must not disseminate the contents of this email and any attachments without permission of the sender. If you have received this email by mistake, please delete all
 copies and inform the sender immediately. You may refer to our company's Privacy Policy
</span><span style="font-family:Arial; font-style:italic; vertical-align:baseline; white-space:pre-wrap; color:rgb(102,102,102)"><a href="https://myrepublic.net/sg/legal/terms-of-use-policies/privacy-policy/" target="_blank" style="font-family:Arial">here</a></span><span style="font-family:Arial; font-style:italic; vertical-align:baseline; white-space:pre-wrap; color:rgb(102,102,102)">.</span></font></span></div>
</div>
</blockquote>
</div>
</div>
<br>
<span style="color:rgb(34,34,34); font-family:sans-serif; background-color:rgb(255,255,255)"><font size="1"><span style="font-family:Arial; color:rgb(102,102,102); font-style:italic; vertical-align:baseline; white-space:pre-wrap">The contents of this email
 and any attachments are confidential and may also be privileged. You must not disseminate the contents of this email and any attachments without permission of the sender. If you have received this email by mistake, please delete all copies and inform the sender
 immediately. You may refer to our company's Privacy Policy </span><span style="color:rgb(102,102,102); font-family:Arial; font-style:italic; vertical-align:baseline; white-space:pre-wrap"><a href="https://myrepublic.net/sg/legal/terms-of-use-policies/privacy-policy/" target="_blank">here</a></span><span style="font-family:Arial; color:rgb(102,102,102); font-style:italic; vertical-align:baseline; white-space:pre-wrap">.</span></font></span></div>
</body>
</html>