Hi all,
         I m installing Zope 4.2.1 on linux.After getting it installed, when its strated it strats and gives the port it is listening to.
But when i access it through browser then there is no connection established with the server.
 
It gives following output while installing and starting.
 
 
[root@EP Zope2.4.1]# cd var [root@EP var]# ls -l total 80 -rw-r--r-- 1 506 users 75448 Jan 21 2001 Data.fs.in [root@EP Zope2.4.1]# ls -l total 92 drwxr-xr-x 2 506 users 4096 Sep 4 19:18 Extensions -rw-r--r-- 1 506 users 3026 Sep 4 18:54 LICENSE.txt -rw-r--r-- 1 506 users 987 Apr 29 1999 README.txt drwxr-xr-x 4 506 users 4096 Sep 4 19:18 ZServer drwxr-xr-x 2 506 users 4096 Sep 4 19:18 bin drwxr-xr-x 4 506 users 4096 Sep 4 19:18 doc drwxr-xr-x 2 506 users 4096 Sep 4 19:18 import drwxr-xr-x 2 506 users 4096 Sep 4 19:18 inst -rwxr-xr-x 1 506 users 225 Jul 23 1999 install drwxr-xr-x 4 506 users 4096 Sep 4 19:18 lib drwxr-xr-x 8 506 users 4096 Sep 4 19:18 pcgi drwxr-xr-x 2 506 users 4096 Sep 4 19:18 utilities drwxrwxr-x 2 506 users 4096 Sep 4 19:18 var -rw-r--r-- 1 506 users 25607 Jun 18 19:19 z2.py -rw-r--r-- 1 506 users 9546 Dec 8 2000 zpasswd.py ############################################################################################################## [root@EP Zope2.4.1]# ./install -u ep -g users ------------------------------------------------------------------------------ Compiling python modules File "/home/ep/zope/Zope2.4.1/lib/python2.1/test/nocaret.py", line 2 [x for x in x] = x SyntaxError: can't assign to list comprehension SyntaxError: from __future__ imports must occur at the beginning of the file (test_future3.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future4.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future5.py, line 4) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future6.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future7.py, line 3) ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ creating default inituser file Note: The initial user name and password are 'admin' and 'IaejsWAa'. You can change the name and password through the web interface or using the 'zpasswd.py' script. chgrp users /home/ep/zope/Zope2.4.1/inituser chown ep /home/ep/zope/Zope2.4.1/inituser chmod 0660 /home/ep/zope/Zope2.4.1/inituser chgrp users /home/ep/zope/Zope2.4.1/var chown ep /home/ep/zope/Zope2.4.1/var chmod 0771 /home/ep/zope/Zope2.4.1/var ------------------------------------------------------------------------------ setting dir permissions ------------------------------------------------------------------------------ creating default database chgrp users /home/ep/zope/Zope2.4.1/var/Data.fs chown ep /home/ep/zope/Zope2.4.1/var/Data.fs chmod 0660 /home/ep/zope/Zope2.4.1/var/Data.fs ------------------------------------------------------------------------------ Writing the pcgi resource file (ie cgi script), /home/ep/zope/Zope2.4.1/Zope.cgi chgrp users /home/ep/zope/Zope2.4.1/Zope.cgi chown ep /home/ep/zope/Zope2.4.1/Zope.cgi chmod 0775 /home/ep/zope/Zope2.4.1/Zope.cgi ------------------------------------------------------------------------------ Creating start script, start chgrp users /home/ep/zope/Zope2.4.1/start chown ep /home/ep/zope/Zope2.4.1/start chmod 0771 /home/ep/zope/Zope2.4.1/start ------------------------------------------------------------------------------ Creating stop script, stop chgrp users /home/ep/zope/Zope2.4.1/stop chown ep /home/ep/zope/Zope2.4.1/stop chmod 0771 /home/ep/zope/Zope2.4.1/stop ------------------------------------------------------------------------------ Done! ############################################################################################################## [root@EP Zope2.4.1]# [root@EP Zope2.4.1]# ls -l total 136 drwxrwxr-x 2 ep users 4096 Sep 4 19:18 Extensions -rw-r--r-- 1 506 users 3026 Sep 4 18:54 LICENSE.txt -rw-r--r-- 1 506 users 987 Apr 29 1999 README.txt drwxrwxr-x 4 ep users 4096 Oct 17 18:44 ZServer -rwxrwxr-x 1 ep users 501 Oct 17 18:44 Zope.cgi drwxrwxr-x 2 ep users 4096 Sep 4 19:18 bin drwxrwxr-x 4 ep users 4096 Sep 4 19:18 doc drwxrwxr-x 2 ep users 4096 Sep 4 19:18 import -rw-rw---- 1 ep users 39 Oct 17 18:44 inituser drwxrwxr-x 2 ep users 4096 Oct 17 18:44 inst -rwxr-xr-x 1 506 users 225 Jul 23 1999 install drwxrwxr-x 4 ep users 4096 Sep 4 19:18 lib drwxrwxr-x 8 ep users 4096 Oct 17 18:44 pcgi -rwxrwx--x 1 ep users 155 Oct 17 18:44 start -rwxrwx--x 1 ep users 56 Oct 17 18:44 stop drwxrwxr-x 2 ep users 4096 Oct 17 18:44 utilities drwxrwxr-x 2 ep users 4096 Oct 17 18:44 var -rw-r--r-- 1 506 users 25607 Jun 18 19:19 z2.py -rw-r--r-- 1 root root 17133 Oct 17 18:44 z2.pyc -rw-r--r-- 1 506 users 9546 Dec 8 2000 zpasswd.py -rw-r--r-- 1 root root 6783 Oct 17 18:44 zpasswd.pyc [root@EP Zope2.4.1]# cd var [root@EP var]# ls -l total 160 -rw-rw---- 1 ep users 75448 Oct 17 18:44 Data.fs -rw-r--r-- 1 506 users 75448 Jan 21 2001 Data.fs.in [root@EP var]# [root@EP Zope2.4.1]# cd var [root@EP var]# ls -l total 160 -rw-rw---- 1 ep users 75448 Oct 17 18:44 Data.fs -rw-r--r-- 1 506 users 75448 Jan 21 2001 Data.fs.in [root@EP var]# cd .. [root@EP Zope2.4.1]# chmod o+w var [root@EP Zope2.4.1]# ls -l total 136 drwxrwxr-x 2 ep users 4096 Sep 4 19:18 Extensions -rw-r--r-- 1 506 users 3026 Sep 4 18:54 LICENSE.txt -rw-r--r-- 1 506 users 987 Apr 29 1999 README.txt drwxrwxr-x 4 ep users 4096 Oct 17 18:44 ZServer -rwxrwxr-x 1 ep users 501 Oct 17 18:44 Zope.cgi drwxrwxr-x 2 ep users 4096 Sep 4 19:18 bin drwxrwxr-x 4 ep users 4096 Sep 4 19:18 doc drwxrwxr-x 2 ep users 4096 Sep 4 19:18 import -rw-rw---- 1 ep users 39 Oct 17 18:44 inituser drwxrwxr-x 2 ep users 4096 Oct 17 18:44 inst -rwxr-xr-x 1 506 users 225 Jul 23 1999 install drwxrwxr-x 4 ep users 4096 Sep 4 19:18 lib drwxrwxr-x 8 ep users 4096 Oct 17 18:44 pcgi -rwxrwx--x 1 ep users 155 Oct 17 18:44 start -rwxrwx--x 1 ep users 56 Oct 17 18:44 stop drwxrwxr-x 2 ep users 4096 Oct 17 18:44 utilities drwxrwxrwx 2 ep users 4096 Oct 17 18:44 var -rw-r--r-- 1 506 users 25607 Jun 18 19:19 z2.py -rw-r--r-- 1 root root 17133 Oct 17 18:44 z2.pyc -rw-r--r-- 1 506 users 9546 Dec 8 2000 zpasswd.py -rw-r--r-- 1 root root 6783 Oct 17 18:44 zpasswd.pyc [root@EP Zope2.4.1]# cd var ############# changing the default permission of any file created (root user) [root@EP var]# umask g=rw,o=rw [root@EP var]# vi newroot1 [root@EP var]# ls -l total 180 -rw-rw--w- 1 ep users 75448 Oct 17 18:44 Data.fs -rw-r--rw- 1 506 users 75448 Jan 21 2001 Data.fs.in -rw-rw--w- 1 ep ep 10 Oct 17 19:20 latest -rw-rw-rw- 1 ep ep 16 Oct 17 19:22 new -rw-r--r-- 1 root root 11 Oct 17 19:23 new1 -rw-r--r-- 1 root root 21 Oct 17 19:24 newroot -rw-rw-rw- 1 root root 11 Oct 17 19:25 newroot1 #after changing umask value to 011 ##################################################################################################### STARTING ZOPE ----some details ./start -u username or uid number The username to run ZServer as. You may want to run ZServer as 'nobody' or some other user with limited resouces. The only works under Unix, and if ZServer is started by root. The default is: %(UID)s -P [ipaddress:]number Set the web, ftp and monitor port numbers simultaneously as offsets from the number. The web port number will be number+80. The FTP port number will be number+21. The monitor port number will be number+99. The number can be preeceeded by an ip address follwed by a colon to specify an address to listen on. This allows different servers to listen on different addresses. -w port The Web server (HTTP) port. This defaults to %(HTTP_PORT)s. The standard port for HTTP services is 80. If this is a dash (e.g. -w -), then HTTP is disabled. The number can be preeceeded by an ip address follwed by a colon to specify an address to listen on. This allows different servers to listen on different addresses. Multiple -w options can be provided to run multiple servers. -l path Path to the ZServer log file. If this is a relative path then the log file will be written to the 'var' directory. The default is %(LOG_FILE)s. ##################################################################################################### [root@EP Zope2.4.1]# ./start -u ep -P 163.122.12.10:8000 ------ 2001-10-17T16:20:23 INFO(0) ZServer HTTP server started at Wed Oct 17 21:50:23 2001 Hostname: 163.122.12.10 Port: 8080 ------ 2001-10-17T16:20:23 INFO(0) ZServer FTP server started at Wed Oct 17 21:50:23 2001 Hostname: EP.tatainfotech.com Port: 8021 ------ 2001-10-17T16:20:23 INFO(0) ZServer PCGI Server started at Wed Oct 17 21:50:23 2001 Unix socket: /home/ep/zope/Zope2.4.1/var/pcgi.soc AND THE SERVER STARTS SUCCESSFULLY THEREAFTER......................................................... <FONT size=3>But on accessing it through browser it says no connection established with tyhe server.</FONT> <FONT size=3>Kindly answer me what is wrong.</FONT> <FONT size=3>Thankns in advance,</FONT><FONT size=3>Regards...</FONT><FONT size=3>Sanjay</FONT>

Reply via email to