How to restart crashed HTTPD server and Transmission?

Re: How to restart crashed HTTPD server and Transmission?

Postby Jocko » Wed Apr 02, 2025 7:41 am

Ok

So no issue on daemon side but rather on the web interface side. A basic request seems to return an error or it is hanged.

Then abort again httpd daemon, start the debug mode and reboot the httpd daemon :
Code: Select all
killall httpd
echo > /var/log/messages
debugon
/usr/bin/httpd -f httpd.conf -d /etc
load the firmware interface and wait 2min (timeout). Then see what information are reported in messages
Code: Select all
cat /var/log/messages


(Later you have to disable the debug mode : "debugoff")
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to restart crashed HTTPD server and Transmission?

Postby Cubytus » Wed Apr 02, 2025 8:49 pm

Web interface loaded but broken
Captura de Pantalla 2025-04-02 a la(s) 16.47.49 .png


Code: Select all
cat /var/log/messages

Apr  2 16:38:52 fvdwsl-base syslog.info syslogd started: BusyBox v1.21.0
Apr  2 16:39:13 fvdwsl-base user.info hostd: updating hosts file, next update in 7200 seconds when disk remains active
Apr  2 16:39:48 fvdwsl-base local0.warn API[2025/04/02 16:39:48] nasapi.inc(36)[13804]: nasapi: lock time = 101
Apr  2 16:39:48 fvdwsl-base local0.warn API[2025/04/02 16:39:48] nasapi.inc(49)[13804]: calling 'mrvlGetLanguage'
Apr  2 16:39:48 fvdwsl-base local0.warn API[2025/04/02 16:39:48] nasapi.inc(484)[13804]: mrvlGetLanguage Return Code: sp
Apr  2 16:39:48 fvdwsl-base local0.warn API[2025/04/02 16:39:48] nasapi.inc(36)[13804]: nasapi: lock time = 0
Apr  2 16:39:48 fvdwsl-base local0.warn API[2025/04/02 16:39:48] nasapi.inc(49)[13804]: calling 'mrvlGetLanguage'
Apr  2 16:39:48 fvdwsl-base local0.warn API[2025/04/02 16:39:48] nasapi.inc(484)[13804]: mrvlGetLanguage Return Code: sp
Apr  2 16:39:48 fvdwsl-base authpriv.notice sudo:   nobody : TTY=unknown ; PWD=/usr/htdocs/global ; USER=root ; COMMAND=/bin/sed -rie s/(.*language).*/\1 = "sp";/g /usr/htdocs/.vnstat/config.php
You do not have the required permissions to view the files attached to this post.
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: How to restart crashed HTTPD server and Transmission?

Postby Jocko » Tue Apr 08, 2025 2:32 pm

Hi

I got the same behaviour on my side and seems to be linked with the latest version of FF. If you use Chrome there is no issue

I need to investigate what occurs that
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to restart crashed HTTPD server and Transmission?

Postby Cubytus » Tue Apr 08, 2025 3:18 pm

Hmm, I'm not sure about the explanation. It does the same on Safari, yet it uses a completely independent rendering engine (For privacy reasons I refuse to use Chrome):
Captura de Pantalla 2025-04-08 a la(s) 11.16.53 .png
You do not have the required permissions to view the files attached to this post.
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: How to restart crashed HTTPD server and Transmission?

Postby Jocko » Wed Apr 09, 2025 7:54 am

Hi

Maybe there is another issue with safari but I can confirm it is an issue with FF version 137 when you get a basic text "System Settings Servers status User Account File Share Last Logins Network traffic PHP and Apache status Apache Log Release notes 1" instead of System Information menu.

I do not know why version 137 does not return now the expected data with the js function "importStylesheet". So if the menu contains a table or tab box. The menu is not loaded.

You can check that on your side : load the web-interface, open a shell window and remove the lock file
Code: Select all
rm /var/run/lock/1.lock
(it may be not present acoording what requests you sent previously)

Then load for example a menu without a table or a tab box (for example transmission menu), it should be loaded

Note with Edge version 135.0 or Chrome version 131.0 there is no issue
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to restart crashed HTTPD server and Transmission?

Postby Cubytus » Wed Apr 09, 2025 11:40 pm

Ok, so here's a summary of what I've tried last:
Killing httpd process then turning on debug:
Code: Select all
killall httpd
echo > /var/log/messages
debugon


Removing lock:
Code: Select all
rm /var/run/lock/1.lock


Restarting httpd:
Code: Select all
/usr/bin/httpd -f httpd.conf -d /etc


Loading the Web interface in Vivaldi:
Doesn't load, page is frozen and menus unreactive:
$matches[2]


