Re: Improving runbib disagnostics in case of error

David Nebauer <[email protected]>
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi Olivier,
> I've tried and compile my bibliography after having upgraded to the
> recent .deb packages, and apparently, the styles were no longer
> retrieved.

In case part of the problem is due to the server maintenance done during 
package install, here is the shell script fragment responsible for 
running the server in maintenance mode:

----------------------------------------------------------------------------------
<fragment>
# Construct server maintenance command
cmd="refdbd -a -D \"${db_backend}\" -i \"${db_dir}\""
if [ "${need_account_details}" = true ] ; then
    cmd="${cmd} -u \"${username}\" -w \"${password}\""
fi
# Execute server maintenance command
# Pipe through shell to ensure correct quote handling
set +e
echo ${cmd} | sh
errval=${?}
set -e
</fragment>
----------------------------------------------------------------------------------

Default values are:
    db_backend = sqlite
    db_dir     = /var/lib/refdb/db

Values for variables 'need_account_details', 'username' and 'password' 
are determined dynamically during the install preconfigure (or previous 
values are used).
   
Regards,
David.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.