Results 1 to 4 of 4

Thread: Can't login with admin account on osTicket after install.

  1. #1
    Registered
    Join Date
    Mar 2007
    Location
    Oregon
    Posts
    9
    Rep Power
    0

    Can't login with admin account on osTicket after install.

    I just did an install of osTicket using a subdomain:

    http://tickets.bryoweb.com/scp

    Which goes to: /tickets/htdocs

    I enter the login and password and don't receive any errors on the page and it just goes back to the admin login screen. If I check the php error log I get the following. Maybe I should open a support ticket?

    Thanks,

    Brian

    20130402T015003: tickets.bryoweb.com/scp/login.php
    PHP Warning: session_start(): open(/var/php_sessions/sess_d4857104f5c5151f43a578d21728bd75, O_RDWR) failed: No such file or directory (2) in /hermes/<<full path>>/tickets/htdocs/main.inc.php on line 48
    PHP Warning: session_write_close(): open(/var/php_sessions/sess_d4857104f5c5151f43a578d21728bd75, O_RDWR) failed: No such file or directory (2) in /hermes<<full path>>//tickets/htdocs/scp/login.php on line 51
    PHP Warning: session_write_close(): Failed to write session data (
    20130402T015004: tickets.bryoweb.com/scp/index.php
    PHP Warning: session_start(): open(/var/php_sessions/sess_d4857104f5c5151f43a578d21728bd75, O_RDWR) failed: No such file or directory (2) in /hermes<<full path>>//tickets/htdocs/main.inc.php on line 48
    PHP Warning: Unknown: open(/var/php_sessions/sess_d4857104f5c5151f43a578d21728bd75, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
    PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php
    Last edited by IanS; 4-2-13 at 04:43 AM. Reason: Hid full path for security

  2. #2
    Custom User Title entrecon's Avatar
    Join Date
    Aug 2006
    Location
    Michigan
    Posts
    2,742
    Rep Power
    16
    Sounds like an issue with temp/cookie/session directories. In OPs, check the PHP.ini file and make sure all of the paths are pointing to the correct place and that the access rights are set correctly on that/those locations.

    This usually happens with your access is controlled by a session file and if it can't right it to a temp directory, it doesn't hold the data, which means it can't validate your access.
    ________________________________
    Find me on twitter: @entrecon

  3. #3
    PowWeb Staff
    Join Date
    Jun 2012
    Location
    Phoenix
    Posts
    122
    Rep Power
    6
    Hi Brian,

    Definitely check the session.save_path in the php.ini file as entrecon stated. If you want sessions to be able to be saved in the folder specified in the error then you can use File Manager to create the folders /var/php_sessions/ so that the system can write sessions to that folder. We generally recommend using the entire account pathway and /cgi-bin/tmp/ as the session folder - but if your application requires something else then please set that.
    Here is some helpful information:
    http://www.powweb.com/knowledgebase/...90#Nugget_1374
    Melissa
    Technical Support

  4. #4
    Registered
    Join Date
    Mar 2007
    Location
    Oregon
    Posts
    9
    Rep Power
    0
    Yep that worked. I followed the steps on your link Melissa. Thanks!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •