To avoid this ptoblem with <span>jboss</span>-as-7.1.1.Final one must patch /etc/pki/ovirt-engine/encryptpasswd.sh<br><br>#diff encryptpasswd.sh.old encryptpasswd.sh<br>40c40<br>&lt; $JAVA_BIN -cp "./modules/org/jboss/logging/main/jboss-logging-3.1.0.CR2.jar:./modules/org/picketbox/main/picketbox-4.0.6.Beta1.jar" org.picketbox.datasource.security.SecureIdentityLoginModule $1<br>---<br>&gt; $JAVA_BIN -cp "./modules/org/jboss/logging/main/jboss-logging-3.1.0.GA.jar:./modules/org/picketbox/main/picketbox-4.0.7.Final.jar" org.picketbox.datasource.security.SecureIdentityLoginModule $1<br><br><br><br><br><br><font color="#666">Чтв 17 Май 2012 17:26:57 +0400, ovirt@qip.ru написал:</font><br><blockquote style="padding-left:10px; margin:10px 10px 10px 0px; border-left:#aaa 2px dotted">I installed <span xsscleaned="nicSpell_0">jboss</span>-as-7.1.1.Final from zips, as described here<br><br>http://<span xsscleaned="nicSpell_2">www</span>.<span xsscleaned="nicSpell_3">ovirt</span>.org/<span xsscleaned="nicSpell_4">wiki</span>/Building_<span xsscleaned="nicSpell_5">Ovirt</span>_Engine<br><br>then yum <span xsscleaned="nicSpell_6">localinstall</span> engine rpm's from last <span xsscleaned="nicSpell_7">jenkins</span> build<br><br>during engine-setup i got error<br><br>Setting Database Security...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ ERROR ]<br>Error while parsing encrypted <span xsscleaned="nicSpell_8">jboss</span> password<br>Please check log file /var/log/<span xsscleaned="nicSpell_9">ovirt</span>-engine/engine-setup_2012_05_17_17_01_38.log for more information<br><br><br><br># tail -60 /var/log/<span xsscleaned="nicSpell_10">ovirt</span>-engine/engine-setup_2012_05_17_17_01_38.log<br>2012-05-17 17:02:29::DEBUG::common_utils::292::root:: <span xsscleaned="nicSpell_11">stderr</span> = p<span xsscleaned="nicSpell_12">sql</span>: FATAL:&nbsp; database "engine" does not exist<br><br>2012-05-17 17:02:29::DEBUG::common_utils::293::root:: <span xsscleaned="nicSpell_13">retcode</span> = 2<br>2012-05-17 17:02:29::DEBUG::engine-setup::1991::root:: Checking if db is already installed..<br>2012-05-17 17:02:29::DEBUG::engine-setup::1992::root:: Checking the presence of .<span xsscleaned="nicSpell_14">pgpass</span> file<br>2012-05-17 17:02:29::DEBUG::common_utils::350::root:: running <span xsscleaned="nicSpell_15">sql</span> query 'select 1' on db server: '<span xsscleaned="nicSpell_16">localhost</span>'.<br>2012-05-17 17:02:29::DEBUG::common_utils::286::root:: <span xsscleaned="nicSpell_17">cmd</span> = /<span xsscleaned="nicSpell_18">usr</span>/bin/p<span xsscleaned="nicSpell_19">sql</span> -h <span xsscleaned="nicSpell_20">localhost</span> -p 5432 -U <span xsscleaned="nicSpell_21">postgres</span> -d engine -c "select 1"<br>2012-05-17 17:02:29::DEBUG::common_utils::291::root:: output =<br>2012-05-17 17:02:29::DEBUG::common_utils::292::root:: <span xsscleaned="nicSpell_22">stderr</span> = p<span xsscleaned="nicSpell_23">sql</span>: FATAL:&nbsp; database "engine" does not exist<br><br>2012-05-17 17:02:29::DEBUG::common_utils::293::root:: <span xsscleaned="nicSpell_24">retcode</span> = 2<br>2012-05-17 17:02:29::DEBUG::setup_sequences::58::root:: running _encryptDBPass<br>2012-05-17 17:02:29::DEBUG::common_utils::309::root:: Executing command --&gt; '/etc/<span xsscleaned="nicSpell_25">pki</span>/<span xsscleaned="nicSpell_26">ovirt</span>-engine/encryptpasswd.sh ********'<br>2012-05-17 17:02:29::DEBUG::common_utils::335::root:: output = /<span xsscleaned="nicSpell_27">usr</span>/share/<span xsscleaned="nicSpell_28">jboss</span>-as ~/db-backups<br>~/db-backups<br><br>2012-05-17 17:02:29::DEBUG::common_utils::336::root:: <span xsscleaned="nicSpell_29">stderr</span> = Exception in thread "main" java.<span xsscleaned="nicSpell_30">lang</span>.NoClassDefFoundError: org/<span xsscleaned="nicSpell_31">picketbox</span>/<span xsscleaned="nicSpell_32">datasource</span>/security/SecureIdentityLoginModule<br>Caused by: java.<span xsscleaned="nicSpell_33">lang</span>.ClassNotFoundException: org.<span xsscleaned="nicSpell_34">picketbox</span>.<span xsscleaned="nicSpell_35">datasource</span>.security.SecureIdentityLoginModule<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.net.<span xsscleaned="nicSpell_36">URL<span xsscleaned="nicSpell_37">ClassLoader</span></span>$1.run(<span xsscleaned="nicSpell_38">URL<span xsscleaned="nicSpell_39">ClassLoader</span></span>.java:217)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.security.<span xsscleaned="nicSpell_40">AccessController</span>.<span xsscleaned="nicSpell_41">doPrivileged</span>(Native Method)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.net.<span xsscleaned="nicSpell_42">URL<span xsscleaned="nicSpell_43">ClassLoader</span></span>.<span xsscleaned="nicSpell_44">findClass</span>(<span xsscleaned="nicSpell_45">URL<span xsscleaned="nicSpell_46">ClassLoader</span></span>.java:205)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.<span xsscleaned="nicSpell_47">lang</span>.<span xsscleaned="nicSpell_48">ClassLoader</span>.<span xsscleaned="nicSpell_49">loadClass</span>(<span xsscleaned="nicSpell_50">ClassLoader</span>.java:321)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.misc.Launcher$App<span xsscleaned="nicSpell_51">ClassLoader</span>.<span xsscleaned="nicSpell_52">loadClass</span>(Launcher.java:294)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.<span xsscleaned="nicSpell_53">lang</span>.<span xsscleaned="nicSpell_54">ClassLoader</span>.<span xsscleaned="nicSpell_55">loadClass</span>(<span xsscleaned="nicSpell_56">ClassLoader</span>.java:266)<br>Could not find the main class: org.<span xsscleaned="nicSpell_57">picketbox</span>.<span xsscleaned="nicSpell_58">datasource</span>.security.SecureIdentityLoginModule. Program will exit.<br><br>2012-05-17 17:02:29::DEBUG::common_utils::337::root:: <span xsscleaned="nicSpell_59">retcode</span> = 0<br>2012-05-17 17:02:29::DEBUG::engine-setup::1983::root:: *** The following <span xsscleaned="nicSpell_60">params</span> were used as user input:<br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: override-httpd-config: yes<br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: http-port: 80<br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: https-port: 443<br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: mac-range: 00:1A:4A:A8:83:00-00:1A:4A:A8:83:FF<br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: host-fqdn: fed16-<span xsscleaned="nicSpell_61">ovirt</span>31.<span xsscleaned="nicSpell_62">rakurs</span>.com<br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: auth-pass: ********<br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: org-name: <span xsscleaned="nicSpell_63">Rakurs</span><br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: default-dc-type: <span xsscleaned="nicSpell_64">ISCSI</span><br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: db-remote-install: local<br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: db-host: <span xsscleaned="nicSpell_65">localhost</span><br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: db-local-pass: ********<br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: config-nfs: no<br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: override-iptables: no<br>2012-05-17 17:02:29::ERROR::engine-setup::2709::root:: <span xsscleaned="nicSpell_66">Traceback</span> (most recent call last):<br>&nbsp; File "/<span xsscleaned="nicSpell_67">usr</span>/bin/engine-setup", line 2703, in &lt;module&gt;<br>&nbsp;&nbsp;&nbsp; main(<span xsscleaned="nicSpell_68">confFile</span>)<br>&nbsp; File "/<span xsscleaned="nicSpell_69">usr</span>/bin/engine-setup", line 2494, in main<br>&nbsp;&nbsp;&nbsp; <span xsscleaned="nicSpell_70">runSequences</span>()<br>&nbsp; File "/<span xsscleaned="nicSpell_71">usr</span>/bin/engine-setup", line 2440, in <span xsscleaned="nicSpell_72">runSequences</span><br>&nbsp;&nbsp;&nbsp; controller.runAllSequences()<br>&nbsp; File "/<span xsscleaned="nicSpell_73">usr</span>/share/<span xsscleaned="nicSpell_74">ovirt</span>-engine/scripts/setup_controller.py", line 54, in runAllSequences<br>&nbsp;&nbsp;&nbsp; sequence.run()<br>&nbsp; File "/<span xsscleaned="nicSpell_75">usr</span>/share/<span xsscleaned="nicSpell_76">ovirt</span>-engine/scripts/setup_sequences.py", line 152, in run<br>&nbsp;&nbsp;&nbsp; step.run()<br>&nbsp; File "/<span xsscleaned="nicSpell_77">usr</span>/share/<span xsscleaned="nicSpell_78">ovirt</span>-engine/scripts/setup_sequences.py", line 59, in run<br>&nbsp;&nbsp;&nbsp; function()<br>&nbsp; File "/<span xsscleaned="nicSpell_79">usr</span>/bin/engine-setup", line 1397, in _encryptDBPass<br>&nbsp;&nbsp;&nbsp; controller.<span xsscleaned="nicSpell_80">CONF</span>["ENCRYPTED_DB_PASS"] = utils.<span xsscleaned="nicSpell_81">parseStrRegex</span>(output, "Encoded password:\s*(.+)", output_messages.ERR_EXP_PARSING_ENCRYPT_PASS)<br>&nbsp; File "/<span xsscleaned="nicSpell_82">usr</span>/share/<span xsscleaned="nicSpell_83">ovirt</span>-engine/scripts/common_utils.py", line 503, in <span xsscleaned="nicSpell_84">parseStrRegex</span><br>&nbsp;&nbsp;&nbsp; raise Exception(<span xsscleaned="nicSpell_85">errMsg</span>)<br>Exception: Error while parsing encrypted <span xsscleaned="nicSpell_86">jboss</span> password<br><br><br>How is it possible to correct?<br><br><br>--<br><br>

</blockquote><br><br>--<br>
<br>