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

mysqltuner.pl: env: bad interpreter: No such file or directory #766

Closed
gralex54 opened this issue Feb 9, 2024 · 1 comment · Fixed by #767
Closed

mysqltuner.pl: env: bad interpreter: No such file or directory #766

gralex54 opened this issue Feb 9, 2024 · 1 comment · Fixed by #767

Comments

@gralex54
Copy link

gralex54 commented Feb 9, 2024

Hello,

The new version does not work on CentOS 6,7,8 and fails with the error:

mysqltuner.pl: env: bad interpreter: No such file or directory

see it has no path for env:

#!env perl
# mysqltuner.pl - Version 2.5.3
# High Performance MySQL Tuning Script

should be

#!/bin/env perl
# mysqltuner.pl - Version 2.5.3
# High Performance MySQL Tuning Script
FabioPedretti added a commit to FabioPedretti/MySQLTuner-perl that referenced this issue Feb 9, 2024
Current shebang gives this error:
$ ./mysqltuner.pl
-bash: ./mysqltuner.pl: cannot execute: required file not found

Also fixes major#766.
@FabioPedretti
Copy link
Contributor

Fix is in #767.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants