database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
ㆍCUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
CUBRID Q&A 758 게시물 읽기
No. 758
Q.apctools 로 설치후 문제 발생
작성자
손무성
작성일
2007-12-04 05:33
조회수
3,884

이전에 apmtools로 아파치, php, mysql을 설치 한후 vsftpd도 설치하여 사용하였습니다.

초보인지라 큐브리드가 아주 편리하게 사용될 것 같아

apctools 로 아파치, 큐브리드, php 를 다시 설치 했습니다.

 

그런데 문제가 생겼습니다.

 

1. 큐브리드 설치 후

root 로 ssh2 로 접속하면 이런 글이 계속 올라옵니다.

-bash: /root/conf/cubrid.sh: 그런 파일이나 디렉토리가 없음

이라는 멘트가 나옵니다.

 

2. 큐브리드 phpCubAdmin 접속하면 아이디와 비밀번호를 \"admin/admin\" 이라고 쓰면 들어가지 않습니다.

 

3 그리고 잘 돌아가던 vsftpd 서버가 말을 잘 들지 않습니다.

알ftp로 접속하면 이미 이전에 사용하던 일반 계정으로는 접속이 안되고 anonymous 익명접속만 되고  pub 에만 접속 됩니다.

 

물론 이전에 /etc/vsftpd.conf  설정도 정상적으로 해 두었습니다.

# Example config file /etc/vsftpd/vsftpd.conf

#

# The default compiled in settings are fairly paranoid. This sample file

# loosens things up a bit, to make the ftp daemon more usable.

# Please see vsftpd.conf.5 for all compiled in defaults.

#

# READ THIS: This example file is NOT an exhaustive list of vsftpd options.

# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd\'s

# capabilities.

#

# Allow anonymous FTP? (Beware - allowed by default if you comment this out).

#anonymous_enable=YES

#

# Uncomment this to allow local users to log in.

local_enable=YES

#

# Uncomment this to enable any form of FTP write command.

write_enable=YES

#

# Default umask for local users is 077. You may wish to change this to 022,

# if your users expect that (022 is used by most other ftpd\'s)

local_umask=022

#

# Uncomment this to allow the anonymous FTP user to upload files. This only

# has an effect if the above global write enable is activated. Also, you will

# obviously need to create a directory writable by the FTP user.

#anon_upload_enable=YES

#

# Uncomment this if you want the anonymous FTP user to be able to create

# new directories.

#anon_mkdir_write_enable=YES

#

# Activate directory messages - messages given to remote users when they

# go into a certain directory.

dirmessage_enable=YES

#

# Activate logging of uploads/downloads.

xferlog_enable=YES

#

# Make sure PORT transfer connections originate from port 20 (ftp-data).

#connect_from_port_20=YES

#

# If you want, you can arrange for uploaded anonymous files to be owned by

# a different user. Note! Using \"root\" for uploaded files is not

# recommended!

#achown_uploads=YES

#chown_username=whoever

#

# You may override where the log file goes if you like. The default is shown

# below.

xferlog_file=/var/log/vsftpd.log

#

# If you want, you can have your log file in standard ftpd xferlog format

#xferlog_std_format=YES

#

# You may change the default value for timing out an idle session.

#idle_session_timeout=600

#

# You may change the default value for timing out a data connection.

#data_connection_timeout=120

#

# It is recommended that you define on your system a unique user which the

# ftp server can use as a totally isolated and unprivileged user.

#nopriv_user=ftpsecure

#

# Enable this and the server will recognise asynchronous ABOR requests. Not

# recommended for security (the code is non-trivial). Not enabling it,

# however, may confuse older FTP clients.

#async_abor_enable=YES

#

# By default the server will pretend to allow ASCII mode but in fact ignore

# the request. Turn on the below options to have the server actually do ASCII

# mangling on files when in ASCII mode.

# Beware that turning on ascii_download_enable enables malicious remote parties

# to consume your I/O resources, by issuing the command \"SIZE /big/file\" in

# ASCII mode.

# These ASCII options are split into upload and download because you may wish

# to enable ASCII uploads (to prevent uploaded scripts etc. from breaking),

# without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be

# on the client anyway..

#ascii_upload_enable=YES

#ascii_download_enable=YES

#

