Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Login and redirect problem

General questions about VestaCP
Locked
  • Print view
Advanced search
30 posts
  • Previous
  • 1
  • 2
  • 3
tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Login and redirect problem

Post by tjebbeke » Wed Nov 04, 2015 2:36 pm

hmm that's good. I don't have an instant solution to your problem. (I have not seen this before). I will later try to find a solution.

You can try this again: viewtopic.php?f=16&t=7063
Top

mbsmi
Posts: 17
Joined: Thu Aug 21, 2014 4:03 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Login and redirect problem

Post by mbsmi » Wed Nov 04, 2015 11:51 pm

I just tried the fix on that thread again to no avail. I do appreciate any solution you can come up with

Michael
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Login and redirect problem

Post by tjebbeke » Wed Nov 11, 2015 9:31 am

mbsmi wrote:I just tried the fix on that thread again to no avail. I do appreciate any solution you can come up with

Michael

I found it!! There is an ',' missing after "VERSION": "0.9.8"

Code: Select all

{
        "config": {
                "WEB_SYSTEM": "apache2",
                "WEB_RGROUPS": "www-data",
                "WEB_PORT": "8080",
                "WEB_SSL": "mod_ssl",
                "WEB_SSL_PORT": "8443",
                "PROXY_SYSTEM": "nginx",
                "PROXY_PORT": "80",
                "PROXY_SSL_PORT": "443",
                "FTP_SYSTEM": "vsftpd",
                "MAIL_SYSTEM": "",
                "IMAP_SYSTEM": "dovecot",
                "ANTIVIRUS_SYSTEM": "",
                "ANTISPAM_SYSTEM": "",
                "DB_SYSTEM": "mysql",
                "DNS_SYSTEM": "bind9",
                "STATS_SYSTEM": "webalizer,awstats",
                "BACKUP_SYSTEM": "local",
                "CRON_SYSTEM": "cron",
                "DISK_QUOTA": "no",
                "FIREWALL_SYSTEM": "iptables",
                "FIREWALL_EXTENSION": "fail2ban",
                "REPOSITORY": "cmmnt",
                "VERSION": "0.9.8"
                "LANGUAGE": "en"
        }
}

can you show run?:

Code: Select all

cat /usr/local/vesta/conf/vesta.conf
Top

mbsmi
Posts: 17
Joined: Thu Aug 21, 2014 4:03 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Login and redirect problem

Post by mbsmi » Wed Nov 11, 2015 2:31 pm

tjebbeke wrote: can you show run?:

Code: Select all

cat /usr/local/vesta/conf/vesta.conf
This is what I get:

Code: Select all

WEB_SYSTEM='apache2'
WEB_RGROUPS='www-data'
WEB_PORT='8080'
WEB_SSL='mod_ssl'
WEB_SSL_PORT='8443'
PROXY_SYSTEM='nginx'
PROXY_PORT='80'
PROXY_SSL_PORT='443'
FTP_SYSTEM='vsftpd'
MAIL_SYSTEM=''
IMAP_SYSTEM='dovecot'
ANTIVIRUS_SYSTEM=''
ANTISPAM_SYSTEM=''
DB_SYSTEM='mysql'
DNS_SYSTEM='bind9'
STATS_SYSTEM='webalizer,awstats'
BACKUP_SYSTEM='local'
CRON_SYSTEM='cron'
DISK_QUOTA='no'
FIREWALL_SYSTEM='iptables'
FIREWALL_EXTENSION='fail2ban'
REPOSITORY='cmmnt'
VERSION='0.9.8'
Michael
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Login and redirect problem

Post by tjebbeke » Wed Nov 11, 2015 2:59 pm

If I use your config it works. Can you verify that each parameter is really on a new line?
Top

mbsmi
Posts: 17
Joined: Thu Aug 21, 2014 4:03 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Login and redirect problem

Post by mbsmi » Wed Nov 11, 2015 3:55 pm

Yes everything is on it's own line.

Michael
Top

sennevb
Posts: 31
Joined: Fri Dec 05, 2014 3:10 pm

Re: Login and redirect problem

Post by sennevb » Sun Jan 22, 2017 2:31 pm

same problem, i tried allready:

Code: Select all

mkdir /etc/sudoers.d
/usr/local/vesta/upd/add_sudo.sh
chmod 0440 /etc/sudoers
chown root:root /etc/sudoers
chmod 0440 /etc/sudoers.d/admin
chown root:root /etc/sudoers.d/admin
chown root:root /usr/bin/sudo
chmod 4755 /usr/bin/sudo
I have space enough

