Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: jester on May 13, 2011, 12:11:48 PM
-
Anyone tried to install Opsi (http://www.opsi.org/) on SME(8) and still got some notes lying around?!
Keep getting PAM errors i can't figure out (... so if you got some PAM knowledge...). If i get this working i'll put up a howto in the wiki.
Thanx!
Jester.
-
Hi,
Not on SME just debian lenny but it would be cool on sme8. Can you share the steps you have done ?
regards
fpausp
-
Hi,
Do you mean this error:
[5] [May 16 22:31:50] Application 'opsi config editor 4.0.1.8' on client '192.168.1.1' supplied non existing session id: ZG6wdruGe1DQ83kbEOXdVJ0WnxrM1pfm (Worker.py|393)
[5] [May 16 22:31:50] Authorization request from adminuser@192.168.1.1 (application: opsi config editor 4.0.1.8) (workers.py|184)
[5] [May 16 22:31:50] Session 'AUqiEPOguQt0q1cRjAGNklRNYJID7HFC' from ip '192.168.1.1', application 'opsi config editor 4.0.1.8' deleted (Session.py|207)
[2] [May 16 22:31:50] Traceback: (Logger.py|721)
[2] [May 16 22:31:50] line 282 in '_errback' in file '/usr/lib/python2.4/site-packages/OPSI/Service/Worker.py' (Logger.py|721)
[2] [May 16 22:31:50] line 328 in '_runCallbacks' in file '/usr/lib/python2.4/site-packages/twisted/internet/defer.py' (Logger.py|721)
[2] [May 16 22:31:50] line 227 in '_authenticate' in file '/usr/lib/python2.4/site-packages/opsiconfd/workers.py' (Logger.py|721)
[2] [May 16 22:31:50] ==>>> Opsi authentication error: Forbidden: Backend authentication error: Backend authentication error: PAM authentication failed for user 'adminuser': ('Authentication failure', 7) (Worker.py|289)
[3] [May 16 22:31:50] 22 authentication failures from '192.168.1.1' in a row, waiting 60 seconds to prevent flooding (workers.py|79)
I tried to install opsi 4.0.1 with:
OPSI 4.0.1 on sme8
# Set the opsi Repository:
/sbin/e-smith/db yum_repositories set opsi4 repository \
Name 'CentOS $releasever - $basearch - opsi4.0' \
BaseURL 'http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/CentOS_CentOS-5/' \
EnableGroups no \
GPGCheck no \
GPGKey http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/CentOS_CentOS-5/repodata/repomd.xml.key \
Visible no \
status disabled
signal-event yum-modify
# If you have tftp-server installed remove it with:
yum remove tftp-server
# Install opsi:
yum makecache
yum install opsi-depotserver opsi-configed --enablerepo=opsi4
/etc/init.d/opsiconfd restart
/etc/init.d/opsipxeconfd restart
yum install p7zip p7zip-plugins cabextract --enablerepo=opsi4
yum update --enablerepo=opsi4
# Init opsi-server:
opsi-setup --init-current-config
opsi-setup --set-rights
/etc/init.d/opsiconfd restart
/etc/init.d/opsipxeconfd restart
# Set Password:
opsi-admin -d task setPcpatchPassword
Password: xxxxxxxxxxxxxx
#
useradd -m -s /bin/bash adminuser
Enter new UNIX password: xxxxxxxxxxxxxx
Retype new UNIX password: xxxxxxxxxxxxxx
smbpasswd -a adminuser
New SMB password: xxxxxxxxxxxxxx
Retype new SMB password: xxxxxxxxxxxxxx
# Add adminuser to Group opsiadmin and pcpatch:
usermod -a -G opsiadmin adminuser
getent group opsiadmin
usermod -a -G pcpatch adminuser
getent group pcpatch
# Get opsi-product-pakets:
opsi-product-updater -i -vv
# Startscript opsiconfd:
chmod 755 /etc/rc.d/init.d/opsiconfd
ln -s /etc/rc.d/init.d/opsiconfd /etc/rc.d/rc7.d/S98opsiconfd
ln -s /etc/rc.d/init.d/opsiconfd /etc/rc.d/rc6.d/K02opsiconfd
ln -s /etc/rc.d/init.d/opsiconfd /etc/rc.d/rc2.d/K02opsiconfd
ln -s /etc/rc.d/init.d/opsiconfd /etc/rc.d/rc1.d/K02opsiconfd
ln -s /etc/rc.d/init.d/opsiconfd /etc/rc.d/rc0.d/K02opsiconfd
# Startscript opsipxeconfd:
chmod 755 /etc/rc.d/init.d/opsipxeconfd
ln -s /etc/rc.d/init.d/opsipxeconfd /etc/rc.d/rc7.d/S98opsipxeconfd
ln -s /etc/rc.d/init.d/opsipxeconfd /etc/rc.d/rc6.d/K02opsipxeconfd
ln -s /etc/rc.d/init.d/opsipxeconfd /etc/rc.d/rc2.d/K02opsipxeconfd
ln -s /etc/rc.d/init.d/opsipxeconfd /etc/rc.d/rc1.d/K02opsipxeconfd
ln -s /etc/rc.d/init.d/opsipxeconfd /etc/rc.d/rc0.d/K02opsipxeconfd
# Open configed:
https://<opsidepotserver>:4447/configed
I found this in the opsi-forum (german):
https://forum.opsi.org/viewtopic.php?f=7&t=2267 (https://forum.opsi.org/viewtopic.php?f=7&t=2267)
Maybe someone can help us ?
-
OK, I think I got it. Here is a quick and dirty OPSI-SME-PAM workaround:
# Quick and Dirty PAM Workaround
nano /usr/lib/python2.4/site-packages/OPSI/Backend/BackendManager.py
change the line:
elif (DISTRIBUTOR.lower().find('redhat') != -1) or (DISTRIBUTOR.lower().find('centos') != -1) or (DISTRIBUTOR.lower().find('scientificsl') != -1):
to:
elif (DISTRIBUTOR.lower().find('redhat') != -1) or (DISTRIBUTOR.lower().find('centos') != -1) or (DISTRIBUTOR.lower().find('sme') != -1):
Now I am able to login
Cheers!
-
# Quick and Dirty PAM Workaround
nano /usr/lib/python2.4/site-packages/OPSI/Backend/BackendManager.py
change the line:
elif (DISTRIBUTOR.lower().find('redhat') != -1) or (DISTRIBUTOR.lower().find('centos') != -1) or (DISTRIBUTOR.lower().find('scientificsl') != -1):
to:
elif (DISTRIBUTOR.lower().find('redhat') != -1) or (DISTRIBUTOR.lower().find('centos') != -1) or (DISTRIBUTOR.lower().find('sme') != -1):
Although not a problem in you case (SME Server), it is common practice to not replace a value you do not need with one you do need, but to just add the one you need, so it read like this:
elif (DISTRIBUTOR.lower().find('redhat') != -1) or (DISTRIBUTOR.lower().find('centos') != -1) or (DISTRIBUTOR.lower().find('scientificsl') != -1) or (DISTRIBUTOR.lower().find('sme') != -1):
-
@ cactus
Although not a problem in you case (SME Server), it is common practice to not replace a value you do not need with one you do need, but to just add the one you need, so it read like this: ...
Yes, of course.
@ jester
Keep getting PAM errors i can't figure out (... so if you got some PAM knowledge...). If i get this working i'll put up a howto in the wiki.
That would be nice, are you ready to make a howto for the wiki ?
-
Sorry guys,
Just became father (2nd) this week and it didn't all go well at first (much better now though) so just found some time to quickly check my mail and saw your replies.
@fpausp: That was the same error i was running into. Great you found the root of the problem. I don't think i'll get round to testing your findings and jotting down a wiki page for another week or two.
@jonathan: thanx for your input.
Regards,
Jester.
-
What the OPSI? and what the purpose of OPSI? OPSI can help for business? thank you.. :???: :???:
-
@ jester
Just became father (2nd) this week and it didn't all go well at first (much better now though)...
Congratulation, don´t worry about the wiki, we have time.
@
haliparotin
What the OPSI? and what the purpose of OPSI? OPSI can help for business? thank you..
http://www.opsi.org/ (http://www.opsi.org/)
regards
-
For those who would like to TEST: I've got some preliminary stuff on my user-page (http://wiki.contribs.org/index.php?title=User:Jester) but i'm a bit reluctant to put this up because is see no proper/clean way of uninstalling Opsi. Quite a load of packages are installed and a few are updated and, especially over time (when some more are updated through the opsi repo) it will be very hard to remove. So if you're installing this as a dedicated box/virtual machine i guess it would be ok, but otherwise...
I wish the yum package would be a bit more recent, then it would be less trouble with the 'history (http://allaboutfedora.blogspot.com/2009/11/f12-yum-new-features.html)' option!
Best,
Jester.
-
Jester
I'm trying to follow your notes on personal page and got a dependency error: python-rrdtool:
--> Finished Dependency Resolution
opsiconfd-4.0.1.9-4.1.noarch from opsi4 has depsolving problems
--> Missing Dependency: python-rrdtool is needed by package opsiconfd-4.0.1.9-4.1.noarch (opsi4)
Error: Missing Dependency: python-rrdtool is needed by package opsiconfd-4.0.1.9-4.1.noarch (opsi4)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
I found it here:
ftp://ftp.pbone.net/mirror/ftp.pramberger.at/systems/linux/contrib/rhel5/i386/python-rrdtool-1.4.5-1.el5.pp.i386.rpm
and tried again:
[root@vb-sme8 ~]# yum install opsi-depotserver opsi-configed --enablerepo=opsi4 localinstall python-rrdtool-1.4.5-1.el5.pp.i386.rpm
Error: Missing Dependency: librrd.so.4 is needed by package python-rrdtool-1.4.5-1.el5.pp.i386 (/python-rrdtool-1.4.5-1.el5.pp.i386)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
But apparently I'm too newbie to know how to install without any help from you! :$
I'm using a virtualbox machine, so we can be on safe side and do a lot of tests! :D
Regards
Jáder
-
I recently also noticed the new dependency for the latest opsiconfd package... and sadly python-rrdtool brings a LOAD of other dependencies with it. So i've not updated yet myself. If i'm not mistaken enabling the DAG repository satisfies all the dependencies, for adding DAG to SME8:
/sbin/e-smith/db yum_repositories set dag repository \
Name 'Dag - EL5' \
BaseURL 'http://apt.sw.be/redhat/el5/en/$basearch/dag' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
Visible no \
Exclude freetype,htop,iptraf,rsync,syslinux \
status disabled
After adding it run: signal-event yum-modify
If you install python-rrdtool separately (en then opsi) you can see what comes with it as dependency:
yum install python-rrdtool --enablerepo=dag
If you don't care about the dependencies:
yum install opsi-depotserver opsi-configed --enablerepo=opsi4,dag
HTH.
-
jester
Install w/o dependencies is not an option: it's a easy way to break things!
I run the install python-rrdtool (yum install python-rrdtool --enablerepo=dag)and got:
====================================================================================================
Package Arch Version Repository Size
====================================================================================================
Installing:
python-rrdtool i386 1.4.4-1.el5.rf dag 29 k
Installing for dependencies:
audit-libs-python i386 1.7.18-2.el5 base 79 k
bitstream-vera-fonts noarch 1.10-7 base 343 k
cairo i386 1.2.4-5.el5 base 394 k
chkfontpath i386 1.10.1-1.1 base 15 k
fontconfig i386 2.4.1-7.el5 smeos 174 k
libFS i386 1.0.0-3.1 smeos 30 k
libX11 i386 1.0.3-11.el5_7.1 updates 797 k
libXau i386 1.0.1-3.1 smeos 18 k
libXdmcp i386 1.0.1-2.1 smeos 19 k
libXext i386 1.0.1-2.1 smeos 35 k
libXfont i386 1.2.2-1.0.4.el5_7 updates 240 k
libXft i386 2.1.10-1.1 base 44 k
libXrender i386 0.9.1-3.1 base 27 k
libdbi i386 0.8.1-2.1 base 35 k
libfontenc i386 1.0.2-2.2.el5 smeos 19 k
libselinux-python i386 1.33.4-5.7.el5 base 73 k
libsemanage i386 1.9.1-4.4.el5 base 137 k
lua i386 5.1.4-2.el5.rf dag 242 k
pango i386 1.14.9-8.el5.centos.3 smeextras 334 k
perl-rrdtool i386 1.4.4-1.el5.rf dag 52 k
policycoreutils i386 1.33.12-14.8.el5 base 619 k
rrdtool i386 1.4.4-1.el5.rf dag 895 k
ruby i386 1.8.5-19.el5_6.1 base 275 k
ruby-libs i386 1.8.5-19.el5_6.1 base 1.6 M
ttmkfdir i386 3.0.9-23.el5 base 46 k
xorg-x11-filesystem noarch 7.1-2.fc6 smeos 5.4 k
xorg-x11-font-utils i386 1:7.1-3 base 76 k
xorg-x11-fonts-Type1 noarch 7.1-2.1.el5 base 1.5 M
xorg-x11-xfs i386 1:1.0.2-5.el5_6.1 base 69 k
Transaction Summary
====================================================================================================
Install 30 Package(s)
Upgrade 0 Package(s)
Total download size: 8.1 M
wow... 30 packages!
anyways, I'm moving forward... it's just an virtualbox machine :)
More news in few minutes.
update...
====================================================================================================
Package Arch Version Repository Size
====================================================================================================
Installing:
opsi-configed noarch 4.0.1.12-1.1 opsi4 1.9 M
opsi-depotserver noarch 4.0.1.10-1.1 opsi4 28 k
Installing for dependencies:
duplicity i386 0.6.08b-6.1 opsi4 401 k
gnupg2 i386 2.0.10-3.el5_5.1 base 2.6 M
java-1_6_0-sun i386 1.6.0.u20-7.1 opsi4 33 M
jpackage-utils noarch 1.7.3-1jpp.2.el5 base 61 k
libXi i386 1.0.1-4.el5_4 base 25 k
libXtst i386 1.0.1-3.1 base 15 k
libksba i386 1.0.5-2.el5 base 115 k
libnewt0_52 i386 0.52.11-13.1 opsi4 96 k
librsync i386 0.9.7-176.1 opsi4 96 k
lshw i386 B.02.14-4.1 opsi4 1.3 M
opsi-atftp i386 0.7.dfsg-8.1 opsi4 30 k
opsi-linux-bootimage noarch 20110829-1.2 opsi4 67 M
opsi-utils noarch 4.0.1.14-1.1 opsi4 61 k
opsiconfd noarch 4.0.1.9-4.1 opsi4 73 k
opsipxeconfd noarch 4.0.1.4-1.1 opsi4 14 k
pax i386 3.4-2.el5_4 base 63 k
pinentry i386 0.7.3-3.el5 base 60 k
pth i386 2.0.7-6.el5 base 90 k
pyOpenSSL i386 0.6-2.el5 base 128 k
python-GnuPG-Interface i386 0.3.2-4.1 opsi4 25 k
python-crypto i386 2.1.0-5.1 opsi4 351 k
python-ldap i386 2.2.0-2.1 base 122 k
python-ldaptor i386 0.0.43-12.1 opsi4 153 k
python-magic i386 5.04-6.1 opsi4 14 k
python-mysql i386 1.2.2-92.1 opsi4 121 k
python-newt i386 0.52.11-13.1 opsi4 45 k
python-opsi noarch 4.0.1.28-1.1 opsi4 1.3 M
python-pam i386 0.5.0-76.1 opsi4 29 k
python-pexpect i386 2.3-31.1 opsi4 317 k
python-pyparsing i386 1.5.6-13.1 opsi4 110 k
python-serial noarch 2.4-11.1 opsi4 66 k
python-sqlalchemy i386 0.6.6-17.3 opsi4 1.5 M
python-twisted i386 8.2.0-13.1 opsi4 4.3 M
python-zopeinterface i386 3.3.0-114.1 opsi4 153 k
redhat-lsb i386 4.0-2.1.4.el5 base 25 k
redhat-rpm-config noarch 8.0.45-32.el5.centos base 54 k
xinetd i386 2:2.3.14-13.el5 base 125 k
zsync i386 0.6.1-6.1 opsi4 111 k
Updating for dependencies:
newt i386 0.52.11-13.1 opsi4 52 k
Transaction Summary
====================================================================================================
Install 40 Package(s)
Upgrade 1 Package(s)
Total download size: 116 M
Is this ok [y/N]: y
Jáder
-
got some errors at install, see after SHA1 Fingerprint line:
(...)
Installing : opsiconfd 37/42
Generating a 1024 bit RSA private key
.................................++++++
...........++++++
writing new private key to '/etc/opsi/opsiconfd.pem'
-----
1024 semi-random bytes loaded
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
.......................++*++*++*++*++*++*
subject= /C=DE/ST=RP/L=Mainz/O=uib GmbH/CN=vb-sme8.marasca.net.br/emailAddress=root@vb-sme8.marasca.net.br
notBefore=Oct 18 10:21:18 2011 GMT
notAfter=Jul 14 10:21:18 2014 GMT
SHA1 Fingerprint=7F:8E:53:D2:89:55:E6:92:62:59:B7:59:64:B0:1D:E3:8E:E2:BC:4A
Starting opsi config service..su: warning: cannot change directory to /var/lib/opsi: Permission denied
-bash: /var/lib/opsi/.bash_profile: Permission denied
.......... (failed).
warning: user opsiconfd does not exist - using root
Installing : opsi-linux-bootimage 38/42
Installing : opsipxeconfd 39/42
Starting opsi pxe configuration service... (done).
Installing : opsi-utils 40/42
Installing : opsi-depotserver 41/42
[5] [Oct 18 08:21:38] Configuring samba (opsi-setup|132)
[5] [Oct 18 08:21:38] Getting current system config (opsi-setup|66)
[5] [Oct 18 08:21:38] System information: (opsi-setup|116)
[5] [Oct 18 08:21:38] distributor : SMEServer (opsi-setup|117)
[5] [Oct 18 08:21:38] distribution : SME Server release 8.0beta6 (opsi-setup|118)
[5] [Oct 18 08:21:38] ip address : 192.168.13.2 (opsi-setup|119)
[5] [Oct 18 08:21:38] netmask : 255.255.255.0 (opsi-setup|120)
[5] [Oct 18 08:21:38] subnet : 192.168.13.0 (opsi-setup|121)
[5] [Oct 18 08:21:38] broadcast : 192.168.13.255 (opsi-setup|122)
[5] [Oct 18 08:21:38] fqdn : vb-sme8.marasca.net.br (opsi-setup|123)
[5] [Oct 18 08:21:38] hostname : vb-sme8 (opsi-setup|124)
[5] [Oct 18 08:21:38] domain : marasca.net.br (opsi-setup|125)
[5] [Oct 18 08:21:38] win domain : LINUX (opsi-setup|126)
[5] [Oct 18 08:21:38] Adding share [opt_pcbin] (opsi-setup|160)
[5] [Oct 18 08:21:38] Adding share [opsi_depot] (opsi-setup|174)
[5] [Oct 18 08:21:38] Adding share [opsi_config] (opsi-setup|194)
[5] [Oct 18 08:21:38] Adding share [opsi_workbench] (opsi-setup|205)
[5] [Oct 18 08:21:38] Creating backup of /etc/samba/smb.conf (opsi-setup|221)
[5] [Oct 18 08:21:38] Writing new smb.conf (opsi-setup|224)
[5] [Oct 18 08:21:38] Reloading samba (opsi-setup|229)
[5] [Oct 18 08:21:38] Configuring dhcpd (opsi-setup|237)
[5] [Oct 18 08:21:38] No groups found, adding group (opsi-setup|270)
[5] [Oct 18 08:21:38] next-server set to 192.168.13.2 (opsi-setup|290)
[5] [Oct 18 08:21:38] filename set to linux/pxelinux.0 (opsi-setup|304)
[5] [Oct 18 08:21:38] Creating backup of /etc/dhcpd.conf (opsi-setup|307)
[5] [Oct 18 08:21:38] Writing new /etc/dhcpd.conf (opsi-setup|310)
[5] [Oct 18 08:21:38] Restarting dhcpd (opsi-setup|313)
[5] [Oct 18 08:21:39] Configuring sudoers (opsi-setup|319)
[5] [Oct 18 08:21:39] Creating backup of /etc/sudoers (opsi-setup|330)
[5] [Oct 18 08:21:39] Adding sudoers entry for dhcpd restart (opsi-setup|333)
[5] [Oct 18 08:21:39] Writing new /etc/sudoers (opsi-setup|338)
[5] [Oct 18 08:21:39] Creating base path: '/var/lib/opsi/config' (File.py|215)
[5] [Oct 18 08:21:39] Creating config server 'vb-sme8.marasca.net.br' (opsi-setup|2448)
[5] [Oct 18 08:21:39] Creating base path: '/var/lib/opsi/config' (File.py|215)
[5] [Oct 18 08:21:39] Configuring client user pcpatch (opsi-setup|349)
[5] [Oct 18 08:21:39] Creating RSA private key for user pcpatch in '/var/lib/opsi/.ssh/id_rsa' (opsi-setup|363)
[5] [Oct 18 08:21:41] Setting rights (opsi-setup|412)
[5] [Oct 18 08:21:41] Setting rights on directory '/var/lib/opsi/.ssh' (opsi-setup|493)
[5] [Oct 18 08:21:44] Setting rights (opsi-setup|412)
[5] [Oct 18 08:21:44] Getting current system config (opsi-setup|66)
[5] [Oct 18 08:21:44] System information: (opsi-setup|116)
[5] [Oct 18 08:21:44] distributor : SMEServer (opsi-setup|117)
[5] [Oct 18 08:21:44] distribution : SME Server release 8.0beta6 (opsi-setup|118)
[5] [Oct 18 08:21:44] ip address : 192.168.13.2 (opsi-setup|119)
[5] [Oct 18 08:21:44] netmask : 255.255.255.0 (opsi-setup|120)
[5] [Oct 18 08:21:44] subnet : 192.168.13.0 (opsi-setup|121)
[5] [Oct 18 08:21:44] broadcast : 192.168.13.255 (opsi-setup|122)
[5] [Oct 18 08:21:44] fqdn : vb-sme8.marasca.net.br (opsi-setup|123)
[5] [Oct 18 08:21:44] hostname : vb-sme8 (opsi-setup|124)
[5] [Oct 18 08:21:44] domain : marasca.net.br (opsi-setup|125)
[5] [Oct 18 08:21:44] win domain : LINUX (opsi-setup|126)
[5] [Oct 18 08:21:45] Setting rights on directory '/tftpboot/linux' (opsi-setup|493)
[5] [Oct 18 08:21:45] Setting rights on directory '/home/opsiproducts' (opsi-setup|493)
[5] [Oct 18 08:21:45] Setting rights on directory '/var/log/opsi' (opsi-setup|493)
[5] [Oct 18 08:21:45] Setting rights on directory '/etc/opsi' (opsi-setup|493)
[5] [Oct 18 08:21:45] Setting rights on directory '/var/lib/opsi' (opsi-setup|493)
[5] [Oct 18 08:21:45] Setting rights on directory '/var/lib/opsi/depot' (opsi-setup|493)
Cleanup : newt 42/42
Installed:
opsi-configed.noarch 0:4.0.1.12-1.1 opsi-depotserver.noarch 0:4.0.1.10-1.1
Dependency Installed:
duplicity.i386 0:0.6.08b-6.1 gnupg2.i386 0:2.0.10-3.el5_5.1
java-1_6_0-sun.i386 0:1.6.0.u20-7.1 jpackage-utils.noarch 0:1.7.3-1jpp.2.el5
libXi.i386 0:1.0.1-4.el5_4 libXtst.i386 0:1.0.1-3.1
libksba.i386 0:1.0.5-2.el5 libnewt0_52.i386 0:0.52.11-13.1
librsync.i386 0:0.9.7-176.1 lshw.i386 0:B.02.14-4.1
opsi-atftp.i386 0:0.7.dfsg-8.1 opsi-linux-bootimage.noarch 0:20110829-1.2
opsi-utils.noarch 0:4.0.1.14-1.1 opsiconfd.noarch 0:4.0.1.9-4.1
opsipxeconfd.noarch 0:4.0.1.4-1.1 pax.i386 0:3.4-2.el5_4
pinentry.i386 0:0.7.3-3.el5 pth.i386 0:2.0.7-6.el5
pyOpenSSL.i386 0:0.6-2.el5 python-GnuPG-Interface.i386 0:0.3.2-4.1
python-crypto.i386 0:2.1.0-5.1 python-ldap.i386 0:2.2.0-2.1
python-ldaptor.i386 0:0.0.43-12.1 python-magic.i386 0:5.04-6.1
python-mysql.i386 0:1.2.2-92.1 python-newt.i386 0:0.52.11-13.1
python-opsi.noarch 0:4.0.1.28-1.1 python-pam.i386 0:0.5.0-76.1
python-pexpect.i386 0:2.3-31.1 python-pyparsing.i386 0:1.5.6-13.1
python-serial.noarch 0:2.4-11.1 python-sqlalchemy.i386 0:0.6.6-17.3
python-twisted.i386 0:8.2.0-13.1 python-zopeinterface.i386 0:3.3.0-114.1
redhat-lsb.i386 0:4.0-2.1.4.el5 redhat-rpm-config.noarch 0:8.0.45-32.el5.centos
xinetd.i386 2:2.3.14-13.el5 zsync.i386 0:0.6.1-6.1
Dependency Updated:
newt.i386 0:0.52.11-13.1
Complete!
ignoring for now... and moving ahead!
-
I'm not sure if I'm in trouble by errors, or by ignorance! :$
I'm trying to start use OPSI... but it's a server, headless, virtualbox... no GUI.
I've tryed to access this URL:
httpS://SERVER_IP:4447/configed
but got an 404 error
I've tryed to run opsi-configed, but got error "command not found"
I search for opsi-configed, found it a /usr/bin
changed java path (search for it also!):
[root@vb-sme8 ~]# cat /usr/bin/opsi-configed
#!/bin/sh
# java -cp classes:/usr/lib/configed/swingx.jar:/usr/lib/configed/configed.jar de.uib.configed.configed $@
/usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/bin/java -cp classes:/usr/lib/configed/swingx.jar:/usr/lib/configed/configed.jar de.uib.configed.configed $@
but still get errors about X11 ?? :
[root@vb-sme8 ~]# opsi-configed
starting de.uib.configed.configed
default charset is ISO-8859-1
server charset is configured as UTF-8
logging directory not yet set
setting Nimbus look&feel
logging directory not yet set
Nimbus look&feel set
logging directory is /root/configed
log level is 3
logging: use /root/configed/configed.log
TEST -- Tue Oct 18 09:26:51 BRST 2011 -- getLocales: [de, en, es, fr, nl, tr]
TEST -- Tue Oct 18 09:26:51 BRST 2011 -- selected locale characteristic en
ERROR -- Tue Oct 18 09:26:51 BRST 2011 -- unhandled java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
ERROR -- Tue Oct 18 09:26:51 BRST 2011 -- Exception java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
STACK:
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
java.awt.Window.<init>(Window.java:432)
java.awt.Frame.<init>(Frame.java:403)
java.awt.Frame.<init>(Frame.java:368)
javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1727)
javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1804)
javax.swing.JDialog.<init>(JDialog.java:253)
de.uib.configed.gui.DPassword.<init>(DPassword.java:114)
de.uib.configed.gui.DPassword.<init>(DPassword.java:129)
de.uib.configed.ConfigedMain.login(ConfigedMain.java:1177)
de.uib.configed.ConfigedMain.init(ConfigedMain.java:340)
de.uib.configed.ConfigedMain.run(ConfigedMain.java:324)
de.uib.configed.configed.startWithLocale(configed.java:94)
de.uib.configed.configed.<init>(configed.java:180)
de.uib.configed.configed.main(configed.java:552)
help please!!!
-
Just to humour me, could you please do a:
signal-event post-upgrade; signal-event reboot
and try again.
-
Just did it...n o change.
no listen on 4447 neither java path was included on environment.
neither opsi-configed works... same error about X11:
[root@vb-sme8 ~]# !nets
netstat -an|grep 4447
[root@vb-sme8 ~]# java -version
-bash: java: command not found
[root@vb-sme8 ~]# opsi-
opsi-admin opsi-configed opsi-makeproductfile opsi-package-manager opsi-setup
opsi-backup opsi-convert opsi-newprod opsi-product-updater
[root@vb-sme8 ~]# opsi-configed
starting de.uib.configed.configed
default charset is ISO-8859-1
server charset is configured as UTF-8
logging directory not yet set
setting Nimbus look&feel
logging directory not yet set
Nimbus look&feel set
logging directory is /root/configed
log level is 3
logging: use /root/configed/configed.log
TEST -- Tue Oct 18 11:42:41 BRST 2011 -- getLocales: [de, en, es, fr, nl, tr]
TEST -- Tue Oct 18 11:42:41 BRST 2011 -- selected locale characteristic en
ERROR -- Tue Oct 18 11:42:41 BRST 2011 -- unhandled java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
ERROR -- Tue Oct 18 11:42:41 BRST 2011 -- Exception java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
STACK:
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
java.awt.Window.<init>(Window.java:432)
java.awt.Frame.<init>(Frame.java:403)
java.awt.Frame.<init>(Frame.java:368)
javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1727)
javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1804)
javax.swing.JDialog.<init>(JDialog.java:253)
de.uib.configed.gui.DPassword.<init>(DPassword.java:114)
de.uib.configed.gui.DPassword.<init>(DPassword.java:129)
de.uib.configed.ConfigedMain.login(ConfigedMain.java:1177)
de.uib.configed.ConfigedMain.init(ConfigedMain.java:340)
de.uib.configed.ConfigedMain.run(ConfigedMain.java:324)
de.uib.configed.configed.startWithLocale(configed.java:94)
de.uib.configed.configed.<init>(configed.java:180)
de.uib.configed.configed.main(configed.java:552)
[root@vb-sme8 ~]# opsi
opsi-admin opsiconfd opsi-configed opsi-makeproductfile opsi-package-manager opsipxeconfd
opsi-backup opsiconfd-guard opsi-convert opsi-newprod opsi-product-updater opsi-setup
[root@vb-sme8 ~]# opsi
opsi-admin opsiconfd opsi-configed opsi-makeproductfile opsi-package-manager opsipxeconfd
opsi-backup opsiconfd-guard opsi-convert opsi-newprod opsi-product-updater opsi-setup
[root@vb-sme8 ~]# opsi-setup
Usage: opsi-setup [options]
Options:
-h, --help show this help
-l log-level 0..9
--log-file <path> path to log file
--ip-address <ip> force to this ip address (do not lookup by name)
--register-depot register depot at config server
--set-rights [path] set default rights on opsi files (in [path] only)
--init-current-config init current backend configuration
--update-from=<version> update from opsi version <version>
--update-mysql update mysql backend
--update-ldap update ldap backend
--update-file update file backend
--configure-mysql configure mysql backend
--edit-config-defaults edit global config defaults
--cleanup-backend cleanup backend
--auto-configure-samba patch smb.conf
--auto-configure-dhcpd patch dhcpd.conf
should I run opsi-setup again ?
could you help me doing this ?
Jáder
-
Did you add the symlink to the java install as described in the howto?!
-
jester,
I'm so sad to tell you HOW MORON I AM!
After so many nice start... I became a moron and ignored all steps after install ... that's because it was not working! :$
I got a web interface... and will start to explore opsi.
Later, I'll start over on a new virtual machine.
So far, I think your space could be updated with instructions about dependencies for rrdtool-python... everything else appear to be ok so far.
Jáder
Oct 24th 2011 update: include [SOLVED] on subject