Hi Jay,

I did that already, however i will give try with https schema and update you if 
any change.

Thanks & Regards,
Himanshu Jain

-----Original Message-----
From: "Jay Farschman" <[email protected]>
Sent: ‎14-‎09-‎2016 22:13
To: "scalr-discuss" <[email protected]>
Subject: Re: Issue with Scalr UI Access from different server

Himanshu,


I'm not a CentOS 7 user, I use Ubuntu, but you may want to let Chef have 
another try at the configuration.


scalr-server-wizard
scalr-server-ctl reconfigure


I think some where, if you scroll back far enough you'll see me struggling with 
a similar issue that I solved letting Chef run again. It's funny, I try all 
kinds of things, then it's resolved with a couple of simple commands.

On Wednesday, September 14, 2016 at 10:27:26 AM UTC-6, himanshu jain wrote:
Thanks for taking time Jay & Marc!!


Here is the information:
Netstat print showing listening on 80:
[root@localhost ~]#
[root@localhost ~]# netstat -nap | grep 80
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      
5268/httpd


However while I tried telnetting in local host itself, I can see two different 
printouts:


[root@localhost ~]# telnet localhost 80 --refusing here
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
q
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /
on this server.<br />
</p>
</body></html>
Connection closed by foreign host.


[root@localhost ~]# telnet 10.14.34.91 80   --Connecting here
Trying 10.14.34.91...
Connected to 10.14.34.91.
Escape character is '^]'.


Nmap from the localhost looks like:


[root@localhost ~]# nmap localhost


Starting Nmap 6.40 ( http://nmap.org ) at 2016-09-14 21:45 IST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000050s latency).
Other addresses for localhost (not scanned): 127.0.0.1
Not shown: 997 closed ports
PORT   STATE SERVICE
22/tcp open  ssh
25/tcp open  smtp
80/tcp open  http


Nmap done: 1 IP address (1 host up) scanned in 0.05 seconds
[root@localhost ~]#
 
Whereas from the neighboring server in same subnet it looks like (No port 80)


[root@TEST_ZABBIX_1 ~]# nmap 10.xx.xx.xx
Starting Nmap 6.40 ( http://nmap.org ) at 2016-09-14 21:50 IST

Nmap scan report for 10.xx.xx.xx
Host is up (0.00079s latency).
Not shown: 999 filtered ports
PORT   STATE SERVICE
22/tcp open  ssh
MAC Address: E6:D8:88:3D:C9:F1 (Unknown)


Nmap done: 1 IP address (1 host up) scanned in 5.06 seconds
[root@TEST_ZABBIX_1 ~]#


NC print shows like this:


[root@localhost ~]# nc -vv localhost 80
Ncat: Version 6.40 ( http://nmap.org/ncat )
libnsock nsi_new2(): nsi_new (IOD #1)
libnsock nsock_connect_tcp(): TCP connection requested to ::1:80 (IOD #1) EID 8
libnsock nsock_trace_handler_callback(): Callback: CONNECT ERROR [Connection 
refused (111)] for EID 8 [::1:80]
Ncat: Connection to ::1 failed: Connection refused.
Ncat: Trying next address...
libnsock nsock_connect_tcp(): TCP connection requested to 127.0.0.1:80 (IOD #1) 
EID 16
libnsock nsock_trace_handler_callback(): Callback: CONNECT SUCCESS for EID 16 
[127.0.0.1:80]
Ncat: Connected to 127.0.0.1:80.
libnsock nsi_new2(): nsi_new (IOD #2)
libnsock nsock_read(): Read request from IOD #1 [127.0.0.1:80] (timeout: -1ms) 
EID 26
libnsock nsock_readbytes(): Read request for 0 bytes from IOD #2 [peer 
unspecified] EID 34
^Z
[1]+  Stopped                 nc -vv localhost 80
[root@localhost ~]# nc -vv 10.xx.xx.xx 80
Ncat: Version 6.40 ( http://nmap.org/ncat )
libnsock nsi_new2(): nsi_new (IOD #1)
libnsock nsock_connect_tcp(): TCP connection requested to 10.14.34.91:80 (IOD 
#1) EID 8
libnsock nsock_trace_handler_callback(): Callback: CONNECT SUCCESS for EID 8 
[10.14.34.91:80]
Ncat: Connected to 10.14.34.91:80.
libnsock nsi_new2(): nsi_new (IOD #2)
libnsock nsock_read(): Read request from IOD #1 [10.14.34.91:80] (timeout: 
-1ms) EID 18
libnsock nsock_readbytes(): Read request for 0 bytes from IOD #2 [peer 
unspecified] EID 26






My OS is CentOS 7.0


Below are the other details (staus of other services and version)


[root@localhost bin]# ./scalr-server-manage
crond                            RUNNING   pid 17836, uptime 6:11:57
httpd                            RUNNING   pid 5268, uptime 3:43:27
memcached                        RUNNING   pid 17835, uptime 6:11:57
mysql                            RUNNING   pid 17833, uptime 6:11:57
rrd                              RUNNING   pid 17827, uptime 6:11:57
service-analytics_poller         RUNNING   pid 17829, uptime 6:11:57
service-analytics_processor      RUNNING   pid 17834, uptime 6:11:57
service-dbqueue                  RUNNING   pid 17826, uptime 6:11:57
service-msgsender                RUNNING   pid 17828, uptime 6:11:57
service-plotter                  RUNNING   pid 17832, uptime 6:11:57
service-poller                   RUNNING   pid 17831, uptime 6:11:57
service-szrupdater               RUNNING   pid 17830, uptime 6:11:57
zmq_service                      RUNNING   pid 17837, uptime 6:11:57
supervisor> help


default commands (type help <topic>):
=====================================
add    clear  fg        open  quit    remove  restart   start   stop  update
avail  exit   maintail  pid   reload  reread  shutdown  status  tail  version


supervisor> version
3.1.3
supervisor>


I did follow the instruction as provided on the site.


Thanks & Regards,
Himanshu Jain

On Wednesday, September 14, 2016 at 4:21:43 PM UTC+5:30, himanshu jain wrote:
Hi,


I am newbie in Scalr. I installed Scalr in my test lab intending to manage all 
the hypervisors to start with. 
Problem: 
I am unable to access scalr UI/wizard. It shows me unable to connect to the 
site.
Locally I can see that scalr is listening at port 80. I am able to browse the 
site locally.
I checked for firewall blockage locally as well as enterprise, There is no 
firewall service running in the server and this seems to be uneachable even for 
the neighbouring servers which are in same subnet and no firewall in between 
them.
While server is reachable at port 22 it is unreachable at port 80 via telnet.


Please suggest. DO let me know if any logs or any more information required.


-- 
You received this message because you are subscribed to a topic in the Google 
Groups "scalr-discuss" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/scalr-discuss/AYYDMy5lE2E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to