also did

Code: Select all

mkdir /etc/sudoers.d
/usr/local/vesta/upd/add_sudo.sh
This is my nginx-error.log:

Code: Select all

2017/01/22 15:23:58 [error] 2009#0: *2 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 84.197.240.240.232, server: _, request: "GET /list/user/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "185.110.172.52:8083"
v-list-sys-config json:

Code: Select all

 "config": {
        "WEB_SYSTEM": "apache2",
        "WEB_RGROUPS": "www-data",
        "WEB_PORT": "80",
        "WEB_SSL": "mod_ssl",
        "WEB_SSL_PORT": "443",
        "WEB_BACKEND": "",
        "PROXY_SYSTEM": "",
        "PROXY_PORT": "",
        "PROXY_SSL_PORT": "",
        "FTP_SYSTEM": "vsftpd",
        "MAIL_SYSTEM": "exim4",
        "IMAP_SYSTEM": "dovecot",
        "ANTIVIRUS_SYSTEM": "clamav-daemon",
        "ANTISPAM_SYSTEM": "spamassassin",
        "DB_SYSTEM": "mysql",
        "DNS_SYSTEM": "bind9",
        "DNS_CLUSTER": "",
        "STATS_SYSTEM": "webalizer,awstats",
        "BACKUP_SYSTEM": "local",
        "CRON_SYSTEM": "cron",
        "DISK_QUOTA": "",
        "FIREWALL_SYSTEM": "iptables",
        "FIREWALL_EXTENSION": "fail2ban",
        "FILEMANAGER_KEY": "",
        "SFTPJAIL_KEY": "",
        "REPOSITORY": "",
        "VERSION": "0.9.8",
        "LANGUAGE": "en",
        "BACKUP_GZIP": "",
        "BACKUP": "",
        "MAIL_URL": "",
        "DB_PMA_URL": "",
        "DB_PGA_URL": ""
    }
}
Top

pereda
Posts: 1
Joined: Wed Feb 15, 2017 2:50 pm

Re: Login and redirect problem

Post by pereda » Wed Feb 15, 2017 2:53 pm

I am getting the same error:
I can't login

I have tried everything in every post i could find about not be able to login.

I have done all the Sudo steps.
I have enough space.

json config

Code: Select all

{
    "config": {
        "WEB_SYSTEM": "apache2",
        "WEB_RGROUPS": "www-data",
        "WEB_PORT": "8080",
        "WEB_SSL": "mod_ssl",
        "WEB_SSL_PORT": "8443",
        "WEB_BACKEND": "",
        "PROXY_SYSTEM": "nginx",
        "PROXY_PORT": "80",
        "PROXY_SSL_PORT": "443",
        "FTP_SYSTEM": "vsftpd",
        "MAIL_SYSTEM": "exim4",
        "IMAP_SYSTEM": "dovecot",
        "ANTIVIRUS_SYSTEM": "",
        "ANTISPAM_SYSTEM": "",
        "DB_SYSTEM": "mysql",
        "DNS_SYSTEM": "bind9",
        "DNS_CLUSTER": "",
        "STATS_SYSTEM": "webalizer,awstats",
        "BACKUP_SYSTEM": "local",
        "CRON_SYSTEM": "cron",
        "DISK_QUOTA": "no",
        "FIREWALL_SYSTEM": "iptables",
        "FIREWALL_EXTENSION": "fail2ban",
        "FILEMANAGER_KEY": "",
        "SFTPJAIL_KEY": "",
        "REPOSITORY": "cmmnt",
        "VERSION": "0.9.8",
        "LANGUAGE": "en",
        "BACKUP_GZIP": "",
        "BACKUP": "",
        "MAIL_URL": "",
        "DB_PMA_URL": "",
        "DB_PGA_URL": ""
    }
}
I dont know what to do. I am about to try to restore from an older back up
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Login and redirect problem

Post by skamasle » Fri Feb 24, 2017 7:22 pm

Code: Select all

chmod 777 /tmp
Will solve it if you not have problems whit sudo
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Login and redirect problem

Post by skurudo » Tue Feb 28, 2017 7:04 pm

Well, about sudo problem. We think this file /etc/sudoers.d/admin don't have code:

Code: Select all

# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty
If you paste this, all will work (as we hope)
Top


Locked
  • Print view

30 posts
  • Previous
  • 1
  • 2
  • 3

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password