You find the opencms.log and opencms.properies in the attachment. Note: it is correct that there's no root-password on this server. <br><br><div class="gmail_quote">2010/1/27 Achim Westermann <span dir="ltr"><<a href="mailto:achim.westermann@questico.de">achim.westermann@questico.de</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Jessica,<br>
<br>
I think it's time to send your opencms.log from /WEB-INF/logs/. Your configuration under /WEB-INF/config/ somewhere is broken or refers to<br>
mmissing classes. The log file will tell. You should look for the first exception at start up. Many others follow but those won't help (only<br>
refer to "Unable to read XML configuration".<br>
<br>
kind regards,<br>
<br>
Achim<br>
<div><div></div><div class="h5"><br>
Jessica Maas wrote:<br>
> I checked that and root has the password of the old opencms-installation<br>
> and the old mysql-server. So theoretically there should be no problem...<br>
> I don't understand that.<br>
> And root has got all privileges.<br>
><br>
> But now another problem appeared. I changed the setting you told me<br>
> (max_allowed_packet), I tried 32M, 16M, even 8M or 4M but nothing<br>
> worked. I mean I couldn't restart the mysql-server after changing this<br>
> setting. So I decided to change it back to 1M what it was before, but I<br>
> still can't start mysql now and I have no idea why. I didn't change<br>
> anything else....<br>
><br>
> Something else: I tried another way on a second machine. I installed a<br>
> new version 7.5.1 (alone) without the old data. Then I replaced the<br>
> original database by the old database and made the update, because at<br>
> the first try I remembered that the database-update was successful but<br>
> the following updates not. So I thought if everything is already 7.5.1<br>
> but the database, maybe that could work. And the update went through<br>
> without problems. But sadly.... it still doesn't work.<br>
> When I try to start opencms now, I get this error:<br>
><br>
> HTTP Status 500 -<br>
><br>
> type Exception report<br>
><br>
> message<br>
><br>
> description The server encountered an internal error () that prevented<br>
> it from fulfilling this request.<br>
><br>
> exception<br>
><br>
> org.opencms.main.CmsInitException: Critical error during OpenCms<br>
> initialization: Unable to read the OpenCms XML configuration.<br>
> org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:289)<br>
> org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:128)<br>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)<br>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
><br>
> (Remember I'm testing now on two different machines, because I thought<br>
> it could be successful to try different things but the first machine is<br>
> still like I described it above.)<br>
><br>
><br>
><br>
> 2010/1/26 Frank Pertack <<a href="mailto:fpertack@vater-gruppe.de">fpertack@vater-gruppe.de</a><br>
</div></div><div class="im">> <mailto:<a href="mailto:fpertack@vater-gruppe.de">fpertack@vater-gruppe.de</a>>><br>
><br>
</div><div class="im">> Hi Jessica,<br>
><br>
> yes, in opencms-properties it is used for opencms to contact the DB.<br>
> but the DB needs the data as well to check, whether the the request<br>
> can be accepted, right?<br>
> And since I understood, that you have set up the mysql-DB on the new<br>
> machine vanilla-style, the root-user of the mysql-server has no pw<br>
> assigned yet.<br>
> All you did, is copy the Opencms-DB to the server, but you did not<br>
> tell him that opencms will log in with the respective credentials.<br>
><br>
> I hope, this is the missing link for your problem. So you have to do<br>
> the following with the mysql-DB:<br>
><br>
</div>> 1. In “/etc/my.cnf” unter „mysqld“ den<br>
<div class="im">> Eintrag “max_allowed_packet” ändern<br>
> auf (this allows you to transfer<br>
> bigger data to the opencms Server):*<br>
> *max_allowed_packet = 16M (32M falls<br>
> erforderlich)<br>
</div>> 2. root-Password setzen auf:<br>
<div class="im">> „*yourOpencmspassword*“:<br>
> shell> mysqladmin –u root password<br>
> *yourOpencmspassword*<br>
> or:<br>
> shell> mysql –u root mysql -p<br>
> mysql> SET PASSWORD FOR<br>
> 'root'@'localhost' =<br>
> PASSWORD('*yourOpencmspassword*');<br>
> So this is the way, you have to configure<br>
> mysql in Linux, please have a look at<br>
> MySql-Website for the equivalent procedures<br>
> in Windows!<br>
><br>
> Be aware, it might be necessary, to grant<br>
> privileges to the mysql-user 'root' es well<br>
> with an instruction like the following:<br>
</div>> 1.<br>
> * mysql> GRANT ALL PRIVILEGES ON root.*<br>
<div class="im">> TO ‘root’@‘localhost‘ IDENTIFIED BY<br>
> ’yourOpencmspassword‘;<br>
><br>
> I hope your are successful this time. Have a nice Evening ;-)<br>
><br>
> Best regards<br>
><br>
> Frank<br>
><br>
><br>
</div><div class="im">> Inactive hide details for Jessica Maas ---26.01.2010<br>
> 16:16:04---Isn't the database-user and password saved in the<br>
</div>> opencms.propeJessica Maas ---26.01.2010 16:16:04---Isn't the<br>
<div class="im">> database-user and password saved in the opencms.properties file? If<br>
> yes, then the user and<br>
><br>
><br>
> Von:<br>
> Jessica Maas <<a href="mailto:yukarichan87@googlemail.com">yukarichan87@googlemail.com</a><br>
</div>> <mailto:<a href="mailto:yukarichan87@googlemail.com">yukarichan87@googlemail.com</a>>><br>
<div class="im">><br>
> An:<br>
> The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
</div>> <mailto:<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>>><br>
<div class="im">><br>
> Datum:<br>
> 26.01.2010 16:16<br>
><br>
> Betreff:<br>
> Re: [opencms-dev] Antwort: Re: Antwort: Re: Moving OpenCMS & Update<br>
> --> need help<br>
><br>
> Gesendet von:<br>
</div>> <a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a> <mailto:<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>><br>
<div class="im">><br>
> ------------------------------------------------------------------------<br>
><br>
><br>
><br>
> Isn't the database-user and password saved in the opencms.properties<br>
> file? If yes, then the user and password on the old and the new<br>
> server are the same. The user is root and the passwords are equal.<br>
><br>
</div>> 2010/1/26 Frank Pertack <_fpertack@vater-gruppe.de_<br>
<div class="im">> <mailto:<a href="mailto:fpertack@vater-gruppe.de">fpertack@vater-gruppe.de</a>>><br>
><br>
</div><div class="im">> Hi Jessica,<br>
><br>
> maybe you have to install a localhost-user with the same<br>
> username and password, as you had it in your old<br>
> mysql-installation. I think your webserver wants to<br>
> access the database, but it does not succeed due to<br>
> missing / wrong credentials!<br>
><br>
> Try that out (take the old mysql opencms-user and<br>
> password and it might work!)<br>
><br>
> Best regards<br>
><br>
><br>
> Frank<br>
><br>
><br>
</div>> -----_opencms-dev-bounces@opencms.org_<br>
> <mailto:<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>> schrieb: -----<br>
><br>
><br>
> An: The OpenCms mailing list <_opencms-dev@opencms.org_<br>
> <mailto:<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>>><br>
> Von: Jessica Maas <_yukarichan87@googlemail.com_<br>
> <mailto:<a href="mailto:yukarichan87@googlemail.com">yukarichan87@googlemail.com</a>>><br>
> Gesendet von: _opencms-dev-bounces@opencms.org_<br>
> <mailto:<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>><br>
<div><div></div><div class="h5">> Datum: 26.01.2010 03:51PM<br>
> Betreff: Re: [opencms-dev] Antwort: Re: Moving OpenCMS &<br>
> Update --> need help<br>
><br>
><br>
><br>
> Actually I only copied them into the opencms-folder and<br>
> said "yes" for "overwrite all" so all new files should<br>
> be in there and double replaced by the update-files.<br>
><br>
><br>
> The readme sais " Instructions for updating OpenCms<br>
> 6.x/7.x to OpenCms 7.5.1"<br>
><br>
><br>
> No, it wasn't but I had a similar problem with another<br>
> application where the update then fixed the problem.<br>
> That's why I wanted to try it here, too. But it<br>
> obviously didn't work, so I maybe should first get the<br>
> old version running.<br>
><br>
> If I copy the full webapps folder to tomcat and the<br>
> database into mysql, start tomcat and try to call<br>
> opencms, I get this error now:<br>
><br>
> HTTP Status 500 -<br>
><br>
> type Exception report<br>
><br>
> message<br>
><br>
> description The server encountered an internal error ()<br>
> that prevented it from fulfilling this request.<br>
><br>
> exception<br>
><br>
> org.opencms.main.CmsInitException: Critical error during<br>
> OpenCms initialization: Unable to initialize connection<br>
> pool "default". Is the database up and running?<br>
> org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:265)<br>
> org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:127)<br>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)<br>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
><br>
> note The full stack trace of the root cause is available<br>
> in the Apache Tomcat/6.0-snapshot logs.<br>
><br>
> And yes, the database is up and running.<br>
><br>
><br>
><br>
</div></div>> 2010/1/26 Frank Pertack < _fpertack@vater-gruppe.de_<br>
<div class="im">> <mailto:<a href="mailto:fpertack@vater-gruppe.de">fpertack@vater-gruppe.de</a>> ><br>
><br>
><br>
</div><div class="im">> Hello Jessica,<br>
><br>
> did you make sure, that both, the update- AND the<br>
> WEB_INF-directory of the update-Package is completely<br>
> copied into the opencms-Folder? I had a similar problem<br>
> where the WEB_INF didnt have set the correct<br>
> ownership/permissions on a Linux-machine, so the Update<br>
> could not use all the files of the WEB_INF of the update.<br>
><br>
> Did you check, whether your OpenCms-Version is suitable<br>
> for a one-hop update to 7.52 (I think the name of the<br>
> update-file contains the allowed "from-version".<br>
><br>
> Did you check, whether OpenCms is running after the copy<br>
> onto the new machine before updating it?<br>
><br>
> Good luck<br>
><br>
> Frank<br>
><br>
><br>
</div>> ----- _opencms-dev-bounces@opencms.org_<br>
> <mailto:<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>> schrieb: -----<br>
><br>
><br>
> An: The OpenCms mailing list < _opencms-dev@opencms.org_<br>
> <mailto:<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>> ><br>
> Von: Jessica Maas < _yukarichan87@googlemail.com_<br>
> <mailto:<a href="mailto:yukarichan87@googlemail.com">yukarichan87@googlemail.com</a>> ><br>
> Gesendet von: _opencms-dev-bounces@opencms.org_<br>
> <mailto:<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>><br>
<div class="im">> Datum: 26.01.2010 01:40PM<br>
> Betreff: Re: [opencms-dev] Moving OpenCMS & Update --><br>
> need help<br>
><br>
><br>
> a) It's a Version 6 as far as I know. I currently only<br>
> have the full backup of the webapps folder and the<br>
> database. Is there a way to find that out over the<br>
> file-system?<br>
> b) Windows Server 2003 Enterprise R2<br>
> c) MySQL<br>
> d) I tried something else meanwhile and forgot to save<br>
> the log-files... but I will post them when I repeat the<br>
> first try if this one fails again.<br>
><br>
> Thanks for the link. I will give it a try.<br>
><br>
><br>
</div>> 2010/1/26 Eska < _sven.kiesow@interone.de_<br>
> <mailto:<a href="mailto:sven.kiesow@interone.de">sven.kiesow@interone.de</a>> ><br>
<div><div></div><div class="h5">><br>
><br>
> Hi,<br>
><br>
> there is a lot of Information missing to even think<br>
> about helping you.<br>
><br>
> For example<br>
><br>
> a) what is the OpenCms Version you have to update<br>
> b) on what os is it running?<br>
> c) what is your database<br>
> d) any log file showing something unusual?<br>
><br>
> and so on...<br>
><br>
> Did you read e.g._<br>
> __<a href="http://old.nabble.com/Update-from-7.05-to-7.52-results-in-%22Resource-%28%29-is-not-available%22-td27283167.html__" target="_blank">http://old.nabble.com/Update-from-7.05-to-7.52-results-in-%22Resource-%28%29-is-not-available%22-td27283167.html__</a><br>
> __<a href="http://old.nabble.com/Update-from-7.05-to-7.52-results-in-%22Resource-%28%29-is-not-available%22-td27283167.html_" target="_blank">http://old.nabble.com/Update-from-7.05-to-7.52-results-in-%22Resource-%28%29-is-not-available%22-td27283167.html_</a><br>
> , perhaps you have the same problem.<br>
><br>
> Eska<br>
><br>
><br>
><br>
> Jessica Maas wrote:<br>
> ><br>
> > Hi,<br>
> ><br>
> > I was told to move a current OpenCMS version to<br>
> another server and then<br>
> > update it.<br>
> > This is what I did:<br>
> ><br>
> > I copied the whole "webapps"-folder of Tomcat and<br>
> moved it into the<br>
> > Tomcat-Folder of the new server. Then I copied the<br>
> old opencms-database<br>
> > and<br>
> > moved it to the new server, too. I downloaded the<br>
> upgrade wizard to 7.5.1<br>
> > and followed the steps in the readme. It seems to<br>
> update the database but<br>
> > after the next step the update fails and shows me the<br>
> following error,<br>
> > appearing at:<br>
> _<a href="http://localhost:8080/opencms/update/step_3_xmlupdate.jsp_" target="_blank">http://localhost:8080/opencms/update/step_3_xmlupdate.jsp_</a><br>
> ><br>
> > HTTP Status 500<br>
> > OpenCms is not properly initialized!<br>
> > Please make sure that the OpenCms setup wizard has<br>
> been run once and is<br>
> > disabled now.<br>
> ><br>
> > If I follow the message (disable the wizard) and<br>
> reload the page, I get<br>
> > another error:<br>
> > _<a href="http://img5.imagebanana.com/view/3642uiig/ocms.jpg_" target="_blank">http://img5.imagebanana.com/view/3642uiig/ocms.jpg_</a><br>
> ><br>
> > And it stays even if I enable the wizard again.<br>
> ><br>
> > I tried it a second time, but it didn't work either<br>
> and because the<br>
> > database-update takes very long at each try this is<br>
> very annoying.<br>
> > What could I have done wrong?<br>
> ><br>
> > Thanks in advance,<br>
> > Jessica<br>
> ><br>
> ><br>
><br>
> > _______________________________________________<br>
> > This mail is sent to you from the opencms-dev mailing<br>
> list<br>
> > To change your list options, or to unsubscribe from<br>
> the list, please visit<br>
> > _<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev_" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev_</a><br>
> ><br>
><br>
> --<br>
> View this message in context:<br>
> _<a href="http://old.nabble.com/Moving-OpenCMS---Update---%3E-need-help-tp27321409p27321556.html_" target="_blank">http://old.nabble.com/Moving-OpenCMS---Update---%3E-need-help-tp27321409p27321556.html_</a><br>
> Sent from the OpenCMS - Dev mailing list archive at<br>
> Nabble.com.<br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the<br>
> list, please visit_<br>
> __<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev_" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev_</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the<br>
> list, please visit_<br>
> __<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev_" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev_</a><br>
><br>
><br>
> Frank Pertack<br>
><br>
><br>
> Vater Solution GmbH<br>
> Liebigstraße 26<br>
> 24145 Kiel<br>
><br>
> Telefon: +49 431 20084-210<br>
> Telefax: +49 431 20084-222<br>
> Mobil: +49 151 16353519<br>
</div></div>> mailto: _fpertack@vater-gruppe.de_<br>
<div class="im">> <mailto:<a href="mailto:fpertack@vater-gruppe.de">fpertack@vater-gruppe.de</a>>_<br>
</div>> __<a href="http://www.vater-gruppe.de_" target="_blank">http://www.vater-gruppe.de_</a> <<a href="http://www.vater-gruppe.de/" target="_blank">http://www.vater-gruppe.de/</a>><br>
<div><div></div><div class="h5">><br>
><br>
><br>
> Amtsgericht Kiel, HRB 6403<br>
> Geschäftsführer:<br>
> Klaus-Hinrich Vater<br>
> Michael Wiese<br>
> -----<br>
> Diese Email enthält ggfs. vertrauliche und/oder<br>
> rechtlich geschützte Informationen. Wenn Sie nicht der<br>
> richtige Adressat sind oder diese Email irrtümlich<br>
> erhalten haben, informieren Sie bitte sofort den<br>
> Absender und vernichten Sie diese Email. Das unerlaubte<br>
> Kopieren sowie die unbefugte Weitergabe dieser Email<br>
> sind nicht gestattet.<br>
><br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the<br>
> list, please visit_<br>
> __<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev_" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev_</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the<br>
> list, please visit_<br>
> __<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev_" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev_</a><br>
><br>
> Frank Pertack<br>
><br>
><br>
> Vater Solution GmbH<br>
> Liebigstraße 26<br>
> 24145 Kiel<br>
><br>
> Telefon: +49 431 20084-210<br>
> Telefax: +49 431 20084-222<br>
> Mobil: +49 151 16353519<br>
</div></div>> mailto: _fpertack@vater-gruppe.de_<br>
<div class="im">> <mailto:<a href="mailto:fpertack@vater-gruppe.de">fpertack@vater-gruppe.de</a>>_<br>
</div>> __<a href="http://www.vater-gruppe.de_" target="_blank">http://www.vater-gruppe.de_</a> <<a href="http://www.vater-gruppe.de/" target="_blank">http://www.vater-gruppe.de/</a>><br>
<div><div></div><div class="h5">><br>
><br>
><br>
> Amtsgericht Kiel, HRB 6403<br>
> Geschäftsführer:<br>
> Klaus-Hinrich Vater<br>
> Michael Wiese<br>
> -----<br>
> Diese Email enthält ggfs. vertrauliche und/oder<br>
> rechtlich geschützte Informationen. Wenn Sie nicht der<br>
> richtige Adressat sind oder diese Email irrtümlich<br>
> erhalten haben, informieren Sie bitte sofort den<br>
> Absender und vernichten Sie diese Email. Das unerlaubte<br>
> Kopieren sowie die unbefugte Weitergabe dieser Email<br>
> sind nicht gestattet.<br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the<br>
> list, please visit_<br>
> __<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev_" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev_</a><br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please<br>
> visit<br>
> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
><br>
><br>
> Frank Pertack<br>
><br>
><br>
> Vater Solution GmbH<br>
> Liebigstraße 26<br>
> 24145 Kiel<br>
><br>
> Telefon: +49 431 20084-210<br>
> Telefax: +49 431 20084-222<br>
> Mobil: +49 151 16353519<br>
</div></div>> mailto: <a href="mailto:fpertack@vater-gruppe.de">fpertack@vater-gruppe.de</a> <mailto:<a href="mailto:fpertack@vater-gruppe.de">fpertack@vater-gruppe.de</a>><br>
<div class="im">> <a href="http://www.vater-gruppe.de" target="_blank">http://www.vater-gruppe.de</a><br>
><br>
><br>
><br>
> Amtsgericht Kiel, HRB 6403<br>
> Geschäftsführer:<br>
> Klaus-Hinrich Vater<br>
> Michael Wiese<br>
> -----<br>
> Diese Email enthält ggfs. vertrauliche und/oder rechtlich geschützte<br>
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese<br>
> Email irrtümlich erhalten haben, informieren Sie bitte sofort den<br>
> Absender und vernichten Sie diese Email. Das unerlaubte Kopieren<br>
> sowie die unbefugte Weitergabe dieser Email sind nicht gestattet.<br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please<br>
> visit<br>
> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please visit<br>
> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</div></div></blockquote></div><br>