Reinstallation of the site with every launch of the site in Firefox with resultant error in installation.

Asked by Kayode Odusote

With 4.0.12, I have had a problem of re-installation every time the site is launched either after shutting down the system or closing Firefox. It appears that the system does not remember the password for the MySQL database and fails to access it on restart/update. If I delete and recreate the database, then it reinstalls successfully. I do not have the same issue with 4.0.10. Two consecutive terminal log for one of the instances is pasted below:

A:
kayodu@kayodu-1005HA:~$ php /var/lib/iHRIS/lib/4.0.12/I2CE/tools/apache_tail.php 0
[Sat Apr 30 20:32:22 2011] [error] [client 127.0.0.1]
 I2CE: I2CE->pearError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicDataStorageDBAlt.php:55)
       I2CE_MagicDataStorageDBAlt->__construct (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:287)
       I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:592)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Bad statement:
 MDB2 Error: connect failed
 _doConnect: [Error message: Access denied for user 'ihris'@'localhost' (using password: YES)]
 [Native code: 1045]
 [Native message: Access denied for user 'ihris'@'localhost' (using password: YES)]
[Sat Apr 30 20:32:22 2011] [error] [client 127.0.0.1]
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicDataStorageDBAlt.php:56)
       I2CE_MagicDataStorageDBAlt->__construct (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:287)
       I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:592)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Bad group concat check
[Sat Apr 30 20:32:22 2011] [error] [client 127.0.0.1]
 I2CE: I2CE->pearError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicDataStorageDBAlt.php:214)
       I2CE_MagicDataStorageDBAlt->isAvailable (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:288)
       I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:592)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Cannot access database:
 MDB2 Error: connect failed
 _doConnect: [Error message: Access denied for user 'ihris'@'localhost' (using password: YES)]
 [Native code: 1045]
 [Native message: Access denied for user 'ihris'@'localhost' (using password: YES)]
[Sat Apr 30 20:32:22 2011] [error] [client 127.0.0.1]
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:289)
       I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:592)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Alt config table not available. Trying to use original config table
[Sat Apr 30 20:32:22 2011] [error] [client 127.0.0.1]
 I2CE: I2CE->pearError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicDataStorageDB.php:139)
       I2CE_MagicDataStorageDB->isAvailable (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicData.php:242)
       I2CE_MagicData->addStorage (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:311)
       I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:592)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Cannot access database:
 MDB2 Error: connect failed
 _doConnect: [Error message: Access denied for user 'ihris'@'localhost' (using password: YES)]
 [Native code: 1045]
 [Native message: Access denied for user 'ihris'@'localhost' (using password: YES)]
[Sat Apr 30 20:32:22 2011] [error] [client 127.0.0.1]
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicData.php:244)
       I2CE_MagicData->addStorage (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:311)
       I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:592)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Magic data storage mechanism provided by I2CE_MagicDataStorageDB is not available
[Sat Apr 30 20:32:37 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/
 I2CE: I2CE->pearError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicDataStorageDBAlt.php:55)
       I2CE_MagicDataStorageDBAlt->__construct (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:287)
       I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:592)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Bad statement:
 MDB2 Error: connect failed
 _doConnect: [Error message: Access denied for user 'ihris'@'localhost' (using password: YES)]
 [Native code: 1045]
 [Native message: Access denied for user 'ihris'@'localhost' (using password: YES)]
[Sat Apr 30 20:32:37 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicDataStorageDBAlt.php:56)
       I2CE_MagicDataStorageDBAlt->__construct (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:287)
       I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:592)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Bad group concat check
[Sat Apr 30 20:32:37 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/
 I2CE: I2CE->pearError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicDataStorageDBAlt.php:214)
       I2CE_MagicDataStorageDBAlt->isAvailable (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:288)
       I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:592)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Cannot access database:
 MDB2 Error: connect failed
 _doConnect: [Error message: Access denied for user 'ihris'@'localhost' (using password: YES)]
 [Native code: 1045]
 [Native message: Access denied for user 'ihris'@'localhost' (using password: YES)]
[Sat Apr 30 20:32:37 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:289)
       I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:592)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Alt config table not available. Trying to use original config table
[Sat Apr 30 20:32:37 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/
 I2CE: I2CE->pearError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicDataStorageDB.php:139)
       I2CE_MagicDataStorageDB->isAvailable (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicData.php:242)
       I2CE_MagicData->addStorage (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:311)
       I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:592)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Cannot access database:
 MDB2 Error: connect failed
 _doConnect: [Error message: Access denied for user 'ihris'@'localhost' (using password: YES)]
 [Native code: 1045]
 [Native message: Access denied for user 'ihris'@'localhost' (using password: YES)]
[Sat Apr 30 20:32:37 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicData.php:244)
       I2CE_MagicData->addStorage (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:311)
       I2CE->setupMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:592)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Magic data storage mechanism provided by I2CE_MagicDataStorageDB is not available

B:
 Updating site for /var/lib/iHRIS/NMCN/4.0/iHRIS-Qualify-NMCN.xml: needs_install
[Sat Apr 30 20:37:17 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:244)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Beginning new installation
[Sat Apr 30 20:37:18 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:249)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Site module is: ihris-qualify-NMCN
[Sat Apr 30 20:37:18 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:255)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Enabling I2CE
[Sat Apr 30 20:37:18 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:256)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Setting site module to ihris-qualify-NMCN
[Sat Apr 30 20:37:18 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:443)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Updating Modules
[Sat Apr 30 20:37:18 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:462)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Will attempt to update:
  Updates:
   I2CE
