Jump to content

Recommended Posts

Posted

Имею узел squid

CentOS Linux release 7.8.2003 (Core)

[root@MI00-IZha admin]# uname -a
Linux MI00-IZha 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

 

пытаюсь на нём поставить KWTS:

 

[root@MI00-IZha admin]# /opt/kaspersky/kwts-worker/bin/setup.py --install

 

Preparing database...
Traceback (most recent call last):
File "/opt/kaspersky/kwts-worker/bin/setup.py", line 135, in <module>
do_install(app)
File "/opt/kaspersky/kwts-worker/bin/setup.py", line 101, in do_install
app.prepare_database()
File "/opt/kaspersky/kwts-worker/lib/python/setup/app.py", line 210, in prepare_database
pg_utils.create_database()
File "/opt/kaspersky/kwts-worker/lib/python/pg_utils.py", line 58, in create_database
utils.run_command(command, as_user=dbuser, output=None)
File "/opt/kaspersky/kwts-worker/lib/python/utils.py", line 88, in run_command
raise errors.ApplicationError(errors.failed_to_run_cmd(cmd_with_args, p.returncode, err_msg))
errors.ApplicationError: Failed to run ['/opt/kaspersky/kwts-worker/libexec/postgresql/initdb', '-L', '/opt/kaspersky/kwts-worker/share/postgresql', '--pgdata', '/var/opt/kaspersky/kwts-worker/postgresql', '--encoding', 'utf-8', '--locale', 'en_US.UTF-8'] with error code=1 and msg=could not change directory to "/home/admin": Отказано в доступе
initdb: directory "/var/opt/kaspersky/kwts-worker/postgresql" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/var/opt/kaspersky/kwts-worker/postgresql" or run initdb
with an argument other than "/var/opt/kaspersky/kwts-worker/postgresql".

 

 

 

 

Guest
This topic is now closed to further replies.


×
×
  • Create New...