search for: db_config

Displaying 20 results from an estimated 47 matches for "db_config".

2005 Jun 29
2
Samba3-ByExample
I have been working through the processes of getting my server up...( thanks to the help of John T. !!! I am now on page 167/168. It states... "Install the file shown in Example 5.4.1 in the directory /data/ ldap." The example states the following Example 5.4.1. LDAP DB_CONFIG File set_cachesize 0 150000000 1 set_lg_regionmax 262144 set_lg_bsize 2097152 #set_lg_dir /var/log/bdb set_flags DB_LOG_AUTOREMOVE What is the name I should call this file? DB_CONFIG? -- Regards. In Christ, Jason Greene Angelus Press IT Manager 2915 Forest Avenue Kansas City, MO 64109-151...
2007 Apr 23
0
Using mapped database connections
...base or something like that then ENV[''RAILS_ENV''] would need to be set before requiring config/boot.rb but that still wouldn''t require loading the database config manually. Alternatively, if it has to be done the way it is then the following code could be used if db_config[rails_environment].kind_of?(String) db_config[rails_environment] = db_config[db_config[rails_environment]] end backgrounDRb would then be able to handle instances when one rails environments database is mapped to that of another. Is this right or have I missed something somewhere? - Geoff
2017 Apr 11
2
Migrating from Centos 5 NT4 style to Centos 7 issues
...nt domain running centos 5 to centos 7. Samba3x ==>Samba4x openldap 2.3x==>2.4.x I move my ldap backup that I got from backups: slapcap -l mydomain.ldif Next move my config files to the new server: /etc/ldap.conf /etc/openldap/slapd.conf /etc/openldap/ldap.conf Schemas are correct. Copy DB_CONFIG that doesn't exist on openldap 2.4, to /var/lib/ldap/ Restore ldap backup. slapadd -l mydomain.ldif But I got this error: slapadd -l /opt/mydomain.ldap 58ecf8a3 The first database does not allow slapadd; using the first available one (2) slapadd: line 1: database #2 (dc=my-domain,dc=com) no...
2006 Jan 06
1
ActiveRecord - Switching Databases
This is a question regarding ActiveRecord outside of Rails. I have several databases that have absolutely identical table structure. I have a ActiveRecord::Base.establish_connection( :adapter => "mysql", :host => "localhost", :username => "user", :password => "password", :database
2009 Jan 18
2
Starting slapd: /bin/bash: /tmp/start-slapd.K12378: Permission denied
...set up the permissions correctly... Everything is owned by the ldap user: $ cd /etc/openldap/ $ ls -al total 40 drwxr-xr-x 4 ldap ldap 4096 Jan 16 18:07 . drwxr-xr-x 66 root root 4096 Jan 16 17:55 .. drwxr-xr-x 2 ldap ldap 4096 Jul 9 2008 cacerts -rw-r----- 1 ldap ldap 886 Jul 9 2008 DB_CONFIG.example -rw-r--r-- 1 ldap ldap 246 Jul 9 2008 ldap.conf drwxr-xr-x 3 ldap ldap 4096 Jan 16 17:40 schema -rw-r----- 1 ldap ldap 3456 Jan 16 18:07 slapd.conf -rw-r----- 1 ldap ldap 12288 Jan 16 18:07 .slapd.conf.swp $ sudo ls -al /var/lib/ldap/ total 572 drwx------ 2 ldap ldap 4096 Ja...
2010 Oct 13
0
Samba3 3.5 + OpenLDAP very slow transfer
...default sub /etc/ldap.conf host 127.0.0.1 base dc=capriolobike,dc=com rootbinddn cn=nssldap,ou=DSA,dc=capriolobike,dc=com timelimit 30 bind_timelimit 30 ssl no pam_password md5 tls_cacertdir /etc/openldap/cacerts bind_policy soft nss_initgroups_ignoreusers ldap /var/lib/ldap/DB_CONFIG # $OpenLDAP: pkg/ldap/servers/slapd/DB_CONFIG,v 1.1.2.4 2007/12/18 11:51:46 ghenry Exp $ # Example DB_CONFIG file for use with slapd(8) BDB/HDB databases. # # See the Oracle Berkeley DB documentation # <http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/db_co nfig.html> #...
2010 Oct 13
0
Samba 3 + OpenLDAP very slow transfer speed(when multiple small files, probably LDAP problem)
...default sub /etc/ldap.conf host 127.0.0.1 base dc=capriolobike,dc=com rootbinddn cn=nssldap,ou=DSA,dc=capriolobike,dc=com timelimit 30 bind_timelimit 30 ssl no pam_password md5 tls_cacertdir /etc/openldap/cacerts bind_policy soft nss_initgroups_ignoreusers ldap /var/lib/ldap/DB_CONFIG # $OpenLDAP: pkg/ldap/servers/slapd/DB_CONFIG,v 1.1.2.4 2007/12/18 11:51:46 ghenry Exp $ # Example DB_CONFIG file for use with slapd(8) BDB/HDB databases. # # See the Oracle Berkeley DB documentation # <http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/db_co nfig.html> #...
2017 Apr 11
2
Migrating from Centos 5 NT4 style to Centos 7 issues
...openldap/ldap.conf > > Can you make sure that there is no /etc/openldap/slapd.d/ directory? > If it exists, delete it - otherwise your slapd.conf is not used. You > can later convert your slapd.conf into the directory-style > configuration if you want. > > > >> Copy DB_CONFIG that doesn't exist on openldap 2.4, to /var/lib/ldap/ > > * Does there anything exist in this directory? If yes, delete it. > * Restore your DB_CONFIG file. > * Start slapd to create the initial database files. > * Stop slapd again. slapadd works offline. > > > > >...
2012 May 01
1
OpenLDAP migration from Centos 5 to 6
...dif and moved ldif to the new server . But when I run slapadd -l /tmp/ldif on the new server I get the response -------------------------------------- [root at grover ldap]# slapadd -l /tmp/ldif The first database does not allow slapadd; using the first available one (2) bdb_db_open: warning - no DB_CONFIG file found in directory /var/lib/ldap: (2). Expect poor performance for suffix "dc=my-domain,dc=com". slapadd: line 1: database #2 (dc=my-domain,dc=com) not configured to hold "dc=www,dc=gayleard,dc=com"; no database configured for that naming context _ 0...
2005 Oct 21
1
Advices for Samba and OpenLDAP
...openldap.org/lists/openldap-bugs/200510/msg00185.html) but i want to know something about your experiences with openldap in large enterprises. what are your settings for slapd and bdb? or is there a better backend for slapd than bdb? which software versions are you using? did you make changes to DB_CONFIG? we tortured slapd with a perl script (50 instances of it parallel) which reads ~1000 user passwords from slapd1 and writes it to another slapd (different host) with $ldap->modify. we can reproducable crash our ldap server or its backend with this script. but that should not happen - it'...
2009 May 31
0
Smbd startup failure caused by a failure to create an NT token for the guest account
...rootpw {SSHA}0cp6jXILNJnHBSYUAaLH5nfLk/QKm+KV directory "/var/lib/ldap" ############################################################################ # DB Settings # # The dbconfig settings are used to generate a DB_CONFIG file the first # # time slapd starts. They do NOT override existing an existing DB_CONFIG # # file. You should therefore change these settings in DB_CONFIG directly # # or remove DB_CONFIG and restart slapd for changes to take effect. # # For the Debian package we use 2MB as default...
2009 Jun 16
0
(no subject)
...t; # rootdn directive for specifying a superuser on the database. This is needed # for syncrepl. # rootdn "cn=admin,dc=home" # Where the database file are physically stored for database #1 directory "/var/lib/ldap" # The dbconfig settings are used to generate a DB_CONFIG file the first # time slapd starts. They do NOT override existing an existing DB_CONFIG # file. You should therefore change these settings in DB_CONFIG directly # or remove DB_CONFIG and restart slapd for changes to take effect. # For the Debian package we use 2MB as default but be sure to updat...
2017 Apr 11
0
Migrating from Centos 5 NT4 style to Centos 7 issues
...> /etc/openldap/slapd.conf > /etc/openldap/ldap.conf Can you make sure that there is no /etc/openldap/slapd.d/ directory? If it exists, delete it - otherwise your slapd.conf is not used. You can later convert your slapd.conf into the directory-style configuration if you want. > Copy DB_CONFIG that doesn't exist on openldap 2.4, to /var/lib/ldap/ * Does there anything exist in this directory? If yes, delete it. * Restore your DB_CONFIG file. * Start slapd to create the initial database files. * Stop slapd again. slapadd works offline. > Restore ldap backup. > > slapadd...
2009 May 08
1
openldap 5.1 crashing
...following is info about my ldap. nss_ldap-253-3 php-ldap-5.1.6-5.el5 openldap-2.4.11-1.3.el5 openldap-servers-2.4.11-1.3.el5 compat-openldap-2.4.11_2.3.27-1.3.el5 openldap-clients-2.4.11-1.3.el5 openldap-devel-2.4.11-1.3.el5 And m getting error on command slapcat [root@ ldap]# slapcat bdb_db_open: DB_CONFIG for suffix "o=nerv_ldap" has changed. Performing database recovery to activate new settings. bdb_db_open: database "o=nerv_ldap": recovery skipped in read-only mode. Run manual recovery if errors are encountered. bdb(o=nerv_ldap): Logging region out of memory; you may need to in...
2006 Feb 06
0
samba crashes losing all machine a/c's
Hi all I have been using samba 3.0.21 with openldap , and facing some problems. since i am using samba with openldap, samba hangs abruptly, I have tuned openldap with DB_CONFIG parameters my DB_CONFIG file is as follows ######################################### set_cachesize 0 150000000 1 set_lg_regionmax 262144 set_lg_bsize 2097152 #set_lg_dir /var/log/bdb set_flags DB_LOG_AUTOREMOVE #################################...
2007 Feb 13
1
Load data in ldap
Hi.. I try to load data in ldap server. I am using migration tools... But, When I use the migration tools throw the following message: bdb_db_open: Warning - No DB_CONFIG file found in directory /usr/local/var/openldap-data: (2) Expect poor performance for suffix o=utpl.edu,c=ec. str2entry: invalid value for attributeType objectClass #6 (syntax 1.3.6.1.4.1.1466.115.121.1.38) I hope your comments.. -------------- next part -------------- An HTML attachment was scrub...
2006 Oct 13
0
Deployment problem with Capistrano
...inks to my file-column created content directories (in shared) and copy the database.yml file (also from shared) into the current folder. I''ve written the following task: desc "Copy the database config file over and set up sym links to the content" task :after_update_code do db_config = "#{shared_path}/config/database.yml" puts "Cropying config files and creating content sym-links... " sudo "cp #{db_config} #{release_path}/config/" sudo "ln -s #{shared_path}/public/product #{release_path}/public/product" sudo "ln -s #{shared_p...
2017 Apr 11
0
Migrating from Centos 5 NT4 style to Centos 7 issues
...gt;> >> Can you make sure that there is no /etc/openldap/slapd.d/ directory? If >> it exists, delete it - otherwise your slapd.conf is not used. You can later >> convert your slapd.conf into the directory-style configuration if you want. >> >> >> >> Copy DB_CONFIG that doesn't exist on openldap 2.4, to /var/lib/ldap/ >>> >> >> * Does there anything exist in this directory? If yes, delete it. >> * Restore your DB_CONFIG file. >> * Start slapd to create the initial database files. >> * Stop slapd again. slapadd works...
2007 Aug 23
1
Single sign-on help requested
...eping 32 seconds)... lin1 dbus-daemon: nss_ldap: failed to bind to LDAP server ldap://192.168.1.100: Can't contact LDAP server lin1 dbus-daemon: dss_ldap: failed to bind to LDAP server... lin1 xfs: ... During boot time, Starting system message bus: [long pause] then error messages about DB_CONFIG and /var/lib/ldap, the usual cannot find DB_CONFIG in /var/lib/ldap, showing the example.com instead of my customized ldap settings, etc. I've checked openldap.org, but I figured if the configuration appears to be simplified via an included GUI, I shouldn't have much trouble gettigns t...
2013 Jun 10
1
[LLVMdev] Cannot submit LLVM test-suite results to the database using LNT tool
...logger "lnt.server.db.migrate" Importing 'tmpmHD4sN.json' Import Failed: -- import failure: Traceback (most recent call last): File "/home/star/projects/llvm/lnt/lnt/util/ImportData.py", line 74, in import_and_report success,run = db.importDataFromDict(data, config=db_config) File "/home/star/projects/llvm/lnt/lnt/server/db/v4db.py", line 163, in importDataFromDict db_name) ValueError: test suite u'nightlytest' not present in this database! However, if I run the testing with --test-style=simple, then it can succeed in submitting to database....