Want to subscribe to topics you're interested in?
Become a Member

Sysadmin centminmodbench.sh errors

Discussion in 'System Administration' started by dorobo, Nov 10, 2016.

  1. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    8:30 PM
    latest
    latest
    ERROR 404: Not Found.
    [1;32;40mError: UnixBench5.1.3.tgz download failed.
     
    • Informative Informative x 1
  2. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:30 PM
    Nginx 1.13.x
    MariaDB 5.5
    ah download url related, let me check and update that :)
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:30 PM
    Nginx 1.13.x
    MariaDB 5.5
  4. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    8:30 PM
    latest
    latest
    Code (Text):
    -------------------------------------------
    Building UnixBench
    -------------------------------------------
    
    Download UnixBench-5.1.3.tar.gz ...
    2016-11-09 14:22:06 URL:https://codeload.github.com/kdlucas/byte-unixbench/tar.gz/v5.1.3 [145908] -> "UnixBench-5.1.3.tar.gz" [1]
    Download done.
    UnixBench-5.1.3.tar.gz valid file.
    
    2016-11-09 14:22:06 URL:https://gist.githubusercontent.com/centminmod/7bea01c6698377d1345a/raw/unixbench.patch [1306/1306] -> "unixbench.patch" [1]
    make: *** No targets specified and no makefile found.  Stop.
    patching file Run
    Hunk #1 FAILED at 105.
    Hunk #2 FAILED at 1328.
    patch: **** Can't reopen file Run : No such file or directory
    -------------------------------------------
    Running UnixBench
    -------------------------------------------
    
    ./centminmodbench.sh: line 864: ./Run: No such file or directory
    [/CODE]
    
    -------------------------------------------
    centminmodbench.sh completed
    -------------------------------------------
    
     
    • Informative Informative x 1
  5. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:30 PM
    Nginx 1.13.x
    MariaDB 5.5
    hmmm thanks for the heads up
     
    • Friendly Friendly x 1
  6. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:30 PM
    Nginx 1.13.x
    MariaDB 5.5
  7. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    8:30 PM
    latest
    latest
    Code (Text):
    -------------------------------------------
    Building UnixBench
    -------------------------------------------
    
    Download UnixBench-5.1.3.tar.gz ...
    
    ./centminmodbench.sh: line 852: cd: UnixBench: No such file or directory
    mv: cannot stat '../unixbench.patch': No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    patching file Run
    Hunk #1 FAILED at 105.
    Hunk #2 FAILED at 1328.
    patch: **** Can't reopen file Run : No such file or directory
    -------------------------------------------
    Running UnixBench
    -------------------------------------------
    
    ./centminmodbench.sh: line 864: ./Run: No such file or directory
    [/CODE]
    
    -------------------------------------------
    centminmodbench.sh completed
    -------------------------------------------
     
  8. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:30 PM
    Nginx 1.13.x
    MariaDB 5.5
    strange the directory should exist.
     
  9. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:30 PM
    Nginx 1.13.x
    MariaDB 5.5
    Ah it could be specific issue for you due to previous failed run. Try manually deleting /home/centminmodbench directory then re-run centminmodbench.sh
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:30 PM
    Nginx 1.13.x
    MariaDB 5.5
    should be fixed in latest updated version now :)
     
  11. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    8:30 PM
    latest
    latest
    newly reinstalled vps

    Code (Text):
    -------------------------------------------
    centminmodbench.sh 0.9.2
    http://bench.centminmod.com
    written by: George Liu (eva2000)
    http://centminmod.com
    -------------------------------------------
    
    -------------------------------------------
    System Information
    -------------------------------------------
    
    2.6.32-042stab117.14
    
    CentOS Linux release 7.1.1503 (Core)
    
    ----------------------------------------------
    CPU: 3 x Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
    x86_64
    
    CPU Flags
     fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf cpuid_faulting pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc
    
    ----------------------------------------------
                  total        used        free      shared  buff/cache   available
    Mem:            512           4          77           7         429         407
    Low:            512         434          77
    High:             0           0           0
    Swap:           512          13         498
    
    ----------------------------------------------
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/simfs       50G  756M   50G   2% /
    devtmpfs        256M     0  256M   0% /dev
    tmpfs           256M     0  256M   0% /dev/shm
    tmpfs           256M  156K  256M   1% /run
    tmpfs           256M     0  256M   0% /sys/fs/cgroup
    tmpfs            52M     0   52M   0% /run/user/0
    
    [/CODE]
    umount: /ramdisk0: mountpoint not found
    [CODE]
    -------------------------------------------
    Building UnixBench
    -------------------------------------------
    
    Download UnixBench-5.1.3.tar.gz ...
    2016-11-10 03:36:37 URL:https://codeload.github.com/kdlucas/byte-unixbench/tar.gz/v5.1.3 [145908/145908] -> "UnixBench-5.1.3.tar.gz" [1]
    Download done.
    UnixBench-5.1.3.tar.gz valid file.
    
    2016-11-10 03:36:37 URL:https://gist.githubusercontent.com/centminmod/7bea01c6698377d1345a/raw/unixbench.patch [1306/1306] -> "unixbench.patch" [1]
    gcc -o ./pgms/arithoh -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Darithoh ./src/arith.c
    gcc -o ./pgms/register -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum='register int' ./src/arith.c
    Checking distribution of files
    ./pgms  exists
    ./src  exists
    ./testdir  exists
    gcc -o ./pgms/short -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=short ./src/arith.c
    gcc -o ./pgms/int -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=int ./src/arith.c
    gcc -o ./pgms/long -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=long ./src/arith.c
    gcc -o ./pgms/float -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=float ./src/arith.c
    gcc -o ./pgms/double -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=double ./src/arith.c
    gcc -o ./pgms/hanoi -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/hanoi.c
    gcc -o ./pgms/syscall -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/syscall.c
    ./src/syscall.c: In function 'main':
    ./src/syscall.c:93:21: warning: null argument where non-null required (argument 2) [-Wnonnull]
                         execl("/bin/true", (char *) 0);
                         ^
    gcc -o ./pgms/context1 -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/context1.c
    gcc -o ./pgms/pipe -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/pipe.c
    gcc -o ./pgms/spawn -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/spawn.c
    gcc -o ./pgms/execl -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/execl.c
    cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_1.c
    cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DREG=register -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_1.c -o dhry_1_reg.o
    In file included from ./src/execl.c:34:0:
    ./src/big.c: In function 'getwork':
    ./src/big.c:452:11: warning: variable 'c' set but not used [-Wunused-but-set-variable]
         char  c;
               ^
    cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_2.c
    cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DREG=register -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_2.c -o dhry_2_reg.o
    gcc -o ./pgms/dhry2 -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/dhry_1.o ./src/dhry_2.o
    gcc -o ./pgms/dhry2reg -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/dhry_1_reg.o ./src/dhry_2_reg.o
    cd ./src; rm -f dhry_1.o dhry_2.o
    cd ./src; rm -f dhry_1_reg.o dhry_2_reg.o
    gcc -o ./pgms/looper -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/looper.c
    gcc -o ./pgms/fstime -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/fstime.c
    gcc -o ./pgms/whetstone-double -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -DDP -DUNIX -DUNIXBENCH ./src/whets.c -lm
    patching file Run
    Hunk #1 succeeded at 106 (offset 1 line).
    Hunk #2 succeeded at 1329 (offset 1 line).
    
    centminmodbench.sh Total Run Time: 4.742905497 seconds


    I only wanted to run unixbench so my config includes

    Code (Text):
    SEVERBEAR='n'
    OPENSSLBENCH='n'
    OPENSSL_NONSYSTEM='n'
    RUN_DISKDD='n'
    RUN_DISKIOPING='n'
    RUN_DISKFIO='n'
    RUN_RAMDISKDD='n'
    RUN_RAMDISKIOPING='n'
    RUN_RAMDISKFIO='n' # disabled as tmpfs not support direct=1/buffered=0
    RUN_AXELBENCH='n'
    RUN_BANDWIDTHBENCH='n'
    RUN_VULTRTESTS='n'
    EUROPE_BANDWIDTHTESTS='n'
    ASIA_BANDWIDTHTESTS='n'
    AUSTRALIA_BANDWIDTHTESTS='n'
    USA_BANDWIDTHTESTS='n'
    RUN_PINGTESTS='n'
    RUN_MYSQLSLAP='n'
    RUN_PHPTESTS='n'
    RUN_UNIXBENCH='y'
    RUN_MTRTESTS='n'
    MTR_PACKETS='10'
    RUN_ENTROPYTEST='n'
    ENTROPY_RUNS='4'
    ENTROPYSLEEP=10
    RUN_RNGTEST='n'
    UNIXBENCH_VER='5.1.3'
     
  12. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:30 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1