On Feb 3, 10:14 am, Robert Bogdon <robertbog...@gmail.com> wrote: > We're looking at /proc/<pid>/environ to see the environment of the > tomcat process.
What about the environment in which the initscript runs? It is not safe to assume that's the same as the environment of the Tomcat process that gets spawned. Among other things, the initscript environment might affect the command-line options passed to Tomcat or even the JRE with which it is run (if more than one is available), which are some of the places that character encoding can be influenced. Have you compared the command lines with which Tomcat is started? > We're not using SELinux, and in this case everything > is being run by root, though tomcat does switch over to a tomcat user > at some point during it's startup. What really confuses me is why it > works in with all of the debug flags, but not when run normally as a > daemon. I agree that's surprising. I would be very interested in the outcome of Daniel's suggestion to determine which puppetd flags are sufficient to cause the difference in behavior. I would also be interested in the outcome of a companion experiment wherein you use the 'env' command to start puppetd --no-daemonize -- debug --trace --one-time with the minimum sufficient environment to get it to run (perhaps just a minimal path?). Good Luck, John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.