In the first time, excuse me for my english.
I install opsi on Centos 6 with opsi-getting-started-stable-en.
[root@opsi ~]# opsi-setup --init-current-config
[5] [Dec 22 16:49:41] Creating base path: '/var/lib/opsi/config' (File.py|215)
[5] [Dec 22 16:49:41] Getting current system config (opsi-setup|66)
[5] [Dec 22 16:49:41] System information: (opsi-setup|116)
[5] [Dec 22 16:49:41] distributor : CentOS (opsi-setup|117)
[5] [Dec 22 16:49:41] distribution : CentOS release 6.2 (Final) (opsi-setup|118)
[5] [Dec 22 16:49:41] ip address : 192.168.1.63 (opsi-setup|119)
[5] [Dec 22 16:49:41] netmask : 255.255.255.0 (opsi-setup|120)
[5] [Dec 22 16:49:41] subnet : 192.168.1.0 (opsi-setup|121)
[5] [Dec 22 16:49:41] broadcast : 192.168.1.255 (opsi-setup|122)
[5] [Dec 22 16:49:41] fqdn : opsi.sitic.local (opsi-setup|123)
[5] [Dec 22 16:49:41] hostname : opsi (opsi-setup|124)
[5] [Dec 22 16:49:41] domain : sitic.local (opsi-setup|125)
[5] [Dec 22 16:49:41] win domain : MYGROUP (opsi-setup|126)
[5] [Dec 22 16:49:41] Creating base path: '/var/lib/opsi/config' (File.py|215)
[5] [Dec 22 16:49:41] Configuring client user pcpatch (opsi-setup|349)
[5] [Dec 22 16:49:41] Creating RSA private key for user pcpatch in '/var/lib/opsi/.ssh/id_rsa' (opsi-setup|363)
[2] [Dec 22 16:49:42] Traceback: (Logger.py|742)
[2] [Dec 22 16:49:42] line 3068 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Dec 22 16:49:42] line 3028 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Dec 22 16:49:42] line 364 in 'configureClientUser' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Dec 22 16:49:42] line 755 in 'execute' in file '/usr/lib/python2.6/site-packages/OPSI/System/Posix.py' (Logger.py|742)
[2] [Dec 22 16:49:42] ==>>> Command '/usr/bin/ssh-keygen -N '' -t rsa -f /var/lib/opsi/.ssh/id_rsa' failed (1):
Generating public/private rsa key pair.
Saving the key failed: /var/lib/opsi/.ssh/id_rsa.
(opsi-setup|3076)/.ssh/id_rsa failed: Permission denied.
ERROR: Command '/usr/bin/ssh-keygen -N '' -t rsa -f /var/lib/opsi/.ssh/id_rsa' failed (1):
Generating public/private rsa key pair.
Saving the key failed: /var/lib/opsi/.ssh/id_rsa.
open /var/lib/opsi/.ssh/id_rsa failed: Permission denied.
error installing opsi on centos 6
Re: error installing opsi on centos 6
Hi,
hmm .....
just a guess: try
opsi-setup --set-rights
and than
opsi-setup --init-current-config
does this help ?
regards
d.oertel
hmm .....
just a guess: try
opsi-setup --set-rights
and than
opsi-setup --init-current-config
does this help ?
regards
d.oertel
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: error installing opsi on centos 6
Hi,
maybe you need to disable SELinux.
regards,
Benjamin
maybe you need to disable SELinux.
regards,
Benjamin