Finally got over my “Too many open files” problem with BerkeleyDB. Running:
sudo sysctl -w kern.maxfiles=32768
sudo sysctl -w kern.maxprocperuid=16384
seemed to work.
I then got errors about couldn’t find DBD::BerkeleyDB in @INC:
[init] Whitelist database error: install_driver(BerkeleyDB) failed: Can't
locate DBD/BerkeleyDB.pm in @INC (you may need to install the DBD::BerkeleyDB
module) (@INC contains: lib /Applications/assp/lib
/usr/local/lib/perl5/site_perl/5.18.2/darwin-thread-multi-ld-2level
/usr/local/lib/perl5/site_perl/5.18.2
/usr/local/lib/perl5/5.18.2/darwin-thread-multi-ld-2level
/usr/local/lib/perl5/5.18.2 . /Applications/assp /Applications/assp/Plugins) at
(eval 512) line 3.
Perhaps the DBD::BerkeleyDB perl module hasn't been fully installed,
or perhaps the capitalisation of 'BerkeleyDB' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, LDAP, ODBC, PgPP, Proxy,
SQLite, Sponge, Sprite, mysql.
at sub main::initDBHashes line 42.
Found the BerkeleyDB .pm files in /usr/local/lib/perl5/site_perl/5.18.2
/usr/local/lib/perl5/5.18.2/darwin-thread-multi-ld-2level and moved them to the
subdirectory DBD (i.e. they were one level too high).
Now it doesn’t complain about not finding the module, but I’m getting the error:
[init] Whitelist database error: DBD::BerkeleyDB initialisation failed: Can't
locate object method "driver" via package "DBD::BerkeleyDB" at
/usr/local/lib/perl5/site_perl/5.18.2/darwin-thread-multi-ld-2level/DBI.pm line
821.
Perhaps the capitalisation of DBD 'BerkeleyDB' isn't right. at sub
main::initDBHashes line 42.
Anyone have any ideas?
I feel I am getting close!
Thanks,
James.
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test