website error: ERR_CONNECTION_REFUSED

Issues related to configuring your network
Post Reply
franzkekko
Posts: 4
Joined: 2015/08/13 21:49:45

website error: ERR_CONNECTION_REFUSED

Post by franzkekko » 2015/08/13 22:01:04

Hi all, I'm new here.

I rebooted my vServer for the first time (a technician installed it for me, but now he's away for a months and cannot help me.
I cant no more connect to my websites because I get a browser error: ERR_CONNECTION_REFUSED.
For example, my website is http://www.francescosartoriph.com/ and get an error.
I'm NOT able to
1) Load webites
2) load ISPconfig on https://5.196.4.48:10000/

I'm STILL able to login into my SSL terminal, FTP accounts.

It happened sometimes ago, after a reboot, and he told me that systemctl httpd needed to be rebooted. He did the trick.
Now, if i do

Code: Select all

systemctl restart httpd
that however is still running, nothing change.

How do I resolve that issue?

I know hot to move in linux server but I'm not a PRO in server configuring. A technician configured a server on OVH for me, that worked for months.

Thanks in advance community, from Italy!
Francesco

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: website error: ERR_CONNECTION_REFUSED

Post by lightman47 » 2015/08/14 17:51:46

Judging from pings, etc. from here (NE USA) - it appears perhaps your httpd (web server) isn't even running or is somehow blocked. The address resolves & replys but there's no web page!

As root:

Code: Select all

systemctl status httpd
to find out if it's running. If it is, then you likely have a firewall or Selinux issue I would guess. (Am no expert - just a guess).

What changes were made right before it stopped working?
Last edited by lightman47 on 2015/08/14 17:57:34, edited 1 time in total.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: website error: ERR_CONNECTION_REFUSED

Post by gerald_clark » 2015/08/14 17:57:25

OVH has many offerings.

What is the output of 'uname -a' ?

franzkekko
Posts: 4
Joined: 2015/08/13 21:49:45

Re: website error: ERR_CONNECTION_REFUSED

Post by franzkekko » 2015/08/14 19:21:13

Thanks for the response.

With httpd status I get:

Code: Select all

[root@vps151888 ~]# systemctl status httpd
httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
   Active: active (running) since ven 2015-08-14 03:19:33 CEST; 17h ago
 Main PID: 624 (httpd)
   Status: "Total requests: 216; Current requests/sec: 0; Current traffic:   0 B                                      /sec"
   CGroup: /system.slice/httpd.service
           +-  624 /usr/sbin/httpd -DFOREGROUND
           +-  949 vlogger (access log)
           +-  952 /usr/sbin/httpd -DFOREGROUND
           +-  993 /usr/sbin/httpd -DFOREGROUND
           +-  994 /usr/sbin/httpd -DFOREGROUND
           +-  995 /usr/sbin/httpd -DFOREGROUND
           +-  996 /usr/sbin/httpd -DFOREGROUND
           +-  997 /usr/sbin/httpd -DFOREGROUND
           +-30144 /usr/sbin/httpd -DFOREGROUND

ago 14 03:19:31 vps151888.ovh.net httpd[624]: AH00548: NameVirtualHost has n...5
ago 14 03:19:33 vps151888.ovh.net systemd[1]: Started The Apache HTTP Server.
ago 14 21:17:23 vps151888.ovh.net systemd[1]: Started The Apache HTTP Server.
Hint: Some lines were ellipsized, use -l to show in full.

And wth uname -a this

Code: Select all

Linux vps151888.ovh.net 2.6.32-042stab108.8 #1 SMP Wed Jul 22 17:23:23 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux

Don't know what to do =(

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: website error: ERR_CONNECTION_REFUSED

Post by gerald_clark » 2015/08/14 20:09:45

You are not running CentOS. You are running an OpenVZ container.
Are you also running a control panel such as Plesk or cPanel?

franzkekko
Posts: 4
Joined: 2015/08/13 21:49:45

Re: website error: ERR_CONNECTION_REFUSED

Post by franzkekko » 2015/08/14 20:29:51

I'm running Centos7 !! I'm sure :o
=)
Installed ISPConfig

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: website error: ERR_CONNECTION_REFUSED

Post by gerald_clark » 2015/08/14 21:10:40

That is a heavily modified, very old CentOS 6 kernel.
You should find a provider that gives you a real CentOS without destructive control panels.

franzkekko
Posts: 4
Joined: 2015/08/13 21:49:45

Re: website error: ERR_CONNECTION_REFUSED

Post by franzkekko » 2015/08/14 21:15:22

Damn... really?? =( so I was cheated :x

So there's no way to make httpd properly work?

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: website error: ERR_CONNECTION_REFUSED

Post by gerald_clark » 2015/08/14 21:22:59

We don't know off hand.
OpenVZ providers use a template, and often use their own repos to prevent updates from trying to fix their changes.
We would need to see the rpm versions of all your web stack rpms.
rpm -q httpd
rpm -q mariadb-server
rpm -q php
rpm -q perl
etc.
That is why I asked if you are using a control panel.

If you want to see what you are running, see http://openvz.org/Main_Page

Post Reply