kaltura / platform-install-packages

Official deployment packages to install the Kaltura platform on a server or cluster environments using native OS package managers
GNU Affero General Public License v3.0
520 stars 241 forks source link

post-installation script returned error #kaltura.db error #608

Closed DPratapSingh closed 7 years ago

DPratapSingh commented 7 years ago

Hi Jess

As you mentioned in last comment in issue #607 i followed all the steps correctly and rerun the script but still i'm getting the same error.

Please help me out to debug the error as i'm stuck here.

Find the code for input - apt-get install -f

output -

Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up kaltura-db (12.15.0-1+b4) ...

Handle 0x0400, DMI type 4, 42 bytes Processor Information Socket Designation: Proc 1 Type: Central Processor Family: Xeon Manufacturer: Intel ID: A7 06 02 00 FF FB EB BF Signature: Type 0, Family 6, Model 42, Stepping 7 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) DS (Debug store) ACPI (ACPI supported) MMX (MMX technology supported) FXSR (FXSAVE and FXSTOR instructions supported) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) SS (Self-snoop) HTT (Multi-threading) TM (Thermal monitor supported) PBE (Pending break enabled) Version: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz Voltage: 1.4 V External Clock: 100 MHz Max Speed: 4800 MHz Current Speed: 3100 MHz Status: Populated, Enabled Upgrade: Socket LGA1366 L1 Cache Handle: 0x0710 L2 Cache Handle: 0x0720 L3 Cache Handle: 0x0730 Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 4 Core Enabled: 4 Thread Count: 4 Characteristics: 64-bit capable'

Handle 0x0400, DMI type 4, 42 bytes Processor Information Socket Designation: Proc 1 Type: Central Processor Family: Xeon Manufacturer: Intel ID: A7 06 02 00 FF FB EB BF Signature: Type 0, Family 6, Model 42, Stepping 7 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) DS (Debug store) ACPI (ACPI supported) MMX (MMX technology supported) FXSR (FXSAVE and FXSTOR instructions supported) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) SS (Self-snoop) HTT (Multi-threading) TM (Thermal monitor supported) PBE (Pending break enabled) Version: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz Voltage: 1.4 V External Clock: 100 MHz Max Speed: 4800 MHz Current Speed: 3100 MHz Status: Populated, Enabled Upgrade: Socket LGA1366 L1 Cache Handle: 0x0710 L2 Cache Handle: 0x0720 L3 Cache Handle: 0x0730 Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 4 Core Enabled: 4 Thread Count: 4 Characteristics: 64-bit capable' ']' ++ md5sum ++ awk -F ' ' '{print $1}' ++ echo -n '#' dmidecode 3.0 Getting SMBIOS data from sysfs. SMBIOS 2.6 present. Handle 0x0400, DMI type 4, 42 bytes Processor Information Socket Designation: Proc 1 Type: Central Processor Family: Xeon Manufacturer: Intel ID: A7 06 02 00 FF FB EB BF Signature: Type 0, Family 6, Model 42, Stepping 7 Flags: FPU '(Floating-point' unit 'on-chip)' VME '(Virtual' mode 'extension)' DE '(Debugging' 'extension)' PSE '(Page' size 'extension)' TSC '(Time' stamp 'counter)' MSR '(Model' specific 'registers)' PAE '(Physical' address 'extension)' MCE '(Machine' check 'exception)' CX8 '(CMPXCHG8' instruction 'supported)' APIC '(On-chip' APIC hardware 'supported)' SEP '(Fast' system 'call)' MTRR '(Memory' type range 'registers)' PGE '(Page' global 'enable)' MCA '(Machine' check 'architecture)' CMOV '(Conditional' move instruction 'supported)' PAT '(Page' attribute 'table)' PSE-36 '(36-bit' page size 'extension)' CLFSH '(CLFLUSH' instruction 'supported)' DS '(Debug' 'store)' ACPI '(ACPI' 'supported)' MMX '(MMX' technology 'supported)' FXSR '(FXSAVE' and FXSTOR instructions 'supported)' SSE '(Streaming' SIMD 'extensions)' SSE2 '(Streaming' SIMD extensions '2)' SS '(Self-snoop)' HTT '(Multi-threading)' TM '(Thermal' monitor 'supported)' PBE '(Pending' break 'enabled)' Version: 'Intel(R)' 'Xeon(R)' CPU E31220 @ 3.10GHz Voltage: 1.4 V External Clock: 100 MHz Max Speed: 4800 MHz Current Speed: 3100 MHz Status: Populated, Enabled Upgrade: Socket LGA1366 L1 Cache Handle: 0x0710 L2 Cache Handle: 0x0720 L3 Cache Handle: 0x0730 Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 4 Core Enabled: 4 Thread Count: 4 Characteristics: 64-bit capable

