Displaying 20 results from an estimated 21 matches for "myconfig".
Did you mean:
mconfig
2006 Mar 27
5
Accessing Session Object from a model
...ise the data but
it''s a requirement of the project so i''m stuck with it.
I need to be able to tell my model what DB to connect to based on what
profile the logged in user has. Something similar to:
[code]
class Report < ActiveRecord::Base
establish_connection({
:adapter => MyConfig.config(:db_adaptor),
:username => MyConfig.config(:db_user_name),
:password => MyConfig.config(:db_password),
:database => @session[:user].profile.name + "_dbname"
})
set_table_name "reports"
.
.
.
end
All the DBs have the same login information so the only thing I nee...
2013 Jun 10
1
SSHD relative pathing problem
...SH_6.2, OpenSSL 1.0.1e 11 Feb 2013` on an Arch Linux
system, and I got caught out on this error for several days, and I'm not
sure if its a bug for you guys or what.
Anyway, what I noticed, was that when I specifyied a custom HostKey in the
host file or by relative path, that is:
`sshd -Dd -f myconfig`
or
`sshd -Dd -h myhostkey`
where myconfig is just:
```myconfig
HostKey myhostkey
```
It would load the key correctly, no complaints, but when attempted to
connect to the server via `ssh 127.0.0.1` (or by any other means), it would
immediately have an `ssh_exchange_identification: read: Connectio...
2015 Apr 10
3
Disabling of userdb/passdb modules using config statements
Hola,
Debian (and possibly other distros) use the /etc/dovecot/conf.d/* setup
where default config files are stuffed and then one can just add a
99-myconfig.conf et voila, variables are overruled.
This allows the distro to supply updates to the files at package upgrade
time without any/much user intervention.
The problem (for me ;) is that the system comes provided with:
auth-system.conf.ext containing:
passdb {
driver = pam
}
userdb {
driv...
2006 Jan 23
1
How to set-up LCR
How to set-up LCR ?
a. which companies can be used with LCR?
b. how to set-up & maintain LCR?
c. multiple connection to one gateway?
Example:
+886223456789 could be reachable via
a. ENUM free
b. Dundi free
c. Voipstunt free
d. Voipbuster free
e. Nufone $
f. Voipstunt $
g. others with 4 concurrent connections $$
h. others with 3 concurrent connections $$
I am looking
2013 Mar 15
3
advice on module organization
...which is fine in
itself, but my real problem is the movement of these variables
(configuration). There are a lot of components, and enough variables that
I don''t want to add them to each class. I want to be able to do something
like:
class mymodule(components, componentType) {
$myconfig = getConfig($componentType)
# can I "loop" through components?
include mymodule::component($myconfig)
}
Hopefully that''s descriptive enough. Feel free to ask questions.
Ultimately, my major goal is to boil the configuration down to a single
location, as the configur...
2009 Aug 03
1
Perl Module Question
To safely make Perl modules from CPAN in Solaris, I used this procedure:
mkdir /opt/cpan
chmod 777 /opt/cpan
chown joe:101 /opt/cpan
PERL5LIB=$PERL5LIB:/opt/cpan
export PERL5LIB
/usr/perl5/bin/perlgcc -MCPAN -e shell
Also, ~/.cpan/CPAN/MyConfig.pm specifically had
'makepl_arg' => q[LIB=/opt/cpan PREFIX=/opt/cpan INSTALLMAN3DIR=/opt/cpan/man/man3],
Does this make sense in CentOS as well when the modules just aren't available and using
cpan2rpm has me chasing my tail endlessly on deps?
Thanks!
jlc
2014 May 27
2
Re: [PATCH 2/2] Use setfiles from the appliance for the SELinux relabel (RHBZ#1089100).
...39; must be supplied, and it causes an
> internal call to guestfs_inspect_get_selinux_type (g, root) in order
> to get the default policy.
Note that not specifying a root could lead to issues, as the file
contexts are relative to a root. So if I say to relabel the path
/guestmountpoint/etc/myconfig according to some /path/of/file_contexts
without specifying what is the root, how should setfiles know that path
is /etc/myconfig mounted at /guestmountpoint?
At this point I'm thinking the best option would be making the root a
normal (mandatory) argument, leaving path and contexts as opti...
2003 Dec 17
2
emergency- machines kicked off network after PDC 2.2.8->3.0.0 upgrade
After upgrading our PDC to 3.0.0 last night(and confirming logins worked
properly)...this morning, we had two machines report errors says the
machine account does not exist or has been changed. Last night, users-
even ones who had not been on that particular workstation before- were
able to login on at least 6 out of 30-40 workstations.
All configuration files were moved over, including the
2002 Oct 22
1
2.2.6 configure problems
[username@localhost source]# ./configure --with-fhs --prefix=/usr
--sysconfdir=/etc --with-privatedir=/etc/samba
--with-lockdir=/var/state/samba --localstatedir=/var --with-netatalk
--with-smbmount --with-pam --with-syslog --with-sambabook --with-utmp
--with-acl-support > ~/myconfig.out 2>&1
[username@localhost source]# cat ~/myconfig.out | grep acl
checking for sys/acl.h... yes
checking for _acl... no
checking for __acl... no
checking for _facl... no
checking for __facl... no
checking whether to support ACLs... checking for acl_get_file in
-lacl... no
The log shows t...
2010 Nov 05
3
Unable to create (and keep) guest
Hi,
Host: CentOS 5.5
Guest: Ubuntu maverick
I am having a horrid time trying to create a guest on my xen machine.
I have tried several method. The method that I have had the most
success with is `xm create`. The problem I have is that once the I
have run:
xm create -c myconfig.cfg install=true
install-mirror=http://mirror.bytemark.co.uk/ubuntu/
install-suite=maverick
and go all the way throught the installation, the guest does not
appear in `xm list`. It appears in the list during the installation
but once the install is complete and I reboot, it never comes back. If
I...
2015 Apr 10
3
Disabling of userdb/passdb modules using config statements
...the !include auth-system.conf.ext line in 10-auth.conf.
Though indeed simpler than commenting out multiple lines, that file also
gets replaced by a package upgrade.
Hence does not solve the 'can just upgrade silently' issue.
>> Hence, would it be a cool option to be able (in the 99-myconfig.conf)
>> file to put:
> Actually you mean local.conf. See the master dovecont.conf file, it's
> included last.
Only when it exists, one can use both.
from dovecot.conf:
8<-------------
# Most of the actual configuration gets included below. The filenames are
# first sorted by t...
2016 Aug 30
1
Samba4 Centos 7 - CPU 100%
On Tue, 30 Aug 2016 11:51:35 -0300
Maiquel Consalter <maiquelconsalter at gmail.com> wrote:
> Let me show-you myconfig. Can be the error in CTRL V + CTRL C sorry
> about that
>
>
> /etc/samba/smb.conf
> workgroup = DOMAIN.BR
> realm = CAMPUS.DOMAIN.BR
>
> /etc/krb5.conf
> [libdefaults]
> dns_lookup_realm = false
> ticket_lifetime = 24h
> renew_lifetime = 7d
> forwardabl...
2016 Aug 30
2
Samba4 Centos 7 - CPU 100%
On Tue, 30 Aug 2016 11:15:30 -0300
Maiquel Consalter <maiquelconsalter at gmail.com> wrote:
> >From reading his old smb.conf it appears it was, but I noticed
> >something:
> >Maiquel, can you run this command on a DC and report back with the
> >result.
> >ldbsearch -H /usr/local/samba/private/sam.ldb -b
>
2014 May 27
3
Re: [PATCH 2/2] Use setfiles from the appliance for the SELinux relabel (RHBZ#1089100).
On Tuesday 27 May 2014 09:08:27 Richard W.M. Jones wrote:
> On Mon, May 26, 2014 at 11:21:59AM +0200, Pino Toscano wrote:
> > Rewrite the relabel API to read the policy configured in the guest,
> > invoking setfiles (added as part of the appliance, as part of
> > policycoreutils) to relabel the specified root. In case of failure
> > at
> > any point of the process,
2015 Apr 10
0
Disabling of userdb/passdb modules using config statements
...ote:
>
> This can be resolved by commenting out the entries in
> auth-system.conf.ext but then I'll have to do that again at package
> upgrade time.
Comment out the !include auth-system.conf.ext line in 10-auth.conf.
>
> Hence, would it be a cool option to be able (in the 99-myconfig.conf)
> file to put:
Actually you mean local.conf. See the master dovecont.conf file, it's
included last.
>
> passdb {
> driver = pam
> enabled = false
> }
> userdb {
> driver = passwd
> enabled = false
> }
>
> And thereby disabling thos...
2016 Aug 30
0
Samba4 Centos 7 - CPU 100%
Let me show-you myconfig. Can be the error in CTRL V + CTRL C sorry about
that
/etc/samba/smb.conf
workgroup = DOMAIN.BR
realm = CAMPUS.DOMAIN.BR
/etc/krb5.conf
[libdefaults]
dns_lookup_realm = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
default_ccache_name = KEYRING:persistent:...
2010 Aug 29
1
Finding source files automatically within a script
Hi there,
Ive tried trawling the lists for a solution but I could not find any
matches. I am typing up all my code on a Linux machine and I call this
other script file from my script file using source("foo.r"). Now sometimes
i access my folder from my Windows machine at work (the files are on
dropbox). But of course my windows machine would not understand the linux
path name.
Is
2007 Oct 03
3
Booting ISO's
Is there a method by which one could boot an ISO image from a flash drive
with syslinux?
--
Dimeneira aka Dime
2014 Mar 25
0
pb with setting quota_rule=backend quota=fs for quota-warning
...ing process ? ?
something like quota_rule = *:storage=%VAR ?
90-quota.conf
-------------------
plugin {
quota_warning = storage=80%% quota-warning 80 %u
quota_warning2 = storage=90%% quota-warning 90 %u
}
plugin {
quota =fs
}
service quota-warning {
executable = script /etc/dovecot/myconfig/quota-warning.sh
unix_listener quota-warning {
mode =0666
}
}
Thank you in advance
best regards,
Philippe
______________
Philippe Marion
2006 Jan 30
2
ERROR: Kernel image does not have a a.out9 header
...it a brick wall and am
seeking some help. I installed XEN on a Fedora 4 installation and I
receive the following error ...
ERROR: Kernel image does not have a a.out9 header.
ERROR: Unrecognized image format
ERROR: Error constructing guest OS
when I try to start the guest domain using xm create -c myconfig vmid=1.
Question:
Should I be using a specially prepared kernel? My guest kernel is a
standard FC4 release kernel (2.6.14-1.1644_FC4). By what I read it should
work OK out of the box, or do I need to recompile the kernel specifically
for xen? I read references to the above message in the xen-deve...