New server, still down after a week, help! :)

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

New server, still down after a week, help! :)

Post by rj »

Been down a week now. Traffic outgrew my shared hosting. an UNMANAGED Dedicated server is all I can afford.
Had a few days of virtual servername issues and a few days of DB import limit issues.
Resolved the DB issue and uploaded it this morning. But
Error, Serendipity cannot find DB
Changed OUR local.cfg file to reflect the new DB info.
No error, but an instant empty screen with a DONE in the status bar. rackjite.com
Server says its a "scripting" issue and not their problem. And to access Apache to get error logs and figure it out. Beyond my capability at the moment.
I need some help as I have no idea where to look.
I tried to learn SSH last night, got PUTTY but its just too much of a learning curve all at once.
I need to get the blog UP.
And, its my birthday! Sure would be a nice present to get it up, let me tell you! :)

rackjite.com
Thanx
RJ
Here is the new config file I changed the newDB NAME, DBHOST and DBUSER
$serendipity['versionInstalled'] = '1.5.1';
$serendipity['dbName'] = 'kick';
$serendipity['dbPrefix'] = 'serendipity_';
$serendipity['dbHost'] = 'localhost';
$serendipity['dbUser'] = 'kick';
$serendipity['dbPass'] = '*******';
$serendipity['dbType'] = 'mysql';
$serendipity['dbPersistent'] = false;
$serendipity['dbCharset'] = 'utf8';

No longer get a DB ERROR when click the url...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: New server, still down after a week, help! :)

Post by garvinhicking »

Hi!

What's the URL? Did you, according to the Server upgrade/move FAQ on s9y.org, properly change the path settings in your database dump file/export?

An empty page often means a fatal PHP error. You might want to ask your provider where you can inspect the PHP error logs.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Re: New server, still down after a week, help! :)

Post by rj »

http://rackjite.com

I will check the that faq
This is what I got from them

I was able to duplicate the issue you described. You have previously requested Expert Hands assistance with increasing the PHP upload limit on your server and have now stated that you are receiving a blank page when attempting to access the hosted website. I can see the blank page when browsing to rackjite.com. There are a great deal of PHP errors showing in the apache error logs for this domain that indicate why the PHP cannot parse and the pages do not load properly. A small sample o some of the errors seen are as follows:


/*Snip*/
[Mon Nov 01 13:52:26 2010] [error] [client 64.202.161.177] PHP Warning: Smarty error: unable to read resource: "file:entries.tpl" in /home/kick/public_html/bundled-libs/Smarty/libs/Smarty.class.php on line 1093
[Mon Nov 01 13:52:26 2010] [error] [client 64.202.161.177] PHP Warning: Smarty error: unable to read resource: "file:content.tpl" in /home/kick/public_html/bundled-libs/Smarty/libs/Smarty.class.php on line 1093
[Mon Nov 01 13:52:26 2010] [error] [client 64.202.161.177] PHP Warning: Smarty error: unable to read resource: "404.tpl" in /home/kick/public_html/bundled-libs/Smarty/libs/Smarty.class.php on line 1093
/*Snip*/

These errors appear to indicate that a script, application, or template for the installed application is not configured properly and is unable to access specific files it requires to work properly. Unfortunately, because we are not familiar with how your website was built or designed to function, we are unable to provide assistance with troubleshoot scripting errors such as this. I would recommend reviewing the apache error log for the domain which can be reviewed via SSH at /var/log/httpd/rackjite.com_error_log. I apologize for any inconveniences this issues may be causing.

Please contact us if you have any further issues.
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Re: New server, still down after a week, help! :)

Post by rj »

I moved to the dedicated server using the same domain name and I am sure paths.
My web pages for my HTML domains work fine. I read the FAQ you suggested and I think I followed it all. I don't know what could have changed other than the info in the inc.config file which I did change and after that the old ERROR NO DB FOUND went away and now nothing.
I left you some pvt mail here about this. If you are maybe don could help by FTPing in to have a look I would really really appreciate it.
Thanx
RJ
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Re: New server, still down after a week, help! :)

Post by rj »

In phpadmin I did find the serendipity path and changed it to the new stuff. And it saved it as now when I go to the blog instead of a blank page I get
Cannot write to directory /home/kick/public_html/templates_c. Please check the permissions.
That would mean the path is now correct?

After I put the info into that config file was there something else I need to do?
And DUMPFILE means (my).sql file?
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: New server, still down after a week, help! :)

Post by kleinerChemiker »

there are several path variables in the DB, but i don't know how much you have to change.

The template_c dir has to be writeable for the webserver.
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Re: New server, still down after a week, help! :)

Post by rj »

From FTP when I click the templates_c folder it says OWNER write box checked but not checked in group or public.
And there is a SIUD box unchected under owner.
Or do I do this from somewhere else?
In the DB admin config there is the templates folder but not the templates_C folder
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Re: New server, still down after a week, help! :)

Post by rj »

I have been down now for 8 days, I really really need to get back up and running before I lose everyone...

Thanx for the help!!!! From FTP I set the templates_c public to WRITE and now the blog loads the DB, the css, admin (I can log in) but the config plugin in admin is empty they are not there. Nor do any graphics in the /graphics directory load load. Nor to all the HTML files in my WEB directory.

http://rackjite.com

Comments are filling with spam fast without the security plugin.

Whats my next step you think?

Thanx for helping kleinerChemiker!

jsut got this error message inside admin when I tried to change date in config.

- Cannot write to file serendipity_config_local.inc.php.
-> run chown -R www:www /home/kick/public_html/ (Change 'www' to the user apache runs as (e.g. 'nobody').)
-> run chmod 770 /home/kick/public_html/
Once you have done this, hit your browser's "reload" button.

I am very very new to SHH. I did the second one and it created a FORBIDDEN to the URL. The first one I dont understand, is my apache user name the name I log into SSH? And change www to the user name but there is www:www which one?
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: New server, still down after a week, help! :)

Post by kleinerChemiker »

Maybe Wikipedia helps for understanding.
http://en.wikipedia.org/wiki/Chmod
http://en.wikipedia.org/wiki/Chown

Some opinion of me: Why do I only give you hints? SOmetimes I don't know the exact answer. But even if I know, I think if you want to manage youre own server, you have to learn very much and you learn better if you have to find the answer yourself instead of getting instructions for every keystroke. Managing a server is quite some work and if you don'T know what you are doing, you easyly can get hacked.
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Re: New server, still down after a week, help! :)

Post by rj »

I understand. Gavin helped me get up and running and things are presently fine.
I just cannot learn it all in a couple days. Thanx again.
Post Reply