kaltura-db.postinst FAILED with: 45207 on line 126

Archving logs to /opt/kaltura/log/log_29_08_17_15_15.tar.gz... '

kaltura-db.postinst FAILED with: 45207 on line 126

Archving logs to /opt/kaltura/log/log_29_08_17_15_15.tar.gz... ++ mkdir -p /tmp/tmpdir_kaltura ++ cp /opt/kaltura/log/generate.php.log /opt/kaltura/log/kaltura_admin.log /opt/kaltura/log/kaltura_apache_access.log /opt/kaltura/log/kaltura_apache_errors.log /opt/kaltura/log/kaltura_api_v3_analytics.log /opt/kaltura/log/kaltura_api_v3.log /opt/kaltura/log/kaltura_api_v3_tests.log /opt/kaltura/log/kaltura_populate.log /tmp/tmpdir_kaltura ++ cd /tmp/tmpdir_kaltura ++ tar zcf /opt/kaltura/log/log_29_08_17_15_15.tar.gz generate.php.log kaltura_admin.log kaltura_apache_access.log kaltura_apache_errors.log kaltura_api_v3_analytics.log kaltura_api_v3.log kaltura_api_v3_tests.log kaltura_populate.log ++ '[' -r /opt/kaltura/bin/contact.rc ']' ++ . /opt/kaltura/bin/contact.rc +++ USER_CONSENT=1 +++ CONTACT_MAIL=User.chandel@vouchpro.com ++ send_install_becon kaltura-db.postinst install_fail 126,1.0.33 ++ trap - ERR ++ '[' -r /opt/kaltura/bin/contact.rc ']' ++ . /opt/kaltura/bin/contact.rc +++ USER_CONSENT=1 +++ CONTACT_MAIL=User.chandel@vouchpro.com ++ '[' -z 1 -o 1 = 0 ']' ++ ROLE=kaltura-db.postinst ++ TIMEZONE=install_fail ++ ACTION=126,1.0.33 ++ ERR_LINE=126,1.0.33 ++ '[' -n ']' ++ ERR_LINE= ++ RC_FILE=/etc/kaltura.d/system.ini ++ '[' -r /etc/kaltura.d/system.ini ']' ++ . /etc/kaltura.d/system.ini +++ WEB_DIR=/opt/kaltura/web +++ LOG_DIR=/opt/kaltura/log +++ APP_DIR=/opt/kaltura/app +++ BASE_DIR=/opt/kaltura +++ PHP_BIN=/usr/bin/php +++ OS_KALTURA_USER=kaltura +++ MAILTO=User.chandel@vouchpro.com +++ ADMIN_CONSOLE_ADMIN_MAIL=User.chandel@vouchpro.com +++ DB1_HOST=localhost +++ DB1_NAME=kaltura +++ DB1_USER=kaltura +++ DB1_PASS=dBL04YuLIhoCRZz +++ DWH_HOST=localhost +++ DWH_PORT=3306 +++ DWH_USER=etl +++ DWH_PASS=dBL04YuLIhoCRZz +++ SERVICE_URL=http://114.79.142.190 +++ SPHINX_HOST=127.0.0.1 +++ DB1_PORT=3306 +++ SUPER_USER=root +++ SUPER_USER_PASSWD=vouch@pro +++ KALTURA_VIRTUAL_HOST_NAME=114.79.142.190 +++ RED5_HOST= ++ which dmidecode +++ dmidecode -t 4 ++ UNIQ='# dmidecode 3.0 Getting SMBIOS data from sysfs. SMBIOS 2.6 present.

