Solved CentOS 7 VM will not boot
-
Was easier really. Well would have been easier if the Wordpress export file had imported correctly..
-
Oh that sucks. What did it do on import?
-
@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-headerHere 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 -
Craptastic
-
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.
-
but this site does not have that problem
-
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.
-
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. -
Anyone have any other ideas on what maybe wrong with this wordpress install?
-
When you chowned, did you do it recursively?
chown -R apache:apache /webdir
-
How do you make your code blocks in ML? Are you manually indenting all of those lines?
-
@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.
-
@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.
-
@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.
-
@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.
-
@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.
-
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 ~]#
-
@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
-
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 ~]#
-
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