Comment 10 for bug 823302

Revision history for this message
Sele (seleman-ally) wrote : Re: [Bug 823302] Re: DHIS fails to import iHRIS SDMX-HD data

Seems like I have done silly mistake somewhere here is Error after running
sudo php /var/lib/iHRIS/lib/4.0.16/I2CE/tools/apache_tail.php
I am running ubuntu 11.04, please assist

zanhealth@ZANHEALTH:~$ sudo php /var/lib/iHRIS/lib/4.0.16/I2CE/tools/apache_tail.php[Wed Aug 10 01:48:46 2011] [error] [client 41.204.134.159]        Refered by : http://196.41.62.90/znz_hr/login        I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.16/I2CE/lib/I2CE.php:304)              I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.16/I2CE/lib/I2CE.php:592)              I2CE->initializeDSN (/var/lib/iHRIS/sites/znz_hr/pages/index.php:49)        No memcached[Wed Aug 10 01:48:46 2011] [error] [client 41.204.134.159]        Refered by : http://196.41.62.90/znz_hr/login        I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.16/I2CE/lib/I2CE.php:307)              I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.16/I2CE/lib/I2CE.php:592)              I2CE->initializeDSN (/var/lib/iHRIS/sites/znz_hr/pages/index.php:49)        No persistent caching storage mechanism (apc or memchached) is available. Adding simple
 memory storage[Wed Aug 10 01:48:47 2011] [error] [client 41.204.134.159]        Refered by : http://196.41.62.90/znz_hr/login        I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.16/I2CE/lib/I2CE.php:304)              I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.16/I2CE/lib/I2CE.php:592)              I2CE->initializeDSN (/var/lib/iHRIS/sites/znz_hr/pages/index.php:49)        No memcached[Wed Aug 10 01:48:47 2011] [error] [client 41.204.134.159]        Refered by : http://196.41.62.90/znz_hr/login        I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.16/I2CE/lib/I2CE.php:307)              I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.16/I2CE/lib/I2CE.php:592)              I2CE->initializeDSN (/var/lib/iHRIS/sites/znz_hr/pages/index.php:49)        No persistent caching storage mechanism (apc or memchached) is available. Adding simple memory storage[Wed Aug 10 01:48:49 2011] [error] [client
 41.204.134.159]        Refered by : http://196.41.62.90/znz_hr/login        I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.16/I2CE/lib/I2CE.php:304)              I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.16/I2CE/lib/I2CE.php:592)              I2CE->initializeDSN (/var/lib/iHRIS/sites/znz_hr/pages/index.php:49)        No memcached[Wed Aug 10 01:48:49 2011] [error] [client 41.204.134.159]        Refered by : http://196.41.62.90/znz_hr/login        I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.16/I2CE/lib/I2CE.php:307)              I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.16/I2CE/lib/I2CE.php:592)              I2CE->initializeDSN (/var/lib/iHRIS/sites/znz_hr/pages/index.php:49)        No persistent caching storage mechanism (apc or memchached) is available. Adding simple memory storagePHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected
 '=' in /etc/php5/apache2/conf.d/apc.ini on line 1[Wed Aug 10 01:56:02 2011] [error] [client 207.46.204.235] File does not exist: /var/www/robots.txtPHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:
  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1[Wed Aug 10 02:16:38 2011] [notice] caught SIGTERM, shutting downPHP:  syntax error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP:  syntax
 error, unexpected '=' in /etc/php5/apache2/conf.d/apc.ini on line 1PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/apc.soextension' - /usr/lib/php5/20090626+lfs/apc.soextension: cannot open shared object file: No such file or directory in Unknown on line 0[Wed Aug 10 02:16:40 2011] [notice] Apache/2.2.17 (Ubuntu) PHP/5.3.5-1ubuntu7.2 with Suhosin-Patch configured -- resuming normal operations

--- On Tue, 8/9/11, Carl Leitner <email address hidden> wrote:

From: Carl Leitner <email address hidden>
Subject: [Bug 823302] Re: DHIS fails to import iHRIS SDMX-HD data
To: <email address hidden>
Date: Tuesday, August 9, 2011, 12:24 PM

Can you run apache_tail.php and then try the export again to see the
error messages.

I am not sure where apache_tail was installed, but this should work for you:
   `locate apache_tail.php | head -1` 0

(Note there are backtics here, not quotes.  On a US keyboard this is to
the left of the number 1)

--
You received this bug notification because you are a member of Zanzibar
HIS, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/823302

Title:
  DHIS fails to import iHRIS SDMX-HD data

Status in Zanzibar SDMX-HD:
  New

Bug description:
  I am trying to export the file from iHRIS but I receive this error:
  * INFO  16:27:43,272 User login success: 'sele' (DefaultUserAuditService.java [http-bio-8080-exec-6])
  * INFO  16:28:52,786 Content-type: application/x-zip-compressed, filename: /usr/local/apache-tomcat-7.0.19/work/Catalina/localhost/dhis/upload_41f1340e_131aebb410b__8000_00000001.tmp (ImportAction.java [http-bio-8080-exec-6])
  * INFO  16:28:52,809 Internal process started (AbstractStatementInternalProcess.java [Thread-14])
  * INFO  16:28:52,809 Importing stream (DefaultImportService.java [Thread-14])
  * INFO  16:28:52,811 Zip file detected (DefaultImportService.java [Thread-14])
  * INFO  16:28:52,814 Saved zipstream to file: /usr/local/apache-tomcat-7.0.19/temp/IMPORT_5661984542839526104_ZIP (DefaultImportService.java [Thread-14])
  * INFO  16:28:52,897 Transforming stream (DefaultImportService.java [Thread-14])
  * ERROR 16:28:53,120 Internal process failed (AbstractStatementInternalProcess.java [Thread-14])
  java.lang.NullPointerException
          at org.hisp.dhis.importexport.xml.LocManagerXSLTLocator.getTransformerByTag(LocManagerXSLTLocator.java:109)
          at org.hisp.dhis.importexport.xml.XMLPreConverter.transform(XMLPreConverter.java:139)
          at org.hisp.dhis.importexport.DefaultImportService.importData(DefaultImportService.java:171)
          at org.hisp.dhis.importexport.ImportInternalProcess.executeStatements(ImportInternalProcess.java:89)
          at org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatementInternalProcess.java:103)
          at org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatementInternalProcess.java:40)
          at org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)
          at java.lang.Thread.run(Thread.java:662)
  java.lang.NullPointerException
          at org.hisp.dhis.importexport.xml.LocManagerXSLTLocator.getTransformerByTag(LocManagerXSLTLocator.java:109)
          at org.hisp.dhis.importexport.xml.XMLPreConverter.transform(XMLPreConverter.java:139)
          at org.hisp.dhis.importexport.DefaultImportService.importData(DefaultImportService.java:171)
          at org.hisp.dhis.importexport.ImportInternalProcess.executeStatements(ImportInternalProcess.java:89)
          at org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatementInternalProcess.java:103)
          at org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatementInternalProcess.java:40)
          at org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)
          at java.lang.Thread.run(Thread.java:662)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zanzibar-sdmx-hd/+bug/823302/+subscriptions