Handle 0x0400, DMI type 4, 42 bytes Processor Information Socket Designation: Proc 1 Type: Central Processor Family: Xeon Manufacturer: Intel ID: A7 06 02 00 FF FB EB BF Signature: Type 0, Family 6, Model 42, Stepping 7 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) DS (Debug store) ACPI (ACPI supported) MMX (MMX technology supported) FXSR (FXSAVE and FXSTOR instructions supported) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) SS (Self-snoop) HTT (Multi-threading) TM (Thermal monitor supported) PBE (Pending break enabled) Version: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz Voltage: 1.4 V External Clock: 100 MHz Max Speed: 4800 MHz Current Speed: 3100 MHz Status: Populated, Enabled Upgrade: Socket LGA1366 L1 Cache Handle: 0x0710 L2 Cache Handle: 0x0720 L3 Cache Handle: 0x0730 Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 4 Core Enabled: 4 Thread Count: 4 Characteristics: 64-bit capable' ++ '[' 0 -ne 0 ']' ++ grep -q 'No SMBIOS nor DMI entry' ++ echo '#' dmidecode 3.0 Getting SMBIOS data from sysfs. SMBIOS 2.6 present. Handle 0x0400, DMI type 4, 42 bytes Processor Information Socket Designation: Proc 1 Type: Central Processor Family: Xeon Manufacturer: Intel ID: A7 06 02 00 FF FB EB BF Signature: Type 0, Family 6, Model 42, Stepping 7 Flags: FPU '(Floating-point' unit 'on-chip)' VME '(Virtual' mode 'extension)' DE '(Debugging' 'extension)' PSE '(Page' size 'extension)' TSC '(Time' stamp 'counter)' MSR '(Model' specific 'registers)' PAE '(Physical' address 'extension)' MCE '(Machine' check 'exception)' CX8 '(CMPXCHG8' instruction 'supported)' APIC '(On-chip' APIC hardware 'supported)' SEP '(Fast' system 'call)' MTRR '(Memory' type range 'registers)' PGE '(Page' global 'enable)' MCA '(Machine' check 'architecture)' CMOV '(Conditional' move instruction 'supported)' PAT '(Page' attribute 'table)' PSE-36 '(36-bit' page size 'extension)' CLFSH '(CLFLUSH' instruction 'supported)' DS '(Debug' 'store)' ACPI '(ACPI' 'supported)' MMX '(MMX' technology 'supported)' FXSR '(FXSAVE' and FXSTOR instructions 'supported)' SSE '(Streaming' SIMD 'extensions)' SSE2 '(Streaming' SIMD extensions '2)' SS '(Self-snoop)' HTT '(Multi-threading)' TM '(Thermal' monitor 'supported)' PBE '(Pending' break 'enabled)' Version: 'Intel(R)' 'Xeon(R)' CPU E31220 @ 3.10GHz Voltage: 1.4 V External Clock: 100 MHz Max Speed: 4800 MHz Current Speed: 3100 MHz Status: Populated, Enabled Upgrade: Socket LGA1366 L1 Cache Handle: 0x0710 L2 Cache Handle: 0x0720 L3 Cache Handle: 0x0730 Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 4 Core Enabled: 4 Thread Count: 4 Characteristics: 64-bit capable ++ '[' -n '# dmidecode 3.0 Getting SMBIOS data from sysfs. SMBIOS 2.6 present.

