Page 1 of 1

error in boot

PostPosted: Mon Jan 08, 2018 8:56 am
by fraumo
Hello

When I start my LACIE I get allaways this message

Warning: session_start(): open(/tmp/sess_b4240370df377e99f4031c29b6acdabe, O_RDWR) failed: Read-only file system (30) in /usr/htdocs/home.hm on line 2 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/htdocs/home.hm:2) in /usr/htdocs/home.hm on line 2


Sometimes I can acess to my files via samba sometimes no
Sometimes I can open my web page sometimes not

What I can do to reinstall the software or correct the problem???


Thanks in advance

Re: error in boot

PostPosted: Mon Jan 08, 2018 9:18 am
by Jocko
Hi fraumo,

fraumo wrote:Warning: session_start(): open(/tmp/sess_b4240370df377e99f4031c29b6acdabe, O_RDWR) failed: Read-only file system
Means apache/php server failed to create a file in /tmp folder.

This may happens if :
- sda5 is read-only mounted (fs corrupted on sda5)
- user permissions have been changed on tmp folder

So post
Code: Select all
df -h /tmp
ls -l /tmp
mount

Re: error in boot

PostPosted: Mon Jan 08, 2018 9:26 am
by fraumo
Hello again

for df -h /tmp
Code: Select all
Filesystem                Size      Used Available Use% Mounted on
/dev/sda5               755.1M      1.5M    745.7M   0% /rw_fs


for ls -l /tmp
Code: Select all
lrwxrwxrwx  1 root root 10 2018-01-07 23:28 /tmp -> /rw_fs/tmp


for mount
Code: Select all
/dev/sda1 on / type ext3 (rw,relatime,data=ordered)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda5 on /rw_fs type ext3 (rw,noatime,data=ordered)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,relatime,size=5000k)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/sda8 on /share/1000 type ext3 (rw,noatime,data=ordered)
/dev/root on /lacie-boot type ext3 (rw,relatime,data=ordered)

Re: error in boot

PostPosted: Mon Jan 08, 2018 9:49 am
by Jocko
Currently do you have your issues ?

and I made a small error on a command line. please to repeat with
Code: Select all
ls -dl /rw_fs/tmp/

Re: error in boot

PostPosted: Mon Jan 08, 2018 10:00 am
by fraumo
I think now is OK

If I have problems I contact again

thanks

Re: error in boot

PostPosted: Mon Jan 08, 2018 10:17 am
by Jocko
If you have again the same issues, please do not restart the nas and post these commands :
Code: Select all
mount
dmesg