Provider: CONTABO
Virtualization Type: VPS
System: Centos 8
Installation option:
OLS or Enterprise?:
OLS
Installing from official server or mirror server?
official
Install Memcached extension for PHP?
yes
Install Redis?
yes
Problem:
After fresh centos8 installation I have errors in /var/log/installLogs.txt. I highlight only errors:
[ERROR 1] [Errno 2] No such file or directory: ‘/etc/postfix/mysql-virtual_domains.cf’ [setup_postfix_dovecot_config],60
[ERROR 2] [Errno 2] No such file or directory: ‘/etc/postfix/main.cf’ [configureOpenDKIM],60
I cant use emails, b/c of the errors and SSL certificates.
I find on my terminal installation log the errors:
-Error 1
[09.01.2021_22-41-27] #########################################################################
[09.01.2021_22-41-27] Successfully ran: chmod 600 /etc/powerdns/pdns.conf.
[09.01.2021_22-41-27] #########################################################################
chmod: cannot access ‘/etc/postfix/.cf’: No such file or directory
chmod: cannot access ‘/etc/postfix/main.cf’: No such file or directory
chmod: cannot access '/etc/dovecot/.conf’: No such file or directory
chmod: cannot access ‘/etc/dovecot/dovecot.conf’: No such file or directory
chmod: cannot access ‘/etc/dovecot/dovecot-sql.conf.ext’: No such file or directory
chmod: cannot access ‘/etc/postfix/dynamicmaps.cf’: No such file or directory
-Error 2
[09.01.2021_22-39-03] #########################################################################
[09.01.2021_22-39-03] Running: dnf install --enablerepo=gf-plus dovecot23 dovecot23-mysql -y
[09.01.2021_22-39-03] #########################################################################
Error: Unknown repo: ‘gf-plus’
-Error 3
[09.01.2021_22-39-03] #########################################################################
[09.01.2021_22-39-03] Running: dnf install --enablerepo=gf-plus postfix3 postfix3-mysql -y
[09.01.2021_22-39-03] #########################################################################
Error: Unknown repo: ‘gf-plus’
-Error 4
[09.01.2021_22-39-04] #########################################################################
[09.01.2021_22-39-04] Running: openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -subj “/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com” -keyout /etc/postfix/key.pem -out /etc/postfix/cert.pem
[09.01.2021_22-39-04] #########################################################################
Generating a RSA private key
…+++++
…+++++
writing new private key to ‘/etc/postfix/key.pem’
req: Can’t open “/etc/postfix/key.pem” for writing, No such file or directory
-Error 5
[09.01.2021_22-41-24] #########################################################################
[09.01.2021_22-41-24] Running: chmod 644 /etc/dovecot/dovecot.conf
[09.01.2021_22-41-24] #########################################################################
chmod: cannot access ‘/etc/dovecot/dovecot.conf’: No such file or directory
Maybe I will past txt all the installation log?