<div dir="ltr">Hi Christoph,<div><br></div><div>see on this page:</div><div><a href="https://docs.google.com/a/cloudssky.com/document/d/1PUNVQXecxABjf5WNh1xb1CWY-FIBZgOTPO1neIi6EgI/edit?pli=1#heading=h.r4ba2ls3mq1o" target="_blank">https://docs.google.com/a/cloudssky.com/document/d/1PUNVQXecxABjf5WNh1xb1CWY-FIBZgOTPO1neIi6EgI/edit?pli=1#heading=h.r4ba2ls3mq1o</a><br>

</div><div><br></div><div>in the appendix of the step by step OpenCms installation guide with Apache, Tomcat 7, MySQL, SSL and much more, works on Ubuntu 12 and 14.<br></div><div><br></div><div>HTH,</div><div>Kind Regards,</div>
<div>Arash</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">
On Mon, Aug 25, 2014 at 3:52 PM, Christoph Kukulies <span dir="ltr"><<a href="mailto:kuku@physik.rwth-aachen.de" target="_blank">kuku@physik.rwth-aachen.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hi Arash,<br>
      <br>
      thanks for answering. Well, I'm running opencms as ROOT app for
      more than 12 (?) years now without problems and<br>
      this problem with opencms_init.log is new, possibly due to the
      strange way Ubuntu sets up tomcat lately.<br>
      <br>
      When you tell me a way to strip off the /opencms prefix without
      running it as a ROOT app, I'll be the first one to<br>
      switch over.<div><br>
      <br>
      <br>
      <div>-- <br>
        Chris Christoph P. U. Kukulies kukulies (at) <a href="http://rwth-aachen.de" target="_blank">rwth-aachen.de</a>
      </div>
      <br>
      <br></div>
       Am 25.08.2014 um 14:59 schrieb Arash Kaffamanesh:<br>
    </div><div><div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi Christoph,
        <div><br>
        </div>
        <div>where is your opencms_init.log placed? find it with:</div>
        <div><br>
        </div>
        <div>find / -name opencms_init.log</div>
        <div><br>
        </div>
        <div>and change the owner:</div>
        <div><br>
        </div>
        <div>chown tomcat7.tomcat7 opencms_init.log</div>
        <div><br>
        </div>
        <div>I guess, since you installed opencms as ROOT app, the init
          log was not placed under /var/lib/tomcat7 and in general its
          not a good idea to install opencms as ROOT app.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>HTH,
          <div class="gmail_extra">
            <div>
              <div dir="ltr">
                <div>
                  <div style="font-family:arial;font-size:small">Kind
                    Regards,</div>
                </div>
                <div style="font-family:arial;font-size:small">Arash</div>
              </div>
            </div>
            <br>
            <div class="gmail_quote">2014-08-25 12:30 GMT+02:00
              Christoph Kukulies <span dir="ltr"><<a href="mailto:kuku@physik.rwth-aachen.de" target="_blank">kuku@physik.rwth-aachen.de</a>></span>:<br>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                <div bgcolor="#FFFFFF" text="#000000">
                  <div>Am 25.08.2014 um 10:31 schrieb Christoph
                    Kukulies:<br>
                  </div>
                  <div>
                    <blockquote type="cite">
                      <div>Ich versuche gerade eine Site hochzuziehen
                        unter Apache2/Tomcat7 (ubuntu 14.04)<br>
                        und ich kriege keinen sauberen Start von tomcat7
                        hin. Weiß nicht, ob ich damit besser in ein
                        tomcat forum gehe oder <br>
                        vielleicht kann mir hier jemand helfen:<br>
                        <br>
                      </div>
                    </blockquote>
                  </div>
                  Sorry, inadvertently used German :)<br>
                  <br>
                  I'm trying to surrect a site under Apache2/Tomcat7
                  (ubuntu 14.04) and tomcat7 is not starting cleanly.
                  <div><br>
                    <br>
                    <blockquote type="cite">
                      <div> Aug 25, 2014 10:22:45 AM
                        org.apache.catalina.startup.HostConfig
                        deployDirectory<br>
                        INFO: Deploying web application directory
                        /var/lib/tomcat7/webapps/ROOT<br>
                        log4j:ERROR setFile(null,true) call failed.<br>
                        java.io.FileNotFoundException:<font color="#ff0000"> opencms_init.log</font>
                        (Permission denied)<br>
                                at java.io.FileOutputStream.open(Native
                        Method)<br>
                                at
                        java.io.FileOutputStream.<init>(FileOutputStream.java:221)<br>
                                at
                        java.io.FileOutputStream.<init>(FileOutputStream.java:142)<br>
                                at
                        org.apache.log4j.FileAppender.setFile(FileAppender.java:290)<br>
                                at
org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:194)<br>
                                at
                        org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)<br>
                                at
                        org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)<br>
                        <br>
                        webapps/ROOT/WEB-INF/logs gehört
                        tomcat7:tomcat7, mode 755.<br>
                      </div>
                    </blockquote>
                    <br>
                  </div>
                  Opencms is starting though.
                  <div><br>
                  </div>
                </div>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div></div>