Apoxe
New Pleskian
Hi, i have a customer with a statistic of use problem, he have several domains and have 200mb of sql databases and system report 560mb, when i run
Edit: plesk 12.5 on vps centos 6
/usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=clientdomain.com
have this several problems:
[2017-05-04 17:45:44] ERR [panel] throw: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name clientdomain2.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/clientdomain2.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/clientdomain2.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name clientdomain3.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/clientdomain3.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/clientdomain3.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name clientdomain4.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/clientdomain4.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/clientdomain4.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name subdomain.clientdomain3.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/subdomain.clientdomain3.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/subdomain.clientdomain3.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name subdomain.clientdomain5.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/subdomain.clientdomain5.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/subdomain.clientdomain5.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name clientdomain6.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/clientdomain6.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/clientdomain6.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name clientdomain5.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/clientdomain5.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/clientdomain5.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name clientdomain7.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/clientdomain7.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/clientdomain7.com' is in invalid state.
Edit: plesk 12.5 on vps centos 6
/usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=clientdomain.com
have this several problems:
[2017-05-04 17:45:44] ERR [panel] throw: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name clientdomain2.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/clientdomain2.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/clientdomain2.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name clientdomain3.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/clientdomain3.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/clientdomain3.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name clientdomain4.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/clientdomain4.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/clientdomain4.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name subdomain.clientdomain3.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/subdomain.clientdomain3.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/subdomain.clientdomain3.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name subdomain.clientdomain5.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/subdomain.clientdomain5.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/subdomain.clientdomain5.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name clientdomain6.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/clientdomain6.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/clientdomain6.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name clientdomain5.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/clientdomain5.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/clientdomain5.com' is in invalid state.
statistics_collector[6261]: Relinking of virtual host logs `/usr/local/psa/admin/sbin/relink-vhost-logs --domain-name clientdomain7.com --sys-user-login clientloginuser --webspace-name clientbasedomain.com' failed with code 3.
Stdout:
Stderr:'./clientbasedomain.com/logs/clientdomain7.com' doesn't exist. Specify --create to create.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/clientbasedomain.com/logs/clientdomain7.com' is in invalid state.
Last edited: