similar to: Problems with my simple write conf files method

Displaying 20 results from an estimated 1000 matches similar to: "Problems with my simple write conf files method"

2017 Feb 21
1
Problems with my simple write conf files method
On 02/21/2017 11:03 AM, KM wrote: > I have never used this method per se, but in general in any script if you want to preserve the $ (dollar sign) or variable name you must use a backslash to preserve it. For example change your $CONF to \$CONF. The $CONF should then be printed into your conf file. Thanks that worked. > KM > > From: Robert Moskowitz <rgm at
2017 Feb 21
0
Problems with my simple write conf files method
I have never used this method per se, but in general in any script if you want to preserve the $ (dollar sign) or variable name you must use a backslash to preserve it. For example change your $CONF to \$CONF.? The $CONF should then be printed into your conf file. KM From: Robert Moskowitz <rgm at htt-consult.com> To: centos at centos.org Sent: Tuesday, February 21, 2017 10:50 AM
2017 Feb 22
0
Problems with my simple write conf files method
On Tue, 2017-02-21 at 10:50 -0500, Robert Moskowitz wrote: > cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1 > <?php > $CONF['database_type'] = 'mysqli'; > $CONF['database_user'] = 'postfix'; > $CONF['database_password'] = 'xyz'; > $CONF['database_name'] = 'postfix'; > >
2017 Feb 21
1
Centos 7 with Postfixadmin, what provides php5-mysql
I am building a Centos7 mailserver to replace my Centos6 server. This means moving to Apache 2.4 and MariaDB, so I am finding a number of changes from my notes. I now have MariaDB running with the databases created and Apache running. I try accessing postfixadmin and get: DEBUG INFORMATION: MySQL 4.1 functions not available! (php5-mysqli installed?) database_type = 'mysqli' in
2013 Mar 21
6
How we can create two database Using same credetial using Puppet
Hello All, I wanted to create two two MySQL database with same user credential using Puppet-MySQL. How can I achieve this? Please find my script below. class mysql::vsdatabase { include mysql mysql::db { ''vidispine'': user => ''user'', password => ''user123'', host => ''db.<hostname>.com'', } } How can I add
2013 Jun 04
1
puppet DB providers
Hello, What would you think of moving database, database_grant and database_user types and providers from puppetlabs-mysql to its own module (puppetlabs-dbproviders for example) so that we can develop providers for others RDBMS ? I''d like to develop providers for postgresql, so I think it makes sense to put this types/providers in its own module. best regards, Mickaël Canévet --
2012 Jul 19
3
Problems granting privileges with puppetlabs/mysql
First off, I''m not sure if I should be asking questions about puppetlabs modules here, if not, I apologise... I''m trying to at least setup my mysql replication user through the mysql module, but I seem to be unable to divine the correct way to do this. I''ve tried a number of different variations, but my user doesn''t get the repl_slave_priv on my user
2013 Jul 22
0
wyrie/puppet-nagiosql -- anyone have experience with this module?
I made two decisions this afternoon that are now related to each other. 1. Use more of the modules that exist in the Forge 2. Rebuild my monitoring server As I perused the various modules that help with managing monitoring packages my eyes fell upon a module that reported to be able to manage nagiosql, a setup that I had been planning on migrating my nagios monitoring to. So I installed
2012 Jul 20
2
scheduling mails in 2.3.8
Hi all, How can i send mails in rails 2.3.8 and schedule them when i need it. i''ve tried with whenever gem but it did not work properly . can any one help me out . thanks in advance -- 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
2006 Mar 28
8
Problem connecting with an SQL Server 2000 database
Hi, I?m working on a rails application that uses data from an existing ms sqlserver 2000 database. Unfortunately I can?t get the connection to work properly. I used http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer to make the connection. - Inserted the ado.rb - Changed my database.yml to development: adapter: sqlserver database: database_name host:
2006 Jul 31
4
switching database dynamically based on incoming request
So I have this idea to reduce code replication in our rails setup. Currently we have our rails app serving two distinct sites, soon to be three. At the moment we check out a separate set of code for each site, and configure it by adjusting the database setting and some config files that pull in separate style sheets. To remove this replication I''d like to have a single codebase, but
2004 Mar 19
1
Case insensitive user names
I am trying to set up the Dovecot pop3 server for some virtual hosting I am doing and it is going well, I am generating a passwd file that points dovecot to the virtual users mailspool. The only thing that I don't have working is that my current pop3 server (NTMail) has case insensitve usernames. Dovecot doesn't. I was hoping there was just an option to turn on, but I didn't see
2017 Feb 17
5
Centos 7 httpd Permission problems with Postfixadmin
More joy with Centos 7. I am having permission problems with Postfixadmin. I am installing as I have in my notes I did in Centos6 and it is not working. I untar Postfixadmin into /usr/share. The owner is root:root (I even tried root:apache). My postfixadmin.conf file has: alias /mailadmin /usr/share/postfixadmin <Directory "/usr/share/postfixadmin"> AllowOverride
2015 Oct 30
4
disable ZTS in php
Hey guys, I'm trying to disable ZTS in php, because an application we need (AppDynamics) is not compatible with it. So I tried compiling php with the following flags: php -i | grep configure Configure Command => './configure' '--with-apxs2=/opt/apache2/bin/apxs' '--with-zlib=/usr' '--prefix=/opt/php-5.6.8' '--with-libdir=lib64'
2017 Feb 17
5
Centos 7 httpd Permission problems with Postfixadmin
On 02/17/2017 01:11 PM, Pete Biggs wrote: >> From error.log: >> >> [Fri Feb 17 12:56:33.478024 2017] [authz_core:error] [pid 5759] [client >> 192.168.160.12:48290] AH01630: client denied by server configuration: >> /usr/share/postfixadmin > So it's an authorisation issue. In your .htaccess file change > > Order allow,deny > Allow from
2012 Mar 12
5
Database and user not created (Puppetlabs mysql module)
Hi everyone, I am new to Puppet and try to make some simple "automation things". I have succeed with apache2, ssh modules, but have problems with Puppetlabs mysql module. It installs mysql server, changes/creates admin user password, but does not create database and user. I cannot find anything wrong in logs (--debug --verbose). I see that manifests is read, but no db/user in mysql.
2017 Feb 21
3
SELInux conflict with Postfixadmin
postfixadmin setup.php is claiming: *Error: Smarty template compile directory templates_c is not writable.* *Please make it writable.* *If you are using SELinux or AppArmor, you might need to adjust their setup to allow write access.* This goes away with 'setenforce 0', so it is an SELinux issue. I have tried both: restorecon -Rv /usr/share/postfixadmin and chcon -R -t
2009 Mar 15
4
php 5.2
Hi, Is there any news about CentOS 5.2 updating to php 5.2? Best Regards, Melinda Odom Design Hosting, Inc. Web Design, Web Hosting, & Ecommerce Solutions 479-471-0891 CST info at designhosting.biz http://www.designhosting.biz
2006 Dec 01
3
Creating databases on the fly
Hi, Is there a recommended way of creating a new database from within rails? (or is the recommended way not to do it?) In my application I wish to be able to create a new database structure for each user who signs up, but there doesn''t seem to be a way of doing this using ActiveRecord. At present I can create it by establishing a new connection to the database dbh =
2017 Feb 21
2
SELInux conflict with Postfixadmin
On 02/21/2017 11:46 AM, Zdenek Sedlak wrote: > On 2017-02-21 17:30, Robert Moskowitz wrote: >> postfixadmin setup.php is claiming: >> >> *Error: Smarty template compile directory templates_c is not writable.* >> *Please make it writable.* >> *If you are using SELinux or AppArmor, you might need to adjust their >> setup to allow write access.* >>