Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Debian Linux Help
Reload this Page Read-only file system
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Debian Linux Help Discussions related to Debian GNU/Linux.

Closed Thread
 
Thread Tools Display Modes
Old 10-12-2004   #1 (permalink)
XiXiDu
Just Joined!
 
Join Date: Oct 2004
Location: European Union
Posts: 3
Send a message via MSN to XiXiDu
Read-only file system

I got a problem with the server I'm hosted on. Friend who owns it is on holiday (vacation).

For some reasons the server changed its file system today at 4 am (I think). It's now mounted as Read-only file system. I don't know much about Linux. Can anyone tell me what to do to change it back to "normal"?

Quote:
rootserver:/# apachectl restart
/usr/sbin/apachectl restart: httpd not running, trying to start
fopen: Read-only file system
apache: could not open error log file /var/log/apache/error.log.
/usr/sbin/apachectl restart: httpd could not be started


P.S. I got root access...
XiXiDu is offline  
Old 10-12-2004   #2 (permalink)
scientica
Linux Enthusiast
 
scientica's Avatar
 
Join Date: Sep 2003
Location: South- or "Mid-" Sweden
Posts: 742
Send a message via ICQ to scientica
Sounds like a permissions thing, are you running the "apachectl restart" command logged on as root? If not run this command:
Code:
su - -c 'apachectl restart'
It will ask for the root password (unless you're root), and then run the command as root.
__________________
Regards Scienitca (registered user #335819 - http://counter.li.org )
--
A master is nothing more than a student who knows something of which he can teach to other students.
scientica is offline  
Old 10-12-2004   #3 (permalink)
XiXiDu
Just Joined!
 
Join Date: Oct 2004
Location: European Union
Posts: 3
Send a message via MSN to XiXiDu
It's not a "permission thing". I can't even create a dir when logged on as root:
Quote:
rootserver:/# mkdir test
mkdir: cannot create directory `test': Read-only file system
XiXiDu is offline  
Old 10-13-2004   #4 (permalink)
FyberOptyx
Linux Newbie
 
Join Date: Oct 2004
Location: Manchester, England
Posts: 165
Send a message via MSN to FyberOptyx
check the /etc/fstab to see if it is mounted read only (ro)
FyberOptyx is offline  
Old 10-13-2004   #5 (permalink)
XiXiDu
Just Joined!
 
Join Date: Oct 2004
Location: European Union
Posts: 3
Send a message via MSN to XiXiDu
I figured something was/is wrong with the hdd and the system was set to mount the file system as read-only in this case.
XiXiDu is offline  
Old 05-23-2005   #6 (permalink)
jselva
Just Joined!
 
Join Date: May 2005
Posts: 1
try fcsk and fix the problem with your HD

Probably the hard disk are being damaged. In case of disk error automatically the hd was mounted like Only read mode.

Reboot and try fsck without mount any partition.
jselva is offline  
Old 05-16-2008   #7 (permalink)
selvaraj sadhasivam
Just Joined!
 
Join Date: May 2008
Posts: 1
Thumbs up Linuxguru4ever

Hi,

I'm requesting you to please reboot the box and at startup type the command "fsck".

This will help u out from the Read Only File systems.

Probably this will check 5 Phases.

1.Bloack , Inodes 2. Directory structure 3.Directory Connectivity 4.Groups and So on .....

Selvaraj KS | linuxguru4ever@hotmail.com
selvaraj sadhasivam is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 03:20 PM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0