Virtualmin got unresponsive again

19 posts / 0 new
Last post
#1 Mon, 05/18/2015 - 08:18
NikosGr

Virtualmin got unresponsive again

I have 3 websites that i have to work again and until yesterday they did Customers started to complain because of issues that occur every few days

and the virtualmin server to be responsive again:

https://nexus.superhost.gr:10000/

It says connecting and never conects to presnt the Web UI. Again:

Webpages won't load:

[nikos@dell ~]$ host -t A varsa.gr Host varsa.gr not found: 2(SERVFAIL)

[nikos@dell ~]$ host -t A leonidasgkelos.com Host leonidasgkelos.com not found: 2(SERVFAIL)

[nikos@dell ~]$ host -t A ypsilandio.gr Host ypsilandio.gr not found: 2(SERVFAIL)

(from my ArchLinux)

Virtualmin runs on CentOS 7

What can i do to fix those issues please?

Mon, 05/18/2015 - 10:45
andreychek

Howdy,

Are all services offline, or are you able to connect on something such as SSH?

Also, how much RAM does your server have? You can determine that with the command "free -m".

Lastly, are you using a VPS, or dedicated server? If a VPS, what type of VPS is it?

-Eric

Mon, 05/18/2015 - 11:06
NikosGr

Hello Andrey!

Yes, i can connect to my VPS via SSH protocol but only with its numeric format(ip address)

[root@nexus ~]# free -m total used free shared buff/cache available Mem: 1024 149 533 40 340 774 Swap: 1280 59 1220 [root@nexus ~]#

Its a VPS running CentOS 7.1 in an OpenVZ virtualization environment.

Mon, 05/18/2015 - 13:49
andreychek

Howdy,

My suspicion is that you may be seeing a resource problem of some sort.

What output do you receive if you run this command:

cat /proc/user_beancounters

Mon, 05/18/2015 - 14:03
NikosGr
[root@nexus ~]# cat /proc/user_beancounters
Version: 2.5
       uid  resource                     held              maxheld              barrier                limit              failcnt
    17416:  kmemsize                 25044996             42954752            536870912            536870912                    0
            lockedpages                     0                    8               131072               131072                    0
            privvmpages                231839               413461  9223372036854775807  9223372036854775807                    0
            shmpages                    11608                11633  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            numproc                        78                  147  9223372036854775807  9223372036854775807                    0
            physpages                  127660               216409                    0               262144                    0
            vmguarpages                     0                    0  9223372036854775807  9223372036854775807                    0
            oomguarpages                66841               122817  9223372036854775807  9223372036854775807                    0
            numtcpsock                     32                   49  9223372036854775807  9223372036854775807                    0
            numflock                       45                   53  9223372036854775807  9223372036854775807                    0
            numpty                          1                    2  9223372036854775807  9223372036854775807                    0
            numsiginfo                      0                   69  9223372036854775807  9223372036854775807                    0
            tcpsndbuf                  558080              6048112  9223372036854775807  9223372036854775807                    0
            tcprcvbuf                  524288               845872  9223372036854775807  9223372036854775807                    0
            othersockbuf               286688               596416  9223372036854775807  9223372036854775807                    0
            dgramrcvbuf                     0                17440  9223372036854775807  9223372036854775807                    0
            numothersock                  184                  205  9223372036854775807  9223372036854775807                    0
            dcachesize                6357967             24452971            268435456            268435456                    0
            numfile                      1924                 2620  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            numiptent                      55                   55  9223372036854775807  9223372036854775807                    0
[root@nexus ~]#
Tue, 05/19/2015 - 02:42
NikosGr

Hello,

Could you please help me with this issue, i checked also each and every one virtual server for its DNS settigns and all seem fine.

Please ask me what you want me to show you and i will issue the command and report back.

Tue, 05/19/2015 - 10:13
andreychek

Does the problem go away after restarting the problem service?

For example, if you can't access Webmin/Virtualmin, and you restart it, are you then able to access it? You can restart Webmin with this command:

service webmin restart

Tue, 05/19/2015 - 15:22
NikosGr

I tired what you said but still no luck.

i noticed thoigh that accessing virtualmin by http://ip_adress:1000 does work.

Do i have to change something to the DNS server settigns please?

Tue, 05/19/2015 - 16:58
andreychek

Howdy,

You may want to enter your domain names over at intodns.com, in order to get a DNS report. It will show the DNS issues that it sees.

With the errors I see there for your domains, either some records are missing, or BIND isn't running/accessible.

You may want to try restarting BIND, and make sure doing so doesn't produce any errors.

-Eric

Tue, 05/19/2015 - 23:37
NikosGr

Could you please guid me please?

