On 20-05-2020 14:44, fatcharly via Users wrote: > I'm using djigzo 4.6 with postgresql on an fully patched CentOS 7.8 > When I try to change the installed certificate for the webadmin-frontend, I > get the following messages: > > There was an error uploading the PKCS#12 file. Cause: Cannot run program > "/usr/share/tomcat/scripts/execute-script-no-root.sh": error=2, No such file > or directory > > Problem is, there is no "scripts"-folder under /usr/share/tomcat/ . > > How do I resolve the problem ?
The most likely reason this happens is that djigzo.home parameter is not set for Tomcat. check whether /etc/sysconfig/tomcat contains the following line: JAVA_OPTS="-Ddjigzo-web.home=/usr/share/djigzo-web -Ddjigzo.home=/usr/share/djigzo -Djava.awt.headless=true -Xmx128M -Djdk.tls.ephemeralDHKeySize=2048" Note: djigzo.home should point to the directory where the back-end is installed If this is not configured, you can configure this with the following commmand (copied from https://www.ciphermail.com/documentation/installguide/pages/redhat-centos.html): echo "JAVA_OPTS=\"-Ddjigzo-web.home=/usr/share/djigzo-web \ -Ddjigzo.home=/usr/share/djigzo \ -Djava.awt.headless=true -Xmx128M\"" >> /etc/sysconfig/tomcat Then restart Tomcat Kind regards, Martijn Brinkers -- CipherMail email encryption Email encryption with support for S/MIME, OpenPGP, PDF encryption and secure webmail pull. W: https://www.ciphermail.com/ E: [email protected] T: +31 20 290 0088 _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected]