Checking messages:
Code: Select all
cat /var/log/messages
Apr  9 19:22:47 fvdwsl-base syslog.info syslogd started: BusyBox v1.21.0
Apr  9 19:25:12 fvdwsl-base local0.warn API[2025/04/09 19:25:12] nasapi.inc(36)[19735]: nasapi: lock time = 0
Apr  9 19:25:13 fvdwsl-base local0.warn API[2025/04/09 19:25:13] nasapi.inc(49)[19735]: calling 'mrvlGetLanguage'
Apr  9 19:25:13 fvdwsl-base local0.warn API[2025/04/09 19:25:13] nasapi.inc(484)[19735]: mrvlGetLanguage Return Code: sp
Apr  9 19:25:13 fvdwsl-base local0.warn API[2025/04/09 19:25:13] nasapi.inc(36)[19735]: nasapi: lock time = 0
Apr  9 19:25:13 fvdwsl-base local0.warn API[2025/04/09 19:25:13] nasapi.inc(49)[19735]: calling 'mrvlGetLanguage'
Apr  9 19:25:13 fvdwsl-base local0.warn API[2025/04/09 19:25:13] nasapi.inc(484)[19735]: mrvlGetLanguage Return Code: sp
Apr  9 19:25:13 fvdwsl-base authpriv.notice sudo:   nobody : TTY=unknown ; PWD=/usr/htdocs/global ; USER=root ; COMMAND=/bin/sed -rie s/(.*language).*/\1 = "sp";/g /usr/htdocs/.vnstat/config.php
Apr  9 19:25:14 fvdwsl-base authpriv.notice sudo:   nobody : TTY=unknown ; PWD=/usr/htdocs/global2 ; USER=root ; COMMAND=/bin/ping -w 2 -c 1 8.8.8.8
Apr  9 19:25:17 fvdwsl-base local0.warn API[2025/04/09 19:25:17] nasapi.inc(36)[19734]: nasapi: lock time = 0
Apr  9 19:25:17 fvdwsl-base local0.warn API[2025/04/09 19:25:17] nasapi.inc(49)[19734]: calling 'mrvlGetMainSystemData'
Apr  9 19:25:17 fvdwsl-base local0.warn API[2025/04/09 19:25:17] nasapi.inc(481)[19734]: mrvlGetMainSystemData Return Code: Array():system => Array()...
Apr  9 19:25:18 fvdwsl-base local0.warn API[2025/04/09 19:25:18] nasapi.inc(36)[19734]: nasapi: lock time = 0
Apr  9 19:25:18 fvdwsl-base local0.warn API[2025/04/09 19:25:18] nasapi.inc(49)[19734]: calling 'mrvlGetVolumeSummary'
Apr  9 19:25:18 fvdwsl-base authpriv.notice sudo:   nobody : TTY=unknown ; PWD=/usr/htdocs/global2 ; USER=root ; COMMAND=/bin/df


Tried again all steps in an older Firefox 91.x (stock configuration), with same results:
Captura de Pantalla 2025-04-09 a la(s) 19.36.20 .png


