Menu

problems storing the database on NFS drive

Help
milman
2004-08-18
2012-10-11
  • milman

    milman - 2004-08-18

    Hi,

    When running phpwiki and saving the database (db4) on /tmp on the locale machine, everything works great.

    When changing the database path to some NFS monted directory, I got an error:  (using phpwiki 1.3.10)
    lib/DbaDatabase.php:54: Fatal[256]: dba_open(/usr/local/web/docs/dyn-docs/php/phpwiki/wiki_pagedb.gdbm,w): Driver initialization failed for handler: gdbm: Can't be writer

    * file: /usr/local/web/docs/dyn-docs/php/phpwiki/wiki_pagedb.gdbm
    * mode: w
    * handler: gdbm

    using phpwiki 1.2.4, trying flatfile, I get this error:
    WikiFatalError
    Cannot open database 'wiki' : '/mnt/workspace/wikipagesdb', giving up.

    Debian package, using ver 1.3.7 with sqlite, working great over nfs as well. However, this package is modified and quite old, and I prefer the original package.

    Any ideas?

     
    • Reini Urban

      Reini Urban - 2004-08-18

      This must be a php problem.
      Sorry.

       
      • milman

        milman - 2004-08-18

        well, you're right!

        I've used php ver 4.3.4.
        when I tested this on php ver 4.3.8, it worked!

           Thanks!

         

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.