[Sat Apr 30 20:37:18 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:468)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Site is set at config to be ihris-qualify-NMCN
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Configurator.php:718)
       I2CE_Configurator->checkRequirements (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:470)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Done looking for available config files. Available:
  I2CE,ihris-common,ihris-manage,ihris-qualify,textlayout,ihris-qualify-NMCN,user,MooTools,forms,MimeTypes,i2ce-site,Timer,YAML_spyc,CustomReports,jumper,template-data,maani-charts,magicDataExport,BackgroundProcess,swissfactory,messageHandler,ImportExport,pages,UserAccess_DHIS,UserAccess,UserAccess_LDAP,UserAccess_LDAP_Hybrid,DatePicker,MooTools-I2CE,menu_select,ColorPicker,FormWorm,StretchPage,TreeSelect,fancyDebug,ReferenceField,LocaleForm,Float,form-limits,BinField,formBrowser,formDocumentor,UserForm,forms-storage,Fields,Lists,field-limits,CachedForms,PrintedForms,formRelationships,forms-storage-entry,forms-storage-SDMXHD,forms-storage-magicdata,forms-storage-eval,forms-storage-file,forms-storage-multiflat,forms-storage-xml,forms-storage-CSV,forms-storage-flat,Lists-LinkTo,Lists-LinkTo-List,Lists-LinkTo-String,CustomReports_Export,ReportArchiver,CustomReports_PDF,CustomReports-Selector,CustomReports_PieChart,Tags,DisplayData,Options,swissMagic,swissConfig,messageBox,messageNotice,localeSelector,modDocumentor,admin,FileDump,stub,magicDataBrowser,LoginPage,tasks-roles,exportReport,modulePrompter,deleteRecord,training-institution,CEUs,ihris-common-Search,SDMX-HD-CodeLists,Person,UUID_map,ihris-common-RecentForm,ihris-common-Job,establishment,simple-competency,Photo,Contact,Currency,Geography,Document,ihris-common-Cadre,SampleData-Common,Facility,training-course,PersonEmployment,person-simple-competency,PersonDemographic,RecordStatus,PersonLanguage,PersonResume,PersonID,PersonArchivedScan,PersonPassportPhoto,nextOfKin,dependents,PersonContact,PersonNotes,PersonEducation,isco-88,isco-08,isco-88-major-05,isco-88-major-09,isco-88-major-04,isco-88-major-07,isco-88-major-03,isco-88-major-00,isco-88-major-06,isco-88-major-01,isco-88-major-02,isco-88-major-08,isco-08-major-00,isco-08-major-02,isco-08-major-05,isco-08-major-03,isco-08-major-01,isco-08-major-07,isco-08-major-04,isco-08-major-09,isco-08-major-06,isco-08-major-08,SampleData-Geography,SampleData-edu_type,SampleData-currency,SampleData-degree,SampleData-district,SampleData-country,SampleData-county,SampleData-region,FacilityContact,training-simple-competency,training-exam,ihris-manage-PersonDemographic,disciplinary_action,ihris-manage-PersonPosition,ihris-manage-CustomReports,accident,ihris-manage-Person,ihris-manage-help,ihris-manage-base-data,ihris-manage-sample-data,ihris-manage-Job,ihris-manage-confirmation,ManageRegistration,manage-training-course,ihris-manage-medical-data,ihris-manage-Benefit,ihris-manage-Application,ihris-manage-Salary,ihris-manage-CustomReports-FilledPositions,ihris-manage-CustomReports-facility-reports,ihris-manage-CustomReports-staff-reports,ihris-manage-CustomReports-search-people,ihris-manage-CustomReports-position-reports,SampleData-benefit_type,SampleData-accident_type,SampleData-marital_status,SampleData-pos_change_reason,SampleData-id_type,SampleData-language,SampleData-establishment,SampleData-facility,SampleData-confirmation_type,ihris-manage-ConfirmationAttachment,manage-training-simple-competency,manage-training-institution,SampleData-job,SampleData-cadre,SampleData-council,SampleData-classification,SampleData-department,SampleData-training_course_requestor,SampleData-disciplinary_action_type,SampleData-competency_type,SampleData-competency,SampleData-salary_grade,SampleData-position_type,SampleData-training_course_category,SampleData-salary_source,SampleData-facility_type,ihris-manage-ApplicationAttachment,RecordVerify,ihris-qualify-base-data,ihris-qualify-sample-data,ihris-qualify-help,ihris-qualify-PrintedForms,ihris-qualify-CustomReports,QualifySampleData-marital_status,QualifySampleData-id_type,QualifySampleData-facility_type,QualifySampleData-verify_change,ihris-qualify-PrintedForms-license,ihris-qualify-PrintedForms-registration,ihris-qualify-CustomReports-institution,ihris-qualify-CustomReports-person,ihris-qualify-CustomReports-license,ihris-qualify-CustomReports-search-training,ihris-qualify-CustomReports-disruption,ihris-qualify-CustomReports-search-people,ihris-qualify-CustomReports-exam,ihris-qualify-CustomReports-training,ihris-qualify-CustomReports-registration,tcpdf,NMCNPerson,NMCNDeployment,NMCNInstInspect,NMCNRegistration,NMCNLicense,nmcn-search-people,NMCNSponsorContact,NMCNDemographic,NMCNTraining,NMCNExam
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Configurator.php:795)
       I2CE_Configurator->checkRequirements (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:470)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Making main dependecy tree for:
  I2CE
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Configurator.php:801)
       I2CE_Configurator->checkRequirements (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:470)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Not optional I2CE
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Configurator.php:824)
       I2CE_Configurator->checkRequirements (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:470)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Update I2CE adds the following additional required modules:
  I2CE
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Configurator.php:836)
       I2CE_Configurator->checkRequirements (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:470)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Required modules are=I2CE
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:580)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Attempting to update/enable the following out of date modules: I2CE
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:584)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 The following modules class paths are being added:
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:885)
       I2CE_Updater->loadModuleMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:716)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Previously processed config data for I2CE with version <= 0. New version is 4.0.12.0
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Configurator.php:497)
       I2CE_Configurator->processConfig (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:904)
       I2CE_Updater->loadModuleMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:716)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Processing config for (I2CE) with version (0)
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Configurator.php:500)
       I2CE_Configurator->processConfig (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:904)
       I2CE_Updater->loadModuleMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:716)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Reading in config values for version >= 0
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:922)
       I2CE_Updater->loadModuleMagicData (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:716)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Loaded in magic data for I2CE to memory
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_ModuleFactory.php:606)
       I2CE_ModuleFactory->enable (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:931)
       I2CE_Updater->preUpgradeModule (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:726)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Enabling/updating I2CE
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_ModuleFactory.php:328)
       I2CE_ModuleFactory->updateHooks (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_ModuleFactory.php:618)
       I2CE_ModuleFactory->enable (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:931)
       I2CE_Updater->preUpgradeModule (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:726)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Updating hooks/methods for I2CE
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_ModuleFactory.php:621)
       I2CE_ModuleFactory->enable (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:931)
       I2CE_Updater->preUpgradeModule (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:726)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Initializing I2CE
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->pearError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Module_Core.php:144)
       I2CE_Module_Core->createAltConfig (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Module_Core.php:53)
       I2CE_Module_Core->action_initialize (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_ModuleFactory.php:623)
       I2CE_ModuleFactory->enable (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:931)
       I2CE_Updater->preUpgradeModule (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:726)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Cannot access database:
 MDB2 Error: connect failed
 _doConnect: [Error message: Access denied for user 'ihris'@'localhost' (using password: YES)]
 [Native code: 1045]
 [Native message: Access denied for user 'ihris'@'localhost' (using password: YES)]
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_ModuleFactory.php:624)
       I2CE_ModuleFactory->enable (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:931)
       I2CE_Updater->preUpgradeModule (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:726)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Initialization for I2CE failed
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:932)
       I2CE_Updater->preUpgradeModule (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:726)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Could not enable I2CE
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:774)
       I2CE_Updater->failedRequiredUpdate (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:727)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Failing on module I2CE: Could not pre-update module
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicDataStorageAPC.php:226)
       I2CE_MagicDataStorageAPC->clear (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_MagicData.php:176)
       I2CE_MagicData->clearCache (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:776)
       I2CE_Updater->failedRequiredUpdate (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:727)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Clearing all keys from APC with prefix I2CE_MD_qualify_NMCN_4_0_config_data_
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:792)
       I2CE_Updater->failedRequiredUpdate (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:727)
       I2CE_Updater->_updateModules (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:260)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Required module I2CE could not be enabled/upgraded. Failing system update
