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.
    • scottalanmillerS
      scottalanmiller @JaredBusch
      last edited by

      @JaredBusch said:

      Would it be possible to copy the boot partitions to the old drive and then try and attach it as the primary drive? That is more in depth CentOS than I know how to handle.

      Possible but unlikely. That could be a lot of work to get working right.

      1 Reply Last reply Reply Quote 0
      • Reid CooperR
        Reid Cooper
        last edited by

        So you just ended up nuking it?

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

          Was easier really. Well would have been easier if the Wordpress export file had imported correctly..

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

            Oh that sucks. What did it do on import?

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

              @scottalanmiller said:

              Oh that sucks. What did it do on import?

              I posted in this thread.
              http://wordpress.org/support/topic/import-process-only-displays-page-header

              Here is my screenshot. Notice how the source code on the import page just stops dead mid page. there is obviously some kind of error in the plugin.
              http://i.imgur.com/OMvVXPw.jpg

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

                Craptastic

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

                  Reinstalled everything from scratch and thought it was all good. But I am having a weird problem.

                  When I turn on any kind of permalink option other than the default it fails.

                  example: http://jaredbusch.com/?p=20 works.
                  If I change it to postname with date like I prefer, it gives me: The requested URL /2014/08/27/installing-owncloud-on-centos-7/ was not found on this server.

                  But if you go to the landing page, it shows all three posts on the site.

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

                    but this site does not have that problem

                    http://daerma.com/blowed-up-sir/

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

                      Something is weird in this install.

                      Right after I reinstalled CentOS 7 and the various Wordpress sites, I was able to install plugins and run updates and such all from the built in processes.

                      Today I go to run install a new plugin on one of the domains and I get the FTP credentials screen. I know this means that Wordpress has no access to the folder/files it needs.

                      The directory was chown'd to apache:apache (and I did it again just now). What else can I look into? The only other ting I have seen is maybe my php process is not running as apache? But I am not sure how to check that.

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

                        I created test.php as follows

                        <?php
                        echo 'Current script owner: ' . get_current_user();
                        ?>
                        <br />
                        <?php
                        phpinfo();
                        ?>
                        

                        Then i chown apache:apache test.php to match the rest of the files in the folder.

                        [root@jaredweb daerma]# ls -l
                        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
                        

                        then went to http://daerma.com/test.php (go ahead it is still there)
                        Everything looks right to me.

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

                          Anyone have any other ideas on what maybe wrong with this wordpress install?

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

                            When you chowned, did you do it recursively?

                            chown -R apache:apache /webdir

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

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

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

                                @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.

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post