Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Percona Container Exit code 1 #2003

Closed
red-smeg opened this issue Feb 19, 2019 · 2 comments
Closed

Percona Container Exit code 1 #2003

red-smeg opened this issue Feb 19, 2019 · 2 comments
Labels

Comments

@red-smeg
Copy link
Contributor

Info:

  • Docker version ($ docker --version): Docker version 18.09.2, build 6247962
  • Laradock commit ($ git rev-parse HEAD): 8d139fb
  • System info (Mac, PC, Linux): MacBookPro 2018 running windows 10
  • System info disto/version: windows 10 October update

Issue:

Percona Container Exits 1 on startup.


Expected behavior:

Percona starts normally


Reproduce:

docker-compose up -d percona
docker-compose ps

   Name                    Command              State    Ports

laradock_percona_1 /docker-entrypoint.sh mysqld Exit 1

docker-compose logs percona

Attaching to laradock_percona_1
percona_1 | Initializing database
percona_1 | 2019-02-19T03:42:03.337341Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
percona_1 | 2019-02-19T03:42:04.295117Z 0 [Warning] InnoDB: Retry attempts for writing partial data failed.
percona_1 | 2019-02-19T03:42:04.295158Z 0 [ERROR] InnoDB: Write to file /var/lib/mysql/xb_doublewritefailed at offset 0, 1048576 bytes should have been written, only 0 were written. Operating system error number 22. Check that your OS and file system support files of this size. Check also that the disk is not full or a disk quota exceeded.
percona_1 | 2019-02-19T03:42:04.295167Z 0 [ERROR] InnoDB: Error number 22 means 'Invalid argument'
percona_1 | 2019-02-19T03:42:04.296348Z 0 [ERROR] InnoDB: InnoDB Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again.
percona_1 | 2019-02-19T03:42:04.897412Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
percona_1 | 2019-02-19T03:42:04.897477Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
percona_1 | 2019-02-19T03:42:04.897484Z 0 [ERROR] Failed to initialize builtin plugins.
percona_1 | 2019-02-19T03:42:04.897487Z 0 [ERROR] Aborting

`

BUT THE DISK HAS 21Gb FREE SPACE ON IT.


Relevant Code:

my.cnf in percona folder 

# The MySQL  Client configuration file.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html

[mysql]
max_allowed_packet = 4194304
innodb_log_file_size = 1073741824
explicit_defaults_for_timestamp = 1     <==== Tried without this as well 

[mysqld]
sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
explicit_defaults_for_timestamp = 1

@stale
Copy link

stale bot commented Feb 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Feb 2, 2020
@stale
Copy link

stale bot commented Feb 23, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant