Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-217

Tomcat 6 and 7 Won't Start Due to Permissions Issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Not A Problem
    • 1.0.7
    • None
    • Jsvc
    • None
    • Arch Linux x86-32

    Description

      I upgraded java-jsvc to the next version available from Arch (1.0.7) as part of a routine box-wide upgrade. From that point, Tomcat started complaining that it didn't have the right permissions to read either manager.xml or host-manager.xml, under /etc/tomcat6/Catalina/localhost/. Perms look OK though: Catalina's mode is 0755 for tomcat:tomcat, so is localhost's; manager.xml and host-manager.xml, under localhost, are both 0644 for tomcat:tomcat. /etc/tomcat6/ is set to mode 0770 for root:root, which was the case previously as well. Nothing appears to have changed on that front as part of the upgrade.
      Tomcat failed to deploy the web application directory host-manager (dixit catalina.err), and as a result I couldn't access the manager app anymore (got a 404 error page telling me the requested resource wasn't available).
      Downgrading java-jsvc to the last known working version (1.0.6) solved the issue.

      The Issue also affects Tomcat 7. Please see below link to my post on Arch's forums for greater detail, incl. a dump of catalina.err and a corroborating post from another Arch user.

      https://bbs.archlinux.org/viewtopic.php?id=125943

      Attachments

        Activity

          People

            Unassigned Unassigned
            aimelynem Aimelyne Mochiron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: