본문 바로가기

반응형

개발 노트/Linux

(11)
[Linux] error while loading shared libraries: libcrypto.so.1.0.0 증상 : sshd 서비스 시작 시 아래와 같은 에러 문구 뜨는 경우 /usr/sbin/sshd: error while loading shared libraries: libcrypto.so.1.0.0: cannot enable executable stack as shared object requires: Permission denied 원인 : selinux 가 동작 중인 경우 해당 오류 발생할 수 있음 (check selinux status) ]# getenforce Enforcing OR # sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: enforcing Mode from config file: enforcing Pol..
[CentOS 7] 추가 NIC 인식 불가 증상 Cent OS 7 설치된 PC 에 추가한 NIC 카드가 인식되지 않는 경우 해결법 참고 링크 https://forums.fedoraforum.org/showthread.php?299864-CentOS-7-install-Disappointedhttps://www.centos.org/forums/viewtopic.php?t=56484 1. ifconfig -a 명령어에 인터페이스가 보이지 않음1ifconfig -acs► 실제 PC에 꼽혀있는 NIC 은 메인보드 1개 + 추가 NIC 1개 있음 2. 실제 PCI 에 꼽혀 있는 인터페이스 이름 찾기1lspci | grep -i ethernetcs ► lspci 명령어 수행 시 해당 NIC 제조사 및 제품명 찾을 수 있음 (3Com Corporation 3c905..
[Git] git diff 명령어 시 ^M 기호와 함께 충돌 나는 경우 git 변경 사항에 ^M 기호 있는 경우 해결 방법 Linux 에서 git 사용 시 간혹 merge 또는 diff 시, 변경점에서 같은 소스에 ^M 기호때문에 다르게 판단하는 경우가 있다. 또는 Linux 파일을 Windows 에서 에디터를 사용해 FTP 로 읽고 저장 시 ^M 기호가 생기는 경우를 볼 수 있다. 이럴 경우 일반적으로 내부 코드 사용 시에는 상관이 없지만 git 은 이 모든 LIne 을 변경사항으로 인지한다. 예시 : 해결 방법은 다음과 같다. 1. vi 로 해당 파일 열어서 ^M 문자 출력1234vi file_name// after open the file:set ffs=unix:e file_namecs 2. ^M 문자 삭제1:%s/^M//gcs ※ 주의 : 여기서 가운데 ^M 은 보이..

반응형