Author |
Message |
killing-hours
RavenNuke(tm) Development Team

Joined: Oct 01, 2010
Posts: 438
Location: Houston, Tx
|
Posted:
Fri Aug 05, 2011 4:57 pm |
|
Hey all-
I've finally setup my very own server in the house using ubuntu server 10.04 LTS. (I've deployed it as a LAMP server) I've ensured php, mysql & apache2 are all working. I've SFTP'd the files over and they all seem to have 644 file permission. (assuming that is correct) I've done everything I believe that needs to be done... but when I hit the ip address... this is what I get. Did I forget something somewhere??
I won't be back to the house until sometime tomorrow evening to test suggestions. Just tossing this out there so I have something to come back to. Thanks. |
_________________ Money is the measurement of time - Me
"You can all go to hell…I’m going to Texas" -Davy Crockett |
|
|
 |
nuken
RavenNuke(tm) Development Team

Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Fri Aug 05, 2011 5:13 pm |
|
mysql may need to be restarted. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Fri Aug 05, 2011 5:47 pm |
|
I think nuken may be right. I'd do that first.
However, regarding your 644 comment, directories should be 755 and the files in those directories should be 644. Not sure your setup, but the following is an example set of find commands that will fix this just change "public_html" to the path of the root of your web site files:
Code:
find public_html -type d -print0 | xargs -0 chmod 755
find public_html -type f -print0 | xargs -0 chmod 644
|
|
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
killing-hours

|
Posted:
Sun Aug 07, 2011 10:32 am |
|
@nuken... Just after I posted that and when I hit the road... it came to me that the only thing it could be was mysql. Today, I come back... read your reply... sent command (with root)
Code:service mysql restart
|
and it seems to restart fine... however, same issue remains. In the apache2.conf... think i'm just going to start from scratch and try this again. Live an learn. Maybe I hosed something somewhere.
@montego... the folders are 755... the SFTP'ing when perfect... just couldn't get mysql to connect to the apache server or something. |
|
|
|
 |
killing-hours

|
Posted:
Sun Aug 07, 2011 7:44 pm |
|
Grrrrr... totally fresh install... used "tasksel" to install LAMP... same problem.
Running low of ideas.
Can log into phpmyadmin fine... do I need to link mysql to apache2 or something?? |
|
|
|
 |
Palbin
Site Admin

Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Sun Aug 07, 2011 8:07 pm |
|
In config.php set $display_errors = true; then it should dump the connection error to the screen. At least that is how I intended it lol. |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
 |
killing-hours

|
Posted:
Sun Aug 07, 2011 8:45 pm |
|
Apparently I've had to much sun this weekend. Dunno what I did or how it started working... but it works....finally. |
|
|
|
 |
|