Posted on 03-14-2024 07:56 AM
Hello,
I believe I do soemthing wrong here:
1. Installed fresh Linux 8.8
2. Installed java 11 devel
3. Installed MySQL 8.36
4. run jamfproinstaller and:
[2024-03-14 09:49:18]: Installing...
[2024-03-14 09:49:18]: Starting Tomcat Installation...
[2024-03-14 09:49:18]: Detected previously installed Tomcat...
[2024-03-14 09:49:18]: Upgrading Tomcat service...
[2024-03-14 09:49:18]: Reloading system daemon...
[2024-03-14 09:49:18]: Enabling Tomcat to run at startup...
[2024-03-14 09:49:18]: Copying backup of Tomcat (/usr/local/jss/tomcat) to /usr/local/jss/backups/tomcat/2024-03-14_09-49-18...
[2024-03-14 09:49:20]: Copying Tomcat files...
[2024-03-14 09:49:20]: Setting permissions...
[2024-03-14 09:49:20]: Restoring /usr/local/jss/tomcat/conf/*.xml...
[2024-03-14 09:49:20]: Transforming the server.xml...
[2024-03-14 09:49:22]: Transforming the web.xml...
[2024-03-14 09:49:23]: Restoring /usr/local/jss/tomcat/.keystore...
[2024-03-14 09:49:23]: Restoring /usr/local/jss/tomcat/bin/setenv.sh...
[2024-03-14 09:49:23]: Tomcat Installation Done!
[2024-03-14 09:49:23]: Starting Jamf Pro Installation
[2024-03-14 09:49:23]: Deleting Tomcat work directory...
[2024-03-14 09:49:23]: Copying Jamf Pro Webapp...
[2024-03-14 09:49:24]: Jar command found...
[2024-03-14 09:49:24]: Creating the ROOT webapp directory for extraction point
[2024-03-14 09:49:24]: Extracting ROOT.war using jar command...
[2024-03-14 09:49:27]: ROOT.war extracted successfully
[2024-03-14 09:49:27]: Done extracting war...
[2024-03-14 09:49:27]: Finalizing Tomcat and Web App settings...
[2024-03-14 09:49:29]: Applying database.xslt to database.xml...
[2024-03-14 09:49:30]: Restoring /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/xml/DataBase.xml.new
[2024-03-14 09:49:30]: Restoring /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/classes/xml/restrictions.xml
[2024-03-14 09:49:30]: Restoring /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/classes/log4j2.xml
[2024-03-14 09:49:30]: Restoring /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/classes/dal/cache.properties
[2024-03-14 09:49:30]: Restoring /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/classes/dal/ehcache.properties
[2024-03-14 09:49:30]: Restoring /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/classes/dal/memcached.properties
[2024-03-14 09:49:30]: Tomcat startup failed
my MySQL:
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| sys |
+--------------------+
4 rows in set (0.01 sec)
Posted on 03-14-2024 08:02 AM
NAME="Oracle Linux Server"
VERSION="8.9"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.9"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.9"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:9:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
Posted on 03-14-2024 08:13 AM
Verifying archive integrity... All good.
Uncompressing Jamf Pro Installer 100%
Starting the Linux Jamf Pro Installation
Checking installation requirements...
Checking for a 64-bit OS...OK
Checking available disk space...
OK
Executing set-java-home...
JAVA_HOME is ''...
Setting JAVA_HOME to '/usr/lib/jvm/java-11-openjdk-11.0.22.0.7-2.0.1.el8.x86_64'
Checking for Java 11...
Verifying JCE Unlimited Strength Jurisdiction Policy files...
Java JCE files verified
Checking if Tomcat is running...
checks/testTomcatRequirements.sh: line 48: lsof: command not found
checks/testTomcatRequirements.sh: line 48: lsof: command not found
Passed Tomcat requirements...
Passed all requirements
The InnoDB storage engine for the MySQL database is required for Jamf Pro 10.10.0 or later. Jamf Pro 10.10.0 or later will not start if any database tables use the MyISAM storage engine.
After running the installer and before starting Jamf Pro, you must convert any existing MyISAM database tables to InnoDB (if you have not already done so). Please allow for extra time to complete the entire upgrade process.
For more information, see the following Knowledge Base article:
https://www.jamf.com/jamf-nation/articles/531
Press any key to proceed:
To be installed into /usr/local/jss:
* Tomcat 9.0.85
* Jamf Pro
* Jamf Pro Server Tools
Recommended hardware:
* A 64-bit capable processor
* 8 GB of RAM
* 150 GB of disk space available
Proceed? (y/n): y
Installing...
Executing set-java-home...
JAVA_HOME is ''...
Setting JAVA_HOME to '/usr/lib/jvm/java-11-openjdk-11.0.22.0.7-2.0.1.el8.x86_64'
Starting Tomcat Installation...
Detected previously installed Tomcat...
Upgrading Tomcat service...
Reloading system daemon...
Enabling Tomcat to run at startup...
Copying backup of Tomcat (/usr/local/jss/tomcat) to /usr/local/jss/backups/tomcat/2024-03-14_10-12-43...
Copying Tomcat files...
Setting permissions...
Restoring /usr/local/jss/tomcat/conf/*.xml...
Transforming the server.xml...
Transforming the web.xml...
Restoring /usr/local/jss/tomcat/.keystore...
Restoring /usr/local/jss/tomcat/bin/setenv.sh...
Tomcat Installation Done!
Starting Jamf Pro Installation
Deleting Tomcat work directory...
Copying Jamf Pro Webapp...
Jar command found...
Creating the ROOT webapp directory for extraction point
Extracting ROOT.war using jar command...
ROOT.war extracted successfully
Done extracting war...
Finalizing Tomcat and Web App settings...
Applying database.xslt to database.xml...
Restoring /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/xml/DataBase.xml.new
Restoring /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/classes/xml/restrictions.xml
Restoring /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/classes/log4j2.xml
Restoring /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/classes/dal/cache.properties
Restoring /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/classes/dal/ehcache.properties
Restoring /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/classes/dal/memcached.properties
Tomcat startup failed
Posted on 03-19-2024 12:47 AM
Did you try MySQL 8.0.34?
See Jamf Pro System Requirements - Jamf Pro Release Notes 11.3.0 | Jamf (Jamf Pro Server Environment)
Posted on 03-19-2024 04:42 AM
Yes, I tried 8.34, and the same issue.
Its not MYSQL - even Ubuntu 18 with MySQL 8.36 works fine. Its something else not related to MySQL.
I have tried:
RHEL 8.2 with MySQL 8.34 & 836 - same issue - same error
RHEL 9.2 with MySQL 8.34 & 836 - same issue - same error
Centos 8 with MySQL 8.34 & 836 - same issue - same error
Ubuntu 18, 20, 22 with MySQL 8.34 & 836 all fine. My assumption is RHEL 8.2 & 9.2 was not tested and not ready for using JAMF pro installer - ??????
Posted on 03-19-2024 09:46 AM
anybody else having an issue with Linux 8 or 9?
Posted on 04-08-2024 05:28 AM
I have started migrating from RHEL 7 to 8. 11.4.0 installed successfully on RHEL 7, after installing JAMF on RHEL 8.9 tomcat failed to start
Posted on 04-10-2024 12:29 PM
Have you tried running startup.sh? instead of tomcat service unit?
I tried startup.sh it worked. Also check catalina.out file in /usr/local/jss/tomcat/logs/catalina.out