Run the command "mount" without any arguments and look for a "ro"
(read only) file system.
If you find any then run dmesg, or look in /var/log/messages for clues
to why the filesystem was marked read only.
If the kernel detects an error on the file system, it will sometimes
mark it as read-only to prevent damage to the files. This could
indicate a failing disk, or dirty file system. dmesg or
/var/log/messages should help determine what is happening.
-Adam
On 3/3/07, Jon McCauley <jmccauley (at mark) ontarioweb.ca> wrote:
> Gerald Waugh wrote:
> > You wrote;
> >
> > Hello everyone,
> >
> >> Today I had an power outage that the battery backups where
> >> not able to
> >> keep all the BQ servers running.
> >>
> >> I now have a name server that is reporting "The FTP server is
> >> not running", I have tried to restart from CLI and GUI and no luck.
> >>
> >> #> proftpd -n -d9
> >> [root@ns1 log]# proftpd -n -d9
> >>
> >> ns1.domain.com - opening scoreboard
> >> '/var/run/proftpd/proftpd.scoreboard'
> >> ns1.domain.com - RELINQUISH PRIVS at main.c:2262
> >> ns1.domain.com - error opening scoreboard: Read-only file system
> >>
> >>
> >> [root (at mark) ns1 log]# /etc/init.d/proftpd restart
> >> Shutting down proftpd: [FAILED]
> >> Starting proftpd: [ OK ]
> >> touch: cannot touch `/var/lock/subsys/proftpd': Read-only file system
> >>
> >> Any help would be appreciated as I am nervous to reboot
> >>
> >
> > Are you not running proftpd from xinetd???
> > Which is the standard method...
> > If so;
> > /etc/rc.d/init.d/xinetd restart
> >
> > Gerald
> >
> Hi Gerald,
> My mistake....but when I run xinetd I still receive a read only error
>
> [root (at mark) ns1 ~]# /etc/rc.d/init.d/xinetd restart
> rm: cannot remove `/var/run/xinetd.pid': Read-only file systemOK ]
>
> rm: cannot remove `/var/lock/subsys/xinetd': Read-only file system
> Starting xinetd: [ OK ]
> touch: cannot touch `/var/lock/subsys/xinetd': Read-only file system
>
>
> >
> >
>
>
--
-----------------------------------------------------------------
Shroom.net Donation Based Web Hosting
http://www.shroom.net/
-----------------------------------------------------------------