본문 바로가기

Linux

SyntaxError: Missing parentheses in call to 'print' SyntaxError: Missing parentheses in call to 'print' python 구동을 했는데 위와 같이 에러가 발생이 된다. 이유는 간단하다 python2 와 python3 버전에 print 사용시 형식이 변경이 되어서 그렇다. python2 버전에서는 print "Initialize arrays for %d million of elements" % FACTOR 위와 같이 표현을 했다면 python3 버전에서는 print ("Initialize arrays for %d million of elements") % FACTOR 적어주면 위 에러 없이 정상 작동이 된다. 더보기
does not support the http/dav protocol does not support the http/dav protocol 위와 같이 svn 관련 에러가 발생을 한다면 Tortoise SVN 버전이 높아서 그렇다. Tortoise SVN 1.11 이하 버전으로 사용을 하자. https://osdn.net/projects/tortoisesvn/storage/1.10.5/Application/ Downloading File /1.10.5/Application - TortoiseSVN - OSDN Free download page for Project TortoiseSVN's Application.TortoiseSVN is a Subversion (SVN) client, implemented as a windows shell extension. Which mea.. 더보기
Commit failed (details follow): could not begin a transaction Commit failed (details follow): could not begin a transaction svn 서버 구축후 commit 할때 위와 같이 에러가 발생 하는 경우가 있다. 이럴경우 새로 생성한 repo 권한이 없어서 그렇다. svn 서버에 가서 새로 생성한 repo 에 chown -R apache:apache /data/test/ 권한을 주고 다시 commit 하면 정상 작동 된다. 더보기
openmpi 설치 방법 (Open MPI:Open Source High Performance Computing) openmpi 설치 방법 Open MPI:Open Source High Performance Computing centos8 환경에서 설치를 진행 했다. https://www.open-mpi.org/software/ompi/v4.1/ Open MPI: Version 4.1 Changes in this release: See this page if you are upgrading from a prior major release series of Open MPI. It shows the Big Changes for which end users need to be aware. See the NEWS file for a more fine-grained listing of changes between each r.. 더보기
Application secret key is invalid. Please check the configuration details. 위와 같이 에러가 발생 한다면 우선 https://portal.azure.com/ 사이트 가자. 위 사이트 들어가서 Azure Active Directory 눌러보자. 앱 등록 클릭 디렉터리의 모든 애플리케이션 보기 클릭 여러개가 나온다 맨 위에 있는 ManageEngine M365 클릭 위와 같이 뜨는데 리다렉션 URL 클릭 플랫폼 쿠가 선택 웹 선택 그리고 주소를 입력 http://localhost:8365/webclient/GrantAccess 또는 https://192.345.679.345:8365/webclient/GrantAccess . 둘중 하나 입력 하고 구성을 누르면 업데이트 완료 된다. 마찬가지로 http://localhost:port_number/AADAppGrantSuccess.do.. 더보기
nfs chmod: changing permissions of Operation not permitted nfs chmod: changing permissions of Operation not permitted nfs 로 mount 된 폴더에 파일을 생성을 한 후에 chmod 777 권한으로 파일을 만들어줬어도 다른 계정으로 해당 폴더에 가서 chmod 로 권한을 변경하려 하면 nfs chmod: changing permissions of Operation not permitted 위와 같이 에러가 발생 된다. 예를 들어 nfs mount 가 된 /data 폴더가 있다고 가정해보자. A 라는 계정으로 /data 폴더에 들어가서 a.txt 파일을 생성 하고 chmod 777 a.txt 권한을 주면 B 라는 계정으로 /data 폴더에 들어가서 a.txt 파일을 수정을 할 수 있지만 chmod 을 이용한 권한 수.. 더보기
yum cannot prepare internal mirrorlist no urls in mirrorlist # yum install update Repository extras is listed more than once in the configuration CentOS Linux 8 - AppStream 50 B/s | 38 B 00:00 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist yum 설치 하면 위와 같이 에러가 발생 할때가 있다. 서비스 종료로 repo 경로가 변경된 경우가 그렇다. 이럴때는 repo 경로에 있는 파일을 수정 해주면 된다. sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/.. 더보기
리눅스 환경 CPU 온도 확인하기 xsensors, lm_sensors 리눅스 환경 CPU 온도 확인하기 보통 sensors 를 많이 사용한다. GUI 환경의 xsensors text 환경의 lm_sensors 설치 방법은 우선 xsensors # yum install xsensors Loaded plugins: fastestmirror, langpacks Determining fastest mirrors base | 3.6 kB 00:00:00 epel | 4.7 kB 00:00:00 extras | 2.9 kB 00:00:00 updates | 2.9 kB 00:00:00 (1/3): epel/x86_64/group_gz | 98 kB 00:00:00 (2/3): epel/x86_64/updateinfo | 1.0 MB 00:00:00 (3/3): epel/x86_64/.. 더보기

728x90
320x100