[Ubuntu] 500 OOPS: vsftpd: refusing to run with writable root inside chroot() 우분투 12.04 의 vsftpd 2.3.5 에 발생하는 문제입니다. 설정파일 /etc/vsftpd.conf에서 chroot_local_user=YES와 같이 chroot를 적용하면 사용자의 ftp디렉토리에 쓰기권한이 부여되어 있으면 발생한다. 당연히 FTP 사용자는 파일의 업로드가 가능해야 할텐데 보안의 헛점이 발견되어 이를 막는 과정에서 발생한 것으로 보인다. 자신만 사용할 FTP 라면 chroot 기능을 비활성하고 사용해도 되지만 다른 사용자들과 함께 사용할 FTP라면 chroot 기능을 활성화해야 한다. 대안책으로 현재 설치 버전을 그대로 유지하면서 수정하는 방법과 새로운 패키지를 다운받아 설치하는 법, PPA를 이용한 수정된 버전을 다운로드 하는 법이 있다. 버전 유지 현재의 설치 버전을 그대로.. 리눅스/Ubuntu 12년 전
[CentOS] phpMyAdmin "Cannot start session without errors" 가끔 phpMyAdmin에서 "Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly" 와 같은 에러 메세지가 뜨면서 접근 할 수 없는 경우가 발생한다. 이 문제는 클라이언트(브라우저)측의 쿠키(cookies) 문제이거나 서버측의 세션(session)파일이 저장되는 곳의 퍼미션(권한) 혹은 소유권(ownership)과 관련된 문제일 경우가 많다. 아래와 같은 에러가 발생했을 것이다.phpMyAdmin - ErrorCannot start session without errors, please check .. 리눅스/CentOS 12년 전
[CentOS] Partition 1 does not end on cylinder boundary ( 파티션 1은 실린더 경계에서... 리눅스에서의 파티션 시스템을 fdisk를 이용해서 확인할때 위와 같은 에러메세지를 발견할 경우가 있다. fdisk -l /dev/sda Disk /dev/sda: 32.2 GB, 32212254720 bytes 255 heads, 63 sectors/track, 3916 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00060d5a Device Boot Start End Blocks Id System /dev/sda1 1 1275.. 리눅스/CentOS 12년 전