Fehler bei Opsi Installation
Verfasst: 28 Sep 2020, 17:20
Hallo,
ich bin dabei einen OPSI-Server auf Centos 7 zu installieren. Das hat in der Vergangenheit eigentlich ganz gut geklappt. Nur diesmal erhalten ich die folgende Fehlermeldung nach dem ich " opsi-setup --configure-mysql " ausführen wollte:
[2] [Sep 28 17:14:15] Traceback: (Logger.py|798)
[2] [Sep 28 17:14:15] File "/usr/bin/opsi-setup", line 1163, in <module>
main()
(Logger.py|798)
[2] [Sep 28 17:14:15] File "/usr/bin/opsi-setup", line 1121, in main
configureMySQLBackend(unattended)
(Logger.py|798)
[2] [Sep 28 17:14:15] File "/usr/bin/opsi-setup", line 352, in configureMySQLBackend
errorFunction=errorFunction
(Logger.py|798)
[2] [Sep 28 17:14:15] File "/usr/lib/python2.7/site-packages/OPSI/Util/Task/ConfigureBackend/MySQL.py", line 123, in configureMySQLBackend
raise exc
(Logger.py|798)
[2] [Sep 28 17:14:15] ==>>> (1293, 'Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause') (opsi-setup|1167)
ERROR: (1293, 'Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause')
#################
Das habe ich davor gemacht:
12 yum -y install mariadb-server samba
13 systemctl start smb.service
14 systemctl start nmb.service
15 systemctl start mariadb.service
16 systemctl enable smb.service
17 systemctl enable nmb.service
18 systemctl enable mariadb.service
19 mysql_secure_installation
20 vi /etc/my.cnf ( sql_mode=NO_ENGINE_SUBSTITUTION eingetragen)
21 service mariadb restart
22 c d /etc/yum.repos.d/
23 yum -y install wget mlocate net-tools yum-utils sysstat
24 wget https://download.opensuse.org/repositor ... table.repo
25 yum makecache
27 yum install -y opsi-server
28 yum install -y opsi-configed
29 yum install -y opsi-windows-support
Hab' ich was falsch gemacht oder ist da ein Fehler in der Tabellen-Definition der OPSI-Datenbank?
Ich wäre für einen Fingerzeig sehr dankbar
Beste Grüße
Matthias
ich bin dabei einen OPSI-Server auf Centos 7 zu installieren. Das hat in der Vergangenheit eigentlich ganz gut geklappt. Nur diesmal erhalten ich die folgende Fehlermeldung nach dem ich " opsi-setup --configure-mysql " ausführen wollte:
[2] [Sep 28 17:14:15] Traceback: (Logger.py|798)
[2] [Sep 28 17:14:15] File "/usr/bin/opsi-setup", line 1163, in <module>
main()
(Logger.py|798)
[2] [Sep 28 17:14:15] File "/usr/bin/opsi-setup", line 1121, in main
configureMySQLBackend(unattended)
(Logger.py|798)
[2] [Sep 28 17:14:15] File "/usr/bin/opsi-setup", line 352, in configureMySQLBackend
errorFunction=errorFunction
(Logger.py|798)
[2] [Sep 28 17:14:15] File "/usr/lib/python2.7/site-packages/OPSI/Util/Task/ConfigureBackend/MySQL.py", line 123, in configureMySQLBackend
raise exc
(Logger.py|798)
[2] [Sep 28 17:14:15] ==>>> (1293, 'Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause') (opsi-setup|1167)
ERROR: (1293, 'Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause')
#################
Das habe ich davor gemacht:
12 yum -y install mariadb-server samba
13 systemctl start smb.service
14 systemctl start nmb.service
15 systemctl start mariadb.service
16 systemctl enable smb.service
17 systemctl enable nmb.service
18 systemctl enable mariadb.service
19 mysql_secure_installation
20 vi /etc/my.cnf ( sql_mode=NO_ENGINE_SUBSTITUTION eingetragen)
21 service mariadb restart
22 c d /etc/yum.repos.d/
23 yum -y install wget mlocate net-tools yum-utils sysstat
24 wget https://download.opensuse.org/repositor ... table.repo
25 yum makecache
27 yum install -y opsi-server
28 yum install -y opsi-configed
29 yum install -y opsi-windows-support
Hab' ich was falsch gemacht oder ist da ein Fehler in der Tabellen-Definition der OPSI-Datenbank?
Ich wäre für einen Fingerzeig sehr dankbar

Beste Grüße
Matthias