Displaying 20 results from an estimated 2000 matches similar to: "mysqld taking up 100% cpu"
2011 Oct 11
3
/etc/init.d/mysql =fail mysqld=success
Hello.
This is my mysql-server.pp file, both master and client are runing
ubuntu.
--------------------
class mysql-server {
package { "mysql-server": ensure => installed }
package { "mysql-client": ensure => installed }
service { "mysql":
enable => true,
ensure => running,
require => Package["mysql-server"],
}
file
2006 May 30
3
collection.each { |x| puts x} in rhtml?
Been trying to use the short format for a collection in rhtml, i.e.
<% collection.each {|x| puts x} %>
Doesn''t seem to work though [outputs nothing]
?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 26
7
RHTML in database?
Hi,
is it possible to store RHTML templates or partials in database?
thanks,
Bojan Mihelac
--
Bojan Mihelac
Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com
-> tools, scripts, tricks from our code lab: http://source.mihelac.org
2009 Aug 31
1
mysql error
Hi List i'm trying to setup my sever but in my terimal all i seam get is this message but cant go on .
could someone help us out
many thx's
Mike
yum install mysql mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.optus.net
* updates: mirror.optus.net
* addons: mirror.optus.net
* extras: mirror.optus.net
Setting up Install Process
2006 Aug 09
1
Berkeley DB XML Adapter?
Anybody thought abt an adapter for this? Obviously not in the purview of
ActiveRecord but could have a similar interface.. i.e. CRUD + find
[xpath] - Ruby binding does exist. Just curious.
--
Posted via http://www.ruby-forum.com/.
2006 Aug 14
5
UML
In Rolling with Ruby on Rails tutorial -
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html - I saw that to
introduce a new element to my domain, I needed to define it in a table,
generate a model element with a similar name and the class would
autoamtically take the attributes from the table definition. Is it
possible to do this in the other direction... i.e to take the class
diagram
2006 Jul 17
7
SSL [X.509] Authentication in Rails?
Been doing some research but haven''t been able to determine much - has
anyone had any experience parsing incoming [on the request] x.509
certificates? Specifically, getting name, CA, etc. Here''s how you do in
Java Servlets for reference:
X509Certificate[] certs = (X509Certificate[])
request.getAttribute("javax.servlet.request.X509Certificate");
Thanks.
--
2005 Sep 04
4
mysql
I just installed CentOS 3.5. Included in the install was mysql. When
trying to start it using: service mysqld start. The system responds
with mysqld not recpognized as a service. When trying to use
/usr/bin/mysql I receive this error: ERROR 2002: Can't connect to local
MySQL server through socket '/var/lib/mysql/mysql.sock' (2). A search
of the system does not reveal
2017 Nov 17
2
Log rotation and combining...
That doesn?t seem to work either. Where do I find logs for log rotation to see the reason it failed?
Ethon
> On Nov 16, 2017, at 7:53 PM, Bill Shirley <bill at KnoxvilleChristian.org <mailto:bill at KnoxvilleChristian.org>> wrote:
>
> I believe you need a 'create' statement to set the permissions. Here
> is an example for mariadb:
>
2017 Nov 16
2
Log rotation and combining...
I have recently noticed that my dovecot-deliver.log is huge and wanted to start rotating it. So a couple of questions:
1. Can the dovecot-deliver.log be combined with the maillog, that gets rotated weekly? If it can be done, is it advisable?
Since the inception of this particular server, the log file has been located in the /home/vmail directory. Is there a reason it shouldn?t be located in
2013 Apr 04
5
Unable to set MySQL root password
Hi,
Using this module https://forge.puppetlabs.com/puppetlabs/mysql as
described on documentation:
class { ''mysql::server'':
config_hash => { ''root_password'' => ''foo'' }
}
But, couldn''t set password after logging getting error: Access denied for
user ''root''@''localhost'' (using password:
2017 Nov 17
2
Log rotation and combining...
So, the question is, why can I rotate the log manually, but cron returns a permission error? Do I need to tell cron to run it as sudo or something like that?
Ethon
> On Nov 17, 2017, at 2:29 AM, Tom Hendrikx <tom at whyscream.net <mailto:tom at whyscream.net>> wrote:
>
> Hi,
>
>
> Your crontab should normally mail you error output. But you can also run
> the
2013 Sep 13
2
MySQL 5.1.69 at CentOS 6.4 doesn't know enable-named-pipe?
Hello,
I've only had experience with PostgreSQL sofar,
but have now to install MySQL (and WordPress)
on a CentOS 6.4 /64 bit server.
I have installed the mysql-5.1.69-1.el6_4.x86_64
package and executed the following commands:
# chkconfig mysqld on
# service mysqld start
# /usr/bin/mysqladmin -u root password 'xxxxx'
# /usr/bin/mysql_secure_installation
Then I've noticed that
2015 Jan 08
5
logrotate script not working
Hey guys,
Got a quick question and I hope this is an easy one!
In my /etc/logrotate.conf file I have the following entry:
# rotate all of the apache logs -- we'll rotate them here
/var/log/mysqld.log {
weekly
size 50M
create 0644 mysql mysql
rotate 1
}
And from that I would expect the log to rotate when it reaches 50M in size.
However I just caught that log weighing
2009 Apr 13
3
x86_64 server OOM problems after update to 5.3
Hello,
Over the weekend, I upgraded one of my servers that runs mysql and pdns
to 5.3. Previous to the update I have not had an issue form this server.
But since, I have had mysql die multiple times from oom-killer.
$ uname -a
Linux rack2a 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:10:25 EDT 2009
x86_64 x86_64 x86_64 GNU/Linux
Unfortunately, the server has been rebooted by others before I have been
2019 Oct 30
2
Dovecot and MySQL aborted connections.
We also spotted these sql connections getting aborted, upon upgrading
MySQL from 5.6 to 5.7. (Going back to 5.6 we don't see them!)
Turning on mysql general query logging we can see it is Dovecot's mysql
connections that inquire about or update quota usage in particular:
*** /logs//mysql.log ***
2019-10-30T10:52:22.624690-07:00 2 Connect dovecot at localhost on
npomail using
2008 Feb 02
3
Question abt redirect_to..
I found a reference to using attachment_fu and followed the lead of it
but having an issue with the redirect_to that renders the fb:render
tag - In my form I''m setting the canvas to false, file is being
uploaded / save fine but when I attempt to redirect:
redirect_to :action => :new, :canvas => true
Unfortunatly it looks like my callback URL is getting printed twice, e.g.
2008 Sep 21
7
Request info on managing MySQL
Good day/night/whatever fellow techies,
I've come to a small problem managing mysql on CentOS 4.7 box[1]. When
I have done things on mysql on my desktop systems it was always just for
personal use so I would be lazy and put everything under the "test" db
so I didn't have to deal with all that security. But I find that I need
to put some db's on the "production"
2009 Mar 05
3
Connection Pooling on Rails 2.2.2 (Windows Vista)
Hi,
I''m trying to setup rails 2.2.2 pool connections to MySQL by
specifying the pool setting with 5 in database.yml but no hope.. It
doesn''t work.
My rails is running on webrick in the production mode and the webrick
is launched by RadRails.
Even though I send multiple requests to my app on rails at the same
time, it seemed only one connection is shared ( pooled ).
I also
2006 Apr 12
9
Showing Images from a file store
Hi all.
I am wrting a small content management tool for my company and was
trying to display some images from our file store shown below.
<td> <img src="\\xx.xx.xxx.xx\xx\xx\xxx\abc.gif"/>
The app was displaying the image when it is under the \public\images
directory.
Is there anything special we need to do to get a file from outside the
root of the application?
Any help