If i am a beginner, please point out if there is a lack of explanation because it is the second deployment on AWS.
Please let me know if you have any information to add.
The deployment was completed yesterday and was working fine at that point.
Today, I implemented additional implementation etc., so I tried to pull git again and start it up
Master failed to start, check stderr log for details is output to the terminal
have become.
I checked the log
It seems that the file called mysql.sock is gone, so I created mysql.sock while looking at the article on qiita.
Then the error changed to Can't connect to local MySQL server through socket'/var/lib/mysql/mysql.sock' (111).
When I try to restart the mysql server or check the status, I get angry when the command is not found.
I've been fighting for about 5 hours now, but I can't stand my teeth at all ...
Could you please tell me the cause?
I think this is a rudimentary question, but please kindly ask.
-
Answer # 1
Related articles
- ruby - unable to access server with rails s
- ruby on rails - i want to start the puma server and deploy the rails app
- ruby - unable to open rails server
- ruby - rails s fails to start the server with a usage: rails new app_path [options] error
- ruby on rails - at the launch of the rails web server
- ruby on rails - unable to create controller
- javascript - rails server does not start
- ruby - [rails] unable to resolve "name error in affiliates controller # show" error
- ruby - i started the server in rails s but can't open it
- ruby on rails - s3 images are not saved on the ec2 server
- ruby - [rails] i can't start unicorn
- ruby - unable to create rails model (environment: cloud9)
- ruby on rails - unable to access localhost with rails6 and docker
- ruby - rails unable to resolve user errors
- ruby - unable to save comments in db (rails)
- ruby on rails - unable to get latitude/longitude from user registration
- ruby on rails - cannot start unicorn cannot load `railsconfigactive_storageservice`
- ruby - how to start rails
- ruby on rails - can't access rails server
- javascript - i want to eliminate error 404
- ruby on rails - rails tutorial chapter 13 cooperation between heroku and aws s3 region
- ruby on rails - i implemented it so that images can be saved in s3 of aws, but the view can no longer be displayed
- ruby - how to upload images directly from rails to s3 on aws
- nginx - bundler: failed to load command: unicorn cannot start with an error saying unicorn_rails
- ruby - an error occurred when implementing the micropost search function using ransack
- ruby - resolve rspec mysql foreignkey error
- ruby on rails - s3 images are not saved on the ec2 server
- i can't start mysql on ec2
- ruby on rails - i want to solve the problem that "we're sorry, but something went wrong" is displayed in the productio
mysql.sock is created by the mysql server at startup. I think mysql isn't running.
The result of systemctl status mariadb
Looking at, it seems that mariadb is not running. This may happen if you restart without autostart set.
You can start the mysql DB server by executing, so please try it once.
The enable on the first line is the setting for automatic startup. By setting this setting, the mysql server will start automatically even if you restart the server.