[Zope] Help Please : IOError: [Errno 13] Permission denied

girish r.girish@tatainfotech.com
Wed, 17 Oct 2001 13:12:16 +0530


This is a multi-part message in MIME format.

------=_NextPart_000_004E_01C1570D.5843E340
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I am installing ZOPE-2.4.1 on linux (Redhat 7.0)
After installation ,when i start zope i get a permission denied error.

 Details are listed below as on console :-

*************************************************************************=
**************************
[root@EP Zope2.4.1]# ./start -P 163.122.12.10:8000
------
2001-10-17T14:37:13 INFO(0) ZServer HTTP server started at Wed Oct 17 =
20:07:13 2001
        Hostname: 163.122.12.10
        Port: 8080
------
2001-10-17T14:37:13 INFO(0) ZServer FTP server started at Wed Oct 17 =
20:07:13 2001
        Hostname: EP.tatainfotech.com
        Port: 8021
------
2001-10-17T14:37:13 INFO(0) ZServer PCGI Server started at Wed Oct 17 =
20:07:13 2001
        Unix socket: /home/ep/zope/Zope2.4.1/var/pcgi.soc
------
2001-10-17T14:37:13 PANIC(300) z2 Startup exception
Traceback (innermost last):
  File /home/ep/zope/Zope2.4.1/z2.py, line 757, in ?
IOError: [Errno 13] Permission denied: =
'/home/ep/zope/Zope2.4.1/var/Z2.pid'

*************************************************************************=
**************************

Although , the output says that the server has started ,but actually it =
has not (I checked that on the browser).
I have given all the required read & write permissions to the /var =
directory and all files in it.
But that does not help and still gives the above errors.

It would be of great help if u could help me solve this.

Regards,

R.Girish,
Associate Systems Engineer,
Tata Infotech Ltd,
ITPL,Bangalore-560066.

=20


------=_NextPart_000_004E_01C1570D.5843E340
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Lucida Sans Unicode">Hi,</FONT></DIV>
<DIV><FONT face=3D"Lucida Sans Unicode"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Lucida Sans Unicode">I am installing ZOPE-2.4.1 on =
linux=20
(Redhat 7.0)</FONT></DIV>
<DIV><FONT face=3D"Lucida Sans Unicode">After installation ,when i start =
zope i=20
get a permission denied error.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Lucida Sans Unicode">&nbsp;Details are listed below =
as on=20
console :-</FONT></DIV>
<DIV><FONT face=3D"Lucida Sans Unicode"></FONT>&nbsp;</DIV>
<DIV><FONT=20
face=3D"Lucida Sans =
Unicode">****************************************************************=
***********************************</FONT></DIV>
<DIV><FONT face=3D"Lucida Sans Unicode">[root@EP Zope2.4.1]# ./start -P=20
163.122.12.10:8000<BR>------<BR>2001-10-17T14:37:13 INFO(0) ZServer HTTP =
server=20
started at Wed Oct 17 20:07:13=20
2001<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hostname:=20
163.122.12.10<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Port:=20
8080<BR>------<BR>2001-10-17T14:37:13 INFO(0) ZServer FTP server started =
at Wed=20
Oct 17 20:07:13 2001<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Hostname:=20
EP.tatainfotech.com<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Port:=20
8021<BR>------<BR>2001-10-17T14:37:13 INFO(0) ZServer PCGI Server =
started at Wed=20
Oct 17 20:07:13 2001<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unix =
socket:=20
/home/ep/zope/Zope2.4.1/var/pcgi.soc<BR>------<BR>2001-10-17T14:37:13 =
PANIC(300)=20
z2 Startup exception<BR>Traceback (innermost last):<BR>&nbsp; File=20
/home/ep/zope/Zope2.4.1/z2.py, line 757, in ?<BR>IOError: [Errno 13] =
Permission=20
denied: '/home/ep/zope/Zope2.4.1/var/Z2.pid'</FONT></DIV>
<DIV><FONT face=3D"Lucida Sans Unicode"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Lucida Sans Unicode"><FONT=20
face=3D"Lucida Sans =
Unicode">****************************************************************=
***********************************</FONT></FONT></DIV>
<DIV><FONT face=3D"Lucida Sans Unicode"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Lucida Sans Unicode"><FONT face=3D"Lucida Sans =
Unicode">Although=20
, the output says that the server has started ,but&nbsp;actually it has =
not (I=20
checked that on the browser).</FONT></FONT></DIV>
<DIV><FONT face=3D"Lucida Sans Unicode"><FONT face=3D"Lucida Sans =
Unicode">I have=20
given all the required read &amp; write permissions to the&nbsp;/var =
directory=20
and all files in it.</FONT></FONT></DIV>
<DIV><FONT face=3D"Lucida Sans Unicode">But that does not help and still =
gives the=20
above errors.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Lucida Sans Unicode">It would be of great help if u =
could help=20
me solve this.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Lucida Sans Unicode">Regards,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Lucida Sans Unicode">R.Girish,<BR>Associate Systems=20
Engineer,<BR>Tata Infotech Ltd,<BR>ITPL,Bangalore-560066.</FONT></DIV>
<DIV><FONT face=3D"Lucida Sans Unicode"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Lucida Sans =
Unicode">&nbsp;<BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_004E_01C1570D.5843E340--