Skip to main content

Can you tell me how to see Logs text in such *.gz files...?

Comments

14 comments

  • ZenHostingTravis
    Hi, The following link may assist you further:
    0
  • andrewmoras
    SSH access from Web Terminal at WHM/cPanel: Home " Server Configuration " Terminal [root@ip-***-***-***-*** logs]# pwd /home/yyyy/logs [root@ip-***-***-***-*** logs]# ls -la | grep "Apr-2021" -rw-r--r-- 1 yyyy yyyy 2497 Apr 19 15:05 api.zzz.city-Apr-2021.gz -rw-r--r-- 1 yyyy yyyy 1874 Apr 19 15:05 api.zzz.city-ssl_log-Apr-2021.gz ... In SSH to see Logging --- I see api.zzz.city-ssl_log-Apr-2021.gz files with *.gz extension... Can you tell me how to see Logs text in such *.gz files...?

    zcat and zgrep (instead of cat and grep) are your friends :cool:
    0
  • cPRex Jurassic Moderator
    Let us know if those above posts don't help!
    0
  • Leonidas Savvides
    Is this important??? send from VPS to my admin email... The system detected an error during the cPanel & WHM version change from "11.94.0.4" to "11.94.0.5", which prevented the update now process from completing normally. Review the attached log for further details. ---------------------------------------------------------------------------------------------------- => Log opened from /usr/local/cpanel/scripts/updatenow (17363) at Fri Apr 23 00:40:03 2021 [2021-04-23 00:40:03 +0300] Running version '11.94.0.4' of updatenow. [2021-04-23 00:40:03 +0300] Detected version '11.94.0.4' from version file. [2021-04-23 00:40:03 +0300] Target version set to '11.94.0.5' [2021-04-23 00:40:03 +0300] Switching to version 11.94.0.5 of updatenow to determine if we can reach that version without failure. [2021-04-23 00:40:03 +0300] ***** FATAL: Failed to download updatenow.static from server: (XID pd7dtq) "/bin/rpm" reported error code "1" when it ended: error: rpmdb: BDB0113 Thread/process 19314/140203437238336 failed: BDB1507 Thread died in Berkeley DB library [2021-04-23 00:40:03 +0300] error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery [2021-04-23 00:40:03 +0300] error: cannot open Packages index using db5 - (-30973) [2021-04-23 00:40:03 +0300] error: cannot open Packages database in /var/lib/rpm [2021-04-23 00:40:03 +0300] error: rpmdb: BDB0113 Thread/process 19314/140203437238336 failed: BDB1507 Thread died in Berkeley DB library [2021-04-23 00:40:03 +0300] error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery [2021-04-23 00:40:03 +0300] error: cannot open Packages database in /var/lib/rpm [2021-04-23 00:40:03 +0300] The Administrator will be notified to review this output when this script completes => Log closed Fri Apr 23 00:40:03 2021 The system generated this notice on Thursday, April 22, 2021 at 9:40:03 PM UTC. "Update Failures" notifications are currently configured to have an importance of "High". You can change the importance or disable this type of notification in WHM"s Contact Manager at:
    0
  • andrewmoras
    Is this important??? send from VPS to my admin email... The system detected an error during the cPanel & WHM version change from "11.94.0.4" to "11.94.0.5", which prevented the update now process from completing normally. Review the attached log for further details. ---------------------------------------------------------------------------------------------------- => Log opened from /usr/local/cpanel/scripts/updatenow (17363) at Fri Apr 23 00:40:03 2021 [2021-04-23 00:40:03 +0300] Running version '11.94.0.4' of updatenow. [2021-04-23 00:40:03 +0300] Detected version '11.94.0.4' from version file. [2021-04-23 00:40:03 +0300] Target version set to '11.94.0.5' [2021-04-23 00:40:03 +0300] Switching to version 11.94.0.5 of updatenow to determine if we can reach that version without failure. [2021-04-23 00:40:03 +0300] ***** FATAL: Failed to download updatenow.static from server: (XID pd7dtq) "/bin/rpm" reported error code "1" when it ended: error: rpmdb: BDB0113 Thread/process 19314/140203437238336 failed: BDB1507 Thread died in Berkeley DB library [2021-04-23 00:40:03 +0300] error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery [2021-04-23 00:40:03 +0300] error: cannot open Packages index using db5 - (-30973) [2021-04-23 00:40:03 +0300] error: cannot open Packages database in /var/lib/rpm [2021-04-23 00:40:03 +0300] error: rpmdb: BDB0113 Thread/process 19314/140203437238336 failed: BDB1507 Thread died in Berkeley DB library [2021-04-23 00:40:03 +0300] error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery [2021-04-23 00:40:03 +0300] error: cannot open Packages database in /var/lib/rpm [2021-04-23 00:40:03 +0300] The Administrator will be notified to review this output when this script completes => Log closed Fri Apr 23 00:40:03 2021 The system generated this notice on Thursday, April 22, 2021 at 9:40:03 PM UTC. "Update Failures" notifications are currently configured to have an importance of "High". You can change the importance or disable this type of notification in WHM"s Contact Manager at:

    That's a totally different problem but it's an easy fix. See
    0
  • cPRex Jurassic Moderator
    @Leonidas Savvides - hopefully the RPM rebuild will get things working. If not, you'll need to speak with your hosting provider to see if they can help.
    0
  • Leonidas Savvides
    This if fail: WHM >> Rebuild RPM Database tool Or Version "94.0.5" is available. Update Now ???
    0
  • cPRex Jurassic Moderator
    Rebuilding the RPM database doesn't pose any danger to the data on the server.
    0
  • Leonidas Savvides
    What try first: see attachment WHM >>
    0
  • cPRex Jurassic Moderator
    You'll have to do the RPM rebuild before you can try the update.
    0
  • Leonidas Savvides
    OK Do both off-peak periods...correct ???
    0
  • cPRex Jurassic Moderator
    I wouldn't expect the RPM work to have any customer-facing impact, so it's up to you when you perform that work :D
    0
  • Leonidas Savvides
    RPM rebuild, after do this, when/how understand all go ok, and finished, so as proceed with the second, the update of WHM/cPanel...?
    0
  • cPRex Jurassic Moderator
    When you perform the RPM rebuild it will either tell you it worked successfully or not on the screen. The message it provides in the output will be similar to this, as this is from an RPM rebuild on a test server: D: adding 1 entries to Installtid index. D: adding 1 entries to Sigmd5 index. D: adding "807845a8292cea3ea4b5a5efb0b48cfbebf7a70c" to Sha1header index. D: closed db index /var/lib/rpm/Packages D: closed db environment /var/lib/rpm D: closed db index /var/lib/rpmrebuilddb.9243/Sha1header D: closed db index /var/lib/rpmrebuilddb.9243/Sigmd5 D: closed db index /var/lib/rpmrebuilddb.9243/Installtid D: closed db index /var/lib/rpmrebuilddb.9243/Dirnames D: closed db index /var/lib/rpmrebuilddb.9243/Triggername D: closed db index /var/lib/rpmrebuilddb.9243/Obsoletename D: closed db index /var/lib/rpmrebuilddb.9243/Conflictname D: closed db index /var/lib/rpmrebuilddb.9243/Providename D: closed db index /var/lib/rpmrebuilddb.9243/Requirename D: closed db index /var/lib/rpmrebuilddb.9243/Group D: closed db index /var/lib/rpmrebuilddb.9243/Basenames D: closed db index /var/lib/rpmrebuilddb.9243/Name D: closed db index /var/lib/rpmrebuilddb.9243/Packages D: closed db environment /var/lib/rpmrebuilddb.9243 Complete!
    If you get the "complete!" message at the bottom, you're all set to move on.
    0

Please sign in to leave a comment.