Linux 490

error 2002 (hy000) can't connect to local mysql server through socket '/tmp/mysql.sock' (111)

# mysql -u root error 2002 (hy000) can't connect to local mysql server through socket '/tmp/mysql.sock' (111)접속 하려고 했더니 위와 같이 에러가 발생이 된다. # rm -rf /var/lib/mysql/mysql.sock# service mysqld restartStopping mysqld: [ OK ]Starting mysqld: [ OK ]# mysql -u rootWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 4Server version: 5.1.71-log Source distribution Copyright..

Linux 2015.03.12

ypwhich: Can't communicate with ypbind

nis 설정을 다하고 ypwhich 해봤더니 # ypwhichypwhich: Can't communicate with ypbind 위와 같이 에러가 뜬다centos 5.5 버전은 정상적으로 됐는데 centos 6.5 버전은 위와 같이 에러가 뜬다 NetworkManager 문제 때문에 위와 깉이 에러가 뜨는것이다서비스를 꺼버리자 # service NetworkManager stopStopping NetworkManager daemon: [ OK ]# chkconfig NetworkManager off# service ypbind restartShutting down NIS service: [ OK ]Starting NIS service: [ OK ]Binding NIS service: 했더니 정상적으로 ..

Linux 2015.02.27

the image file is invalid and could not be flashed to the controller

the image file is invalid and could not be flashed to the controller raid 카드 펌웨어 업데이트 하려는데 위와 같이 에러가 뜬다 command 로 해도 에러가 뜬다 ./CmdTool264 -adpfwflash -f /tmp/MR411p.rom -aall Adapter 0: Intel (R) RAID Controller RS2BL080Vendor ID: 0x1000, Device ID: 0x0079 Package version on the controller: 12.7.0-0007Package version of the image file: 12.14.0-0185Download Completed.Flashing image to adapter...Fi..

Linux 2015.01.22

python 2.7.8 upgrade

python 구버전에서 최신버전으로 업데이트를 하자 # python -VPython 2.4.3구버전이다 최신버전으로 업데이트 하자 # wget --no-check-certificate -N http://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz # tar xzf Python-2.7.8.tgz# cd Python-2.7.8# ./configure# make# make altinstall # python -VPython 2.4.3여전히 구버전으로 나온다 최신버전으로 변경작업이 필요 하다. # mv /usr/bin/python /usr/bin/python_old# cp /usr/local/bin/python2.7 /usr/bin/python# python -VPyt..

Linux 2015.01.05
728x90
반응형