ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved CentOS 7 VM will not boot

    IT Discussion
    centos centos 7 linux virtualization hyper-v hyper-v 2012 r2
    4
    53
    13.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch @scottalanmiller
      last edited by JaredBusch

      @scottalanmiller said:

      When you chowned, did you do it recursively?

      chown -R apache:apache /webdir

      Yes, and it was all working fine right after install because I added plugins and a theme.

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @JaredBusch
        last edited by

        @JaredBusch said:

        @scottalanmiller said:

        How do you make your code blocks in ML? Are you manually indenting all of those lines?

        When I know I want to paste code, I paste it in notepad++ first then select all hit tab then copy paste here.

        Ah ha, thanks. I thought that you must have some tool for that.

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @JaredBusch
          last edited by

          @JaredBusch said:

          @scottalanmiller said:

          When you chowned, did you do it recursively?

          chown -R apache:apache /webdir

          Yes, and it was all working fine right after install because I added plugins and a theme.

          Run it again in case something changed.

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @scottalanmiller
            last edited by

            @scottalanmiller said:

            Run it again in case something changed.

            I did prior to posting about it. I did it again just now and also rebooted.

            I simply do not know where else to check for a permissions issue.

            1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch
              last edited by JaredBusch

              Here is the directory

              Last login: Thu Sep  4 21:34:56 2014 from 10.254.103.20
              [root@jaredweb ~]# chown -R apache:apache /opt/daerma
              [root@jaredweb ~]# ls -l /opt/daerma
              total 184
              drwxr-xr-x.  3 apache apache    19 Aug 24 22:03 eq
              -rw-r--r--.  1 apache apache   418 Aug 24 14:02 index.php
              -rw-r--r--.  1 apache apache 19930 Aug 24 14:02 license.txt
              -rw-r--r--.  1 apache apache  7194 Aug 24 14:02 readme.html
              -rw-r--r--.  1 apache apache    88 Sep  1 10:40 test.php
              -rw-r--r--.  1 apache apache  4896 Aug 24 14:02 wp-activate.php
              drwxr-xr-x.  9 apache apache  4096 Aug 24 14:02 wp-admin
              -rw-r--r--.  1 apache apache   271 Aug 24 14:02 wp-blog-header.php
              -rw-r--r--.  1 apache apache  4818 Aug 24 14:02 wp-comments-post.php
              -rw-r--r--.  1 apache apache  3373 Aug 24 14:14 wp-config.php
              -rw-r--r--.  1 apache apache  3087 Aug 24 14:02 wp-config-sample.php
              drwxr-xr-x.  6 apache apache    77 Aug 24 15:07 wp-content
              -rw-r--r--.  1 apache apache  2932 Aug 24 14:02 wp-cron.php
              drwxr-xr-x. 12 apache apache  4096 Aug 24 14:02 wp-includes
              -rw-r--r--.  1 apache apache  2380 Aug 24 14:02 wp-links-opml.php
              -rw-r--r--.  1 apache apache  2359 Aug 24 14:02 wp-load.php
              -rw-r--r--.  1 apache apache 33407 Aug 24 14:02 wp-login.php
              -rw-r--r--.  1 apache apache  8235 Aug 24 14:02 wp-mail.php
              -rw-r--r--.  1 apache apache 11070 Aug 24 14:02 wp-settings.php
              -rw-r--r--.  1 apache apache 25665 Aug 24 14:02 wp-signup.php
              -rw-r--r--.  1 apache apache  4026 Aug 24 14:02 wp-trackback.php
              -rw-r--r--.  1 apache apache  3032 Aug 24 14:02 xmlrpc.php
              [root@jaredweb ~]#
              
              1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch
                last edited by

                @scottalanmiller @ajstringham or anyone else using wordpress

                I just dumped the mysql databse to a SQL file, dropped the database, and renamed the daerma folder

                I then downloaded the latest WP zip and extracted it. renamed the folder daerma, copied the wp-config file, set my credentials, and then chown'd the daerma directory..

                launched daerma.com did the inital config with no problem and tried to update to WP 4. FTP login prompt immediately.

                All 5 WP sites on this server display this behavior so I am thinking it HAS to be something else related to the OS. I did run yum updates a week or so ago. and again 2 days ago while troubleshooting this.

                CentOS7 x64

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @JaredBusch
                  last edited by

                  Here is the repo list. epel was just added a couple days ago when I tried to install pertino.

                  Prior to that, this was a clean CentOS7 minimal install no extra repos.

                  [root@jaredweb ~]# yum repolist
                  Loaded plugins: fastestmirror
                  Loading mirror speeds from cached hostfile
                   * base: distro.ibiblio.org
                   * epel: mirror.steadfast.net
                   * extras: mirror.steadfast.net
                   * updates: mirror.atlanticmetro.net
                  repo id               repo name                                           status
                  base/7/x86_64         CentOS-7 - Base                                     8,465
                  epel/x86_64           Extra Packages for Enterprise Linux 7 - x86_64      5,610
                  extras/7/x86_64       CentOS-7 - Extras                                      31
                  pertino-client        Pertino VPN Client                                      4
                  updates/7/x86_64      CentOS-7 - Updates                                    753
                  repolist: 14,863
                  [root@jaredweb ~]#
                  
                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch
                    last edited by

                    SELINUX was back to enforced. because I neglected to set /etc/selinux/config to permissive.

                    I had originally set it to permissive with setenforce permissive but that of course is lost on reboot.

                    Thanks @scottalanmiller fo mentioning selinux

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      SELinux is often a tricky thing when permissions seem to be wide open but are still failing.

                      1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @JaredBusch
                        last edited by JaredBusch

                        @JaredBusch said:

                        @scottalanmiller said:

                        Oh that sucks. What did it do on import?

                        Found the import problem was php-xml was missing. The importer never gave a notice. Only found it after trying a few other importer plugins. One of them popped a warning the XMLReader was missing.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          Awesome, so it is all working now?

                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch
                            last edited by

                            Well http://daerma.com is working perfectly, but http://JaredBusch.com is not updating the permalinks correctly. I will just nuke that one and redo it later and see if the problem goes away. I only have 3 posts on it.

                            1 Reply Last reply Reply Quote 0
                            • 1
                            • 2
                            • 3
                            • 3 / 3
                            • First post
                              Last post