how can i fix it?

how can i fix it?

Postby the_wombel » Thu Sep 21, 2023 4:26 pm

How can i fix this isue?:

Warning: Session_start(): open(/temp/sess_acff824aa3ab34296a9625f6500adefb, O_RDWR) failed: Read-only file system (30) in /usr/htdocs/home.htm on line 2 Warning: session_atart(): Cannot send session cache limiter - haeders alredy sent(output stated at /usr/htdocs/home.htm on line 2

cu/the_wombel
the_wombel
Donator VIP
Donator VIP
 
Posts: 26
Joined: Wed Oct 12, 2011 8:36 am

Re: how can i fix it?

Postby fvdw » Fri Sep 22, 2023 9:47 pm

Did you try to reboot your nas? Seems there is a file system error. If you are using version 18-2 the file system is checked during booting up the nas
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: how can i fix it?

Postby the_wombel » Sat Sep 23, 2023 9:05 am

Yep, I've restarted several times. Firmware is 18-2, I always get this message before logging in..
Should I be worried?
the_wombel
Donator VIP
Donator VIP
 
Posts: 26
Joined: Wed Oct 12, 2011 8:36 am

Re: how can i fix it?

Postby fvdw » Sat Sep 23, 2023 9:47 am

It is a php error. The mentioned file /usr/htdocs/home.htm may be corrupt. Did you edit that file?
I assume you get this error when opening the webinterface. Is that correct? And does the rest of the webinterface work normally?
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: how can i fix it?

Postby Jocko » Sat Sep 23, 2023 10:16 am

Hi

This may happen when php/apache fails to create the session file in tmp directory when you open the firmware interface.

That would mean either you did not have the expected permissions on it or sda5 is mis-mounted.

So open a shell window, and post these output
Code: Select all
cat /boot.log
mount
df /rw_fs
ls -al /rw_fs/tmp
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: how can i fix it?

Postby the_wombel » Sun Sep 24, 2023 11:31 am

Jocko wrote:Hi

This may happen when php/apache fails to create the session file in tmp directory when you open the firmware interface.

That would mean either you did not have the expected permissions on it or sda5 is mis-mounted.

So open a shell window, and post these output
Code: Select all
cat /boot.log
mount
df /rw_fs
ls -al /rw_fs/tmp



here ist the output.:
login as: root
root@192.168.0.49's password:
Bus error
root@fvdwsl-base2:/ # cat /boot.log
start boot log
is a physical machine
detect and set platform
nwsp2
kirkwood
UIMAGE-414133-KIRKWOOD-1
Current kernel: 4.14.133 #1 PREEMPT Wed Jul 17 14:46:56 CEST 2019
device nwsp2
family kirkwood
mount dev/pts
update dev nodes
booting using sda1 root file system...
enable IP forwarding...
run udevstart to update dev nodes when necessary
inserting kernel modules:
modprobe: module 'iscsi_trgt' not found
start buttons control daemon
device = nwsp2
source = buttons-nwsp2
buttons-nwsp2 daemon started
Keep old Min free memory=2000
Sat Sep 23 12:08:07 CEST 2023
configuration partition is rightly mounted
create temporary passwd file
create temporary group file
set samba environment for version 3.0.37
configure loopback network interface
setting reboot and standby
nwsp2
rebootd-nwsp2
nwsp2
standbyd-nwsp2
starting php based setup routines step 1
* Initialize the volatile db file... [ OK ]
* Starting udevd... [ OK ]
* Finishing restore RAID devices... [ OK ]
* Found database configuration file... [ OK ]
* Updating Disks database... [ OK ]
* Starting mount of volumes...
- Mounting volume Vol-A: [ OK ]
* Finishing mount of volumes... [ OK ]
* Generating Hosts File... [ OK ]
* Configuring System Hostname... [ OK ]
* Configuring LAN interface... [ OK ]
* Initializing Timezone... [ OK ]
* Starting web server... [ OK ]
* Starting mount of internal USB ...
* Finishing mount internal USB ... [ OK ]
* Configuring Disks... [ OK ]
* Configuring Samba... [ OK ]
* Configuring System Users...
Root password: use default password
Set users, linux and samba accounts [ OK ]
* Starting Fvdw-sl Discovery Daemon... [ OK ]
start rpcbind service
starting php based setup routines step 2
* Starting dropbear... [ OK ]
* Kill temporary dropbear... [ OK ]

Warning: unlink(/var/run/lock/1.lock): Read-only file system in /etc/finc/sysfunc_gen_unlock.finc on line 34

Warning: unlink(//rw_fs/tmp/booting): Read-only file system in /etc/finc/set_booting.finc on line 35
starting php based setup routines step 3
the_wombel
Donator VIP
Donator VIP
 
Posts: 26
Joined: Wed Oct 12, 2011 8:36 am

Re: how can i fix it?

Postby Jocko » Sun Sep 24, 2023 12:20 pm

Hi

Code: Select all
Warning: unlink(/var/run/lock/1.lock): Read-only file system in /etc/finc/sysfunc_gen_unlock.finc on line 34

Warning: unlink(//rw_fs/tmp/booting): Read-only file system in /etc/finc/set_booting.finc on line 35
This confirms there is an issue on sda5

But you did not post all asked outputs, I am pretty sure now sda5 is readonly mounted
Code: Select all
mount
and you should find some information with
Code: Select all
dmesg


Any how you can try to force to repair fs on sda5 run on nas booting
Code: Select all
touch /etc/sda5-scan
and then reboot the nas
So please to post all the output of
Code: Select all
cat /boot.log
(it was not the case with your post)

Note I moved the topic in the right forum (you have a nwsp2 and not a nwsp1)
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: how can i fix it?

Postby the_wombel » Sun Sep 24, 2023 1:02 pm

ups..sorry, i was thinking it was a nwsp1..

here comes the full output..

-----
l
Code: Select all
ogin as: root
root@192.168.0.49's password:
Bus error
root@fvdwsl-base2:/ # cat /boot.log
start boot log
is a physical machine
detect and set platform
nwsp2
kirkwood
UIMAGE-414133-KIRKWOOD-1
Current kernel: 4.14.133 #1 PREEMPT Wed Jul 17 14:46:56 CEST 2019
device nwsp2
family kirkwood
 mount dev/pts
update dev nodes
booting using sda1 root file system...
enable IP forwarding...
run udevstart to update dev nodes when necessary
inserting kernel modules:
modprobe: module 'iscsi_trgt' not found
start buttons control daemon
device = nwsp2
source = buttons-nwsp2
buttons-nwsp2 daemon started
Keep old Min free memory=2000
Sat Sep 23 12:08:07 CEST 2023
configuration partition is rightly mounted
create temporary passwd file
create temporary group file
set samba environment for version 3.0.37
configure loopback network interface
setting reboot and standby
nwsp2
rebootd-nwsp2
nwsp2
standbyd-nwsp2
starting php based setup routines step 1
 * Initialize the volatile db file...    [ OK ]
 * Starting udevd...                                     [ OK ]
 * Finishing restore RAID devices...     [ OK ]
 * Found database configuration file...  [ OK ]
 * Updating Disks database...                    [ OK ]
 * Starting mount of volumes...
   - Mounting volume Vol-A:  [ OK ]
 * Finishing mount of volumes...                 [ OK ]
 * Generating Hosts File...                      [ OK ]
 * Configuring System Hostname...                [ OK ]
 * Configuring LAN interface...                  [ OK ]
 * Initializing Timezone...                      [ OK ]
 * Starting web server...                                [ OK ]
 * Starting mount of internal USB ...
 * Finishing mount internal USB ...      [ OK ]
 * Configuring Disks...                                  [ OK ]
 * Configuring Samba...                                  [ OK ]
 * Configuring System Users...
        Root password: use default password
        Set users, linux and samba accounts      [ OK ]
 * Starting Fvdw-sl Discovery Daemon...  [ OK ]
start rpcbind service
starting php based setup routines step 2
 * Starting dropbear...                                  [ OK ]
 * Kill temporary dropbear...                    [ OK ]

Warning: unlink(/var/run/lock/1.lock): Read-only file system in /etc/finc/sysfun                                                                                                                   c_gen_unlock.finc on line 34

Warning: unlink(//rw_fs/tmp/booting): Read-only file system in /etc/finc/set_boo                                                                                                                   ting.finc on line 35
starting php based setup routines step 3

Warning: touch(): Utime failed: Read-only file system in /etc/finc/set_booting.f                                                                                                                   inc on line 27
 * Starting NFS Server...                                [ OK ]

Warning: unlink(/var/run/lock/1.lock): Read-only file system in /etc/finc/sysfun                                                                                                                   c_gen_unlock.finc on line 34
 * Starting daemon update Hosts File...  [ OK ]
 * Starting Disk Temperature Guard...    [ OK ]
 * Starting NTP Server ...                               [ OK ]
 * Starting mount of remote shares...
 * Finishing mount shares...                     [ OK ]
 * Starting NTP client...                                [ OK ]

Warning: mkdir(): Read-only file system in /etc/init.d/rc.bootup3 on line 85

Warning: mkdir(): Read-only file system in /etc/init.d/rc.bootup3 on line 92

Warning: unlink(//rw_fs/tmp/booting): Read-only file system in /etc/finc/set_boo                                                                                                                   ting.finc on line 35
starting php based setup routines step banner


*** fvdw-sl NAS firmware
    This is fvdw-sl version: fvdw-sl 18.2 patched
    built on: October 18 2019

    LAN IP address: 192.168.0.49 (static)

    Port configuration:

    LAN   -> eth0
php based setup routines finished
web permission on resolv.conf
set device tuning for dms performance
move smbd en nmbd db files away from ram disk to prevent hanging samba server
LED settings
else loop1 finished
rcS finished
root@fvdwsl-base2:/ # mount
/dev/sda1 on / type ext3 (ro,noatime,stripe=4,data=ordered)
none on /proc type proc (rw,noatime)
none on /sys type sysfs (rw,noatime)
none on /dev/pts type devpts (rw,noatime,mode=600,ptmxmode=000)
/dev/sda5 on /rw_fs type ext3 (ro,noatime,data=ordered)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,noatime,size=5000k)
nfsd on /proc/fs/nfsd type nfsd (rw,noatime)
/dev/sda8 on /share/1000 type ext4 (rw,noatime,nodelalloc,data=ordered)
/dev/sda7 on /lacie-boot type ext3 (rw,relatime,data=ordered)
root@fvdwsl-base2:/ # df /rw_fs
Filesystem     1K-blocks  Used Available Use% Mounted on
/dev/sda5         805832  1268    796212   1% /rw_fs
root@fvdwsl-base2:/ # ls -al /rw_fs/tmp
total 24
drwxrwxrwx  6 root root 4096 2023-09-23 12:08 .
drwxrwxr-x  9 root sys  4096 2023-09-23 12:08 ..
-rw-r--r--  1 root root    0 2023-09-23 12:08 booting
drwxr-xr-x  2 root root 4096 2023-09-23 12:08 etc
drwxr-xr-x  2 root root 4096 2023-09-23 12:08 mnt
drwxr-xr-x  4 root root 4096 2023-09-23 12:08 usr
drwxr-xr-x  8 root root 4096 2023-09-23 12:08 var
root@fvdwsl-base2:/ #
root@fvdwsl-base2:/ #
root@fvdwsl-base2:/ #
the_wombel
Donator VIP
Donator VIP
 
Posts: 26
Joined: Wed Oct 12, 2011 8:36 am

Re: how can i fix it?

Postby the_wombel » Sun Sep 24, 2023 1:06 pm

fvdw wrote:It is a php error. The mentioned file /usr/htdocs/home.htm may be corrupt. Did you edit that file?
I assume you get this error when opening the webinterface. Is that correct? And does the rest of the webinterface work normally?


No..i dont edit the file

correct, error is comming when opening the Webinerface..

no, the webinterface work verry slow and i cannot connect to the share over win-explorer..
the_wombel
Donator VIP
Donator VIP
 
Posts: 26
Joined: Wed Oct 12, 2011 8:36 am

Re: how can i fix it?

Postby Jocko » Sun Sep 24, 2023 1:28 pm

/dev/sda5 on /rw_fs type ext3 (ro,noatime,data=ordered)
So sda5 is really readonly mounted.

You have to run my last posted commands (touch /etc/sda5-scan ....)
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Next

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 2 guests

cron