Page 1 of 1

Kicked out

Posted: Wed Apr 17, 2019 1:16 pm
by KookosPahkina
So the problem is that, everytime i try to do anything in vestacp it logs me out instantly.. it worked just fine for the first few days and now i can't do anything with it anymore..
Anyone had this problem before?
Centos 7, apache, nginx and i am logged in as the admin account in vesta

Re: Kicked out

Posted: Wed Apr 17, 2019 3:25 pm
by imperio
Try to clear cache and cookies of your browser

Re: Kicked out

Posted: Wed Apr 17, 2019 3:43 pm
by KookosPahkina
imperio wrote:
Wed Apr 17, 2019 3:25 pm
Try to clear cache and cookies of your browser
That helped thanks, now i seem to be getting this error when doing dns' n such "Error: named restart failed"

Re: Kicked out

Posted: Thu Apr 18, 2019 7:25 pm
by dreiggy
KookosPahkina wrote:
Wed Apr 17, 2019 3:43 pm
imperio wrote:
Wed Apr 17, 2019 3:25 pm
Try to clear cache and cookies of your browser
That helped thanks, now i seem to be getting this error when doing dns' n such "Error: named restart failed"
Try to check this article: https://www.cyberciti.biz/tips/howto-li ... rrors.html

Re: Kicked out

Posted: Fri Apr 19, 2019 7:52 am
by KookosPahkina
dreiggy wrote:
Thu Apr 18, 2019 7:25 pm
KookosPahkina wrote:
Wed Apr 17, 2019 3:43 pm
imperio wrote:
Wed Apr 17, 2019 3:25 pm
Try to clear cache and cookies of your browser
That helped thanks, now i seem to be getting this error when doing dns' n such "Error: named restart failed"
Try to check this article: https://www.cyberciti.biz/tips/howto-li ... rrors.html
Didn't help at all :(

Re: Kicked out

Posted: Fri Apr 19, 2019 7:56 am
by KookosPahkina
this is what command says : systemctl status named.service -l


● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2019-04-19 03:53:59 EDT; 1min 4s ago
Process: 13819 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)
Main PID: 8539 (code=exited, status=0/SUCCESS)

Apr 19 03:53:59 asd.example.com bash[13819]: zone asd.co/IN: loading from master file /home/admin/conf/dns/asd.co.db failed: CNAME and other data
Apr 19 03:53:59 asd.example.com bash[13819]: zone asd.co/IN: not loaded due to errors.
Apr 19 03:53:59 asd.example.com bash[13819]: _default/asd.co/IN: CNAME and other data
Apr 19 03:53:59 asd.example.com bash[13819]: zone forum.asd.co/IN: loaded serial 2019030207
Apr 19 03:53:59 asd.example.com bash[13819]: zone files.asd.co/IN: loaded serial 2019030203
Apr 19 03:53:59 asd.example.com bash[13819]: zone sf4.asd.co/IN: loaded serial 2019041703
Apr 19 03:53:59 asd.example.com systemd[1]: named.service: control process exited, code=exited status=1
Apr 19 03:53:59 asd.example.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Apr 19 03:53:59 asd.example.com systemd[1]: Unit named.service entered failed state.
Apr 19 03:53:59 asd.example.com systemd[1]: named.service failed.

Re: Kicked out

Posted: Sun Apr 21, 2019 7:30 pm
by dreiggy
KookosPahkina wrote:
Fri Apr 19, 2019 7:56 am
this is what command says : systemctl status named.service -l


● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2019-04-19 03:53:59 EDT; 1min 4s ago
Process: 13819 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)
Main PID: 8539 (code=exited, status=0/SUCCESS)

Apr 19 03:53:59 asd.example.com bash[13819]: zone asd.co/IN: loading from master file /home/admin/conf/dns/asd.co.db failed: CNAME and other data
Apr 19 03:53:59 asd.example.com bash[13819]: zone asd.co/IN: not loaded due to errors.
Apr 19 03:53:59 asd.example.com bash[13819]: _default/asd.co/IN: CNAME and other data
Apr 19 03:53:59 asd.example.com bash[13819]: zone forum.asd.co/IN: loaded serial 2019030207
Apr 19 03:53:59 asd.example.com bash[13819]: zone files.asd.co/IN: loaded serial 2019030203
Apr 19 03:53:59 asd.example.com bash[13819]: zone sf4.asd.co/IN: loaded serial 2019041703
Apr 19 03:53:59 asd.example.com systemd[1]: named.service: control process exited, code=exited status=1
Apr 19 03:53:59 asd.example.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Apr 19 03:53:59 asd.example.com systemd[1]: Unit named.service entered failed state.
Apr 19 03:53:59 asd.example.com systemd[1]: named.service failed.
Seems issue is because of syntax error in named zone include file:
Apr 19 03:53:59 asd.example.com bash[13819]: zone asd.co/IN: not loaded due to errors.

Try to disable (comment out) zone asd.co and restart named.