Posts Tagged ‘hosting’

WXR upload failure

March 26, 2008

I have done this a number of times don’t know why suddenly it doesn’t work. Thanks again Site5‘s good support I have renamed my prime account name there such that I could move couple of subdomain WP sites to my new server. Renaming of the prime account name was done within minutes then it was pretty easy creating CNAME records and switching DNS at the domain registrar.

I have been using WordPress svn copy for my sites. The WXR upload failed on me. I thought that was write permission problem so I chmod 777 . the wp-content directory to make it work. It failed again.

WXR import failed

I also found that theme files are not writable so I did chmod -R 777 . again making sure it changes access permissions recursively to all files and directories. I could now update theme files but importing of WXR file is still not possible.

Both svn and stable release 2.3.3 have been tried. I don’t know what else could be done apart from using MySql dump, change url reference and MySql import. I have shouted for help at WP’s forum but so far heard nothing.

My server

February 6, 2008

Just apt-get update and apt-get upgrade my server as there are some important apache and kernel fixes that came up recently.

Accidentally found that theme files page.single.php and search.php have not been updated (change from include 'post.php' to include 'entry.php') therefore none of my pages load. This is now fixed.

Goodbye VPSLink

November 29, 2007

Just canceled my plan with them. They are alright I have to say except that support was a bit slow or slower than I would have expected.

My OpenVZ server isn’t useful now as my slice at Slicehost is up and running and I think LAMP is my comfort zone. I have not managed to get LEMP running after all.

There are more optimization and tweaking I have to learn about Apache, MySQL and PHP so I’ll stay with my 256slice for the moment.

Apache isn't complaining now!

November 28, 2007

For the first time then I run apache2ctl configtest I have just Syntax OK and nothing else. I’m so happy.

The key is the site files in /etc/apache2/sites-enabled/, a typical one should look like this

#NameVirtualHost *
[VirtualHost *=""]
ServerName yoursite.com
ServerAlias *.yoursite.com
DocumentRoot /var/www/yoursite.com
[/VirtualHost]

of course with other directives as required.

I have also appended below line to /etc/hosts

my.own.ip.number mysite.com www.mysite.com and to file hostname this line mysite.com

After a apache2ctl graceful I have 82M used and 173M free from free -m. Further tweak was commenting out mpm_worker_module and use prefork MPM (multi-Processing Module) which is default for Linux and recommended if PHP is run as a module.