Error Installation

21 views
Skip to first unread message

tauf...@gmail.com

unread,
Nov 17, 2019, 4:14:25 AM11/17/19
to OpenHIM-Implementers
Hi All,

I've installed openhim on Ubuntu 14.04, and got an error like this.

Couldn't download the latest Root CAs, but it's not a big deal.

Use "require('ssl-root-cas')" instead of "require('ssl-root-cas/latest')"

TypeError [ERR_INVALID_CALLBACK] [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
    at makeCallback (fs.js:143:11)
    at Object.unlink (fs.js:1024:14)
    at /usr/share/openhim-core/node_modules/pem/lib/pem.js:1042:20
    at Array.forEach (<anonymous>)
    at /usr/share/openhim-core/node_modules/pem/lib/pem.js:1041:22
    at done (/usr/share/openhim-core/node_modules/pem/lib/pem.js:982:21)
    at ChildProcess.<anonymous> (/usr/share/openhim-core/node_modules/pem/lib/pem.js:997:13)
    at ChildProcess.emit (events.js:210:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:430:11)
    at Socket.emit (events.js:210:5)
    at Pipe.<anonymous> (net.js:658:12)
2019-11-17T09:10:04.225Z - warn: [master] worker 6015 died
2019-11-17T09:10:04.357Z - info: [master] worker with pid 6035 is online
Needs latest SSL Root Certificate Authority data /usr/share/openhim-core/node_modules/ssl-root-cas/ssl-root-cas-latest.js


Any idea?

Br,
Taufiq

Martin Brocker

unread,
Nov 18, 2019, 1:37:08 AM11/18/19
to tauf...@gmail.com, OpenHIM-Implementers
Hi Taufiq

Thanks for sending through your query. Would you mind providing me with a bit more detail in terms of your setup and configuration?

You mentioned you are installing the OpenHIM core on Ubuntu 14.04. Unfortunately, we don't support that version of Ubuntu anymore as its reached its end of life for support which will make debugging this a bit harder.

It could be that the newer version of the OpenHIM core you are using no longer works with the older version of Ubuntu. 

What version of OpenHIM core are you using?
What version of NodeJS are you using?

Regards,
Martin Brocker 
Team Lead 
martin....@jembi.org 
Tel: +27 21 701 0939 
Jembi Health Systems | Cape Town 
www.jembi.org

This e-mail contains proprietary and confidential information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and then deleting same. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail. Jembi Health Systems NPO, its subsidiaries and associated companies is not liable for the security of information sent by e-mail and accepts no liability of whatsoever nature for any loss, damage or expense resulting, directly or indirectly, from the access of this e-mail or any attachments hereto.



--
You received this message because you are subscribed to the Google Groups "OpenHIM-Implementers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhim-implemen...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhim-implementers/2cc81af1-5505-4040-8dd6-193f1eef6854%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages