When attempting to start the mysql and apache services from the Bitnami Wamp stack manager i get the following error.
Starting MySQL Database... Exit code: 1 Stdout:
Stderr: Unknown error starting mysql
I have been able to start the mysql server manually by navigating to the mysql/bin folder and running mysqld, but this is a less than desirable solution.
I tried running the net start "wampstackMySQL" command in cmd, which i found in the mysql/scripts/servicesrun.bat file, but i get the following error.
System error 1058 has occurred.
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
In the services monitor (windows tool) i find both apache and mysql, but all the options for them are greyed out.
There seems to be an issue with the mysql and apache services, but i am unable to figure out what and how to solve this. Anyone have any ideas?
i configured keycloak with mysql database and it worked,
i created a realm, user, role for test and everything was fine,
I stopped keycloak and restarted it with >standalone.bat
and i got this error:
FATAL [org.keycloak.services] (ServerService Thread Pool – 65) Error during startup: java.lang.RuntimeException: Exception invoking method [listUnrunChangeSets] on object [liquibase.Liquibase#f0132b4], using arguments [null,(),false]
ps: if i delete the database and recreate it and run keycloak it will work but run it with database contains data the error above will appear
Please help me to solve this error. Thank you.
Finally, I found the solution
at the beginning i had the newest version of mysql-connector-java it’s 8.0.23
i replaced it with an old version 8.0.21 and boom it worked for me
ps: of course I modified the file module.xml
A job on the queue is giving a timeout for a very simple select query.
The project is using Laravel 7.4 with Mysql 5.7 and Doctrine 2.10.1.
The error is:
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
When retrying the job it fails again.
When using Laravel and Doctrine, sometimes the queue workers lose their database connection.
php artisan queue:restart should fix the problem right away.
I have a Windows service (using .NET framework 4.5) installed on a Windows 2012 R2 machine. I have MySQL connector 6.9.7 and MySQL 5.6.25
When my service is started I am getting following error.
Authentication to host 'xxx.xx.x.xx' for user 'yyyyy' using method 'mysql_native_password' failed with message: Reading from the stream has failed. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Reading from the stream has failed. ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.
or sometimes:
Unable to connect to any of the specified MySQL hosts.
If I restart the service in a while all seems to work properly. Any idea what the problem is?
Migrating OP's solution from the question to an answer:
After further investigation we have found that our database version was 5.6.25. We have tried same connectivity with our old db 5.5.16 and we didn't face the same issue, so it looks like issue is the database itself. Our new database is installed on a Linux machine.
I am extremely new to chef and I am attempting to create a chef server running on a Digital Ocean Ubuntu 14.04 droplet. I am using this guide for the install. I download the .deb and installed it fine. I then run chef-server-ctl reconfigure which runs without an issue. When I go to create my user I enter in all the details and run it, it then waits a few seconds and returns the error ERROR: CONFIGURATION ERROR:Specified config file /etc/opscode/pivotal.rb does not exist
I have scoured the internet to try and find a fix but haven't been able to find a thing. I have also tried doing these exact steps on a VPS running Ubuntu 12.04.5 and getting identical results.
For /etc/opscode/pivotal.pem is missing error use following command.
cp /opt/opscode/embedded/service/omnibus-ctl/spec/fixtures/pivotal.pem /etc/opscode/
Ran into the same thing when trying to install chef in an VM.
Expanding the memory (from 512Mb to 1512Mb) and reran reconfigure solved it for me.
Same problem here. An older version, for example 12.03 of chef-server works for me with Ubuntu 14.04
I got this error because my /etc/opscode/chef-server.rb had a syntax error.
The syntax error was displayed earlier in the logs, however my install script has kept going, causing later on this error.
More than likely, you have forgotten to run chef-server-ctl reconfigure. It's ambiguous naming of the command as it's reconfigure, however the installation guide for Chef Server actually states to run it after installing the package.
Why it's not part of the installation process is beyond me.
I had this problem as well. I exited my ssh session to the node I was configuring. I connected again and ran chef-server-ctl reconfigure again. I was able to then create a user without the error. I was using chef-server-core_12.1.0-1_amd64.deb for my install.
I got the same error with Ubuntu trusty 14.04 64 bit
/etc/opscode/pivotal.rb does not exist. I followed what Matthias Said and destroyed my VM ( I'm using Vagrant), then I quickly set up the VM and installed Chef server 12.03. I can now set up users correctly.
Just an FYI I also tried to install the latest version of chef which is 12.2.0 and do this but I also ran into the same error when trying to provision a user account.
Downgrading to 12.03 solved it for me.
I run in the same issue on CentOS 7 and Chef Infra Server 12.19.31; the following steps helped me to get the root cause of the problem.
Re-run the chef-server-ctl reconfigure and check if it gives any error at the end of the run
In my case, I received the error
Chef Client failed. 0 resources updated in 02 minutes 19 seconds
Check the stack trace / output log on
/var/opt/opscode/local-mode-cache/chef-stacktrace.out
I received
Errno::ENOMEM: Cannot allocate memory - ls -1 /opt/opscode/embedded/service/oc_id/db/migrate | tail -n 1 | sed -e "s/_.*//g"
To solve the problem, I upgraded the system with higher memory.
TL;DR;
Rerun the chef-server-ctl reconfigure to get the error
Upgrade the allocated memory to solve the issue
Me too got this error while installing chef infra server pkg in centos 8.
"ERROR: CONFIGURATION ERROR: Specified config file /etc/opscode/pivotal.rb does not exist"
Post Memory up-gradation I re-run below cmd its fixed issue:
sudo chef-server-ctl reconfigure