# You may fully customise the login banner string:

ftpd_banner=Welcome to blah FTP service.데이터 백업을 항상 해두세요.

#

# You may specify a file of disallowed anonymous e-mail addresses. Apparently

# useful for combatting certain DoS attacks.

#deny_email_enable=YES

# (default follows)

#banned_email_file=/etc/vsftpd.banned_emails

#

# You may specify an explicit list of local users to chroot() to their home

# directory. If chroot_local_user is YES, then this list becomes a list of

# users to NOT chroot().

 

chroot_list_enable=YES

chroot_local_user=YES

# (default follows)

chroot_list_file=/etc/vsftpd.chroot_list

#

# You may activate the \"-R\" option to the builtin ls. This is disabled by

# default to avoid remote users being able to cause excessive I/O on large

# sites. However, some broken FTP clients such as \"ncftp\" and \"mirror\" assume

# the presence of the \"-R\" option, so there is a strong case for enabling it.

#ls_recurse_enable=YES

 

#pam_service_name=vsftpd

#userlist_enable=YES

#enable for standalone mode

#listen=YES

#tcp_wrappers=YES

 

무엇이 문제인지 구체적으로 알려 주세요.

이 글에 대한 댓글이 총 1건 있습니다.

apm과 apc는 apache+php부분이 동일하기 때문에

apmtools로 설치하신 것을 제거하시고

apctools를 설치하시거나,

apmtools로 설치하신 상태에서 linux ap/apm 상태에서 큐브리드 추가하기를 하셔야 합니다.

( http://www.cubrid.com/Tutorial.php?no=1370&category=4 )

 

그리고 정상 설치가 되었다면 /root/conf에 관련 환경 파일이 저장됩니다.

설치 확인을 부탁드립니다(물론 SULinux이시지요?)

 

vsftpd는 apctools 설치와는 전혀 관련 없는 사항인데......

(사용 포트도 전혀 다르고요)

 

현상을 보니 /etc 폴더에 있는 vsftpd.ftpusers와 vsftpd.user_list를 확인하시면 혹시.....

 

 

>이전에 apmtools로 아파치, php, mysql을 설치 한후 vsftpd도 설치하여 사용하였습니다.

>초보인지라 큐브리드가 아주 편리하게 사용될 것 같아

>apctools 로 아파치, 큐브리드, php 를 다시 설치 했습니다.

>

>그런데 문제가 생겼습니다.

>

>1. 큐브리드 설치 후

>root 로 ssh2 로 접속하면 이런 글이 계속 올라옵니다.

>-bash: /root/conf/cubrid.sh: 그런 파일이나 디렉토리가 없음

>이라는 멘트가 나옵니다.

>

>2. 큐브리드 phpCubAdmin 접속하면 아이디와 비밀번호를 \"admin/admin\" 이라고 쓰면 들어가지 않습니다.

>

>3 그리고 잘 돌아가던 vsftpd 서버가 말을 잘 들지 않습니다.

>알ftp로 접속하면 이미 이전에 사용하던 일반 계정으로는 접속이 안되고 anonymous 익명접속만 되고  pub 에만 접속 됩니다.

>

>물론 이전에 /etc/vsftpd.conf  설정도 정상적으로 해 두었습니다.

># Example config file /etc/vsftpd/vsftpd.conf

>#

># The default compiled in settings are fairly paranoid. This sample file

># loosens things up a bit, to make the ftp daemon more usable.

># Please see vsftpd.conf.5 for all compiled in defaults.

>#

># READ THIS: This example file is NOT an exhaustive list of vsftpd options.

># Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd\'s

># capabilities.

>#

># Allow anonymous FTP? (Beware - allowed by default if you comment this out).

>#anonymous_enable=YES

>#

># Uncomment this to allow local users to log in.

>local_enable=YES

>#

># Uncomment this to enable any form of FTP write command.

>write_enable=YES

>#

># Default umask for local users is 077. You may wish to change this to 022,

># if your users expect that (022 is used by most other ftpd\'s)

>local_umask=022

>#

># Uncomment this to allow the anonymous FTP user to upload files. This only

># has an effect if the above global write enable is activated. Also, you will

># obviously need to create a directory writable by the FTP user.

>#anon_upload_enable=YES

>#

># Uncomment this if you want the anonymous FTP user to be able to create

># new directories.

>#anon_mkdir_write_enable=YES

>#

># Activate directory messages - messages given to remote users when they

># go into a certain directory.

>dirmessage_enable=YES

>#

># Activate logging of uploads/downloads.

>xferlog_enable=YES

>#

># Make sure PORT transfer connections originate from port 20 (ftp-data).

>#connect_from_port_20=YES

>#

># If you want, you can arrange for uploaded anonymous files to be owned by

># a different user. Note! Using \"root\" for uploaded files is not

># recommended!

>#achown_uploads=YES

>#chown_username=whoever

>#

># You may override where the log file goes if you like. The default is shown

># below.

>xferlog_file=/var/log/vsftpd.log

>#

># If you want, you can have your log file in standard ftpd xferlog format

>#xferlog_std_format=YES

>#

># You may change the default value for timing out an idle session.

>#idle_session_timeout=600

>#

># You may change the default value for timing out a data connection.

>#data_connection_timeout=120

>#

># It is recommended that you define on your system a unique user which the

># ftp server can use as a totally isolated and unprivileged user.

>#nopriv_user=ftpsecure

>#

># Enable this and the server will recognise asynchronous ABOR requests. Not

># recommended for security (the code is non-trivial). Not enabling it,

># however, may confuse older FTP clients.

>#async_abor_enable=YES

>#

># By default the server will pretend to allow ASCII mode but in fact ignore

># the request. Turn on the below options to have the server actually do ASCII

># mangling on files when in ASCII mode.

># Beware that turning on ascii_download_enable enables malicious remote parties

># to consume your I/O resources, by issuing the command \"SIZE /big/file\" in

># ASCII mode.

># These ASCII options are split into upload and download because you may wish

># to enable ASCII uploads (to prevent uploaded scripts etc. from breaking),

># without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be

># on the client anyway..

>#ascii_upload_enable=YES

>#ascii_download_enable=YES

>#

># You may fully customise the login banner string:

>ftpd_banner=Welcome to blah FTP service.데이터 백업을 항상 해두세요.

>#

># You may specify a file of disallowed anonymous e-mail addresses. Apparently

># useful for combatting certain DoS attacks.

>#deny_email_enable=YES

># (default follows)

>#banned_email_file=/etc/vsftpd.banned_emails

>#

># You may specify an explicit list of local users to chroot() to their home

># directory. If chroot_local_user is YES, then this list becomes a list of

># users to NOT chroot().

>

>chroot_list_enable=YES

>chroot_local_user=YES

># (default follows)

>chroot_list_file=/etc/vsftpd.chroot_list

>#

># You may activate the \"-R\" option to the builtin ls. This is disabled by

># default to avoid remote users being able to cause excessive I/O on large

># sites. However, some broken FTP clients such as \"ncftp\" and \"mirror\" assume

># the presence of the \"-R\" option, so there is a strong case for enabling it.

>#ls_recurse_enable=YES

>

>#pam_service_name=vsftpd

>#userlist_enable=YES

>#enable for standalone mode

>#listen=YES

>#tcp_wrappers=YES

>

>무엇이 문제인지 구체적으로 알려 주세요.

 

서상욱님이 2007-12-04 09:28에 작성한 댓글입니다. Edit
[Top]
No.
제목
작성자
작성일
조회
762Q.김범준대리님 전화요망 [1]
박완수
2007-12-04
3664
761Q.OLE DB를 사용하는데.... [1]
김기석
2007-12-04
4034
759Q.큐브리드 디비백업 택스트형식으로... [1]
전성현
2007-12-04
3576
758Q.apctools 로 설치후 문제 발생 [1]
손무성
2007-12-04
3884
757Q.데이터베이스 다만들고 그걸 딴곳에서 사용하고 싶어요 [1]
권기둥
2007-12-04
5048
755Q.큐브리드에서 데이터 가져오기 질문드립니다. [1]
박유나
2007-12-03
3902
754Q.[UTF-8]로 일본어 출력 [1]
김남진
2007-12-03
4001
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2023 DSN, All rights reserved.
작업시간: 0.047초, 이곳 서비스는
	PostgreSQL v16.1로 자료를 관리합니다