search for: dbinit

Displaying 8 results from an estimated 8 matches for "dbinit".

Did you mean: gdbinit
2006 Oct 16
2
Unable to open Asterisk database
Hi, I'm using mysql to store my cdr data. I compiled asterisk-addon module without problems and I see nothing unusual in my cdr_mysql.conf but when I do a reload I get this messages (never seen before): Oct 16 09:43:16 WARNING[8576]: db.c:67 dbinit: Unable to open Asterisk database Oct 16 09:43:16 WARNING[8576]: db.c:423 ast_db_gettree: Database unavailable But If I try to connect from shell it works without any problem. Does anybody know why? Giorgio Incantalupo
2006 Jan 25
2
Changing Asterisk install location...
...multiple instances of asterisk, or in an emergency, easily install a second copy of asterisk in another location and test it without affecting the existing installation. I did this without issue back in Asterisk 1.0.9/1.2.1. Well now.we have the following issues on startup in 1.2.3. a) db.c:67 dbinit: Unable to open Asterisk database Looks like it's still looking for astdb in /var/lib/asterisk Why? b) pbx_spool.c:401 scan_thread: Unable to open directory /var/spool/asterisk/outgoing. Well, duh it isn't there, because I quite clearly told you to install under /home/asterisk! c) It...
2008 Mar 15
1
filehash
Hello, I'm using filehash on the windows XP and it has been working fine with the newest R version 2.6.2. However, on the windows vista, when I ran the same code, I got the following error: > dbCreate("simdb") #create simdb database [1] TRUE > db<-dbInit("simdb") #initiate an object of database Error in sprintf(gettext(fmt, domain = domain), ...) : object "datafile" not found > Thanks, Davood [[alternative HTML version deleted]]
2010 Jan 02
0
filehash - multiple indices via '[' not allowed when using RDS format
...r when I need to do something like db[c("a", "b")] when the db is in RDS format. Does any one know a way to get around that? The code below reproduces the error thanks Jeff filehashOption(defaultType = "DB1") dbCreate("mydb3", type = "DB1") db = dbInit("mydb3") db$a = rnorm(100, 1) db$b = rnorm(100, 1) with(db, c(a = mean(a), b = mean(b))) sapply(db[c("a", "b")], mean) # works. filehashOption(defaultType = "RDS") dbCreate("mydb4", type = "RDS") db = dbInit("mydb4") db$a = rn...
2006 Jan 25
0
Re: Asterisk-Users Digest, Vol 18, Issue 158
...multiple instances of asterisk, or in an emergency, easily install a second copy of asterisk in another location and test it without affecting the existing installation. I did this without issue back in Asterisk 1.0.9/1.2.1. Well now.we have the following issues on startup in 1.2.3. a) db.c:67 dbinit: Unable to open Asterisk database: Looks like it's still looking for astdb in /var/lib/asterisk Why? b) pbx_spool.c:401 scan_thread: Unable to open directory /var/spool/asterisk/outgoing. Well, duh it isn't there, because I quite clearly told you to install under /home/asterisk! c) It...
2003 Jul 11
4
module : cdr_sybase.so
...rn -1; } if (password == NULL) { ast_log(LOG_ERROR,"Database password not specified.\n"); return -1; } if (application == NULL) { ast_log(LOG_ERROR,"Application not specified.\n"); return -1; } /* Initialize DB-Library. */ if (dbinit() == FAIL ) { ast_log(LOG_ERROR,"Can not initialize DB-library.\n"); return -1; } login = dblogin(); DBSETLUSER(login,dbuser); DBSETLPWD(login,password); DBSETLAPP(login,application); dbproc = dbopen(login,dbserver); if (dbproc == NULL) { ast_log(LOG_WARNI...
2014 Mar 27
1
Asterisk SSL support broken with update from openssl-1.0.0 to 1.0.1e, recompiling does *not* help
...tp.h usability... yes checking srtp/srtp.h presence... yes checking for srtp/srtp.h... yes checking for the ability of -lsrtp to be linked in a shared object... yes checking for srtp_shutdown in -lsrtp... yes checking for srtp/srtp.h... (cached) yes checking for malloc in -lhoard... no checking for dbinit in -lsybdb... yes checking sybdb.h usability... yes checking sybdb.h presence... yes What else could I check? I have checked issues.asterisk.org and there is no mention of a situation similar to mine, so I believe this is somehow related to the build environment.
2009 Apr 26
4
1.6.1: menuselect has problems with x86_64 ??
1.6.1 svn 190575: CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect make[1]: Entering directory `/home/asterisk/rpmbuild/BUILD/asterisk-1.6.1/menuselect' gcc -m64 -march=native -mtune=native -floop-interchange -floop-strip-mine -floop-block -c -o