Menu

Failed to initialize storage module

Help
2005-05-02
2013-04-08
  • Anders E. Andersen

    I am trying to get ibwebadmin up and running. I am stuck at this error though:

    Fatal error: session_start(): Failed to initialize storage module: user (path: /var/lib/php4) in /usr/share/ibwebadmin/inc/script_start.inc.php on line 16

    Any ideas on what may be wrong?

     
    • Lutz Brueckner

      Lutz Brueckner - 2005-05-02

      Hi,

      do you have other applications successfully running with your php installation? Is everything ok with the directory configured as session.save_path? Do you use any special session settings?

      May be you are affected by http://bugs.php.net/bug.php?id=25876

      Lutz

       
    • Anders E. Andersen

      Everything is fine with php as far as I know. I am running an up to date debian sid installation with Apache2 and php4 and mysql. (I am not trying to use ibwebadmin with mysql ;)

      I am hosting a couple of xoops websites with no problems .

      I do NOT have an interbase server installed on the system itself. I was hoping to control another server on a windows box I have on the lan.

       
      • Lutz Brueckner

        Lutz Brueckner - 2005-05-06

        Xoops is using its own session handler. So you will not see this bug with xoops.

        After some google'ing their seems to be a chance that this will help you:

        edit the file inc/script_start.inc.php and add

        ini_set('session.save_handler', 'files');

        in line 15, before the session_start() function call.

        Lutz

         
        • Anders E. Andersen

          Now I get:

          Warning: session_start(): open(/var/lib/php4/sess_ffcb82a4130c5f8edcfb0a3a5bf6391a, O_RDWR) failed: Permission denied (13) in /usr/share/ibwebadmin/inc/script_start.inc.php on line 18

          Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/share/ibwebadmin/inc/script_start.inc.php:18) in /usr/share/ibwebadmin/inc/script_start.inc.php on line 18

           
    • Anders E. Andersen

      /var/lib/php4 is completely empty. No files there.

       
    • Lutz Brueckner

      Lutz Brueckner - 2005-05-07

      What is the value of session.save_path in your php.ini file? It seems to be /var/lib/php4/ ?!? Make sure that session.save_path is set to a directory where the webserver have read/write access.

      Lutz

       
      • Anders E. Andersen

        Yay! It seems to be working!

        I simply did -
        # chown www-data:www-data /var/lib/php4

        Only thing now is this warning on the front page:

        Warning:

        The isql binary is not present in /usr/lib/firebird2/bin/!
        Please check the value for BINPATH in inc/configuration.inc.php.

        As I said I don't have the firebird server installed as my purpose was to test the interbase server on my windows box.

        Thanks for the great help!

         
        • Lutz Brueckner

          Lutz Brueckner - 2005-05-07

          Ok, fine that you succeed. But your php configuration seems to be somehow weird. By default session.save_path is set to /tmp.

          isql and the other firebird utilities are needed for some tasks, e.g. creating triggers and stored procedures, database backup and restore. But data maintenance and most other things will work without them.

          Lutz

           
          • Anders E. Andersen

            It's a standard Debian/unstable install. But perhaps it does things a bit differently.

            Do you think I should report this to the debian maintainer of ibwebadmin?

             

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.