When i view DNS settings for every domain via virtulamin all records seem fine, yet the gostnames cannot be resolved.

Please guide me on that exact command should i issue to fix this.

Thank you very much.

Tue, 05/19/2015 - 23:45
andreychek

Howdy,

Did you try entering your domain into the intodns.com site mentioned above? That site mentioned a variety of DNS issues for your domains that may need resolved.

-Eric

Tue, 05/19/2015 - 23:45
NikosGr

root@nexus ~]# service named stop Redirecting to /bin/systemctl stop named.service [root@nexus ~]# service named start Redirecting to /bin/systemctl start named.service [root@nexus ~]# service named reload Redirecting to /bin/systemctl reload named.service [root@nexus ~]# service named status Redirecting to /bin/systemctl status named.service named.service - Berkeley Internet Name Domain (DNS) Loaded: loaded (/usr/lib/systemd/system/named.service; enabled) Active: active (running) since Wed 2015-05-20 07:27:43 EEST; 59s ago Process: 20557 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS) Process: 20609 ExecReload=/bin/sh -c /usr/sbin/rndc reload > /dev/null 2>&1 || /bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS) Process: 20585 ExecStart=/usr/sbin/named -u named $OPTIONS (code=exited, status=0/SUCCESS) Process: 20582 ExecStartPre=/usr/sbin/named-checkconf -z /etc/named.conf (code=exited, status=0/SUCCESS) Main PID: 20586 (named) CGroup: /system.slice/named.service `-20586 /usr/sbin/named -u named

May 20 07:28:19 nexus named[20586]: automatic empty zone: 8.E.F.IP6.ARPA May 20 07:28:19 nexus named[20586]: automatic empty zone: 9.E.F.IP6.ARPA May 20 07:28:19 nexus named[20586]: automatic empty zone: A.E.F.IP6.ARPA May 20 07:28:19 nexus named[20586]: automatic empty zone: B.E.F.IP6.ARPA May 20 07:28:19 nexus named[20586]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA May 20 07:28:19 nexus named[20586]: reloading configuration succeeded May 20 07:28:19 nexus named[20586]: reloading zones succeeded May 20 07:28:19 nexus named[20586]: all zones loaded May 20 07:28:19 nexus named[20586]: running May 20 07:28:19 nexus systemd[1]: Reloaded Berkeley Internet Name Domain (DNS). [root@nexus ~]#

Tue, 05/19/2015 - 23:50 (Reply to #12)
NikosGr

I did tried it into intodns.com yes and it seems soemthign is wrong tith the ns[12].superhost.gr nameservers

i just tried restarting bind and reloading it but still those 3 domain names cannot be resolved.

Wed, 05/20/2015 - 00:00
NikosGr

$ttl 38400
@ IN SOA ns1.superhost.gr. root.ns1.superhost.gr. (
1430932483
10800
3600
604800
38400 )
@ IN NS ns1.superhost.gr.
@ IN NS ns2.superhost.gr.
varsa.gr. IN A 212.18.232.83
www.varsa.gr. IN A 212.18.232.83
ftp.varsa.gr. IN A 212.18.232.83
m.varsa.gr. IN A 212.18.232.83
localhost.varsa.gr. IN A 127.0.0.1
webmail.varsa.gr. IN A 212.18.232.83
admin.varsa.gr. IN A 212.18.232.83
mail.varsa.gr. IN A 212.18.232.83
varsa.gr. IN MX 5 mail.varsa.gr.
varsa.gr. IN TXT "v=spf1 a mx a:varsa.gr ip4:212.18.232.83 ?all"

Wed, 05/20/2015 - 00:02
NikosGr

Warning - errors were found in this domain's DNS records : This domain has email enabled, but none of the MX records point to it. Either the MX records should be corrected, or the email feature disabled if mail is hosted externally.

thats what is says for any of the 3 domains i host.

Wed, 05/20/2015 - 02:35
Diabolico
Diabolico's picture

Check your zone files manually. It could be Vmin interface cant show you what is wrong with your DNS records but you should be able to see if you open the file manually (in case there is something wrong with your records).

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Wed, 05/20/2015 - 03:36
NikosGr

Hello,

Virtualmin can show me each domain's DNS setting. Problem is iam not experienced with it.

Could you please telle me what you want me to show you?

I have already posted varsa.gr's DNS settting.

Wed, 05/20/2015 - 09:19
andreychek

Howdy,

The intodns.com site is no longer showing errors -- is it working properly for you now?

-Eric

Wed, 05/20/2015 - 11:52
NikosGr

Yes andrey for some reason when i un-cloudflares supergost.gr and pointed to ns*.superhost.gr after a few hours it started working again..

but now i have no cloudflare protection. How did that happened?