mozilla/browserid — Issue #826: CentOS: local install now failing with dbwriter error
Author: jbonacci
Created: 2011-12-30 00:38:40+00:00
State: open

I was running BrowserID successfully (12/22/2011 and older git clone) on CentOS 6 using node 6.5 and npm 1.1.0-alpha-6.
With the same setup, I cloned another build today.
That worked.
The npm install appeared to proceed w/o any issues.
But, npm start shows the following:

npm start

> browserid@0.0.1 start /home/mozroot/browserid
> ./scripts/run_locally.js

The "sys" module is now called "util". It should have a similar interface.
spawned verifier (/home/mozroot/browserid/bin/verifier) with pid 5478
info: process type is run_locally
verifier (5478): The "sys" module is now called "util". It should have a similar interface.
verifier (5478): info: verifier server starting up
verifier (5478): info: process type is verifier
verifier (5478): info: running on http://127.0.0.1:10000
spawned keysigner (/home/mozroot/browserid/bin/keysigner) with pid 5483
keysigner (5483): The "sys" module is now called "util". It should have a similar interface.
keysigner (5483): info: process type is keysigner
keysigner (5483): info: running on http://127.0.0.1:10003
spawned dbwriter (/home/mozroot/browserid/bin/dbwriter) with pid 5486
dbwriter (5486): The "sys" module is now called "util". It should have a similar interface.
dbwriter (5486): info: dbwriter starting up
dbwriter (5486): debug: domain key was created at Thu Dec 29 2011 16:15:13 GMT-0800 (PST) (certs issued prior to this are bogus)
dbwriter (5486): debug: WSAPIs:
dbwriter (5486): debug: stage_email (POST - authed - email, site)
dbwriter (5486): debug: stage_user (POST - not authed - email, site)
dbwriter (5486): debug: account_cancel (POST - authed)
dbwriter (5486): debug: complete_user_creation (POST - not authed - token, pass)
dbwriter (5486): debug: complete_email_addition (POST - not authed - token)
dbwriter (5486): debug: remove_email (POST - authed - email)
dbwriter (5486): debug: update_password (POST - authed - oldpass, newpass)
dbwriter (5486): FATAL: couldn't find database driver: json
dbwriter (5486): info: process type is dbwriter
dbwriter exited(0)
keysigner (5483): warn: SIGTERM received. closing 0 connections and shutting down.
verifier (5478): warn: SIGTERM received. closing 0 connections and shutting down.
keysigner exited(0)
verifier exited(0)
all daemons torn down, exiting...