error in boot

error in boot

Postby fraumo » Mon Jan 08, 2018 8:56 am

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
fraumo
 
Posts: 55
Joined: Mon Sep 26, 2011 11:48 am

Re: error in boot

Postby Jocko » Mon Jan 08, 2018 9:18 am

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
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: error in boot

Postby fraumo » Mon Jan 08, 2018 9:26 am

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)
fraumo
 
Posts: 55
Joined: Mon Sep 26, 2011 11:48 am

Re: error in boot

Postby Jocko » Mon Jan 08, 2018 9:49 am

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/
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: error in boot

Postby fraumo » Mon Jan 08, 2018 10:00 am

I think now is OK

If I have problems I contact again

thanks
fraumo
 
Posts: 55
Joined: Mon Sep 26, 2011 11:48 am

Re: error in boot

Postby Jocko » Mon Jan 08, 2018 10:17 am

If you have again the same issues, please do not restart the nas and post these commands :
Code: Select all
mount
dmesg
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 6 guests