Handle 0x0400, DMI type 4, 42 bytes Processor Information Socket Designation: Proc 1 Type: Central Processor Family: Xeon Manufacturer: Intel ID: A7 06 02 00 FF FB EB BF Signature: Type 0, Family 6, Model 42, Stepping 7 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) DS (Debug store) ACPI (ACPI supported) MMX (MMX technology supported) FXSR (FXSAVE and FXSTOR instructions supported) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) SS (Self-snoop) HTT (Multi-threading) TM (Thermal monitor supported) PBE (Pending break enabled) Version: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz Voltage: 1.4 V External Clock: 100 MHz Max Speed: 4800 MHz Current Speed: 3100 MHz Status: Populated, Enabled Upgrade: Socket LGA1366 L1 Cache Handle: 0x0710 L2 Cache Handle: 0x0720 L3 Cache Handle: 0x0730 Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 4 Core Enabled: 4 Thread Count: 4 Characteristics: 64-bit capable' ']' +++ md5sum +++ awk -F ' ' '{print $1}' +++ echo -n '#' dmidecode 3.0 Getting SMBIOS data from sysfs. SMBIOS 2.6 present. Handle 0x0400, DMI type 4, 42 bytes Processor Information Socket Designation: Proc 1 Type: Central Processor Family: Xeon Manufacturer: Intel ID: A7 06 02 00 FF FB EB BF Signature: Type 0, Family 6, Model 42, Stepping 7 Flags: FPU '(Floating-point' unit 'on-chip)' VME '(Virtual' mode 'extension)' DE '(Debugging' 'extension)' PSE '(Page' size 'extension)' TSC '(Time' stamp 'counter)' MSR '(Model' specific 'registers)' PAE '(Physical' address 'extension)' MCE '(Machine' check 'exception)' CX8 '(CMPXCHG8' instruction 'supported)' APIC '(On-chip' APIC hardware 'supported)' SEP '(Fast' system 'call)' MTRR '(Memory' type range 'registers)' PGE '(Page' global 'enable)' MCA '(Machine' check 'architecture)' CMOV '(Conditional' move instruction 'supported)' PAT '(Page' attribute 'table)' PSE-36 '(36-bit' page size 'extension)' CLFSH '(CLFLUSH' instruction 'supported)' DS '(Debug' 'store)' ACPI '(ACPI' 'supported)' MMX '(MMX' technology 'supported)' FXSR '(FXSAVE' and FXSTOR instructions 'supported)' SSE '(Streaming' SIMD 'extensions)' SSE2 '(Streaming' SIMD extensions '2)' SS '(Self-snoop)' HTT '(Multi-threading)' TM '(Thermal' monitor 'supported)' PBE '(Pending' break 'enabled)' Version: 'Intel(R)' 'Xeon(R)' CPU E31220 @ 3.10GHz Voltage: 1.4 V External Clock: 100 MHz Max Speed: 4800 MHz Current Speed: 3100 MHz Status: Populated, Enabled Upgrade: Socket LGA1366 L1 Cache Handle: 0x0710 L2 Cache Handle: 0x0720 L3 Cache Handle: 0x0730 Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 4 Core Enabled: 4 Thread Count: 4 Characteristics: 64-bit capable ++ MACHINE_ID=da46bb48cfca6e0ed9afb96217d739f4 +++ date +%s ++ EPOCH=1503999940 +++ md5sum +++ awk -F ' ' '{print $1}' +++ echo '#' dmidecode 3.0 Getting SMBIOS data from sysfs. SMBIOS 2.6 present. Handle 0x0400, DMI type 4, 42 bytes Processor Information Socket Designation: Proc 1 Type: Central Processor Family: Xeon Manufacturer: Intel ID: A7 06 02 00 FF FB EB BF Signature: Type 0, Family 6, Model 42, Stepping 7 Flags: FPU '(Floating-point' unit 'on-chip)' VME '(Virtual' mode 'extension)' DE '(Debugging' 'extension)' PSE '(Page' size 'extension)' TSC '(Time' stamp 'counter)' MSR '(Model' specific 'registers)' PAE '(Physical' address 'extension)' MCE '(Machine' check 'exception)' CX8 '(CMPXCHG8' instruction 'supported)' APIC '(On-chip' APIC hardware 'supported)' SEP '(Fast' system 'call)' MTRR '(Memory' type range 'registers)' PGE '(Page' global 'enable)' MCA '(Machine' check 'architecture)' CMOV '(Conditional' move instruction 'supported)' PAT '(Page' attribute 'table)' PSE-36 '(36-bit' page size 'extension)' CLFSH '(CLFLUSH' instruction 'supported)' DS '(Debug' 'store)' ACPI '(ACPI' 'supported)' MMX '(MMX' technology 'supported)' FXSR '(FXSAVE' and FXSTOR instructions 'supported)' SSE '(Streaming' SIMD 'extensions)' SSE2 '(Streaming' SIMD extensions '2)' SS '(Self-snoop)' HTT '(Multi-threading)' TM '(Thermal' monitor 'supported)' PBE '(Pending' break 'enabled)' Version: 'Intel(R)' 'Xeon(R)' CPU E31220 @ 3.10GHz Voltage: 1.4 V External Clock: 100 MHz Max Speed: 4800 MHz Current Speed: 3100 MHz Status: Populated, Enabled Upgrade: Socket LGA1366 L1 Cache Handle: 0x0710 L2 Cache Handle: 0x0720 L3 Cache Handle: 0x0730 Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 4 Core Enabled: 4 Thread Count: 4 Characteristics: 64-bit capable : 1503999940 ++ INSTALL_ID=09117e1e2cb840a9bc25f137e739ac68 ++ echo http://114.79.142.190 ++ grep -q https:// ++ IS_SSL=false ++ '[' -n '' ']' ++ SUBSCRIBE4UPDATES=0 ++ '[' deb = rpm ']' ++ '[' deb = deb ']' +++ dpkg-query -W '-f${Version}' kaltura-base +++ awk -F - '{print $1}' ++ KALTURA_VERSION=13.1.0 +++ dpkg-query -W '-f${Version}' kaltura-base +++ awk -F + '{print $2}' ++ KALTURA_REVISION=b1 +++ lsb_release -r +++ awk '{print $NF}' ++ REVISION=16.04 +++ lsb_release -i +++ awk '{print $NF}' ++ CODENAME=Ubuntu ++ RELEASE=Ubuntu-16.04 +++ date +%s +++ uname -r +++ uname -m ++ curl --data 'event_type=126,1.0.33&server_role=kaltura-db.postinst&user_email=User.chandel@vouchpro.com&machine_id=da46bb48cfca6e0ed9afb96217d739f4&installation_id=09117e1e2cb840a9bc25f137e739ac68&timestamp=1503999940&kernel_version=4.4.0-87-generic&machine_arch=x86_64&linux_flavor=Ubuntu-16.04&service_url=http://114.79.142.190&install_err_line=&timezone=install_fail&package_type=deb&kaltura_version=13.1.0&package_revision=b1&subscribed_for_ce_updates=0' https://installytics.kaltura.org/report/add_rec.php

++ trap 'my_trap_handler ${LINENO} ${$?}' ERR ++ exit 11 dpkg: error processing package kaltura-db (--configure): subprocess installed post-installation script returned error exit status 11 Errors were encountered while processing: kaltura-db E: Sub-process /usr/bin/dpkg returned an error code (1)

jessp01 commented 7 years ago

Closing this because based on the other issue you opened here: https://github.com/kaltura/platform-install-packages/issues/609 I presume you've fixed you MySQL access issue but also because, as I explained in my comment here: https://github.com/kaltura/platform-install-packages/issues/607#issuecomment-325404887 this truly has nothing to do with Kaltura.