[rudder-users] "We're sorry, but something went wrong." page: bootchecks - Could not authenticate in ncf API, maybe it was not initialized yet...
Jonathan Untalan
jonathan.untalan at redflaggroup.com
Thu Sep 6 00:22:25 UTC 2018
Hi,
I'm trying to start-up the latest Rudder app in Fedora 28. I already had copied the slapd.conf from the Rudder site and everything installed based from the online installation guide. Entries were updated as needed. I was able to start the Rudder service and Jetty successfully but whenever I tried to access https://localhost/rudder, I get the "We're sorry, but something went wrong." page. Looking into the logs (/var/log/rudder/webapp/), there were no errors but found this repetitive warning at the end of the file: "bootchecks - Could not authenticate in ncf API, maybe it was not initialized yet, retrying in 5 seconds". This happens on both "rudder.auth.provider=file" and "rudder.auth.provider=ldap" scenarios. How do I get around this error and what causes it? Thanks. (Logs are shown below)
/var/log/rudder/webapp/2018_09_05.stderrout.log:
2018-09-06 07:55:23.420:INFO:oejs.SetUIDListener:main: Setting umask=07
2018-09-06 07:55:23.423:INFO:oejs.Server:main: jetty-9.4.7.v20170914
2018-09-06 07:55:23.442:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///opt/rudder/share/webapps/] at interval 1
2018-09-06 07:55:23.928:INFO:oejw.StandardDescriptorProcessor:main: NO JSP Support for /endpoint, did not find org.eclipse.jetty.jsp.JettyJspServlet
Use configuration file defined by JVM property -Dlogback.configurationFile : /opt/rudder/etc/logback.xml
2018-09-06 07:55:24.238:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2018-09-06 07:55:24.239:INFO:oejs.session:main: No SessionScavenger set, using defaults
2018-09-06 07:55:24.239:INFO:oejs.session:main: Scavenging every 600000ms
2018-09-06 07:55:24.528:INFO:oejshC.endpoint:main: Initializing Spring FrameworkServlet 'dispatcher'
[2018-09-06 07:55:24] WARN org.springframework.context.annotation.ConfigurationClassEnhancer - @Bean method PropertyPlaceholderConfig.propertyConfigurer is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details
[2018-09-06 07:55:24] INFO com.normation.inventory.provisioning.endpoint.config.PropertyPlaceholderConfig - Use configuration file defined by JVM property -Dinventoryweb.configFile : /opt/rudder/etc/inventory-web.properties
2018-09-06 07:55:25.490:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext at 4bec1f0c{/endpoint,file:///var/rudder/tmp/jetty/jetty-endpoint.war.dir/webapp/,AVAILABLE}{/endpoint.war}
2018-09-06 07:55:26.332:INFO:oejw.StandardDescriptorProcessor:main: NO JSP Support for /rudder, did not find org.eclipse.jetty.jsp.JettyJspServlet
Use configuration file defined by JVM property -Dlogback.configurationFile : /opt/rudder/etc/logback.xml
[2018-09-06 07:55:26] INFO application - Use configuration file defined by JVM property -Drudder.configFile : /opt/rudder/etc/rudder-web.properties
[2018-09-06 07:55:26] INFO application - Starting Rudder 4.3.4 web application [build timestamp: 2018-08-03T15:03:34Z]
[2018-09-06 07:55:30] INFO application - Starting [Store Agent Run Times] scheduler with a period of 5 s
[2018-09-06 07:55:30] INFO application - List of registered properties:
[2018-09-06 07:55:30] INFO application - registered property: awt.toolkit="sun.awt.X11.XToolkit"
[2018-09-06 07:55:30] INFO application - registered property: bin.emergency.stop="/opt/rudder/bin/cfe-red-button.sh"
[2018-09-06 07:55:30] INFO application - registered property: content.types.user.table="/var/rudder/tmp/jetty/jetty-rudder.war.dir/webapp/WEB-INF/classes/content-types.properties"
[2018-09-06 07:55:30] INFO application - registered property: file.encoding.pkg="sun.io"
[2018-09-06 07:55:30] INFO application - registered property: file.separator="/"
[2018-09-06 07:55:30] INFO application - registered property: history.inventories.rootdir="/var/rudder/inventories/historical"
[2018-09-06 07:55:30] INFO application - registered property: inventoryweb.configFile="/opt/rudder/etc/inventory-web.properties"
[2018-09-06 07:55:30] INFO application - registered property: java.awt.graphicsenv="sun.awt.X11GraphicsEnvironment"
[2018-09-06 07:55:30] INFO application - registered property: java.awt.printerjob="sun.print.PSPrinterJob"
[2018-09-06 07:55:30] INFO application - registered property: java.class.path="/opt/rudder/etc/rudder-jetty-base/resources:/opt/rudder/jetty/lib/servlet-api-3.1.jar:/opt/rudder/jetty/lib/jetty-schemas-3.1.jar:/opt/rudder/jetty/lib/jetty-http-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-server-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-xml-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-util-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-io-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-security-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-servlet-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-webapp-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-deploy-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/setuid/jetty-setuid-java-1.0.3.jar"
[2018-09-06 07:55:30] INFO application - registered property: java.class.version="52.0"
[2018-09-06 07:55:30] INFO application - registered property: java.endorsed.dirs="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/endorsed"
[2018-09-06 07:55:30] INFO application - registered property: java.ext.dirs="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/ext:/usr/java/packages/lib/ext"
[2018-09-06 07:55:30] INFO application - registered property: java.home="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre"
[2018-09-06 07:55:30] INFO application - registered property: java.io.tmpdir="/var/rudder/tmp/jetty"
[2018-09-06 07:55:30] INFO application - registered property: java.library.path="/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"
[2018-09-06 07:55:30] INFO application - registered property: java.runtime.name="OpenJDK Runtime Environment"
[2018-09-06 07:55:30] INFO application - registered property: java.runtime.version="1.8.0_181-b13"
[2018-09-06 07:55:30] INFO application - registered property: java.specification.name="Java Platform API Specification"
[2018-09-06 07:55:30] INFO application - registered property: java.specification.vendor="Oracle Corporation"
[2018-09-06 07:55:30] INFO application - registered property: java.specification.version="1.8"
[2018-09-06 07:55:30] INFO application - registered property: java.vendor.url.bug="http://bugreport.sun.com/bugreport/"
[2018-09-06 07:55:30] INFO application - registered property: java.version="1.8.0_181"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.info="mixed mode"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.name="OpenJDK 64-Bit Server VM"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.specification.name="Java Virtual Machine Specification"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.specification.vendor="Oracle Corporation"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.specification.version="1.8"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.vendor="Oracle Corporation"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.version="25.181-b13"
[2018-09-06 07:55:30] INFO application - registered property: jetty.base="/opt/rudder/etc/rudder-jetty-base"
[2018-09-06 07:55:30] INFO application - registered property: jetty.home="/opt/rudder/jetty"
[2018-09-06 07:55:30] INFO application - registered property: jetty.tag.version="master"
[2018-09-06 07:55:30] INFO application - registered property: jetty.version="9.4.7.v20170914"
[2018-09-06 07:55:30] INFO application - registered property: ldap.authdn="cn=manager,cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: ldap.authpw=**********
[2018-09-06 07:55:30] INFO application - registered property: ldap.host="localhost"
[2018-09-06 07:55:30] INFO application - registered property: ldap.inventories.accepted.basedn="ou=Accepted Inventories, ou=Inventories, cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: ldap.inventories.pending.basedn="ou=Pending Inventories, ou=Inventories, cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: ldap.inventories.removed.basedn="ou=Removed Inventories, ou=Inventories, cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: ldap.inventories.software.basedn="ou=Inventories, cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: ldap.node.base="cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: ldap.port="389"
[2018-09-06 07:55:30] INFO application - registered property: ldap.rudder.base="ou=Rudder, cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: line.separator="\n"
[2018-09-06 07:55:30] INFO application - registered property: logback.configurationFile="/opt/rudder/etc/logback.xml"
[2018-09-06 07:55:30] INFO application - registered property: os.arch="amd64"
[2018-09-06 07:55:30] INFO application - registered property: os.name="Linux"
[2018-09-06 07:55:30] INFO application - registered property: os.version="4.17.19-200.fc28.x86_64"
[2018-09-06 07:55:30] INFO application - registered property: path.separator=":"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.admin.login="rootadmin"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.admin.password="secret"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.ldap.connection.bind.dn="cn=admin,dc=mycorp,dc=com"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.ldap.connection.bind.password=**********
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.ldap.connection.url="ldap://localhost:389/dc=mycorp,dc=com"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.ldap.filter="(&(uid={0})(objectclass=person))"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.ldap.searchbase="ou=People"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.provider="ldap"
[2018-09-06 07:55:30] INFO application - registered property: rudder.authFile="/opt/rudder/etc/rudder-users.xml"
[2018-09-06 07:55:30] INFO application - registered property: rudder.autoArchiveItems="true"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.databasecleaner.runtime.day="sunday"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.databasecleaner.runtime.hour="0"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.databasecleaner.runtime.minute="0"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.dyngroup.updateInterval="5"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.reports.logInterval="1"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.reportscleaner.archive.TTL="4"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.reportscleaner.compliancelevels.delete.TTL="15"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.reportscleaner.delete.TTL="90"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.reportscleaner.frequency="daily"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.storeAgentRunTimes.maxDays="5"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.storeAgentRunTimes.updateInterval="5"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.techniqueLibrary.updateInterval="5"
[2018-09-06 07:55:30] INFO application - registered property: rudder.community.port="5309"
[2018-09-06 07:55:30] INFO application - registered property: rudder.configFile="/opt/rudder/etc/rudder-web.properties"
[2018-09-06 07:55:30] INFO application - registered property: rudder.debug.nodeconfiguration.path="/var/log/rudder/nodeConfigurations"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.backup="/var/rudder/backup/"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.dependencies="/var/rudder/tools"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.gitRoot="/var/rudder/configuration-repository"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.licensesFolder="/opt/rudder/etc/licenses"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.lock="/var/rudder/lock/"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.shared.files.folder="/var/rudder/configuration-repository/shared-files"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.techniques="/var/rudder/configuration-repository/techniques"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.uploaded.file.sharing="/var/rudder/files/"
[2018-09-06 07:55:30] INFO application - registered property: rudder.endpoint.cmdb="http://localhost:8080/endpoint/upload/"
[2018-09-06 07:55:30] INFO application - registered property: rudder.hooks.ignore-suffixes=".swp, ~, .bak, .cfnew , .cfsaved , .cfedited, .cfdisabled, .cfmoved,.dpkg-old, .dpkg-dist, .dpkg-new, .dpkg-tmp,.disable , .disabled , _disable , _disabled,.ucf-old , .ucf-dist , .ucf-new ,.rpmnew , .rpmsave , .rpmorig"
[2018-09-06 07:55:30] INFO application - registered property: rudder.jdbc.driver="org.postgresql.Driver"
[2018-09-06 07:55:30] INFO application - registered property: rudder.jdbc.maxPoolSize="25"
[2018-09-06 07:55:30] INFO application - registered property: rudder.jdbc.password=**********
[2018-09-06 07:55:30] INFO application - registered property: rudder.jdbc.url="jdbc:postgresql://localhost:5432/rudder"
[2018-09-06 07:55:30] INFO application - registered property: rudder.jdbc.username="rudder"
[2018-09-06 07:55:30] INFO application - registered property: rudder.rest.allowNonAuthenticatedUser="true"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.cfengine-mission-portal="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.db="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.inventory-endpoint="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.ldap="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.relay-promises-only="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.relay-top="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.web="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server.relay.api="https://localhost/rudder/relay-api"
[2018-09-06 07:55:30] INFO application - registered property: rudder.syslog.port="514"
[2018-09-06 07:55:30] INFO application - registered property: rudder.techniqueLibrary.git.refs.path="refs/heads/master"
[2018-09-06 07:55:30] INFO application - registered property: rudder.webdav.password=**********
[2018-09-06 07:55:30] INFO application - registered property: rudder.webdav.user="rudder"
[2018-09-06 07:55:30] INFO application - registered property: run.mode="production"
[2018-09-06 07:55:30] INFO application - registered property: sun.arch.data.model="64"
[2018-09-06 07:55:30] INFO application - registered property: sun.boot.class.path="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/classes"
[2018-09-06 07:55:30] INFO application - registered property: sun.boot.library.path="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/amd64"
[2018-09-06 07:55:30] INFO application - registered property: sun.cpu.endian="little"
[2018-09-06 07:55:30] INFO application - registered property: sun.cpu.isalist=""
[2018-09-06 07:55:30] INFO application - registered property: sun.io.unicode.encoding="UnicodeLittle"
[2018-09-06 07:55:30] INFO application - registered property: sun.java.command="/opt/rudder/jetty/start.jar OPTIONS=Server jetty.state=/opt/rudder/etc/rudder-jetty-base/rudder-jetty.state jetty-started.xml"
[2018-09-06 07:55:30] INFO application - registered property: sun.java.launcher="SUN_STANDARD"
[2018-09-06 07:55:30] INFO application - registered property: sun.jnu.encoding="ANSI_X3.4-1968"
[2018-09-06 07:55:30] INFO application - registered property: sun.management.compiler="HotSpot 64-Bit Tiered Compilers"
[2018-09-06 07:55:30] INFO application - registered property: sun.os.patch.level="unknown"
[2018-09-06 07:55:30] INFO application - registered property: upload.root.directory="/var/rudder/files/"
[2018-09-06 07:55:30] INFO application - registered property: user.country="US"
[2018-09-06 07:55:30] INFO application - registered property: user.dir="/opt/rudder/etc/rudder-jetty-base"
[2018-09-06 07:55:30] INFO application - registered property: user.home="/root"
[2018-09-06 07:55:30] INFO application - registered property: user.language="en"
[2018-09-06 07:55:30] INFO application - registered property: user.name="root"
[2018-09-06 07:55:30] INFO application - registered property: user.timezone="Asia/Manila"
[2018-09-06 07:55:30] INFO bootchecks - Check LDAP and PostgreSQL connection
[2018-09-06 07:55:30] INFO bootchecks - LDAP and PostgreSQL connection are OK
[2018-09-06 07:55:30] INFO bootchecks - Check mandatory DIT entries
[2018-09-06 07:55:30] INFO bootchecks - All the required DIT entries are present in the LDAP directory
[2018-09-06 07:55:30] INFO bootchecks - Check initialization of User Technique Library
[2018-09-06 07:55:30] INFO bootchecks - Check event log migration format 5 -> 6
[2018-09-06 07:55:30] INFO bootchecks - Check existence of at least one archive of the configuration
[2018-09-06 07:55:30] INFO migration - No migration detected by migration script (table 'migrationeventlog' is empty or does not exist)
[2018-09-06 07:55:30] INFO bootchecks - First full archive of configuration-repository items done
[2018-09-06 07:55:30] INFO bootchecks - Check rules archive directory in configuration-repository
[2018-09-06 07:55:30] INFO bootchecks - Creating directory '/var/rudder/configuration-repository/ruleCategories' exists, done
[2018-09-06 07:55:30] INFO bootchecks - Check that directive variables use the namespace 'rudder'
[2018-09-06 07:55:30] INFO migration - Migration of inline variables in Directives to 'rudder' namespace already done, skipping
[2018-09-06 07:55:30] INFO bootchecks - Check for force reload of Techniques library
[2018-09-06 07:55:30] INFO bootchecks - Flag file '/opt/rudder/etc/force_technique_reload' does not exist, do not Technique library will not be reloaded
[2018-09-06 07:55:30] INFO bootchecks - Resume policy update if it was running before shutdown
[2018-09-06 07:55:30] INFO bootchecks - Flag file '/opt/rudder/etc/policy-update-running' does not exist, No need to start a new policy update
[2018-09-06 07:55:30] INFO bootchecks - Check that system group / directive / rules for Rudder 4.2 are agent-specific
[2018-09-06 07:55:30] INFO bootchecks - Updating system configuration stored in entry 'nodeGroupId=all-nodes-with-cfengine-agent,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration': LDIFModifyChangeRecord(dn='nodeGroupId=all-nodes-with-cfengine-agent,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration', mods={LDAPModification(type=replace, attr=jsonNodeGroupQuery, values={'{"select":"nodeAndPolicyServer","composition":"And","where":[ {"objectType":"node","attribute":"agentName","comparator":"eq","value":"cfengine"} ]}'})})
[2018-09-06 07:55:30] INFO bootchecks - Regenerate all ncf techniques
[2018-09-06 07:55:30] INFO bootchecks - Create system api token
[2018-09-06 07:55:30] INFO bootchecks - System api token file created in /var/rudder/run/api-token
[2018-09-06 07:55:30] INFO bootchecks - Update existing API token to 'RW' autorization level.
2018-09-06 07:55:30.754:INFO:oejshC.rudder:main: Initializing Spring root WebApplicationContext
[2018-09-06 07:55:31] INFO application - Loaded authentication provider(s): [ldap]
[2018-09-06 07:55:31] INFO application - Use configuration file defined by JVM property -Drudder.authFile : /opt/rudder/etc/rudder-users.xml
[2018-09-06 07:55:31] INFO application - Use configuration file defined by JVM property -Drudder.authFile : /opt/rudder/etc/rudder-users.xml
[2018-09-06 07:55:31] INFO bootstrap.liftweb.Boot - classpath
[2018-09-06 07:55:31] INFO application - Application Rudder started
2018-09-06 07:55:31.817:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext at 352c308{/rudder,file:///var/rudder/tmp/jetty/jetty-rudder.war.dir/webapp/,AVAILABLE}{/rudder.war}
2018-09-06 07:55:31.827:INFO:oejs.AbstractConnector:main: Started ServerConnector at 185bf6e0{HTTP/1.1,[http/1.1]}{127.0.0.1:8080}
2018-09-06 07:55:31.827:INFO:oejs.Server:main: Started @8893ms
[2018-09-06 07:55:45] WARN bootchecks - Could not authenticate in ncf API, maybe it was not initialized yet, retrying in 5 seconds
[root at jonathan jonathan.untalan]# head -175 /var/log/rudder/webapp/2018_09_05.stderrout.log
2018-09-06 07:55:23.420:INFO:oejs.SetUIDListener:main: Setting umask=07
2018-09-06 07:55:23.423:INFO:oejs.Server:main: jetty-9.4.7.v20170914
2018-09-06 07:55:23.442:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///opt/rudder/share/webapps/] at interval 1
2018-09-06 07:55:23.928:INFO:oejw.StandardDescriptorProcessor:main: NO JSP Support for /endpoint, did not find org.eclipse.jetty.jsp.JettyJspServlet
Use configuration file defined by JVM property -Dlogback.configurationFile : /opt/rudder/etc/logback.xml
2018-09-06 07:55:24.238:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2018-09-06 07:55:24.239:INFO:oejs.session:main: No SessionScavenger set, using defaults
2018-09-06 07:55:24.239:INFO:oejs.session:main: Scavenging every 600000ms
2018-09-06 07:55:24.528:INFO:oejshC.endpoint:main: Initializing Spring FrameworkServlet 'dispatcher'
[2018-09-06 07:55:24] WARN org.springframework.context.annotation.ConfigurationClassEnhancer - @Bean method PropertyPlaceholderConfig.propertyConfigurer is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details
[2018-09-06 07:55:24] INFO com.normation.inventory.provisioning.endpoint.config.PropertyPlaceholderConfig - Use configuration file defined by JVM property -Dinventoryweb.configFile : /opt/rudder/etc/inventory-web.properties
2018-09-06 07:55:25.490:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext at 4bec1f0c{/endpoint,file:///var/rudder/tmp/jetty/jetty-endpoint.war.dir/webapp/,AVAILABLE}{/endpoint.war}
2018-09-06 07:55:26.332:INFO:oejw.StandardDescriptorProcessor:main: NO JSP Support for /rudder, did not find org.eclipse.jetty.jsp.JettyJspServlet
Use configuration file defined by JVM property -Dlogback.configurationFile : /opt/rudder/etc/logback.xml
[2018-09-06 07:55:26] INFO application - Use configuration file defined by JVM property -Drudder.configFile : /opt/rudder/etc/rudder-web.properties
[2018-09-06 07:55:26] INFO application - Starting Rudder 4.3.4 web application [build timestamp: 2018-08-03T15:03:34Z]
[2018-09-06 07:55:30] INFO application - Starting [Store Agent Run Times] scheduler with a period of 5 s
[2018-09-06 07:55:30] INFO application - List of registered properties:
[2018-09-06 07:55:30] INFO application - registered property: awt.toolkit="sun.awt.X11.XToolkit"
[2018-09-06 07:55:30] INFO application - registered property: bin.emergency.stop="/opt/rudder/bin/cfe-red-button.sh"
[2018-09-06 07:55:30] INFO application - registered property: content.types.user.table="/var/rudder/tmp/jetty/jetty-rudder.war.dir/webapp/WEB-INF/classes/content-types.properties"
[2018-09-06 07:55:30] INFO application - registered property: file.encoding.pkg="sun.io"
[2018-09-06 07:55:30] INFO application - registered property: file.separator="/"
[2018-09-06 07:55:30] INFO application - registered property: history.inventories.rootdir="/var/rudder/inventories/historical"
[2018-09-06 07:55:30] INFO application - registered property: inventoryweb.configFile="/opt/rudder/etc/inventory-web.properties"
[2018-09-06 07:55:30] INFO application - registered property: java.awt.graphicsenv="sun.awt.X11GraphicsEnvironment"
[2018-09-06 07:55:30] INFO application - registered property: java.awt.printerjob="sun.print.PSPrinterJob"
[2018-09-06 07:55:30] INFO application - registered property: java.class.path="/opt/rudder/etc/rudder-jetty-base/resources:/opt/rudder/jetty/lib/servlet-api-3.1.jar:/opt/rudder/jetty/lib/jetty-schemas-3.1.jar:/opt/rudder/jetty/lib/jetty-http-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-server-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-xml-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-util-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-io-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-security-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-servlet-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-webapp-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/jetty-deploy-9.4.7.v20170914.jar:/opt/rudder/jetty/lib/setuid/jetty-setuid-java-1.0.3.jar"
[2018-09-06 07:55:30] INFO application - registered property: java.class.version="52.0"
[2018-09-06 07:55:30] INFO application - registered property: java.endorsed.dirs="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/endorsed"
[2018-09-06 07:55:30] INFO application - registered property: java.ext.dirs="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/ext:/usr/java/packages/lib/ext"
[2018-09-06 07:55:30] INFO application - registered property: java.home="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre"
[2018-09-06 07:55:30] INFO application - registered property: java.io.tmpdir="/var/rudder/tmp/jetty"
[2018-09-06 07:55:30] INFO application - registered property: java.library.path="/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"
[2018-09-06 07:55:30] INFO application - registered property: java.runtime.name="OpenJDK Runtime Environment"
[2018-09-06 07:55:30] INFO application - registered property: java.runtime.version="1.8.0_181-b13"
[2018-09-06 07:55:30] INFO application - registered property: java.specification.name="Java Platform API Specification"
[2018-09-06 07:55:30] INFO application - registered property: java.specification.vendor="Oracle Corporation"
[2018-09-06 07:55:30] INFO application - registered property: java.specification.version="1.8"
[2018-09-06 07:55:30] INFO application - registered property: java.vendor.url.bug="http://bugreport.sun.com/bugreport/"
[2018-09-06 07:55:30] INFO application - registered property: java.version="1.8.0_181"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.info="mixed mode"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.name="OpenJDK 64-Bit Server VM"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.specification.name="Java Virtual Machine Specification"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.specification.vendor="Oracle Corporation"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.specification.version="1.8"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.vendor="Oracle Corporation"
[2018-09-06 07:55:30] INFO application - registered property: java.vm.version="25.181-b13"
[2018-09-06 07:55:30] INFO application - registered property: jetty.base="/opt/rudder/etc/rudder-jetty-base"
[2018-09-06 07:55:30] INFO application - registered property: jetty.home="/opt/rudder/jetty"
[2018-09-06 07:55:30] INFO application - registered property: jetty.tag.version="master"
[2018-09-06 07:55:30] INFO application - registered property: jetty.version="9.4.7.v20170914"
[2018-09-06 07:55:30] INFO application - registered property: ldap.authdn="cn=manager,cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: ldap.authpw=**********
[2018-09-06 07:55:30] INFO application - registered property: ldap.host="localhost"
[2018-09-06 07:55:30] INFO application - registered property: ldap.inventories.accepted.basedn="ou=Accepted Inventories, ou=Inventories, cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: ldap.inventories.pending.basedn="ou=Pending Inventories, ou=Inventories, cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: ldap.inventories.removed.basedn="ou=Removed Inventories, ou=Inventories, cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: ldap.inventories.software.basedn="ou=Inventories, cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: ldap.node.base="cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: ldap.port="389"
[2018-09-06 07:55:30] INFO application - registered property: ldap.rudder.base="ou=Rudder, cn=rudder-configuration"
[2018-09-06 07:55:30] INFO application - registered property: line.separator="\n"
[2018-09-06 07:55:30] INFO application - registered property: logback.configurationFile="/opt/rudder/etc/logback.xml"
[2018-09-06 07:55:30] INFO application - registered property: os.arch="amd64"
[2018-09-06 07:55:30] INFO application - registered property: os.name="Linux"
[2018-09-06 07:55:30] INFO application - registered property: os.version="4.17.19-200.fc28.x86_64"
[2018-09-06 07:55:30] INFO application - registered property: path.separator=":"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.admin.login="rootadmin"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.admin.password="secret"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.ldap.connection.bind.dn="cn=admin,dc=mycorp,dc=com"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.ldap.connection.bind.password=**********
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.ldap.connection.url="ldap://localhost:389/dc=mycorp,dc=com"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.ldap.filter="(&(uid={0})(objectclass=person))"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.ldap.searchbase="ou=People"
[2018-09-06 07:55:30] INFO application - registered property: rudder.auth.provider="ldap"
[2018-09-06 07:55:30] INFO application - registered property: rudder.authFile="/opt/rudder/etc/rudder-users.xml"
[2018-09-06 07:55:30] INFO application - registered property: rudder.autoArchiveItems="true"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.databasecleaner.runtime.day="sunday"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.databasecleaner.runtime.hour="0"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.databasecleaner.runtime.minute="0"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.dyngroup.updateInterval="5"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.reports.logInterval="1"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.reportscleaner.archive.TTL="4"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.reportscleaner.compliancelevels.delete.TTL="15"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.reportscleaner.delete.TTL="90"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.reportscleaner.frequency="daily"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.storeAgentRunTimes.maxDays="5"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.storeAgentRunTimes.updateInterval="5"
[2018-09-06 07:55:30] INFO application - registered property: rudder.batch.techniqueLibrary.updateInterval="5"
[2018-09-06 07:55:30] INFO application - registered property: rudder.community.port="5309"
[2018-09-06 07:55:30] INFO application - registered property: rudder.configFile="/opt/rudder/etc/rudder-web.properties"
[2018-09-06 07:55:30] INFO application - registered property: rudder.debug.nodeconfiguration.path="/var/log/rudder/nodeConfigurations"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.backup="/var/rudder/backup/"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.dependencies="/var/rudder/tools"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.gitRoot="/var/rudder/configuration-repository"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.licensesFolder="/opt/rudder/etc/licenses"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.lock="/var/rudder/lock/"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.shared.files.folder="/var/rudder/configuration-repository/shared-files"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.techniques="/var/rudder/configuration-repository/techniques"
[2018-09-06 07:55:30] INFO application - registered property: rudder.dir.uploaded.file.sharing="/var/rudder/files/"
[2018-09-06 07:55:30] INFO application - registered property: rudder.endpoint.cmdb="http://localhost:8080/endpoint/upload/"
[2018-09-06 07:55:30] INFO application - registered property: rudder.hooks.ignore-suffixes=".swp, ~, .bak, .cfnew , .cfsaved , .cfedited, .cfdisabled, .cfmoved,.dpkg-old, .dpkg-dist, .dpkg-new, .dpkg-tmp,.disable , .disabled , _disable , _disabled,.ucf-old , .ucf-dist , .ucf-new ,.rpmnew , .rpmsave , .rpmorig"
[2018-09-06 07:55:30] INFO application - registered property: rudder.jdbc.driver="org.postgresql.Driver"
[2018-09-06 07:55:30] INFO application - registered property: rudder.jdbc.maxPoolSize="25"
[2018-09-06 07:55:30] INFO application - registered property: rudder.jdbc.password=**********
[2018-09-06 07:55:30] INFO application - registered property: rudder.jdbc.url="jdbc:postgresql://localhost:5432/rudder"
[2018-09-06 07:55:30] INFO application - registered property: rudder.jdbc.username="rudder"
[2018-09-06 07:55:30] INFO application - registered property: rudder.rest.allowNonAuthenticatedUser="true"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.cfengine-mission-portal="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.db="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.inventory-endpoint="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.ldap="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.relay-promises-only="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.relay-top="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server-roles.web="autodetect"
[2018-09-06 07:55:30] INFO application - registered property: rudder.server.relay.api="https://localhost/rudder/relay-api"
[2018-09-06 07:55:30] INFO application - registered property: rudder.syslog.port="514"
[2018-09-06 07:55:30] INFO application - registered property: rudder.techniqueLibrary.git.refs.path="refs/heads/master"
[2018-09-06 07:55:30] INFO application - registered property: rudder.webdav.password=**********
[2018-09-06 07:55:30] INFO application - registered property: rudder.webdav.user="rudder"
[2018-09-06 07:55:30] INFO application - registered property: run.mode="production"
[2018-09-06 07:55:30] INFO application - registered property: sun.arch.data.model="64"
[2018-09-06 07:55:30] INFO application - registered property: sun.boot.class.path="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/classes"
[2018-09-06 07:55:30] INFO application - registered property: sun.boot.library.path="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/jre/lib/amd64"
[2018-09-06 07:55:30] INFO application - registered property: sun.cpu.endian="little"
[2018-09-06 07:55:30] INFO application - registered property: sun.cpu.isalist=""
[2018-09-06 07:55:30] INFO application - registered property: sun.io.unicode.encoding="UnicodeLittle"
[2018-09-06 07:55:30] INFO application - registered property: sun.java.command="/opt/rudder/jetty/start.jar OPTIONS=Server jetty.state=/opt/rudder/etc/rudder-jetty-base/rudder-jetty.state jetty-started.xml"
[2018-09-06 07:55:30] INFO application - registered property: sun.java.launcher="SUN_STANDARD"
[2018-09-06 07:55:30] INFO application - registered property: sun.jnu.encoding="ANSI_X3.4-1968"
[2018-09-06 07:55:30] INFO application - registered property: sun.management.compiler="HotSpot 64-Bit Tiered Compilers"
[2018-09-06 07:55:30] INFO application - registered property: sun.os.patch.level="unknown"
[2018-09-06 07:55:30] INFO application - registered property: upload.root.directory="/var/rudder/files/"
[2018-09-06 07:55:30] INFO application - registered property: user.country="US"
[2018-09-06 07:55:30] INFO application - registered property: user.dir="/opt/rudder/etc/rudder-jetty-base"
[2018-09-06 07:55:30] INFO application - registered property: user.home="/root"
[2018-09-06 07:55:30] INFO application - registered property: user.language="en"
[2018-09-06 07:55:30] INFO application - registered property: user.name="root"
[2018-09-06 07:55:30] INFO application - registered property: user.timezone="Asia/Manila"
[2018-09-06 07:55:30] INFO bootchecks - Check LDAP and PostgreSQL connection
[2018-09-06 07:55:30] INFO bootchecks - LDAP and PostgreSQL connection are OK
[2018-09-06 07:55:30] INFO bootchecks - Check mandatory DIT entries
[2018-09-06 07:55:30] INFO bootchecks - All the required DIT entries are present in the LDAP directory
[2018-09-06 07:55:30] INFO bootchecks - Check initialization of User Technique Library
[2018-09-06 07:55:30] INFO bootchecks - Check event log migration format 5 -> 6
[2018-09-06 07:55:30] INFO bootchecks - Check existence of at least one archive of the configuration
[2018-09-06 07:55:30] INFO migration - No migration detected by migration script (table 'migrationeventlog' is empty or does not exist)
[2018-09-06 07:55:30] INFO bootchecks - First full archive of configuration-repository items done
[2018-09-06 07:55:30] INFO bootchecks - Check rules archive directory in configuration-repository
[2018-09-06 07:55:30] INFO bootchecks - Creating directory '/var/rudder/configuration-repository/ruleCategories' exists, done
[2018-09-06 07:55:30] INFO bootchecks - Check that directive variables use the namespace 'rudder'
[2018-09-06 07:55:30] INFO migration - Migration of inline variables in Directives to 'rudder' namespace already done, skipping
[2018-09-06 07:55:30] INFO bootchecks - Check for force reload of Techniques library
[2018-09-06 07:55:30] INFO bootchecks - Flag file '/opt/rudder/etc/force_technique_reload' does not exist, do not Technique library will not be reloaded
[2018-09-06 07:55:30] INFO bootchecks - Resume policy update if it was running before shutdown
[2018-09-06 07:55:30] INFO bootchecks - Flag file '/opt/rudder/etc/policy-update-running' does not exist, No need to start a new policy update
[2018-09-06 07:55:30] INFO bootchecks - Check that system group / directive / rules for Rudder 4.2 are agent-specific
[2018-09-06 07:55:30] INFO bootchecks - Updating system configuration stored in entry 'nodeGroupId=all-nodes-with-cfengine-agent,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration': LDIFModifyChangeRecord(dn='nodeGroupId=all-nodes-with-cfengine-agent,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration', mods={LDAPModification(type=replace, attr=jsonNodeGroupQuery, values={'{"select":"nodeAndPolicyServer","composition":"And","where":[ {"objectType":"node","attribute":"agentName","comparator":"eq","value":"cfengine"} ]}'})})
[2018-09-06 07:55:30] INFO bootchecks - Regenerate all ncf techniques
[2018-09-06 07:55:30] INFO bootchecks - Create system api token
[2018-09-06 07:55:30] INFO bootchecks - System api token file created in /var/rudder/run/api-token
[2018-09-06 07:55:30] INFO bootchecks - Update existing API token to 'RW' autorization level.
2018-09-06 07:55:30.754:INFO:oejshC.rudder:main: Initializing Spring root WebApplicationContext
[2018-09-06 07:55:31] INFO application - Loaded authentication provider(s): [ldap]
[2018-09-06 07:55:31] INFO application - Use configuration file defined by JVM property -Drudder.authFile : /opt/rudder/etc/rudder-users.xml
[2018-09-06 07:55:31] INFO application - Use configuration file defined by JVM property -Drudder.authFile : /opt/rudder/etc/rudder-users.xml
[2018-09-06 07:55:31] INFO bootstrap.liftweb.Boot - classpath
[2018-09-06 07:55:31] INFO application - Application Rudder started
2018-09-06 07:55:31.817:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext at 352c308{/rudder,file:///var/rudder/tmp/jetty/jetty-rudder.war.dir/webapp/,AVAILABLE}{/rudder.war}
2018-09-06 07:55:31.827:INFO:oejs.AbstractConnector:main: Started ServerConnector at 185bf6e0{HTTP/1.1,[http/1.1]}{127.0.0.1:8080}
2018-09-06 07:55:31.827:INFO:oejs.Server:main: Started @8893ms
[2018-09-06 07:55:45] WARN bootchecks - Could not authenticate in ncf API, maybe it was not initialized yet, retrying in 5 seconds
[2018-09-06 07:55:54] WARN bootchecks - Could not authenticate in ncf API, maybe it was not initialized yet, retrying in 5 seconds
[2018-09-06 07:56:03] WARN bootchecks - Could not authenticate in ncf API, maybe it was not initialized yet, retrying in 5 seconds
Kind Regards, <https://localhost/rudder,>
Jonathan
DISCLAIMER
The information contained in this email and any attachments are confidential. It is intended solely for the individual or entity to whom they are addressed. Access to this email by anyone else is unauthorized.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system.
The Red Flag Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.
Any advice, recommendations or opinion contained within this email or its attachments are not to be construed as legal advice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20180906/7ff085ef/attachment-0001.html>
More information about the rudder-users
mailing list