Join the community today
Become a Member

CentOS 7.x Centmin Mod .09 network not starting after reboot

Discussion in 'Beta release code' started by zsolt, Jun 10, 2017.

  1. zsolt

    zsolt New Member

    5
    1
    3
    Jun 9, 2017
    Ratings:
    +1
    Local Time:
    5:19 AM
    Please fill in any relevant information that applies to you:
    • CentOS Version: centos-7-x86_64.tar.gz in ProxMox container (CentOS 7.3.1611)
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: nginx/1.13.1
    • PHP Version Installed: PHP 5.6.30
    • MariaDB MySQL Version Installed: not sure cant connect to mysql server
    • When was last time updated Centmin Mod code base ? : installed and reinstalled today
    • Persistent Config: No
    I installed proxmox image provided by SoYouStart (OVH) on a E5 1620v2 16gb 2x2tb sata dedicated server.
    Imported centos-7-x86_64.tar.gz (https://download.openvz.org/template/precreated/)
    Created a container (LXC) with 8gb ram 80gb drive, setup mac, ip and ipv6
    And installed centminmod using:
    Code:
    yum -y update; curl -O https://centminmod.com/betainstaller.sh && chmod 0700 betainstaller.sh && bash betainstaller.sh
    .
    Added a vhost and after config everything works great. Tested ssl and ipv6 both returned perfect result.
    When I reboot I can no longer connect to ssh nor the websites are working.
    I can connect to VPS from node using "pct enter 100". And the VPS is running.
    Not sure how to pinpoint the issue.

    What I already tried:
    Reinstalled several times with approximately the same setup and every time the same error.
    If I restart before installing centmin vps well restart correctly.
    I got same error for centos 6 and 09beta01.
    I tried centos 7 and upgrade from stable to betausing menu 23 and then nginx update but got an error and nginx was not copilled. something was missing not sure what was it. Well try to reproduce again.

    I tried for the last 2 days but cant find why is network not starting on centos 7 with 09beta01
     
  2. zsolt

    zsolt New Member

    5
    1
    3
    Jun 9, 2017
    Ratings:
    +1
    Local Time:
    5:19 AM
    Not sure if important but
    systemctl returns
    Code:
    tmp.mount                              loaded failed failed    /tmp
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,194
    6,789
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,144
    Local Time:
    12:19 PM
    Nginx 1.13.x
    MariaDB 5.5
    Unfortunately never used Promox and that or the OpenVZ images are the problem but if /tmp fails to load CentOS 7 will have all sorts of problems so does sound like problem is with OpenVZ images. Try with KVM
     
  4. zsolt

    zsolt New Member

    5
    1
    3
    Jun 9, 2017
    Ratings:
    +1
    Local Time:
    5:19 AM
    Well the KVM be slower for websites load time than ovz? Or I misunderstood that part?
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,194
    6,789
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,144
    Local Time:
    12:19 PM
    Nginx 1.13.x
    MariaDB 5.5
    KVM is faster and scales and performs better than OVZ especially as Centmin Mod if it detects KVM it has added optimisations not possible with OpenVZ
     
  6. zsolt

    zsolt New Member

    5
    1
    3
    Jun 9, 2017
    Ratings:
    +1
    Local Time:
    5:19 AM
    Great. Well try with KVM. Thanks for the quick replies and all the work you put in this project, it really is awesome.
     
  7. eva2000

    eva2000 Administrator Staff Member

    30,194
    6,789
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,144
    Local Time:
    12:19 PM
    Nginx 1.13.x
    MariaDB 5.5
    problem could be LXC itself too https://mrkmg.com/posts/2015/11/proxmox-4-upgrade-on-ovh-simple-ip-failover-issues/
    to check which services have PrivateTmp=true
    Code (Text):
    egrep -wr 'PrivateTmp=true|PrivateTmp=yes' /usr/lib/systemd/system
    

    and
    Code (Text):
    grep -wr 'NoNewPrivileges' /usr/lib/systemd/system
    

    As I said never used Promox, so good luck :)
     
    Last edited: Jun 10, 2017