Difference between revisions of "GUI does not open"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 6: Line 6:
Check /home/mor/config/database.yml and correct DB settings in [production] section.
Check /home/mor/config/database.yml and correct DB settings in [production] section.


<br>
<br><br>
= iptables =
 
Turn off iptables:
 
/etc/init.d/iptables stop
 
If it helps - fix iptables rules or uninstall iptables (not recommended).
 
How to fix iptables rules - check iptables manual or better - consult specialist.
 
<br><br>
= Apache cannot start =
= Apache cannot start =



Revision as of 11:13, 4 May 2010

DB settings

Something went wrong.jpg

If you get such error - that means GUI cannot connect to DB.

Check /home/mor/config/database.yml and correct DB settings in [production] section.



iptables

Turn off iptables:

/etc/init.d/iptables stop

If it helps - fix iptables rules or uninstall iptables (not recommended).

How to fix iptables rules - check iptables manual or better - consult specialist.



Apache cannot start

Apache log /var/log/httpd/error_log shows:

No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed

Checking your disk shows that you have plenty of space. The problem is that apache didn't shut down properly, and it's left myriads of semaphore-arrays left, owned by my apache-user. Run:

ipcs -s | grep apache | perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'

Restart Apache:

/etc/init.d/httpd restart

Reason for this problem: unknown




Errors in /tmp/mor_crash.log

ActionView::TemplateError (undefined method...

Upgrade DB by running appropriate fix script.



See also