Difference between revisions of "Dev Troubleshooting"
From Dreamwidth Notes
Foxfirefey (Talk | contribs) (New page: == Is your system updated? == Make sure that your system is updated. Dreamwidth code is best supported by Ubuntu Intrepid. To update all your packages, you should be logged in as root an...) |
Foxfirefey (Talk | contribs) m |
||
Line 16: | Line 16: | ||
Then, run the two <code>apt-get</code> commands above. | Then, run the two <code>apt-get</code> commands above. | ||
− | == Apache | + | == Restarting Apache == |
− | + | Sometimes stopping and restarting Apache can help: | |
− | / | + | sudo /etc/init.d/apache2 stop |
+ | sudo /etc/init.d/apache2 start | ||
− | Loading blank pages are probably the result of mod_perl crashing (often called a "segfault"). | + | == Apache error logs == |
+ | |||
+ | The error logs for Apache (the web server) are located at <code>/var/log/apache2/error.log</code> for a default Ubuntu installation. Loading blank pages are probably the result of mod_perl crashing (often called a "segfault"). | ||
[[Category: Development]] | [[Category: Development]] |
Revision as of 05:01, 8 September 2008
Is your system updated?
Make sure that your system is updated. Dreamwidth code is best supported by Ubuntu Intrepid. To update all your packages, you should be logged in as root and then run:
apt-get update apt-get upgrade
If you need to upgrade Ubuntu from Hardy to Intrepid, first you will want to edit this file:
vi /etc/apt/sources.list
And replace all instances of "hardy" with "intrepid". The easy vi command for that is:
%s/hardy/intrepid/g
Then, run the two apt-get
commands above.
Restarting Apache
Sometimes stopping and restarting Apache can help:
sudo /etc/init.d/apache2 stop sudo /etc/init.d/apache2 start
Apache error logs
The error logs for Apache (the web server) are located at /var/log/apache2/error.log
for a default Ubuntu installation. Loading blank pages are probably the result of mod_perl crashing (often called a "segfault").