본문 바로가기
반응형

에러18

failure: repodata/repomd.xml from pgdg-common: [Errno 256] No more mirrors to try. 해결 방법 찾기 OS 정보 : CentOS 7.9 Version발생 에러 : yum 으로 설치 시 발생하였음...에러명 : Errno 256 No more mirrors to try ChatGPT 에 물어봤을 때 나오는 결과"[Errno 256] No more mirrors to try"는 패키지 관리자가 설치할 수 있는 미러 서버를 모두 시도했지만, 원하는 패키지를 다운로드할 수 없을 때 발생하는 오류입니다. 이 오류는 보통 미러 서버의 문제, 패키지의 경로가 잘못되었거나, 패키지가 서버에서 제거되었을 때 발생합니다. 해결책으로는 레포지토리 설정을 확인하고, 다른 미러 사이트를 사용하거나, 사전 유효성을 확인하는 것이 있습니다. 중요한 정보는 다시 확인하시기 바랍니다. 보통은 yum 캐시가 손상되는데, 필자는 그래도 .. 2024. 12. 4.
[Oracle Pro*C Error] build error 아래와 같이 길게 에러가 나왔다. 185 줄, 45 열, /usr/include/sys/cdefs.h 파일에 구문 오류입니다:라인 185, 열 45에 /usr/include/sys/cdefs.h 파일에서 오류가 생겼습니다 #define __glibc_fortify(f, __l, __s, __osz, ...) \ ............................................1 PCC-S-02014, 심볼 "..."를 만났습니다 다음 중 하나가 기대될 때: an identifier, define, elif, else, endif, error, if, ifdef, ifndef, include, include_next, line, pragma, undef, exec, sql, begin, en.. 2024. 3. 4.
[sqlplus] -bash : event not found sqlplus 사용시에 아래와 같은 에러가 났다. [abc@hostname src]$ sqlplus abc/abc123!@TESTDB -bash: !@TESTDB: event not found 해당 에러는 느낌표 '!' 때문에 일어난다. bash 쉘에서는 '!' 가 이전에 실행한 히스토리를 실행하는 명령어의 히스토리를 참조하는 역할을 한다. 따라서 해당 에러를 없애기 위해서는 ! 가 문자열이라는 것을 알려줄 필요가 있다. 해결방법은 두가지이다. # 1번 방법 [abc@hostname src]$ sqlplus 'abc/abc123!@TESTDB' # 2번 방법 [abc@hostname src]$ sqlplus abc/abc123\!@TESTDB 그러면 해결이 될것이다. 2024. 2. 22.
[sqlplus] Error 6 initializing SQL*Plus OS version : Rocky Linux release 9.3 (Blue Onyx) sqlplus 를 사용하는 도중 나온 에러이다. [abc@hostname instantclient_12_2]$ ./sqlplus Error 6 initializing SQL*Plus SP2-0667: Message file sp1.msb not found SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory [abc@hostname instantclient_12_2]$ ./sqlplus Segmentation fault (core dumped) 원인 : ORACLE_HOME 을 못찾는다. 그래서 ORACLE_HOME 을 보았다. [abc.. 2024. 2. 22.
error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory 해결해보기 OS Version : Rocky Linux release 9.3 (Blue Onyx) 해당 Error 원인 : libnsl.so.1 이 없다. dnf install -y libnsl 조치 후 정상적이다. 2024. 2. 22.
gcc: multiple definition of bb.c:(.text+0x0): multiple definition of `test' /tmp/ccoyicve.o:aa.c:(.text+0x0): first defined here 첫번째 줄 해석 그대로 중복된 정의라는 얘기이다. 아래와 같이 해당 함수가 중복으로 선언이 되었다는 것을 알 수 있다. 두번째 줄의 경우 첫번째로 선언되어 있는 곳을 알려준다. 따라서 중복되는 함수를 유의 깊게 보면 된다. 위의 경우 test 라는 함수가 중복이 되었고, bb.c 파일과 aa.c 파일에 중복 선언이 되어있는 test 함수를 체크한다. 2023. 12. 4.