[Sat Apr 30 20:37:23 2011] [error] [client 127.0.0.1]
 Refered by : http://localhost/NMCN/update.php?request=%2FNMCN%2F
 I2CE: I2CE->raiseError (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:262)
       I2CE_Updater->install (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:156)
       I2CE_Updater->_updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE_Updater.php:100)
       I2CE_Updater->updateSite (/var/lib/iHRIS/lib/4.0.12/I2CE/lib/I2CE.php:600)
       I2CE->initializeDSN (/var/lib/iHRIS/NMCN/4.0/pages/index.php:49)
 Installation Failed for I2CE

Is this an error in my system (Ubuntu 10.10) or a bug in the code?

Question information

Language:
English Edit question
Status:
Answered
For:
iHRIS Manage Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Carl Leitner (litlfred) said :
#1

Dear Kayode, there is problem with the mysql user accessing the database. It could be a typo in the config.values.php file or in the creation/access rights to the database

Revision history for this message
Jessica (jessica354) said :
#2

I exactly face the same error with my site ...will you please give me detailed answer of it that how can i resolve this error....

Revision history for this message
Jessica (jessica354) said :
#3

My website is https://www.besthuntbows.com/ ......Kinly check it please.

Revision history for this message
Gerard Bisama (gerbis2000) said :
#4

Hi Jessica,

The system says that the user ihris can not have access to your data
base and find here below the step to solve the problem:
1. Try to connect to mysql using this user through phpmyadmin or on
terminal. Check it you have access to the database tables. if OK'
2. Go to the file <yourihrissitepath>/pages/config.values.php, and check
your database credentials in the variable $i2ce_site_dsn. you must have
this format
mysql://ihris:yourpassword@localhost/yourdbname.

I hope this may help you,
Cheers

Le ven. 1 mai 2020 à 22:53, Jessica <email address hidden>
a écrit :

> Question #155202 on iHRIS Manage changed:
> https://answers.launchpad.net/ihris-manage/+question/155202
>
> Jessica posted a new comment:
> My website is https://www.besthuntbows.com/ ......Kinly check it
> please.
>
> --
> You received this question notification because your team iHRIS Answers
> is an answer contact for iHRIS Manage.
>

--
Gérard Bisama
Tel:+243810890810

Can you help with this problem?

Provide an answer of your own, or ask Kayode Odusote for more information if necessary.

To post a message you must log in.