Want more timely Centmin Mod News Updates?
Become a Member

grep: 08: No such file or directory

Discussion in 'Install & Upgrades or Pre-Install Questions' started by pamamolf, Jun 9, 2014.

  1. pamamolf

    pamamolf Premium Member Premium Member

    3,361
    318
    83
    May 31, 2014
    Ratings:
    +598
    Local Time:
    7:39 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Using the latest beta version at the end of installation i got this error:

    Code:
    --------------------------------------------------------
    Stopping NSD service:
    Stopping nsd:
    Disabling NSD service:
    --------------------------------------------------------
    In future to re-enable NSD service type these 2 commands:
    service nsd start
    chkconfig nsd on
    --------------------------------------------------------
    grep: 08: No such file or directory
    *************************************************
    * Centmin Mod install completed....
    *************************************************
    
    What is this error ?
    grep: 08: No such file or directory
     
  2. rdan

    rdan Well-Known Member

    4,549
    1,090
    113
    May 25, 2014
    Ratings:
    +1,591
    Local Time:
    12:39 PM
    Mainline
    10.2
    Can be ignored, as NSD didn't install I think.
     
  3. eva2000

    eva2000 Administrator Staff Member

    40,661
    9,034
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,908
    Local Time:
    2:39 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yeah can be ignored

    it's line 160 in inc/centminfinish.inc

    Code:
    grep -h $DATENOW /var/log/yum.log >> ${CENTMINLOGDIR}/centminmod_${SCRIPT_VERSION}_${DT}_yum-log.log
    /var/log/yum.log has strict file permissions so you can't grep the log from a script it seems. Need to fix that

    or could be something wrong with that line

    I'm changing it to the following to see

    Code:
    grep -h $DATENOW /var/log/yum.log | tee -a ${CENTMINLOGDIR}/centminmod_${SCRIPT_VERSION}_${DT}_yum-log.log
     
    style="display:inline-block;min-width:400px;max-width:970px;width:95%;height:90px" data-ad-client="ca-pub-6669518204467592" data-ad-slot="4024536743" data-ad-format="auto">
  4. pamamolf

    pamamolf Premium Member Premium Member

    3,361
    318
    83
    May 31, 2014
    Ratings:
    +598
    Local Time:
    7:39 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Ok please report back for the fix :)