Displaying 20 results from an estimated 300 matches similar to: "Parsing variables in config files"
2019 Dec 15
0
Parsing variables in config files
On December 15, 2019 2:50:03 AM GMT+01:00, "Eudald Valc?rcel Lacasa" <eudald.valcarcel at gmail.com> wrote:
>Hello,
>I'm trying to set up a mailbox for a bunch of domains.
>To do so I'm running some docker containers (I know I can use
>multidomain
>set up and I'm doing so, but I need to have some domains on different
>containers for specific reasons).
2005 Sep 13
1
populating asterisk realtime tables from configfiles
Here is my file to parse and load extensions. No wise cracks about my
code....
DB.php is the Pear DB module. (pear.php.net)
<?php
include('DB.php');
$db_host = '';
$db_name = '';
$db_login = '';
$db_pass = '';
$db_table = 'extensions_table';
define(DBINFO,"mysql://$db_login:$db_pass@$db_host/$db_name");
$db =
2007 Mar 14
2
login authentication
Hi everyone, i used postfix, dovecot and mysql. I have virtual users and
domains. I have this configuration in dovecot-mysql.conf:
db_host = localhost
db_port = 3306
db_unix_socket = /var/run/mysqld/mysqld.sock
db = postfix
db_user = postfix
db_passwd = bscidth46
db_client_flags = 0
default_pass_scheme = CRYPT
password_query = SELECT password FROM mailbox WHERE username = '%u'
user_query
2008 Jan 16
3
question about mysql authentication
Hi list,
i use dovecot-1.0-1.2.rc15.el5 installed from rpm
centos 5.0
I cant get mysql authetication working: this is my /etc/dove-mysql.conf
######dove-mysql.conf should look like this##########
#db_host = 127.0.0.1
#db_port = 3306
db = postfix
db_user = postfix
db_passwd = secret
db_client_flags = 0
default_pass_scheme = PLAIN
password_query = SELECT password FROM mailbox WHERE username
2005 Jun 29
3
trouble with active record and sqlite
I am getting an error that I can''t figure out. I have a class called
Test with 3 fields, id, x, and y. When I do Test.new(''x''=>1,
''y''=>2).save, I get an error saying that id (my ''not null primary
key'') can''t be null. But isn''t active record supposed to deal with
setting that for me? Here''s the code
2006 Apr 26
2
mysql authentication problems
Hello all..
I'm trying to configure dovecot do athenticate using mysql, but I?m
having some troubles...
After configuring the mysql athentication in dovecot-mysql.conf and in
dovecot.conf, when I try to login I get this mesage in my logs:
Dovecot-auth: MySQL: Can't connect to database dovecot: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2)
2011 Jun 09
2
nginx + passenger + mongoid
When I set the rails_env to production in nginx.conf I get:
Error message:
db_name must be a string or symbol
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2012 Jun 24
2
dict Panic after upgrade to 2.1.7
Hello,
after upgrade my mailsystem to dovecot version 2.1.7, dovecot doesn't work
properly. something went wrong in dict service connecting the postgres
backend. that happens not on every connection. the db connection data are
correct, no difference connecting via tcp or linux socket.
dovecot log entries:
Jun 23 23:19:10 mx dovecot: dict: Panic: file driver-pgsql.c: line 84
2012 Apr 03
6
2 package resources for the same package installation in two differents modules caused errors
Hello,
We had the following situation where including two classes that were
ensuring the installation of the same package "php5-imagick" and it
was causing an error indicating that two ressources of the same name
are forbidden (sorry, I don''t have the exact message error since we
fixed quickly the error).
Since we are newbies in puppet, we would like to understand what this
2011 May 23
1
[Fwd: FW: extconfig.conf]
Hi Andrew,
OK, (the simple fact that those machines are not connected to internet
makes that i have to go to those machines and copy them on a usb-stick,
so it causes some delay each time...)
-------- Forwarded Message --------
Sorry - I meant extconfig.conf - not cdr_mysql.conf (my mistake).
I use (and done for a long time) mySQL for realtime storage - and it's
never let me down (touch
2005 Mar 04
2
ANNOUNCEMENT: Updates for app_cbmysql and MeetMe2gui (out of tree modules)
Lots of interest here for conferencing.
I've probably convinced more people to start using asterisk@home for
this feature than anything else.
Can I input some suggestions;
Need to change the rinky dink call icons (let me know if you need some
better samples)
Need to change the ability for a muted caller to flag they have a
question and a desire to talk (I do a lot of mute all except 1 or 2
2011 Jan 10
1
environment variable + res_mysql.conf
Hi All.
I have export some db parameter in /etc/bashrc as follows ...
export DB_NAME=xyz
export DB_IP=1x.1x.1x.1x
export DB_PWD=dkjfaoi
Now, I want use these all environment variable into
/etc/asterisk/res_mysql.conf file.
Is there any way to do this..??
--
Regards,
Chandrakant Solanki
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2015 Aug 15
2
wordpess can't connect to DB but mediawiki can
Hey guys,
I'm running both a wordpress site as well as a mediawiki off of the same
web servers. The mediawiki site works great! The wordpress site, meh. Not
so much. I keep getting the common database connection error:
Error establishing a database connection
And as far as I can tell the settings between the mediawiki site and the
wordpress site are nearly identical.
Here's the media
2013 Jun 10
1
[LLVMdev] Cannot submit LLVM test-suite results to the database using LNT tool
Hello,
When I was running the LNT testing for LLVM test-suite, it failed to submit the results to database.
The command is:
lnt runtest --submit db nt
--sandbox sandbox --cc clang --cxx clang++ --test-suite ./test-suite-3.2/ --llvm-src ~/projects/llvm/llvm --llvm-obj ~/projects/llvm/llvm_build/ --test-style=nightly --only-test MultiSource/Benchmarks/mediabench/
When submitting the results
2006 Oct 19
1
Writing with xapian-tcpsrv and php
Hi,
I think, there is missing constructor function supporting remote
writing for XapianWritableDatabase class in the php bindings (0.9.7).
This code:
$db = new XapianWritableDatabase(remote_open($db_host, $db_port),
$action);
returns:
Fatal error: No matching function for overloaded
'new_XapianWritableDatabase' (...)
$db = new XapianWritableDatabase($path, $action); works fine.
2010 Sep 01
1
[PATCH 2/2] Adding the ability to select a Host to start a VM [2/2]
Signed-off-by: Simon Courtois <scourtois at linagora.com>
---
src/task-omatic/taskomatic.rb | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb
index 471ec88..1dfd74f 100755
--- a/src/task-omatic/taskomatic.rb
+++ b/src/task-omatic/taskomatic.rb
@@ -355,11 +355,10 @@ class TaskOmatic
end
end
2008 Oct 29
1
Problem opening stub database for writing
I'm using Xapian 1.0.8 and the python bindings.
I have a flint database which I can open fine by doing the following:
db_name = '/path/to/db/db-name'
database = xapian.WritableDatabase(db_name, xapian.DB_OPEN)
However, if I have stub file at '/path/to/db/db-stub' containing the following:
flint /path/to/db/db-name
db_name = '/path/to/db/db-stub'
database =
2009 Aug 10
1
[PATCH server] Fixed db-omatic so it doesn't die due to an unhandled ActiveRecord::StaleObjectError exception.
The error is caused by the save! method updating an object that another
thread (most likely in taskomatic) already updated.
In the case of this race condition, we retry saving. However, a proper fix
would involve fixing the locking.
---
src/db-omatic/db_omatic.rb | 23 ++++++++++++++++++++---
1 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/src/db-omatic/db_omatic.rb
2006 Mar 31
1
rails + svn automation script
Anyone got a script to share that:
1. Creates a trunk directory
2. Creates a trunk/vendor directory
3. Adds the above to svn
4. Modifies trunk/vendor to use a certain rails revision (i.e. trunk or 1.1)
5. Runs trunk/vendor/rails/.../bin/rails to generate a rails directory skeleton
6. Modifies the svn:ignore for the logs and config/database.yml
7. Moves config/database.yml to
2013 Dec 22
1
'unknown user' using dovecot LDA
Ok, one more issue to resolve.
The old server was still using the postfix/virtual for delivery, but the
new one is using the dovecot LDA.
Now, when an email generated locally by a cron job is delivered, this
shows in the log:
2013-12-22T10:29:55-05:00 host postfix/pickup[31400]: C67FD90F676B2:
uid=0 from=<newsrv+rkhunter at example.com>
2013-12-22T10:29:55-05:00 host