Last active
December 27, 2015 23:59
-
-
Save eliza-abraham/7410542 to your computer and use it in GitHub Desktop.
Issues that occur on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Heroku Toolbelt Issue | |
2. MongoDb Issue | |
3. MergeList /var/lib/apt/lists Issue | |
4. Host 'host_name' is blocked |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Heroku Toolbelt update issue | |
$sudo apt-add-repository 'deb http://toolbelt.herokuapp.com/ubuntu ./' | |
$wget -O- https://toolbelt.heroku.com/apt/release.key | apt-key add - | |
$sudo apt-get update | |
$sudo apt-get install heroku-toolbelt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host 'host_name' is blocked because of many connection errors. | |
Unblock with 'mysqladmin flush-hosts' | |
$ mysqladmin flush-hosts | |
mysqladmin: refresh failed; error: 'Access denied; you need (at least one of) the RELOAD privilege(s) for this operation | |
$ mysql -u root -p | |
$ <your password> | |
# GRANT RELOAD ON *.* TO 'root'@'localhost'; | |
$ sudo service mysql restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
“Problem with MergeList /var/lib/apt/lists” Error In Ubuntu 11.04 | |
$sudo rm /var/lib/apt/lists/* -vf | |
$sudo apt-get update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MongoDb Issue | |
$sudo rm /var/lib/mongodb/mongod.lock | |
$sudo -u mongodb mongod -f /etc/mongodb.conf --repair | |
$sudo start mongodb | |
$sudo status mongodb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment