Hi radw,
thanks for ideas. But of course I executed it as root with proper environment variables and rights.
thanks for ideas. But of course I executed it as root with proper environment variables and rights.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuoteLinux server: cat /etc/redhat-releaseNetXMS version 2.0.4 compiled with next configuration:
Red Hat Enterprise Linux Server release 7.1 (Maipo)
QuoteCPPFLAGS=-I/usr/include/oracle/11.2/client64/ LDFLAGS=-L/usr/lib/oracle/11.2/client64/lib ./configure --with-agent --with-oracle --with-mysql --with-client --with-server --enable-unicode -prefix=/usr/local/netxms --exec-prefix=/usr/local/netxms --disable-ldap --disable-ipv6
QuoteLogFile = /usr/local/netxms/log/netxms.log
#DBDriver = sqlite.ddr
#DBName = /usr/local/netxms/database/netxms_db
DBDriver = mysql.ddr
DBServer = localhost
DBName = <DBNAME_HIDDEN>
DBUser = netxms
DBPassword = <PWD_HIDDEN>
LogFailedSQLQueries = yes
EnableReportingServer = 1
ReportingServerPort = 4710
ReportingServerHostname = localhost
Quote/usr/local/netxms/bin/nxdbmgr set EnableReportingServer 1
/etc/init.d/netxmsd stop
/etc/init.d/netxmsd start
netstat -an | grep 4710
NOTHING
Quote<config>
<workspace>/usr/local/netxms/reporting/workspace</workspace>
<netxmsdConfig>/etc/netxmsd.conf</netxmsdConfig>
</config>
Quote...........
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 40 more
Caused by: java.lang.NullPointerException
at com.radensolutions.reporting.dao.DaoContextConfig.dataSource(DaoContextConfig.java:42)
at com.radensolutions.reporting.dao.DaoContextConfig$$EnhancerBySpringCGLIB$$28d50b10.CGLIB$dataSource$1(<generated>)
........