GUI is not coming up with 8080 port.

28 views
Skip to first unread message

Suddapalli Dileep

unread,
Mar 26, 2019, 12:44:23 AM3/26/19
to schedulix
Hi Team,

I have installed schedulix in a Linux server version 2.8 and ive done ZOPE installation as well successfully on top of it. When I try to invoke http://localhost:8080, page is not getting displayed. PFB the error im getting when I curl the URL in Linux server.



Kindly help me resolving this issue. Thanks in advance.


Suddapalli Dileep

unread,
Mar 26, 2019, 9:05:38 PM3/26/19
to schedulix
Hi Team,

Kindly help me on this. I'm kind of stuck at this point.

Ronald Jeninga

unread,
Mar 27, 2019, 3:24:07 AM3/27/19
to schedulix
Hi,

what happens if you open http://localhost:8080/SDMS
This is the URL to open the GUI.

I'd expect another page after opening the http://localhost:8080 URL, but maybe the Zope guys have changed the behaviour.

Best regards,

Ronald

Dieter Stubler

unread,
Mar 27, 2019, 4:19:48 AM3/27/19
to schedulix
Hello,

Looking at the curl output, I'm not sure whether you try to talk to a Zope instance anyway.

To track down the problem, please post some information about how you installed Zope, which version of Zope you installed and at which point in the installation procedure you gor stuck.

You wrote, that you installed Zope successfully.
After installing Zope you have to create an instance using mkzopeinstance.
After doing that you can start the instance in forground by executing <instancehome>/bin/runzope
Please check that this command does not report any errors like port already in use.
When runzope is executing use your browser to access http://<hostname>:8080
This should bring up a default Zope Quickstart Page.
After this is working you can continue Installation of the schedulix Web GUI as statet in the Installation Guide.

Regards
Dieter

Suddapalli Dileep

unread,
Mar 29, 2019, 6:28:36 AM3/29/19
to schedulix
Hi Dieter,

Zope2 software has been installed and created a zope instance for GUI. PFB the steps I performed for the same.

1. Install virtualenv

$ easy_install virtualenv

2. Create a virtual Python environment for the Zope installation

$ mkdir $HOME/software

$ cd $HOME/software

$ virtualenv --no-site-packages Zope

3. Install the Zope2 software

$ cd $HOME/software/Zope

$ bin/easy_install -i http://download.zope.org/Zope2/index/2.13.22 Zope2

4. Create a Zope instance for schedulix user interface

$ cd $HOME/software/Zope

$ bin/mkzopeinstance -d $HOME/schedulixweb -u sdmsadm:sdmsadm_password



Once the instance is created , I have started the zope and can see the 8080 port is listening with the process. PFB the screenshot.



Kindly let us know if anything needed. We are not able to curl the URL in the Linux server.


Regards,

Dileep

 


Suddapalli Dileep

unread,
Mar 29, 2019, 6:30:04 AM3/29/19
to schedulix
Hi Ronald,

I am getting the same error with http://localhost:8080/SDMS URL as well. Kindly advice.

Regards,
Dileep

Ronald Jeninga

unread,
Mar 29, 2019, 7:09:21 AM3/29/19
to schedulix
Hi Dileep,

for some reason your "sdmsctl start" didn't recognise the completed startup of the scheduling server.
If the server is responding normally (you can test this by just invoking sdmsh), you can kill the script.
(No need to heat your server room for nothing).

If you have "lsof" installed, can you give me the output of

lsof -i -P

?
I believe you, if you tell me that the Zope process listens at 8080. Still, I prefer to actually see it.

Furthermore, curl is a beautiful piece of software, especially because you can configure it to do exactly what you want.
But now we're facing a problem that suggests that it's not the server we'd like to speak to that answers.
If you have telnet installed, you could do the following:

-bash-4.2$ telnet localhost 8080
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE5.01; Windows NT)
Host: localhost
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: Close

HTTP/1.1 200 OK
Server: Zope/(2.13.22, python 2.7.5, linux2) ZServer/1.1
Date: Fri, 29 Mar 2019 10:59:08 GMT
Content-Length: 1766
Content-Type: text/html; charset=utf-8
...

What I did on my system is to start a telnet localhost 8080
Then I entered the text

GET / HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE5.01; Windows NT)
Host: localhost
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: Close

After an extra return, the Zope server replied.
You can see the first few lines in the text above.

If Zope is listening at 8080 and replies to our manual http request as above, it is pretty likely that curl is trying to use some proxy.
If you get the same message as with using curl, something must have gone wrong with the Zope installation.

Please try and send us the results.

Best regards,

Ronald

Suddapalli Dileep

unread,
Mar 30, 2019, 8:56:33 AM3/30/19
to schedulix
Hi Ronald,

PFB the results for the above commands.


I am not getting any result when I try telnet and entering text. PFB the reference.


Kindly advice on the same. Thank you in advance.

Regards,
Dileep

Ronald Jeninga

unread,
Mar 31, 2019, 8:37:21 AM3/31/19
to schedulix
Hi Dileep,

from my observation I inferred that the http protocol requires an empty line to mark the end of the request.
Hence if you hit the enter key another time, the Zope server will respond.

Best regards,

Ronald
Reply all
Reply to author
Forward
0 new messages