
cmd</span> =3D /<span xsscleaned=3D"nicSpell_18">usr</span>/bin/p<span= xsscleaned=3D"nicSpell_19">sql</span> -h <span xsscleaned=3D"nicSpell_2= 0">localhost</span> -p 5432 -U <span xsscleaned=3D"nicSpell_21">postgres= </span> -d engine -c "select 1"<br>2012-05-17 17:02:29::DEBUG::common_ut= ils::291::root:: output =3D<br>2012-05-17 17:02:29::DEBUG::common_utils:= :292::root:: <span xsscleaned=3D"nicSpell_22">stderr</span> =3D p<span x= sscleaned=3D"nicSpell_23">sql</span>: FATAL: database "engine" doe= s not exist<br><br>2012-05-17 17:02:29::DEBUG::common_utils::293::root::= <span xsscleaned=3D"nicSpell_24">retcode</span> =3D 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 --&g= t; '/etc/<span xsscleaned=3D"nicSpell_25">pki</span>/<span xsscleaned=3D= "nicSpell_26">ovirt</span>-engine/encryptpasswd.sh ********'<br>2012-05-= 17 17:02:29::DEBUG::common_utils::335::root:: output =3D /<span xssclean= ed=3D"nicSpell_27">usr</span>/share/<span xsscleaned=3D"nicSpell_28">jbo= ss</span>-as ~/db-backups<br>~/db-backups<br><br>2012-05-17 17:02:29::DE= BUG::common_utils::336::root:: <span xsscleaned=3D"nicSpell_29">stderr</= span> =3D Exception in thread "main" java.<span xsscleaned=3D"nicSpell_3= 0">lang</span>.NoClassDefFoundError: org/<span xsscleaned=3D"nicSpell_31= ">picketbox</span>/<span xsscleaned=3D"nicSpell_32">datasource</span>/se= curity/SecureIdentityLoginModule<br>Caused by: java.<span xsscleaned=3D"= nicSpell_33">lang</span>.ClassNotFoundException: org.<span xsscleaned=3D= "nicSpell_34">picketbox</span>.<span xsscleaned=3D"nicSpell_35">datasour= ce</span>.security.SecureIdentityLoginModule<br> = at java.net.<span xsscleaned=3D"nicSpell_36">URL<span= xsscleaned=3D"nicSpell_37">ClassLoader</span></span>$1.run(<span xsscle= aned=3D"nicSpell_38">URL<span xsscleaned=3D"nicSpell_39">ClassLoader</sp= an></span>.java:217)<br> at ja= va.security.<span xsscleaned=3D"nicSpell_40">AccessController</span>.<sp= an xsscleaned=3D"nicSpell_41">doPrivileged</span>(Native Method)<br>&nbs=
.<span xsscleaned=3D"nicSpell_44">findClass</span>(<span xsscleaned=3D"= nicSpell_45">URL<span xsscleaned=3D"nicSpell_46">ClassLoader</span></spa= n>.java:205)<br> at java.<span= xsscleaned=3D"nicSpell_47">lang</span>.<span xsscleaned=3D"nicSpell_48"= ClassLoader</span>.<span xsscleaned=3D"nicSpell_49">loadClass</span>(<s=
ovirt</span>-engine/scripts/setup_controller.py", line 54, in runAllSeq= uences<br> sequence.run()<br> File "/<span xsscl= eaned=3D"nicSpell_75">usr</span>/share/<span xsscleaned=3D"nicSpell_76">= ovirt</span>-engine/scripts/setup_sequences.py", line 152, in run<br>&nb= sp; step.run()<br> File "/<span xsscleaned=3D"nicSpell= _77">usr</span>/share/<span xsscleaned=3D"nicSpell_78">ovirt</span>-engi= ne/scripts/setup_sequences.py", line 59, in run<br> fu= nction()<br> File "/<span xsscleaned=3D"nicSpell_79">usr</span>/bi= n/engine-setup", line 1397, in _encryptDBPass<br> cont= roller.<span xsscleaned=3D"nicSpell_80">CONF</span>["ENCRYPTED_DB_PASS"]= =3D utils.<span xsscleaned=3D"nicSpell_81">parseStrRegex</span>(output,= "Encoded password:\s*(.+)", output_messages.ERR_EXP_PARSING_ENCRYPT_PAS= S)<br> File "/<span xsscleaned=3D"nicSpell_82">usr</span>/share/<s=
This is a message in Mime Format. If you see this, your mail reader does not support this format. --=_78c3b559daa6329358d38496fe9be978 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To avoid this ptoblem with jboss-as-7.1.1.Final one must patch /etc/pki/= ovirt-engine/encryptpasswd.sh=0A=0A#diff encryptpasswd.sh.old encryptpas= swd.sh=0A40c40=0A< $JAVA_BIN -cp "./modules/org/jboss/logging/main/jboss= -logging-3.1.0.CR2.jar:./modules/org/picketbox/main/picketbox-4.0.6.Beta= 1.jar" org.picketbox.datasource.security.SecureIdentityLoginModule $1=0A= ---=0A> $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.p= icketbox.datasource.security.SecureIdentityLoginModule $1=0A=0A=D0=A7=D1= =82=D0=B2 17 =D0=9C=D0=B0=D0=B9 2012 17:26:57 +0400, ovirt@qip.ru =D0=BD= =D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:=0AI installed jboss-as-7.1.1.Final= from zips, as described here=0A=0Ahttp://www.ovirt.org/wiki/Building_Ov= irt_Engine=0A=0Athen yum localinstall engine rpm's from last jenkins bui= ld=0A=0Aduring engine-setup i got error=0A=0ASetting Database Security..= . [ ERROR ]=0AError while parsing encrypted jbo= ss password=0APlease check log file /var/log/ovirt-engine/engine-setup_2= 012_05_17_17_01_38.log for more information=0A=0A# tail -60 /var/log/ovi= rt-engine/engine-setup_2012_05_17_17_01_38.log=0A2012-05-17 17:02:29::DE= BUG::common_utils::292::root:: stderr =3D psql: FATAL: database "engine= " does not exist=0A=0A2012-05-17 17:02:29::DEBUG::common_utils::293::roo= t:: retcode =3D 2=0A2012-05-17 17:02:29::DEBUG::engine-setup::1991::root= :: Checking if db is already installed..=0A2012-05-17 17:02:29::DEBUG::e= ngine-setup::1992::root:: Checking the presence of .pgpass file=0A2012-0= 5-17 17:02:29::DEBUG::common_utils::350::root:: running sql query 'selec= t 1' on db server: 'localhost'.=0A2012-05-17 17:02:29::DEBUG::common_uti= ls::286::root:: cmd =3D /usr/bin/psql -h localhost -p 5432 -U postgres -= d engine -c "select 1"=0A2012-05-17 17:02:29::DEBUG::common_utils::291::= root:: output =3D=0A2012-05-17 17:02:29::DEBUG::common_utils::292::root:= : stderr =3D psql: FATAL: database "engine" does not exist=0A=0A2012-05= -17 17:02:29::DEBUG::common_utils::293::root:: retcode =3D 2=0A2012-05-1= 7 17:02:29::DEBUG::setup_sequences::58::root:: running _encryptDBPass=0A= 2012-05-17 17:02:29::DEBUG::common_utils::309::root:: Executing command= --> '/etc/pki/ovirt-engine/encryptpasswd.sh ********'=0A2012-05-17 17:0= 2:29::DEBUG::common_utils::335::root:: output =3D /usr/share/jboss-as ~/= db-backups=0A~/db-backups=0A=0A2012-05-17 17:02:29::DEBUG::common_utils:= :336::root:: stderr =3D Exception in thread "main" java.lang.NoClassDefF= oundError: org/picketbox/datasource/security/SecureIdentityLoginModule= =0ACaused by: java.lang.ClassNotFoundException: org.picketbox.datasource= .security.SecureIdentityLoginModule=0A at java.net.URLClassLoader= $1.run(URLClassLoader.java:217)=0A at java.security.AccessControl= ler.doPrivileged(Native Method)=0A at java.net.URLClassLoader.fin= dClass(URLClassLoader.java:205)=0A at java.lang.ClassLoader.loadC= lass(ClassLoader.java:321)=0A at sun.misc.Launcher$AppClassLoader= .loadClass(Launcher.java:294)=0A at java.lang.ClassLoader.loadCla= ss(ClassLoader.java:266)=0ACould not find the main class: org.picketbox.= datasource.security.SecureIdentityLoginModule. Program will exit.=0A=0A2= 012-05-17 17:02:29::DEBUG::common_utils::337::root:: retcode =3D 0=0A201= 2-05-17 17:02:29::DEBUG::engine-setup::1983::root:: *** The following pa= rams were used as user input:=0A2012-05-17 17:02:29::DEBUG::engine-setup= ::1988::root:: override-httpd-config: yes=0A2012-05-17 17:02:29::DEBUG::= engine-setup::1988::root:: http-port: 80=0A2012-05-17 17:02:29::DEBUG::e= ngine-setup::1988::root:: https-port: 443=0A2012-05-17 17:02:29::DEBUG::= engine-setup::1988::root:: mac-range: 00:1A:4A:A8:83:00-00:1A:4A:A8:83:F= F=0A2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: host-fqdn: fe= d16-ovirt31.rakurs.com=0A2012-05-17 17:02:29::DEBUG::engine-setup::1988:= :root:: auth-pass: ********=0A2012-05-17 17:02:29::DEBUG::engine-setup::= 1988::root:: org-name: Rakurs=0A2012-05-17 17:02:29::DEBUG::engine-setup= ::1988::root:: default-dc-type: ISCSI=0A2012-05-17 17:02:29::DEBUG::engi= ne-setup::1988::root:: db-remote-install: local=0A2012-05-17 17:02:29::D= EBUG::engine-setup::1988::root:: db-host: localhost=0A2012-05-17 17:02:2= 9::DEBUG::engine-setup::1988::root:: db-local-pass: ********=0A2012-05-1= 7 17:02:29::DEBUG::engine-setup::1988::root:: config-nfs: no=0A2012-05-1= 7 17:02:29::DEBUG::engine-setup::1988::root:: override-iptables: no=0A20= 12-05-17 17:02:29::ERROR::engine-setup::2709::root:: Traceback (most rec= ent call last):=0A File "/usr/bin/engine-setup", line 2703, in =0A m= ain(confFile)=0A File "/usr/bin/engine-setup", line 2494, in main=0A = runSequences()=0A File "/usr/bin/engine-setup", line 2440, in runSequ= ences=0A controller.runAllSequences()=0A File "/usr/share/ovirt-engi= ne/scripts/setup_controller.py", line 54, in runAllSequences=0A seque= nce.run()=0A File "/usr/share/ovirt-engine/scripts/setup_sequences.py",= line 152, in run=0A step.run()=0A File "/usr/share/ovirt-engine/scr= ipts/setup_sequences.py", line 59, in run=0A function()=0A File "/us= r/bin/engine-setup", line 1397, in _encryptDBPass=0A controller.CONF[= "ENCRYPTED_DB_PASS"] =3D utils.parseStrRegex(output, "Encoded password:\= s*(.+)", output_messages.ERR_EXP_PARSING_ENCRYPT_PASS)=0A File "/usr/sh= are/ovirt-engine/scripts/common_utils.py", line 503, in parseStrRegex=0A= raise Exception(errMsg)=0AException: Error while parsing encrypted j= boss password=0A=0AHow is it possible to correct?=0A=0A--=0A=0A-- --=_78c3b559daa6329358d38496fe9be978 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable To avoid this ptoblem with <span>jboss</span>-as-7.1.1.Final one must pa= tch /etc/pki/ovirt-engine/encryptpasswd.sh<br><br>#diff encryptpasswd.sh= .old encryptpasswd.sh<br>40c40<br>< $JAVA_BIN -cp "./modules/org/jbos= s/logging/main/jboss-logging-3.1.0.CR2.jar:./modules/org/picketbox/main/= picketbox-4.0.6.Beta1.jar" org.picketbox.datasource.security.SecureIdent= ityLoginModule $1<br>---<br>> $JAVA_BIN -cp "./modules/org/jboss/logg= ing/main/jboss-logging-3.1.0.GA.jar:./modules/org/picketbox/main/picketb= ox-4.0.7.Final.jar" org.picketbox.datasource.security.SecureIdentityLogi= nModule $1<br><br><br><br><br><br><font color=3D"#666">=D0=A7=D1=82=D0= =B2 17 =D0=9C=D0=B0=D0=B9 2012 17:26:57 +0400, ovirt@qip.ru =D0=BD=D0=B0= =D0=BF=D0=B8=D1=81=D0=B0=D0=BB:</font><br><blockquote style=3D"padding-l= eft:10px; margin:10px 10px 10px 0px; border-left:#aaa 2px dotted">I inst= alled <span xsscleaned=3D"nicSpell_0">jboss</span>-as-7.1.1.Final from z= ips, as described here<br><br>http://<span xsscleaned=3D"nicSpell_2">www= </span>.<span xsscleaned=3D"nicSpell_3">ovirt</span>.org/<span xsscleane= d=3D"nicSpell_4">wiki</span>/Building_<span xsscleaned=3D"nicSpell_5">Ov= irt</span>_Engine<br><br>then yum <span xsscleaned=3D"nicSpell_6">locali= nstall</span> engine rpm's from last <span xsscleaned=3D"nicSpell_7">jen= kins</span> build<br><br>during engine-setup i got error<br><br>Setting= Database Security... &nb= sp; &nb= sp; [ ERROR ]<br>Error while parsing encrypted <= span xsscleaned=3D"nicSpell_8">jboss</span> password<br>Please check log= file /var/log/<span xsscleaned=3D"nicSpell_9">ovirt</span>-engine/engin= e-setup_2012_05_17_17_01_38.log for more information<br><br><br><br># ta= il -60 /var/log/<span xsscleaned=3D"nicSpell_10">ovirt</span>-engine/eng= ine-setup_2012_05_17_17_01_38.log<br>2012-05-17 17:02:29::DEBUG::common_= utils::292::root:: <span xsscleaned=3D"nicSpell_11">stderr</span> =3D p<= span xsscleaned=3D"nicSpell_12">sql</span>: FATAL: database "engin= e" does not exist<br><br>2012-05-17 17:02:29::DEBUG::common_utils::293::= root:: <span xsscleaned=3D"nicSpell_13">retcode</span> =3D 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:: C= hecking the presence of .<span xsscleaned=3D"nicSpell_14">pgpass</span>= file<br>2012-05-17 17:02:29::DEBUG::common_utils::350::root:: running <= span xsscleaned=3D"nicSpell_15">sql</span> query 'select 1' on db server= : '<span xsscleaned=3D"nicSpell_16">localhost</span>'.<br>2012-05-17 17:= 02:29::DEBUG::common_utils::286::root:: <span xsscleaned=3D"nicSpell_17"= p; at java.net.<span xsscleaned=3D"n= icSpell_42">URL<span xsscleaned=3D"nicSpell_43">ClassLoader</span></span= pan xsscleaned=3D"nicSpell_50">ClassLoader</span>.java:321)<br> &nb= sp; at sun.misc.Launcher$App<span xssclean= ed=3D"nicSpell_51">ClassLoader</span>.<span xsscleaned=3D"nicSpell_52">l= oadClass</span>(Launcher.java:294)<br> &nbs= p; at java.<span xsscleaned=3D"nicSpell_53">lang</span>.<span xssc= leaned=3D"nicSpell_54">ClassLoader</span>.<span xsscleaned=3D"nicSpell_5= 5">loadClass</span>(<span xsscleaned=3D"nicSpell_56">ClassLoader</span>.= java:266)<br>Could not find the main class: org.<span xsscleaned=3D"nicS= pell_57">picketbox</span>.<span xsscleaned=3D"nicSpell_58">datasource</s= pan>.security.SecureIdentityLoginModule. Program will exit.<br><br>2012-= 05-17 17:02:29::DEBUG::common_utils::337::root:: <span xsscleaned=3D"nic= Spell_59">retcode</span> =3D 0<br>2012-05-17 17:02:29::DEBUG::engine-set= up::1983::root:: *** The following <span xsscleaned=3D"nicSpell_60">para= ms</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:4= A:A8:83:FF<br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::root:: hos= t-fqdn: fed16-<span xsscleaned=3D"nicSpell_61">ovirt</span>31.<span xssc= leaned=3D"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::D= EBUG::engine-setup::1988::root:: org-name: <span xsscleaned=3D"nicSpell_= 63">Rakurs</span><br>2012-05-17 17:02:29::DEBUG::engine-setup::1988::roo= t:: default-dc-type: <span xsscleaned=3D"nicSpell_64">ISCSI</span><br>20= 12-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=3D"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-0= 5-17 17:02:29::DEBUG::engine-setup::1988::root:: override-iptables: no<b= r>2012-05-17 17:02:29::ERROR::engine-setup::2709::root:: <span xsscleane= d=3D"nicSpell_66">Traceback</span> (most recent call last):<br> Fi= le "/<span xsscleaned=3D"nicSpell_67">usr</span>/bin/engine-setup", line= 2703, in <module><br> main(<span xsscleaned=3D"= nicSpell_68">confFile</span>)<br> File "/<span xsscleaned=3D"nicSp= ell_69">usr</span>/bin/engine-setup", line 2494, in main<br> = <span xsscleaned=3D"nicSpell_70">runSequences</span>()<br> = File "/<span xsscleaned=3D"nicSpell_71">usr</span>/bin/engine-setup", l= ine 2440, in <span xsscleaned=3D"nicSpell_72">runSequences</span><br>&nb= sp; controller.runAllSequences()<br> File "/<span xssc= leaned=3D"nicSpell_73">usr</span>/share/<span xsscleaned=3D"nicSpell_74"= pan xsscleaned=3D"nicSpell_83">ovirt</span>-engine/scripts/common_utils.= py", line 503, in <span xsscleaned=3D"nicSpell_84">parseStrRegex</span><= br> raise Exception(<span xsscleaned=3D"nicSpell_85">e= rrMsg</span>)<br>Exception: Error while parsing encrypted <span xssclean= ed=3D"nicSpell_86">jboss</span> password<br><br><br>How is it possible t= o correct?<br><br><br>--<br><br>=0D=0A=0D=0A</blockquote><br><br>--<br>= =0D=0A<br> --=_78c3b559daa6329358d38496fe9be978--