Re: Cannot create any files on a filesystem

"Robin Price II" <[email protected]> Thu, 31 Jan 2008 09:44:13 -0500
Newsgroups gmane.linux.redhat.release.taroon.general
Message-ID <[email protected]>
--===============1500591222==
Content-Type: multipart/alternative; 
	boundary="----=_Part_3089_23483412.1201790653909"

------=_Part_3089_23483412.1201790653909
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I hope he isn't running SElinux in RHEL3 u4  ;)

On Jan 30, 2008 10:08 AM, Anoop Chandran <[email protected]> wrote:

>
> On Jan 30, 2008 8:31 PM, Sharpe, Sam J <sam.sharpe-AQ/[email protected]> wrote:
>
> > > I am running RedHat AS release 3 Taroon update 4 on HP DL740 server.
> > >
> > > When I login to my user account see the following shell prompt
> > >
> > > -bash-2.05b$
> > >
> > > When normally I should be seeing the following shell prompt
> > >
> > > [fred1@systema fred1]$
> > >
> > >
> > > Also when I create a file using vi editor and try to save the file, I
> > > get
> > > the an error message saying "text.txt" E212: Can't open file for
> > > writing" and then I hit enter where upon
> > > I am out back into vi. I can exit vi if I quit form it.
> >
> > You can't write to that filesystem, I can think of three possible
> > options off the top of my head:
> >
> > 1) Your filesystem is mounted readonly (could be caused by an error on
> > the filesystem)
> >
> > Run "mount" and check that the filesystem containing your home directory
> > says rw after it. Post the output if you're not sure. "mount -o
> > remount,rw" will make it writeable but you may need to run "fsck" on it
> > if it's broken.
> >
> > 2) If you are running quotas, you are out of quota. Run "quota" and
> > check that you are not over quota. Run edquota if necessary.
> >
> > 3) You are not on the right home filesystem. This could be because /home
> > is not mounted or it could be because you have lost LDAP/NIS etc and you
> > have been logged in with / as your home directory.
> >
>
> One other thing I can think of is, if the home directory was recently
> moved (or copied)
> and you have SELinux enabled, you won't be able to access the home
> directory.
>
>
>
> >
> > --
> > Sam
> >
> >
> > --
> > Taroon-list mailing list
> > [email protected]
> > https://www.redhat.com/mailman/listinfo/taroon-list
> >
>
>
>
> --
> - Anoop
>  <>_<>
> --
> Taroon-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/taroon-list
>

------=_Part_3089_23483412.1201790653909
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I hope he isn&#39;t running SElinux in RHEL3 u4&nbsp; ;)<br><br><div class="gmail_quote">On Jan 30, 2008 10:08 AM, Anoop Chandran &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Jan 30, 2008 8:31 PM, Sharpe, Sam J &lt;<a href="mailto:sam.sharpe-AQ/[email protected]" target="_blank">sam.sharpe-AQ/[email protected]</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>&gt; I am running RedHat AS release 3 Taroon update 4 on HP DL740 server.<br>&gt;<br>&gt; When I login to my user account see the following shell prompt<br>&gt;<br>&gt; -bash-2.05b$<br>&gt;<br>&gt; When normally I should be seeing the following shell prompt<br>

&gt;<br>&gt; [fred1@systema fred1]$<br>&gt;<br>&gt;<br>&gt; Also when I create a file using vi editor and try to save the file, I<br>&gt; get<br>&gt; the an error message saying &quot;text.txt&quot; E212: Can&#39;t open file for<br>

&gt; writing&quot; and then I hit enter where upon<br>&gt; I am out back into vi. I can exit vi if I quit form it.<br><br></div>You can&#39;t write to that filesystem, I can think of three possible<br>options off the top of my head:<br>

<br>1) Your filesystem is mounted readonly (could be caused by an error on<br>the filesystem)<br><br>Run &quot;mount&quot; and check that the filesystem containing your home directory<br>says rw after it. Post the output if you&#39;re not sure. &quot;mount -o<br>

remount,rw&quot; will make it writeable but you may need to run &quot;fsck&quot; on it<br>if it&#39;s broken.<br><br>2) If you are running quotas, you are out of quota. Run &quot;quota&quot; and<br>check that you are not over quota. Run edquota if necessary.<br>

<br>3) You are not on the right home filesystem. This could be because /home<br>is not mounted or it could be because you have lost LDAP/NIS etc and you<br>have been logged in with / as your home directory.<br></blockquote>

</div></div><div><br>One other thing I can think of is, if the home directory was recently moved (or copied)<br>
and you have SELinux enabled, you won&#39;t be able to access the home directory.<br><br>&nbsp;</div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>--<br><font color="#888888">Sam<br></font><div><div></div><div><br><br>--<br>Taroon-list mailing list<br><a href="mailto:[email protected]" target="_blank">[email protected]</a><br><a href="https://www.redhat.com/mailman/listinfo/taroon-list" target="_blank">https://www.redhat.com/mailman/listinfo/taroon-list</a><br>

</div></div></blockquote></div></div><font color="#888888"><br><br clear="all"><br>-- <br>- Anoop<br> &nbsp;&lt;&gt;_&lt;&gt;
</font><br>--<br>Taroon-list mailing list<br><a href="mailto:[email protected]">[email protected]</a><br><a href="https://www.redhat.com/mailman/listinfo/taroon-list" target="_blank">https://www.redhat.com/mailman/listinfo/taroon-list</a><br>
</blockquote></div><br>

------=_Part_3089_23483412.1201790653909--


--===============1500591222==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list
--===============1500591222==--