Showing posts with label ERROR. Show all posts
Showing posts with label ERROR. Show all posts

Wednesday, March 28, 2012

Cannot SCP your file to another server

Usually.. I have no problem to scp my file to another server.. But today it giving me below error :

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:11
RSA host key for 1XX.1X.XX0.xX0 (ip) has changed and you have requested strict checking.
Host key verification failed.

-----
So, here is the step to resolved this problem
#cd /root/
#ee .ssh/known_hosts
pastu ctrl-k semua line dalam tuh..
save..

Actually this .ssh/known_hosts file keep cache of previous access ssh command.

Then ok.. :) paham2..

Thursday, February 2, 2012

Date Problem... cannot login

php error at date.time zone
A. # cd usr/local/etc/
# ee php.ini
--> search date.time format
setting : http://www.php.net/manual/en/timezones.asia.php
then change add "eg: date.timezone = "Asia/Kuala_Lumpur""

Checking date in server
#date

if not same you have to setting up using this command
#ntpdate asia.pool.ntp.org

Thanks for sifu John...

for changing setting at php.ini (8. php error at date.time zone) : need to restart apache.

How to restart apache but will not disturbe the connection?
#/usr/local/etc/rc.d/apache graceful

Sunday, January 29, 2012

Problem cannot ping hostname but can ping ip

Setting /etc/rc.conf
ifconfig_dco="DHCP"
hostname="fw.company.com"
defaultrouter="192.168.1.1"

Setting /etc/resolv.conf
search carolina.rr.com
nameserver 24.25.5.60
naemserver 24.25.5.61

Setting /etc/hosts
::1 localhost.company.com localhost
127.0.0.1 localhost.company.com localhost

Tapi tak leh ping jugak... pelik2.. Sifoo solution... Idupkan deamon
Caranya.. tambahkan kat /etc/rc.conf
named_enable="YES"
Pastu... idupkan dengan # /etc/rc.d/named start

Dan tiba2 ia idup... hoyeee... five star for sifu zaman..


Monday, December 12, 2011

Var in Freebsd is full

when you #df -h
if show var is 108%... but when you check at folder /var it seem only have file 40-50M only..

What should i do?
1. already try to restart apache22 but cannot resolve
2. restart deamon.. cannot work
3. finally.. i restart the server.. hehehe.. done ;) but actually need to search what is the problem.

---- janji selesai ;)---- nnti study smula