Logs in this second trial:
Code: Select all
Apr  9 19:22:47 fvdwsl-base syslog.info syslogd started: BusyBox v1.21.0
Apr  9 19:25:12 fvdwsl-base local0.warn API[2025/04/09 19:25:12] nasapi.inc(36)[19735]: nasapi: lock time = 0
Apr  9 19:25:13 fvdwsl-base local0.warn API[2025/04/09 19:25:13] nasapi.inc(49)[19735]: calling 'mrvlGetLanguage'
Apr  9 19:25:13 fvdwsl-base local0.warn API[2025/04/09 19:25:13] nasapi.inc(484)[19735]: mrvlGetLanguage Return Code: sp
Apr  9 19:25:13 fvdwsl-base local0.warn API[2025/04/09 19:25:13] nasapi.inc(36)[19735]: nasapi: lock time = 0
Apr  9 19:25:13 fvdwsl-base local0.warn API[2025/04/09 19:25:13] nasapi.inc(49)[19735]: calling 'mrvlGetLanguage'
Apr  9 19:25:13 fvdwsl-base local0.warn API[2025/04/09 19:25:13] nasapi.inc(484)[19735]: mrvlGetLanguage Return Code: sp
Apr  9 19:25:13 fvdwsl-base authpriv.notice sudo:   nobody : TTY=unknown ; PWD=/usr/htdocs/global ; USER=root ; COMMAND=/bin/sed -rie s/(.*language).*/\1 = "sp";/g /usr/htdocs/.vnstat/config.php
Apr  9 19:25:14 fvdwsl-base authpriv.notice sudo:   nobody : TTY=unknown ; PWD=/usr/htdocs/global2 ; USER=root ; COMMAND=/bin/ping -w 2 -c 1 8.8.8.8
Apr  9 19:25:17 fvdwsl-base local0.warn API[2025/04/09 19:25:17] nasapi.inc(36)[19734]: nasapi: lock time = 0
Apr  9 19:25:17 fvdwsl-base local0.warn API[2025/04/09 19:25:17] nasapi.inc(49)[19734]: calling 'mrvlGetMainSystemData'
Apr  9 19:25:17 fvdwsl-base local0.warn API[2025/04/09 19:25:17] nasapi.inc(481)[19734]: mrvlGetMainSystemData Return Code: Array():system => Array()...
Apr  9 19:25:18 fvdwsl-base local0.warn API[2025/04/09 19:25:18] nasapi.inc(36)[19734]: nasapi: lock time = 0
Apr  9 19:25:18 fvdwsl-base local0.warn API[2025/04/09 19:25:18] nasapi.inc(49)[19734]: calling 'mrvlGetVolumeSummary'
Apr  9 19:25:18 fvdwsl-base authpriv.notice sudo:   nobody : TTY=unknown ; PWD=/usr/htdocs/global2 ; USER=root ; COMMAND=/bin/df
Apr  9 19:34:25 fvdwsl-base local0.warn API[2025/04/09 19:34:25] nasapi.inc(36)[19791]: nasapi: lock time = 0
Apr  9 19:34:25 fvdwsl-base local0.warn API[2025/04/09 19:34:25] nasapi.inc(49)[19791]: calling 'mrvlGetLanguage'
Apr  9 19:34:25 fvdwsl-base local0.warn API[2025/04/09 19:34:25] nasapi.inc(484)[19791]: mrvlGetLanguage Return Code: sp
Apr  9 19:34:25 fvdwsl-base local0.warn API[2025/04/09 19:34:25] nasapi.inc(36)[19791]: nasapi: lock time = 0
Apr  9 19:34:25 fvdwsl-base local0.warn API[2025/04/09 19:34:25] nasapi.inc(49)[19791]: calling 'mrvlGetLanguage'
Apr  9 19:34:25 fvdwsl-base local0.warn API[2025/04/09 19:34:25] nasapi.inc(484)[19791]: mrvlGetLanguage Return Code: sp
Apr  9 19:34:25 fvdwsl-base authpriv.notice sudo:   nobody : TTY=unknown ; PWD=/usr/htdocs/global ; USER=root ; COMMAND=/bin/sed -rie s/(.*language).*/\1 = "sp";/g /usr/htdocs/.vnstat/config.php
Apr  9 19:34:27 fvdwsl-base authpriv.notice sudo:   nobody : TTY=unknown ; PWD=/usr/htdocs/global2 ; USER=root ; COMMAND=/bin/ping -w 2 -c 1 8.8.8.8
Apr  9 19:34:29 fvdwsl-base local0.warn API[2025/04/09 19:34:29] nasapi.inc(36)[19791]: nasapi: lock time = 0
Apr  9 19:34:29 fvdwsl-base local0.warn API[2025/04/09 19:34:29] nasapi.inc(49)[19791]: calling 'mrvlGetMainSystemData'
Apr  9 19:34:29 fvdwsl-base local0.warn API[2025/04/09 19:34:29] nasapi.inc(481)[19791]: mrvlGetMainSystemData Return Code: Array():system => Array()...
Apr  9 19:34:30 fvdwsl-base local0.warn API[2025/04/09 19:34:30] nasapi.inc(36)[19791]: nasapi: lock time = 0
Apr  9 19:34:30 fvdwsl-base local0.warn API[2025/04/09 19:34:30] nasapi.inc(49)[19791]: calling 'mrvlGetVolumeSummary'
Apr  9 19:34:30 fvdwsl-base authpriv.notice sudo:   nobody : TTY=unknown ; PWD=/usr/htdocs/global2 ; USER=root ; COMMAND=/bin/df


An idea what might be going on?
You do not have the required permissions to view the files attached to this post.
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: How to restart crashed HTTPD server and Transmission?

Postby Jocko » Tue Apr 15, 2025 4:34 pm

Hi Cubytus,

As now we have fixed the firefox issue with version 137.0 and 137.0.1, can you install the roll-up patch for version 18.3 ?

See if we need to investigate more your issue or it is also fixed
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to restart crashed HTTPD server and Transmission?

Postby Cubytus » Sat Apr 19, 2025 7:33 pm

Hi Jocko, thanks for the tip. As of now, my cloudbox has been running fvdw-sl 18.2. I haven't installed 18.3 yet since 18.2 didn't detect it automatically.

So the steps would be:
  1. Upgrade to fvdw-sl 18.3 using the Web interface (after restarting it)
  2. Install roll-up patch for 18.3

Is that the correct post about the latest patch? https://plugout.net/viewtopic.php?f=7&t=3773&p=39688&hilit=roll+up+patch#p39688

It says to reboot, does that mean I will lose my record uptime? :dontknow

BTW I am not on FF 137.x. FF ESR is still on 128.x
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: How to restart crashed HTTPD server and Transmission?

Postby Jocko » Sun Apr 20, 2025 8:52 am

Hi

I did not notice your nas stll uses version 18.2.

If your nas does not detect the new fw version when you load update firmware menu, that would mean there is a dns settings issue on LAN setup menu if you use a static ip.

So I advice you to update to version 18.3 and sorry for your uptime challenge !
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to restart crashed HTTPD server and Transmission?

Postby Cubytus » Sun Apr 20, 2025 2:51 pm

I usually don't go to the management UI, but started having some trouble with Transmission randomly crashing. Since fvdw didn't recommend restarting from the command line because specific parameters are passed, I had to use the web UI, and that's how I discovered the bug.

What are the main changes brought by 18.3?

For the record…
Captura de Pantalla 2025-04-20 a la(s) 10.47.59 .png
You do not have the required permissions to view the files attached to this post.
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

PreviousNext

Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 13 guests