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)
Seems like I have done silly mistake somewhere here is Error after running iHRIS/lib/ 4.0.16/ I2CE/tools/ apache_ tail.php
sudo php /var/lib/
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->setupMagi cData (/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->setupMagi cData (/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 196.41. 62.90/znz_ hr/login I2CE: I2CE->raiseError (/var/lib/ iHRIS/lib/ 4.0.16/ I2CE/lib/ I2CE.php: 304) I2CE->setupMagi cData (/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->setupMagi cData (/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 196.41. 62.90/znz_ hr/login I2CE: I2CE->raiseError (/var/lib/ iHRIS/lib/ 4.0.16/ I2CE/lib/ I2CE.php: 304) I2CE->setupMagi cData (/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->setupMagi cData (/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 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: 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 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
memory storage[Wed Aug 10 01:48:47 2011] [error] [client 41.204.134.159] Refered by : http://
41.204.134.159] Refered by : http://
'=' in /etc/php5/
syntax error, unexpected '=' in /etc/php5/
error, unexpected '=' in /etc/php5/
--- 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)
-- /bugs.launchpad .net/bugs/ 823302
You received this bug notification because you are a member of Zanzibar
HIS, which is subscribed to the bug report.
https:/
Title:
DHIS fails to import iHRIS SDMX-HD data
Status in Zanzibar SDMX-HD:
New
Bug description: itService. java [http-bio- 8080-exec- 6]) x-zip-compresse d, 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]) entInternalProc ess.java [Thread-14]) ervice. java [Thread-14]) ervice. java [Thread-14]) apache- tomcat- 7.0.19/ temp/IMPORT_ 566198454283952 6104_ZIP (DefaultImportS ervice. java [Thread-14]) ervice. java [Thread-14]) entInternalProc ess.java [Thread-14]) lang.NullPointe rException dhis.importexpo rt.xml. LocManagerXSLTL ocator. getTransformerB yTag(LocManager XSLTLocator. java:109) dhis.importexpo rt.xml. XMLPreConverter .transform( XMLPreConverter .java:139) dhis.importexpo rt.DefaultImpor tService. importData( DefaultImportSe rvice.java: 171) dhis.importexpo rt.ImportIntern alProcess. executeStatemen ts(ImportIntern alProcess. java:89) dhis.system. process. AbstractStateme ntInternalProce ss.execute( AbstractStateme ntInternalProce ss.java: 103) dhis.system. process. AbstractStateme ntInternalProce ss.execute( AbstractStateme ntInternalProce ss.java: 40) cave.process. ProcessExecutor .run(ProcessExe cutor.java: 125) Thread. run(Thread. java:662) lang.NullPointe rException dhis.importexpo rt.xml. LocManagerXSLTL ocator. getTransformerB yTag(LocManager XSLTLocator. java:109) dhis.importexpo rt.xml. XMLPreConverter .transform( XMLPreConverter .java:139) dhis.importexpo rt.DefaultImpor tService. importData( DefaultImportSe rvice.java: 171) dhis.importexpo rt.ImportIntern alProcess. executeStatemen ts(ImportIntern alProcess. java:89) dhis.system. process. AbstractStateme ntInternalProce ss.execute( AbstractStateme ntInternalProce ss.java: 103) dhis.system. process. AbstractStateme ntInternalProce ss.execute( AbstractStateme ntInternalProce ss.java: 40) cave.process. ProcessExecutor .run(ProcessExe cutor.java: 125) Thread. run(Thread. java:662)
I am trying to export the file from iHRIS but I receive this error:
* INFO 16:27:43,272 User login success: 'sele' (DefaultUserAud
* INFO 16:28:52,786 Content-type: application/
* INFO 16:28:52,809 Internal process started (AbstractStatem
* INFO 16:28:52,809 Importing stream (DefaultImportS
* INFO 16:28:52,811 Zip file detected (DefaultImportS
* INFO 16:28:52,814 Saved zipstream to file: /usr/local/
* INFO 16:28:52,897 Transforming stream (DefaultImportS
* ERROR 16:28:53,120 Internal process failed (AbstractStatem
java.
at org.hisp.
at org.hisp.
at org.hisp.
at org.hisp.
at org.hisp.
at org.hisp.
at org.amplecode.
at java.lang.
java.
at org.hisp.
at org.hisp.
at org.hisp.
at org.hisp.
at org.hisp.
at org.hisp.
at org.amplecode.
at java.lang.
To manage notifications about this bug go to: /bugs.launchpad .net/zanzibar- sdmx-hd/ +bug/823302/ +subscriptions
https:/