How to fix "REMOTE HOST IDENTIFICATION HAS CHANGED"
by execute this command
# ssh-keygen -f "<home path>/.ssh/known_hosts" -R <IP address that going to connect>
Example:
ssh-keygen -f "/root/.ssh/known_hosts" -R 192.168.1.85
When try to connect again this time it will ask to accept a new fingerprint.
Use this solution at your own risk ;)
วันอังคาร, สิงหาคม 30, 2554
วันพฤหัสบดี, สิงหาคม 18, 2554
Clonezilla problem: Clonzilla DVD boot media did not mount from DVD itself
Clonezilla problem: Clonzilla DVD boot media did not mount from DVD itself
(always mount Flashdrive if there're Clonezilla boot media in both Flashdrive & CDROM)
I have to remotely do Clonezilla imaging & restoration via iLO. There's no one standby to put in/put out the media from the server for me.
The situation was like this:
1. have Clonezilla boot media in a Flashdrive, plugged in for making&keeping a clonezilla image.
2. have Clonzilla DVD boot media in a drive. There's a image which made by other and want to restore at this machine.
reference:
Got an idea from
http://asecurepc.com/Ubuntu%20Tutorials/Clonezilla.html
(always mount Flashdrive if there're Clonezilla boot media in both Flashdrive & CDROM)
I have to remotely do Clonezilla imaging & restoration via iLO. There's no one standby to put in/put out the media from the server for me.
The situation was like this:
1. have Clonezilla boot media in a Flashdrive, plugged in for making&keeping a clonezilla image.
2. have Clonzilla DVD boot media in a drive. There's a image which made by other and want to restore at this machine.
- Reboot the machine
- Select to boot from DVD-ROM
- It's booted
- Select the default, 1st option
- Clonezilla mount /home/partimag from a Flashdrive instead of a DVD.
How to solve:
- When at Clonezilla boot option screen select to load Clonezilla to RAM
- It's only load the program into a ramdisk.
- then manually mount DVD-ROM to be /home/partimag
- first; sudo -s to became root
- mount a dvd drive
# mkdir -p /media/cdrom
# mount /dev/sr0 /media/cdrom - /home/partimag which Clonezilla will use to find their image files will be a symbolic link to /live/image//home/partimag (which is currently is a ram disk)
- delete it
# rm /home/partimag - create a new symbolic link point to mounted DVD disc instead
# ln -s /media/cdrom/home/partimag /home/partimag - Done! now execute the Clonezilla program
# clonezilla - When it ask the repository of images choose skip (the current /home/partimag)
reference:
Got an idea from
http://asecurepc.com/Ubuntu%20Tutorials/Clonezilla.html
วันจันทร์, สิงหาคม 01, 2554
Ubuntu: Fix can't authenticate/ authenticate window always shake and can't type a password | gnome-keyring-daemon error
Howto fix can't authenticate/authenticate window always shake and can't type a password
I was painful (& nearly re-install the Ubuntu; Natty) with this problem more than one month, trying to find what is cause this problem.
The problem is when you open/use an application which need an authentication (a authentication window pop-up) the window just opened and shake shake, say that your password was not correct but you didn't have chance to input any password.
This screenshot I took by quickly press PrtScn button.
We can found the error message of this error in /var/log/auth.log. message look like this "...gnome-keyring-daemon[1423]: couldn't allocate secure memory to keep passwords and or keys from being written to the disk..".
Solution:
Need to change a following file's permission: /usr/lib/policykit-1/polkit-agent-helper-1
by execute this command in a terminal.
sudo chmod +s /usr/lib/policykit-1/polkit-agent-helper-1
found from > http://ubuntuforums.org/showpost.php?p=10620872&postcount=9
I was painful (& nearly re-install the Ubuntu; Natty) with this problem more than one month, trying to find what is cause this problem.
The problem is when you open/use an application which need an authentication (a authentication window pop-up) the window just opened and shake shake, say that your password was not correct but you didn't have chance to input any password.
This screenshot I took by quickly press PrtScn button.
We can found the error message of this error in /var/log/auth.log. message look like this "...gnome-keyring-daemon[1423]: couldn't allocate secure memory to keep passwords and or keys from being written to the disk..".
Solution:
Need to change a following file's permission: /usr/lib/policykit-1/polkit-agent-helper-1
by execute this command in a terminal.
sudo chmod +s /usr/lib/policykit-1/polkit-agent-helper-1
found from > http://ubuntuforums.org/showpost.php?p=10620872&postcount=9
สมัครสมาชิก:
บทความ
(
Atom
)