Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Remote server moved hardware - now no one can login at the forum

edited March 2010 in Vanilla 2.0 - 2.8

I had my site moved to another hardware at my remote VPS, while maintaining the same domain and remote paths.

Now the forum is displaying some strange warning messages and can't login. Some has any idea what could it be?

Here's the address:


  • Options
    edited March 2010

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
    There are some problems with your php session settings. Make sure Apache or php has write permission on "/var/lib/php/session".
  • Options
    How would I do that? Sorry for the dumb question
  • Options
    edited March 2010
    It is not a dump question but it is specific to your server.

    But you should let your provider or sysadmin know about it and ask them to fix it. If you don't have support, look in your provider faq or ask on their forum how to correctly setup php session.
  • Options
    It is a VPS, so no support.

    I have all access to the server, just need to know how to do it. Is there any place I can find this info?
  • Options
    edited March 2010

    ps aux | grep httpd
    sudo mkdir -p /var/lib/php/session
    sudo chown -R [APACHE USER NAME] /var/lib/php/session
    sudo chmod -R 700 /var/lib/php/session
    The first command will show the Apache process. The first column will show the Apache user name (one will be "root" but it just Apache process manager).
  • Options
    Did it, but the issue persists.

    I did a ls -la at/var/lib/php/ and it returned:

    drwx------ 2 apache apache 4096 Apr 7 2009 session
  • Options
    To check if the permission is the problem, try:
    sudo chmod -R 777 /var/lib/php/session
  • Options
    That was it. Thanks a lot man.
Sign In or Register to comment.