Displaying 20 results from an estimated 52 matches for "log_error".
2006 Dec 19
1
Internal API errors in EdgeRails
Started getting these in my development.log when I called a bad
before_filter. Looks like log_error needs to be updated?
DEPRECATION WARNING: @response is deprecated! Call response.inspect
instead of @response.inspect. Args: [] See http://www.rubyonrails
.org/deprecation for details. (called from log_error at
./script/../config/../vendor/rails/actionpack/lib/action_controller/rescue.rb:
66)
DE...
2003 Jul 11
4
module : cdr_sybase.so
...of %s\n",dbserver);
ast_log(LOG_DEBUG,"cdr_sybase: got dbuser of %s\n",dbuser);
ast_log(LOG_DEBUG,"cdr_sybase: got password of %s\n",password);
ast_log(LOG_DEBUG,"cdr_sybase: got application of %s\n",application);
if (dbserver == NULL)
{
ast_log(LOG_ERROR,"Database server not specified.\n");
return -1;
}
if (dbuser == NULL)
{
ast_log(LOG_ERROR,"Database dbuser not specified.\n");
return -1;
}
if (password == NULL)
{
ast_log(LOG_ERROR,"Database password not specified.\n");...
2010 Oct 13
0
Overriding log_error in Rails3 not working
I have this in my application.rb:
private
def log_error(exception)
super
UserMailer.error_message(exception,
clean_backtrace(exception),
session.instance_variable_get("@data"),
params,
request.env
).deliver
end
I''d like the errors emailed to me.
It doesn...
2009 Mar 04
1
Patch to Pacemaker hooks in ocfs2_controld
Hi Guys,
I overhauled and simplified the Pacemaker hooks recently. This patch:
- Reuses more code from the Pacemaker libraries
- Escalates fencing to the cluster manager instead of initiating it
directly
Attached patch is against master, or you can pull the original patch
which is against an older version used by SUSE:
2005 Aug 25
2
Custom Application For Asterisk
...quires an argument (number)\n");
return -1;
}
LOCAL_USER_ADD(u);
ast_mutex_lock(&tdslock);
memset(mysqlcmd, 0, sizeof(mysqlcmd));
sprintf(mysqlcmd, "Select MyFunction(\'%s\') As result",((char *) data));
do {
if (!connected) {
if (mssql_connect())
ast_log(LOG_ERROR, "Failed to reconnect to SQL database.\n");
else
ast_log(LOG_WARNING, "Reconnected to SQL database.\n");
retried = 1;
}
if (!connected || (tds_submit_query(tds, mysqlcmd) != TDS_SUCCEED))
{
ast_verbose(VERBOSE_PREFIX_3 "Failed to query database.\n");...
2009 Oct 05
3
Questions about app_jack.c
Hello,
My configuration is :
Card 0 - kernel dummy sound card
Card 1 - my soundcard
I have a jackd running in background. My jackd launch command is :
jackd --port-max 16 --realtime --no-mlock -d alsa --playback hw:1,0
--capture hw:1,0 --rate 8000 --period 1024 --shorts --inchannels 2
--outchannels 2 --dither triangular &
1 ) I open asterisk with chan_alsa.so connected (with asoundrc) to
2009 Dec 14
2
Asterisk & Zaptel setup on vserver
...the Zaptel timer test failed to set ZT_TIMERCONFIG to 160.
The code where this error lies is this:
int fd;
- int x = 160;
- fd = open("/dev/dahdi/timer", O_RDWR);
+ fd = open(DAHDI_FILE_TIMER, O_RDWR);
if (fd >= 0) {
if (ioctl(fd, DAHDI_TIMERCONFIG, &x)) {
- ast_log(LOG_ERROR, "You have DAHDI built and drivers loaded, but
the DAHDI timer test failed to set DAHDI_TIMERCONFIG to %d.\n", x);
+ ast_log(LOG_ERROR, "You have " DAHDI_NAME
+ " built and drivers loaded, but the "
+ DAHDI_NAME " timer test failed to set DAHDI_TIMERC...
2003 Oct 20
3
Call Waiting on SIP phones
...}
break;
case INC_IN_USE:
+ case INC_OUT_USE:
if (u->incominglimit > 0 ) {
if (u->inUse >= u->incominglimit) {
ast_log(LOG_ERROR, "Call from user
'%s'
rejected due to usage limit of %d\n", u->name, u->incominglimit);
@@ -977,6 +980,7 @@
u->inUse++;
ast_log(LOG_DEBUG, "Call from user '%s' is %d out of
%d\
n", u->name, u->inUse,...
2007 Aug 30
2
Unknown connection error: (2006) MySQL server has gone away
Hi,
I get the following after a call has finished:
ERROR[6862]:mysql_log: cdr_mysql: Unknown connection error: (2006)
MySQL server has gone away
Does this error message only appear when asterisk makes a new connection
to mysql, because the old connection was stale (and dropped) ?
If so, is there a way to get asterisk to stop reporting this as an error
seeing it seems to write the CDR to
2016 May 30
2
Need stronger SRTP ciphers (256 bit)
Hi folks,
At least several endpoints (soft phone and desk phones) are supporting various 256 bit ciphers for SRTP these days. I *believe* libsrtp has been updated to allow this, and that only the code in Asterisk has not been been updated to allow these stronger ciphers.
Would anyone with the know-how be willing/able to submit a patch ?
Thank you,
Kevin Long
2015 Nov 30
2
SOT: MariaDB 5.5.x-MariaDB logs are not going to desired .log file
...[server]
# this is only for the mysqld standalone daemon
[mysqld]
#wait_timeout=28800
#interactive_timeout = 28800
max_allowed_packet=512M
#General Query Log
general_log_file = /var/log/mysql/mysql_query.log
general_log = 1
#Error Log
log_error = /var/log/mysql/mysql_error.log
#Slow Query Log
slow_query_log = 1
slow_query_log_file = /var/log/mysql/mysql_slow.log
long_query_time = 2
log-queries-not-using-indexes
collation-server = utf8_general_ci
init-connect='SET NAMES u...
2013 Nov 05
4
Handling closed clients
...OTCONN
- # client disconnected on us and there''s nothing we can do
when Unicorn::RequestURITooLongError
414
when Unicorn::RequestEntityTooLargeError
@@ -556,8 +554,12 @@ class Unicorn::HttpServer
when Unicorn::HttpParserError # try to tell the client they''re bad
400
else
- Unicorn.log_error(@logger, "app error", e)
- 500
+ if client.closed?
+ # client disconnected on us and there''s nothing we can do
+ else
+ Unicorn.log_error(@logger, "app error", e)
+ 500
+ end
end
if code
client.kgio_trywrite(err_response(code, @request.response_start_sent))
diff --git a...
2008 Aug 12
2
[PATCH] Allow GSSAPI to work with multihomed hosts
I saw some past chatter on this in the list archives, but here is
another stab and another rational.
This patch follows a similar patch to openssh in that it allows any
key in the specified keytab to match the incoming host key. This is
necessary for multihomed hosts. See:
https://bugzilla.mindrot.org/show_bug.cgi?id=928
IMAP/POP seem to be a strong candidate to be multihomed because they
are
2014 Mar 07
1
asterisk11.5.1 module not load why ? any help
...int res = 0;
//static const char * const app = "ConfBridge";
//static const char * const app = "ConfBridge";
if (conf_load_config(0)) {
ast_verb(3, "Unable to load config. Not loading module.\n");
ast_log(LOG_ERROR, "Unable to load config. Not loading
module.\n");
return AST_MODULE_LOAD_DECLINE;
}
if ((ast_custom_function_register(&confbridge_function))) {
return AST_MODULE_LOAD_FAILURE;
}
if ((ast_custom_function_register(&con...
2017 Aug 08
2
Troubleshooting php-fpm with apache on Centos 7
...fig of the vhost is as follows:
<VirtualHost *:80>
DocumentRoot "/var/webs/wwwgreekgeo/www"
ServerName www.greekgeo.noa.gr
ServerAdmin webmaster at noa.gr
DirectoryIndex index.php index.html index.htm
php_flag log_errors on
php_flag display_errors off
php_value error_log /var/webs/wwwgreekgeo/log/php_error_log
# php_value error_reporting 32767
# php_value error_reporting 2147483647
php_value error_reporting 6135
Redirect 301 /en.index.html...
2010 Jul 30
3
Redirecting PHP error messages into a log file
Hello,
I'm using CentOS release 5.5 x86_64 with the stock php-5.1.6-27.el5
and would like to redirect PHP messages into /var/log/httpd/php_log
First I tried adding that file name to /etc/php.ini:
error_log = "/var/log/httpd/php_log"
and restarted httpd, but the file didn't appear.
I've touched it and changed owner to apache.apache,
but that didn't help.
Then I've
2011 Oct 11
3
/etc/init.d/mysql =fail mysqld=success
...lib/mysql
tmpdir = /tmp
skip-external-locking
bind-address = 0.0.0.0
key_buffer = 16M
max_allowed_packet = 16M
thread_stack = 192K
thread_cache_size = 8
myisam-recover = BACKUP
query_cache_limit = 1M
query_cache_size = 16M
log_error = /var/log/mysql/error.log
expire_logs_days = 10
max_binlog_size = 100M
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
[mysql]
[isamchk]
key_buffer = 16M
!includedir /etc/mysql/conf.d/
root@cloneubuntu:/var/log/mysql#
However when i r...
2007 Feb 23
0
Simple patch
...d* in order to operate */
+#ifdef HAVE_LIBCAP
+cap_t caps;
+cap_value_t suidcaps[] = {
+ CAP_SETUID,
+ CAP_NET_BIND_SERVICE
+};
+#endif
+
static const char *configfile = SYSCONFDIR "/" PACKAGE ".conf";
static const char *env_tz;
@@ -583,6 +595,18 @@
if (log_error)
i_fatal("This is Dovecot's error log");
+ i_info("test message, monkeys");
+ /* drop capabilities that we don't need, be very restrictive */
+#ifdef HAVE_LIBCAP
+ i_info("Found capability support, dropping unnecessary root
priv...
2009 Nov 17
1
dovecot 1.2.7 : configure: error: Can't build with LDAP support: libldap not found
...the error
"configure: error: Can't build with LDAP support: libldap not found".
i am attaching the log file with this mail.
i want to use it with latest apacheDS.
Thanks in advance
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log_error.txt
URL: <http://dovecot.org/pipermail/dovecot/attachments/20091117/e4994be6/attachment-0002.txt>
2004 Jul 20
0
received a call waiting CONNECT_IND
...;, since we can't do
anything with call waiting now
// just reject it with "user busy"
// however...if we are a p2p BRI then the telco switch will allow
us to choose the b channel
// so it will look like a callwaiting connect_ind to us
ast_log(LOG_ERROR,"received a call waiting
CONNECT_IND\n");
What can I do to handle this correctly?
--
Dave Cotton <dcotton@linuxautrement.com>