bahmni installation Error using 'become', 'become_method', and 'become_user'rather than running sudo

Hi,

@tendomart  @binduak  @swathivarkala @sumanmaity112       

[WARNING]: Consider using 'become', 'become_method', and 
 'become_user'rather than running sudo




fatal: [localhost]: FAILED! => {"changed": true, "cmd":
"sudo -u postgres pgbackrest --stanza=bahmni-postgres --log-level-console=info stanza-create", 
"delta": "0:00:00.293554", "end": "2018-05-11 17:25:50.721658", "msg": "non-zero return code", 
"rc": 2, "start": "2018-05-11 17:25:50.428104", "stderr": "Can't locate parent.pm in 
 @INC (@INC contains: 
/usr/bin/../lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at 
 /usr/share/perl5/pgBackRest/ArchiveInfo.pm line 9.\nBEGIN failed--compilation aborted at 
 /usr/share/perl5/pgBackRest/ArchiveInfo.pm line 9.\nCompilation failed in require at 
 /usr/share/perl5/pgBackRest/Archive.pm line 21.\nBEGIN failed--compilation aborted at 
 /usr/share/perl5/pgBackRest/Archive.pm line 21.\nCompilation failed in require at 
/usr/bin/pgbackrest line 21.\nBEGIN failed--compilation aborted at /usr/bin/pgbackrest line  
 21.", "stderr_lines": ["Can't locate parent.pm in 
@INC (@INC contains: /usr/bin/../lib  
 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
 /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at 
 /usr/share/perl5/pgBackRest/ArchiveInfo.pm line 9.", "BEGIN failed--compilation aborted at 
/usr/share/perl5/pgBackRest/ArchiveInfo.pm line 9.", "Compilation failed in require at 
/usr/share/perl5/pgBackRest/Archive.pm line 21.", "BEGIN failed--compilation aborted at 
/usr/share/perl5/pgBackRest/Archive.pm line 21.", "Compilation failed in require at 
/usr/bin/pgbackrest line 21.", "BEGIN failed--compilation aborted at /usr/bin/pgbackrest line 
 21."], "stdout": "", "stdout_lines": []}

https://hastebin.com/cinaholewo.md

Can you help us to help you better?

  1. What version of Bahmni and which OS version?
  2. Is bahmni running fine?
  3. What were you trying to do?
  4. What command did you execute?
1 Like

Hi @angshuonline @tendomart @sumanmaity112

1:  bahmni  version 0.90  in CentOS6.9 in (server Machine)
2:  I followed that Steps 
    https://bahmni.atlassian.net/wiki/spaces/BAH/pages/33128505/Install+Bahmni+on+CentOS

3: bahmni install   
after Getting Error 

bahmni command not Found Bahmni Installation Error For V 0.90 - #6 by govind

then after follow that step

after getting Error oracle-java.yml
https://talk.openmrs.org/t/installation-issue/18011/2

@govindsharma are you able to resolve the issue. Let me know we can solve the issue over a call.

thanx for rply,

 yes,

Today I Removed all bahmni installtion after I fresh Install bahmni .but openelis not working. openelis is not open in my bowser. this

my log of bahmni_lab.log

https://hastebin.com/bicivobuwu.md

 [root@mail ~]# yum list installed |grep bahmni
  atomfeed-console.noarch             1.0-18                    @bahmni
  bahmni-emr.noarch                   0.90-519                  @bahmni
  bahmni-erp.noarch                   0.90-39                   @bahmni
  bahmni-erp-connect.noarch           0.90-39                   @bahmni
  bahmni-implementer-interface.noarch 0.90-93                   @bahmni
 bahmni-installer.noarch             0.90-308                  @/bahmni-installer-0.90-308.noarch
 bahmni-lab.noarch                   0.90-36                   @bahmni
  bahmni-lab-connect.noarch           0.90-519                  @bahmni
  bahmni-openmrs.noarch               0.90-56                   @bahmni
  bahmni-reports.noarch               0.90-41                   @bahmni
   bahmni-web.noarch                   0.90-519                  @bahmni
  epel-release.noarch                 6-8                       @bahmni 
   python-gdata.noarch                 2.0.11-1.el6              @bahmni
 [root@mail ~]#

@govindsharma sorry for taking so long to reply lately,been extremeley busy attending to a sprint and finishing off Refapp 2.7 tickets, but hope @binduak and @angshuonline are of utmost help.

please help me

I am unable to show bahmni-lab (openelis) module

bahmni-lab log https://hastebin.com/bicivobuwu.md

@govindsharma, was the entire Bahmni installation successful

Hi @binduak

working module

 openmrs ,bahmni-emr(clinical service),LABORATORY  

not working module

  STOCK INVENTORY & BILLING

click stock inventory & billing when click not will open