Displaying 20 results from an estimated 10000 matches similar to: "How to start/stop database from rake?"
2013 Mar 19
3
Puppet modifying directories by executing shell script as non-root user results in kernel-level insufficient privilege complaints
I am using Puppet 3.1.0 on a CentOS 6.3 machines. The puppet master and
puppet agents use CentOS 6.3 as their OS. I have a puppet script (init.pp
file for the puppet module) that contains the following exec type:
exec { "postgres init":
cwd => "/applications/module",
command => "bash initializePostgres.sh",
user => "postgres",
group =>
2007 Jan 26
1
rake test:x recreates tables in MySQL with server (not database) charset and collation
Any thoughts on how to avoid this problem? Already tried:
1. Setting the charset and collation in migration 001 - no effect:
def self.up
db_name = ActiveRecord::Base::connection.current_database()
execute "ALTER DATABASE #{db_name} CHARACTER SET utf8 COLLATE
utf8_bin"
end
2. Setting the charset and collation on each table individually - no
effect:
2005 May 19
2
Mysterious (bogus?) rsync(d) errors -- (code 23) at main.c(1045)
Folks,
(1) Please pardon me if this is something stupid, but I've googled like mad
and not figured it out (the other reports of this error don't seem to apply
to me)
(2) I would be thrilled to hire an rsync expert to troubleshoot this for me,
so offer if you are one.
The setup:
I have 2 identical RHAS3u4 servers, running linux 2.6.10.
On a nightly basis, we are rsyncing all of the
2016 Feb 17
2
New glibc for CentOS-6 and CentOS-7 and CVE-2015-7547
On 17/02/16 14:44, Johnny Hughes wrote:
> On 02/17/2016 08:39 AM, Johnny Hughes wrote:
>> On 02/17/2016 08:10 AM, Michael H wrote:
>>>> The easy answer is yes .. glibc requires so many things to be restarted,
>>>> that is the best bet. Or certainly the easiest.
>>>>
>>>> Note: in CentOS 7, there is also a kernel update which is rated as
2016 Feb 17
0
Kernel parameters ignored -
Hi, re-posting this with a more appropriate subject for my reply;
> The easy answer is yes .. glibc requires so many things to be restarted,
> that is the best bet. Or certainly the easiest.
>
> Note: in CentOS 7, there is also a kernel update which is rated as
> Important .. so you should boot to that anyway:
>
2016 Feb 17
1
New glibc for CentOS-6 and CentOS-7 and CVE-2015-7547
> The easy answer is yes .. glibc requires so many things to be restarted,
> that is the best bet. Or certainly the easiest.
>
> Note: in CentOS 7, there is also a kernel update which is rated as
> Important .. so you should boot to that anyway:
> https://lists.centos.org/pipermail/centos-announce/2016-February/021705.html
>
> Here is a good link to figure out what to
2016 Feb 17
0
New glibc for CentOS-6 and CentOS-7 and CVE-2015-7547
On 02/17/2016 08:39 AM, Johnny Hughes wrote:
> On 02/17/2016 08:10 AM, Michael H wrote:
>>> The easy answer is yes .. glibc requires so many things to be restarted,
>>> that is the best bet. Or certainly the easiest.
>>>
>>> Note: in CentOS 7, there is also a kernel update which is rated as
>>> Important .. so you should boot to that anyway:
2016 Feb 17
2
Kernel parameters ignored -
On 17/02/16 14:32, Michael H wrote:
> Hi, re-posting this with a more appropriate subject for my reply;
>
>> The easy answer is yes .. glibc requires so many things to be restarted,
>> that is the best bet. Or certainly the easiest.
>>
>> Note: in CentOS 7, there is also a kernel update which is rated as
>> Important .. so you should boot to that anyway:
2016 Feb 17
2
New glibc for CentOS-6 and CentOS-7 and CVE-2015-7547
On 02/17/2016 08:10 AM, Michael H wrote:
>> The easy answer is yes .. glibc requires so many things to be restarted,
>> that is the best bet. Or certainly the easiest.
>>
>> Note: in CentOS 7, there is also a kernel update which is rated as
>> Important .. so you should boot to that anyway:
>>
2015 Aug 17
0
persistent change of max_stack_depth
Just a quick addition -
On 17/08/15 08:40, Michael H wrote:
> Hi Jason,
>
> On 14/08/15 16:45, Jason Warr wrote:
>> On Fri, 2015-08-14 at 16:31 +0100, Michael H wrote:
>>> Hi Thomas,
>>>
>>>
>>>> Could anybody point me in the right direction for setting the kernel
>>>> parameter, max_stack_depth, to 10240 for database tuning?
2006 Mar 02
2
[slightly-OT] postgresql 8.1.3 on intel OS X problems
Hi,
Anybody have success with postgresql 8.1.3 on a new Intel OS X box? All
hints welcome, please!
I installed postgres 8.1.3 via darwinports, and everything is great
until the initdb step.
Initdb fails on shmget saying it couldn''t allocate enough memory (see
below). So, I edited /etc/rc and increased kern.sysv.shmmax from
4194304 to 41943040 (4MB to 40MB)
After reboot and
2015 Aug 14
0
persistent change of max_stack_depth
On Fri, 2015-08-14 at 16:31 +0100, Michael H wrote:
> Hi Thomas,
>
>
> > Could anybody point me in the right direction for setting the kernel
> > parameter, max_stack_depth, to 10240 for database tuning?
> >
> > I have currently set it by running 'ulimit -s 10240' but this does not
> > survive a reboot.
> >
> >
>
> Thanks for
2015 Aug 17
2
persistent change of max_stack_depth
Hi Jason,
On 14/08/15 16:45, Jason Warr wrote:
> On Fri, 2015-08-14 at 16:31 +0100, Michael H wrote:
>> Hi Thomas,
>>
>>
>>> Could anybody point me in the right direction for setting the kernel
>>> parameter, max_stack_depth, to 10240 for database tuning?
>>>
>>> I have currently set it by running 'ulimit -s 10240' but this does not
2015 Aug 14
2
persistent change of max_stack_depth
On Aug 14, 2015 08:45, Jason Warr <jason at warr.net> wrote:
>
> On Fri, 2015-08-14 at 16:31 +0100, Michael H wrote:
> > Hi Thomas,
> >
> >
> > > Could anybody point me in the right direction for setting the kernel
> > > parameter, max_stack_depth, to 10240 for database tuning?
> > >
> > > I have currently set it by running
2009 Sep 08
1
kerberos database principal problem
Hello,
I am using kerberos to authenticate apache users. This works fine for
one URL, but it doesn't for another.
I can get into the application authenticating at the URL
omajelut01.sec.jel.lc, but not with monitoring.foobar.com. Here is my
klist:
[root at omajelut01 etc]# klist -k
Keytab name: FILE:/etc/krb5.keytab
KVNO Principal
----
2015 Aug 17
2
persistent change of max_stack_depth
Hi All,
>>>>> Could anybody point me in the right direction for setting the kernel
>>>>> parameter, max_stack_depth, to 10240 for database tuning?
>>>>>
>>>>> I have currently set it by running 'ulimit -s 10240' but this does not
>>>>> survive a reboot.
>>>>>
>>>>>
>>>>
2015 Aug 14
4
persistent change of max_stack_depth
Hi Thomas,
> Could anybody point me in the right direction for setting the kernel
> parameter, max_stack_depth, to 10240 for database tuning?
>
> I have currently set it by running 'ulimit -s 10240' but this does not
> survive a reboot.
>
>
Thanks for the response, I've been nosing around that file recently but
noted the first two lines;
#This file sets the
2014 Jan 14
2
Kerberos GSSAPI: Server not found in Kerberos database
Hello,
I have now spent 30 hours trying to get this working, so it's time to
get some professinoal help. :)
In a nutshell, I would like to have a sambda AD PDC that authenticates
both Windows and Debian. On Linux, I would like to use SSSD.
I have followed the steps on the wiki:
- https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
-
2007 Sep 25
1
Postgres Config File (eg: PGDATA)
Hi guys,
need some clarification on whether there is a config file sourced by the
init script to determine where PGDATA is located.
Right now, it seems like it's not sourced from anywhere by located on
the init file itself.
Appreciate if you guys can let me know if this is the correct place for
altering it.
2014 Mar 31
2
Centos and Selinux issue
Hi list,
I'm new to Centos and I've a very small knowledge of selinux use.
I can disable it, but I prefer take it on for study.
I've a second mirrored device that I use for file sharing.
This is the scenario:
/dev/md2 mounted on /mnt/data
To make samba working I must set the file context to the path at
samba_share_t on /mnt/data. After this samba works.
Now I'm setting up