Get the most out of your Centmin Mod LEMP stack
Become a Member

Featured CentOS 7.x How to help test .08 CentOS 7 Betas with Github code ?

Discussion in 'Beta release code' started by eva2000, Jul 11, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    53,614
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    10:52 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what do you get from commands


    Code:
    yum list libmcrypt -q
    php --ri mcrypt
    hmm just checked and indeed mcrypt is not loaded in PHP

    Code:
    yum list libmcrypt -q
    Installed Packages
    libmcrypt.x86_64                                                               2.5.8-13.el7                                                               @epel
    
    php --ri mcrypt
    Extension 'mcrypt' not present.
     
  2. GhoHan

    GhoHan Member

    33
    14
    8
    Jun 1, 2014
    Ratings:
    +14
    Local Time:
    7:52 AM
    Nginx 1.13.X
    MariaDB 10.1.X
    Yes mcrypt is not loaded in PHP

    Code:
    # yum list libmcrypt -q
    Installed Packages
    libmcrypt.x86_64                                                      2.5.8-13.el7                                                       @epel
    
    # php --ri mcrypt
    Extension 'mcrypt' not present.
    
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,614
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    10:52 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ah i see, my mistake - in .08 beta line 1191 of centmin.sh i forgot to allow CentOS 7 in the version check - will fix that in a few minutes :D
     
  4. GhoHan

    GhoHan Member

    33
    14
    8
    Jun 1, 2014
    Ratings:
    +14
    Local Time:
    7:52 AM
    Nginx 1.13.X
    MariaDB 10.1.X
    yeah you forget add

    $CENTOSVER" == '7.0'

    Thanks :)
     
  5. eva2000

    eva2000 Administrator Staff Member

    53,614
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    10:52 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  6. GhoHan

    GhoHan Member

    33
    14
    8
    Jun 1, 2014
    Ratings:
    +14
    Local Time:
    7:52 AM
    Nginx 1.13.X
    MariaDB 10.1.X
  7. eva2000

    eva2000 Administrator Staff Member

    53,614
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    10:52 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    You're welcome.. thanks for the feedback and bug report - making Centmin Mod better :D
     
  8. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    8:52 AM
    Mainline
    10.2
    From this post: CentOS 7.x - How to help test .08 CentOS 7 Betas with Github code ? | Page 6 | Centmin Mod Community

    So from:
    Code:
    [remi]
    name=Les RPM de remi pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-php55]
    name=Les RPM de remi de PHP 5.5 pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/php55/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/php55/mirror
    # WARNING: If you enable this repository, you must also enable "remi"
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-php56]
    name=Les RPM de remi de PHP 5.6 pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/php56/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/php56/mirror
    # WARNING: If you enable this repository, you must also enable "remi"
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-test]
    name=Les RPM de remi en test pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/test/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/test/mirror
    # WARNING: If you enable this repository, you must also enable "remi"
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-debuginfo]
    name=Les RPM de remi pour Enterprise Linux 6 - $basearch - debuginfo
    baseurl=http://rpms.famillecollet.com/enterprise/6/debug-remi/$basearch/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-php55-debuginfo]
    name=Les RPM de remi de PHP 5.5 pour Enterprise Linux 6 - $basearch - debuginfo
    baseurl=http://rpms.famillecollet.com/enterprise/6/debug-php55/$basearch/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-php56-debuginfo]
    name=Les RPM de remi de PHP 5.6 pour Enterprise Linux 6 - $basearch - debuginfo
    baseurl=http://rpms.famillecollet.com/enterprise/6/debug-php56/$basearch/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-test-debuginfo]
    name=Les RPM de remi en test pour Enterprise Linux 6 - $basearch - debuginfo
    baseurl=http://rpms.famillecollet.com/enterprise/6/debug-test/$basearch/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    It will become:
    Code:
    [remi]
    name=Les RPM de remi pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    priority=9
    exclude=php* mysql*
    
    [remi-php55]
    name=Les RPM de remi de PHP 5.5 pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/php55/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/php55/mirror
    # WARNING: If you enable this repository, you must also enable "remi"
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-php56]
    name=Les RPM de remi de PHP 5.6 pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/php56/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/php56/mirror
    # WARNING: If you enable this repository, you must also enable "remi"
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-test]
    name=Les RPM de remi en test pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/test/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/test/mirror
    # WARNING: If you enable this repository, you must also enable "remi"
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-debuginfo]
    name=Les RPM de remi pour Enterprise Linux 6 - $basearch - debuginfo
    baseurl=http://rpms.famillecollet.com/enterprise/6/debug-remi/$basearch/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-php55-debuginfo]
    name=Les RPM de remi de PHP 5.5 pour Enterprise Linux 6 - $basearch - debuginfo
    baseurl=http://rpms.famillecollet.com/enterprise/6/debug-php55/$basearch/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-php56-debuginfo]
    name=Les RPM de remi de PHP 5.6 pour Enterprise Linux 6 - $basearch - debuginfo
    baseurl=http://rpms.famillecollet.com/enterprise/6/debug-php56/$basearch/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-test-debuginfo]
    name=Les RPM de remi en test pour Enterprise Linux 6 - $basearch - debuginfo
    baseurl=http://rpms.famillecollet.com/enterprise/6/debug-test/$basearch/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
     
  9. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    8:52 AM
    Mainline
    10.2
    Looks working fine.
    Code:
    # php --ri imagick
    
    imagick
    
    imagick module => enabled
    imagick module version => 3.2.0RC1
    imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
    ImageMagick version => ImageMagick 6.8.9-10 Q16 x86_64 2014-11-05 http://www.imagemagick.org
    ImageMagick copyright => Copyright (C) 1999-2014 ImageMagick Studio LLC
    ImageMagick release date => 2014-11-05
    ImageMagick number of supported formats:  => 212
    ImageMagick supported formats => 3FR, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FITS, FRACTAL, FTS, G3, GIF, GIF87, GRADIENT, GRAY, GROUP4, GV, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, INFO, INLINE, IPL, ISOBRL, JNG, JNX, JPEG, JPG, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    
    Directive => Local Value => Master Value
    imagick.locale_fix => 0 => 0
    imagick.progress_monitor => 0 => 0
    
     
  10. eva2000

    eva2000 Administrator Staff Member

    53,614
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    10:52 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yup looks good :)
     
  11. Josephm

    Josephm Active Member

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    7:52 AM
    1.9.5
    10.0.21
    Is there any current maintenance your beta script? I can't install from my local pc & my vps server.
    Code:
    [root@centos7test centminmod-123.08centos7beta01]# ./centmin.sh
    inc/memcheck.inc: line 12: bc: command not found
    inc/memcheck.inc: line 13: bc: command not found
    installing lynx...
    bc not found !!
    installing bc
    bc installed
    aborting script...
    please re-run centmin.sh again for install
    
    
     
  12. eva2000

    eva2000 Administrator Staff Member

    53,614
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    10:52 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    See last line, tells you to re-run centmin.sh now ;)

    if you ran it via command line installer, bc package would automatically be installed
    Code:
    curl -sL https://gist.github.com/centminmod/dbe765784e03bc4b0d40/raw/installer.sh | bash
    if you ran install via manual method outlined at centminmod/centminmod at 123.08centos7beta01 · GitHub you would of manually installed bc via yum ;)

     
    Last edited: Dec 2, 2014
  13. Josephm

    Josephm Active Member

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    7:52 AM
    1.9.5
    10.0.21
    Sorry eva2000, I pasted wrong section in my local pc.
    However, I bought one cloud vps at turnkeyinternet with blackfriday deal. The funny thing happened, when I entered "
    ./centmin.sh install". It hung! nothing shown even error. I checked top command, /var/log/ but nothing too. I suspect their give-away is so hassle.
    SELINUX=disabled currently.
    Do you have any commands to track if the script running or stuck somewhere? Or the log in the system?
    They used Xen PV for virtualization.
     
  14. eva2000

    eva2000 Administrator Staff Member

    53,614
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    10:52 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    it should run you can open a 2nd ssh window while first one is hung and type
    Code:
    ps aufx
    
    and see what centmin.sh processes are doing could be a slow YUM mirror etc
     
  15. Josephm

    Josephm Active Member

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    7:52 AM
    1.9.5
    10.0.21
    I successfully installed centminmod in my turnkeyinternet cloud.
    Code:
    [root@zeus centminlogs]# tail centminmod_1.2.3-eva2000.08_031214-031634_install.log
    unsupported source language  61
    autoconf compile/link  544
    unsupported compiler option  14
    no input file  122
    files in cache  5716
    cache size  144.8 Mbytes
    max cache size  2.0 Gbytes
    Total Centmin Mod Install Time: 2704.647919091 seconds
    
    The problem came from the lynx/fedoraproject request yesterday:
    Code:
    [root@zeus centminmod-123.08centos7beta01]# ./centmin.sh install
    setting up /svr-setup on tmpfs ramdisk for initial install
    Filesystem  Type  Size  Used Avail Use% Mounted on
    /dev/xvda1  ext3  40G  1.1G  37G  3% /
    devtmpfs  devtmpfs  2.0G  0  2.0G  0% /dev
    tmpfs  tmpfs  2.0G  0  2.0G  0% /dev/shm
    tmpfs  tmpfs  2.0G  17M  2.0G  1% /run
    tmpfs  tmpfs  2.0G  0  2.0G  0% /sys/fs/cgroup
    tmpfs  tmpfs  2.2G  0  2.2G  0% /svr-setup
    installing lynx...
    
    root  9425  0.0  0.1 133740  5212 ?  Ss  02:46  0:00  \_ sshd: root@pts/0
    root  9427  0.0  0.0  11744  1856 pts/0  Ss  02:46  0:00  |  \_ -bash
    root  9518  0.1  0.0  9904  1736 pts/0  S+  02:52  0:00  |  \_ /bin/sh ./centmin.sh install
    root  9582  0.0  0.0  9904  968 pts/0  S+  02:52  0:00  |  \_ /bin/sh ./centmin.sh install
    root  9583  0.1  0.0  46408  2924 pts/0  S+  02:52  0:00  |  \_ lynx -dump -listonly http://download.fedoraproject.org/pub/epel/7/x86_64/repoview/e
    root  9586  0.0  0.0  0  0 pts/0  Z+  02:52  0:00  |  |  \_ [lynx] <defunct>
    root  9584  0.0  0.0  9032  676 pts/0  S+  02:52  0:00  |  \_ grep rpm
    root  9585  0.0  0.0  9872  728 pts/0  S+  02:52  0:00  |  \_ awk -F  {print $2}
    
    Now unfortunately, I have another issue with nginx service, I can't use command 'nprestart'
    I check the log and saw nginx start failed but I can access the homepage, not sure why...
    Code:
    [root@zeus centminlogs]# nprestart
    Restarting nginx (via systemctl):  Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
      [FAILED]
    Gracefully shutting down php-fpm  done
    Starting php-fpm  done
    
    Code:
    
    [root@zeus centminlogs]# systemctl status nginx.service
    nginx.service - SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server
      Loaded: loaded (/etc/rc.d/init.d/nginx)
      Active: failed (Result: timeout) since Wed 2014-12-03 04:12:34 UTC; 25s ago
      Process: 1497 ExecStart=/etc/rc.d/init.d/nginx start (code=exited, status=0/SUCCESS)
      CGroup: /system.slice/nginx.service
      ├─1218 nginx: master process /usr/local/sbin/nginx -c /usr/local/nginx/conf/nginx....
      └─1219 nginx: worker process
    
    Dec 03 04:07:34 zeus.com systemd[1]: Starting SYSV: Nginx is an HTTP(S) server, HTTP(S) re......
    Dec 03 04:07:34 zeus.com systemd[1]: PID file /usr/local/nginx/logs/nginx.pid not readable...rt.
    Dec 03 04:12:34 zeus.com systemd[1]: nginx.service operation timed out. Terminating.
    Dec 03 04:12:34 zeus.com systemd[1]: Failed to start SYSV: Nginx is an HTTP(S) server, HTT...er.
    Dec 03 04:12:34 zeus.com systemd[1]: Unit nginx.service entered failed state.
    Hint: Some lines were ellipsized, use -l to show in full.
    
    My centminmod log before:
    Code:
    Check Nginx Version:
    --------------------------------------------------------
    nginx version: nginx/1.7.8
    built by gcc 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC)
    TLS SNI support enabled
    configure arguments: --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module --with-http_secure_link_module --with-http_flv_module --with-http_realip_module --with-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.1 --add-module=../headers-more-nginx-module-0.25 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --with-http_dav_module --add-module=../nginx-dav-ext-module-0.0.3 --add-module=../openresty-memc-nginx-module-1518da4 --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../nginx-sticky-module-1.2.5 --add-module=../nginx_upstream_check_module-0.1.9 --with-openssl=../openssl-1.0.1j --with-libatomic --with-pcre=../pcre-8.36 --with-pcre-jit --with-http_spdy_module --add-module=../ngx_pagespeed-release-1.9.32.2-beta
    .........
    unmount /svr-setup tmpfs ramdisk & copy back to disk
    service nginx stop
    Stopping nginx (via systemctl):  [  OK  ]
    service php-fpm stop
    Gracefully shutting down php-fpm . done
    service memcached stop
    Memcached server stopped
    service nginx start
    Starting nginx (via systemctl):  Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
    [FAILED]
    service php-fpm start
    Starting php-fpm  done
    service memcached start
    Memcached server started
    
    Thanks for your advice.
     
  16. eva2000

    eva2000 Administrator Staff Member

    53,614
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    10:52 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    fedora link must of had issues to slow your previous attempt

    so service nginx restart works ? or just ngxrestart and nprestart also don't work ?

    try killing all nginx processes and a restart
     
  17. Josephm

    Josephm Active Member

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    7:52 AM
    1.9.5
    10.0.21
    I tried to stop all nginx services but ps command still showing it:
    Code:
    [root@zeus centminmod-123.08centos7beta01]# service nginx stop
    Stopping nginx (via systemctl):  [  OK  ]
    [root@zeus centminlogs]# ps auxf|grep nginx
    root  2478  0.0  0.0  9032  676 pts/1  S+  04:48  0:00  \_ grep --color=auto nginx
    root  2417  0.0  0.0 118600  2728 ?  Ss  04:46  0:00 nginx: master process /usr/local/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
    nginx  2418  0.0  0.1 128960  7408 ?  S<l  04:46  0:00  \_ nginx: worker process
    nginx  2419  0.0  0.1 128960  7408 ?  S<l  04:46  0:00  \_ nginx: worker process
    [root@zeus centminlogs]# kill -9 2417
    [root@zeus centminlogs]# kill -9 2418
    [root@zeus centminlogs]# kill -9 2419
    
    Then I start by ngxstart, it hung for long time then failed. However, new processes were appeared in ps tree.
    Code:
    [root@zeus centminlogs]# ngxstart
    Starting nginx (via systemctl):  Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
      [FAILED]
    [root@zeus centminlogs]# systemctl status nginx.service
    nginx.service - SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server
      Loaded: loaded (/etc/rc.d/init.d/nginx)
      Active: failed (Result: timeout) since Wed 2014-12-03 04:54:48 UTC; 29s ago
      Process: 2528 ExecStart=/etc/rc.d/init.d/nginx start (code=exited, status=0/SUCCESS)
    
    Dec 03 04:49:48 zeus.com systemd[1]: Starting SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server...
    Dec 03 04:49:48 zeus.com nginx[2528]: Starting nginx: [  OK  ]
    Dec 03 04:49:48 zeus.com systemd[1]: PID file /usr/local/nginx/logs/nginx.pid not readable (yet?) after start.
    Dec 03 04:54:48 zeus.com systemd[1]: nginx.service operation timed out. Terminating.
    Dec 03 04:54:48 zeus.com systemd[1]: Failed to start SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server.
    Dec 03 04:54:48 zeus.com systemd[1]: Unit nginx.service entered failed state.
    
    [root@zeus centminmod-123.08centos7beta01]# ps auxf|grep nginx
    root  2671  0.0  0.0  9032  676 pts/0  S+  04:55  0:00  |  \_ grep --color=auto nginx
    root  2535  0.0  0.0 118600  2732 ?  Ss  04:49  0:00 nginx: master process /usr/local/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
    nginx  2536  0.0  0.1 128960  7412 ?  S<l  04:49  0:00  \_ nginx: worker process
    nginx  2537  0.0  0.1 128960  7412 ?  S<l  04:49  0:00  \_ nginx: worker process
    
    
    
    
    Guess the system said failed but nginx is still working. My homepage still working too.
     
  18. eva2000

    eva2000 Administrator Staff Member

    53,614
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    10:52 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    try

    Code:
    killall nginx
     
  19. Josephm

    Josephm Active Member

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    7:52 AM
    1.9.5
    10.0.21
    Still same issue, will test another installation:
    Code:
    [root@zeus centminmod-123.08centos7beta01]# killall nginx
    [root@zeus centminmod-123.08centos7beta01]# ps auxf|grep nginx
    root  7974  0.0  0.0  9032  672 pts/0  S+  06:16  0:00  |  \_ grep --color=auto nginx
    [root@zeus centminmod-123.08centos7beta01]# ngxstart
    Starting nginx (via systemctl):  Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
      [FAILED]
    [root@zeus centminmod-123.08centos7beta01]# ps auxf|grep nginx
    root  8124  0.0  0.0  9032  672 pts/0  S+  06:22  0:00  |  \_ grep --color=auto nginx
    root  7999  0.0  0.0 118600  2732 ?  Ss  06:16  0:00 nginx: master process /usr/local/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
    nginx  8000  0.0  0.1 128960  7412 ?  S<l  06:16  0:00  \_ nginx: worker process
    nginx  8001  0.0  0.1 128960  7412 ?  S<l  06:16  0:00  \_ nginx: worker process
    
     
  20. Josephm

    Josephm Active Member

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    7:52 AM
    1.9.5
    10.0.21
    Just come back for confirmation; I tried to install many times and saw that my local vmware ran smoothly without nginx service problem. Not sure why turnkey internet cloud had problem ( I re-installed many times too), suspect their centos 7 template have problem or hardware incompatible with nginx?
    when I added vhost:
    Code:
    Centmin Mod 1.2.3-eva2000.08 - http://centminmod.com
    --------------------------------------------------------
      Centmin Mod Menu
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    ............
    21). Update - Nginx + PHP-FPM + Siege
    22). Exit
    --------------------------------------------------------
    Enter option [ 1 - 22 ] 2
    --------------------------------------------------------
    ---------------------------------------------
    Enter vhost domain name you want to add (without www. prefix): testdomain.com
    ---------------------------------------------
    service nginx reload
    Reloading nginx configuration (via systemctl):  Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
    [FAILED]
    ---------------------------------------------
    vhost for testdomain.com created successfully
    vhost conf file for testdomain.com created: /usr/local/nginx/conf/conf.d/testdomain.com.conf
    upload files to /home/nginx/domains/testdomain.com/public
    vhost log files directory is /home/nginx/domains/testdomain.com/log
    
    Current vhost listing at: /usr/local/nginx/conf/conf.d/
    ....
    
    I uploaded my installation log, I found nothing for the reason. Hope you will find something interesting
    https://gist.github.com/josephmike2...minmod_1.2.3-eva2000.08_051214-102548_install

    Note that even restart/stop/start command for nginx hung with error. The webpage is working anyway....
     
    Last edited: Dec 6, 2014