On Wednesday, September 3, 2014 7:08:10 AM UTC-5, PorridgeBear wrote:
>
> With a very basic declaration for MySQL Server:
>
>   class { '::mysql::server':
>     root_password    => 'foobar',
>     override_options => { 'mysqld' => { 'max_connections' => '150' } }
>   }
>
> I am receiving a number of errors on puppet provisioning:
>
> Error: Could not start Service[mysqld]: Execution of '/sbin/service mysqld 
> start' returned 1: mysqld: unrecognized service
>
> I am out of ideas and suggestions very welcome!
>


Either the mysql service is not installed, or its service name is not 
'mysqld'.  Note in particular that the name wanted is not necessarily the 
name of the daemon binary; it is the logical service name that you would 
use with the 'service' command (for example).  In your environment that 
might be something like "mysql" or "mysql-server".  If your system has the 
'chkconfig' command, then you should be able to get a list of the names of 
installed services via 'chkconfig --list'.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/415f8010-9d4d-4fd3-b3e5-f63f83a51127%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to