1. leht 1-st

ISPconfig3 loodud kontodega FTP ligipääs probleemid serveris

Postitatud: 30.03.2013, 07:45
Postitas -IFFI-
Pöördun maakeelse abi poole kuna oma peaga hakkama ei saa ja googel-moogelist ka adekvaatset abi leida ei suuda.

64bit Dedi server jooksutab Debian 6 millel peal ISPconfig3. Kõik on ilus ja kena kuni sinnani, et hakkan loodud FTP kliendiga servusse trügima kui see ei õnnestu kohe mitte.

Loodu klient peaks ligipääsema läbi 21 pordi ja serveri domeeni nagu mina saan aru :S Olen proovinud ka logida läbi kliendi domeni ja läbi servrei IP. Katsetanud porti 21 ja 22.

Filezillas valinud krüpteeringuks kõiki 3 valikut aga no ei pääse ligi.

Enam ei oska mõelda mis võiks olla valesti. Miski paarkuud tagasi kui esimest korda sai seda testmasinas katsetatud siis toimis kõik OK. Enam ei saa aru mis võiks olla jäänud kahe silma vahele?

Postitatud: 30.03.2013, 08:07
Postitas spott
vaata, mis ftp serveri logides kirjas on. Kas üldse üritatakse ühenduda või mitte.

Postitatud: 30.03.2013, 08:59
Postitas -IFFI-
Unustasin mainida ka, et pea serveri sftp kaudu saan kenasti ligi kõijlale...kui see info peaks olema oluline.

Aga siis järgmine ....filezilla näitab nii

Kood: Vali kõik

Staatus:	Ühendume 254.124.57.32:21...
Staatus:	Ühendus loodud, ootan tervitusteadet...
Vastus:	220 ProFTPD 1.3.3a Server (Debian) [::ffff:254.124.57.32]
Käsk:	AUTH TLS
Vastus:	500 AUTH not understood
Käsk:	AUTH SSL
Vastus:	500 AUTH not understood
Viga:	Kriitiline viga
Viga:	Ei suuda ühenduda serveriga
/var/log/proftp/proftp.log

Kood: Vali kõik

Mar 30 07:49:06 domeen.com proftpd[29557] domeen.com (gprs-internet-bcee9b-33.dhcp.inet.fi[::ffff:254.124.57.32]): FTP session opened.
Mar 30 07:49:06 domeen.com proftpd[29557] domeen.com (gprs-internet-bcee9b-33.dhcp.inet.fi[::ffff:254.124.57.32]): FTP session closed.
Mar 30 07:50:01 domeen.com proftpd[29635] domeen.com (localhost.localdomain[::ffff:127.0.0.1]): FTP session opened.
Mar 30 07:50:01 domeen.com proftpd[29635] domeen.com (localhost.localdomain[::ffff:127.0.0.1]): FTP session closed.

Ühendust nagu võtab aga autentimise probleem tundub mulle nagu oleks probleemiks

Postitatud: 30.03.2013, 09:11
Postitas spott
oma ispconfigu proftpd conf faili saad näidata?
Kas TLS on toetatud ja sertifikaadid paigaldatud ja genereeritud?
Mina googeldaks järgmise märklausega peale: 500 AUTH not understood ispconfig proftpd

Postitatud: 30.03.2013, 13:08
Postitas -IFFI-
Olukord selline, et alguses oli jah sert puudu paigaldasin vastava serdi aga tulemus ikka sama. Lasin proftp ja pure ftpd koos ispconfiguga maha ning siis ispconfig ja pureftp peale.

Hetkel on ilmselt miski mysqliga ühenduse saamise viga.

Filezilla ütleb oma logis järgmist

Kood: Vali kõik

Staatus:	Ühendume 547.235.21.57:21...
Staatus:	Ühendus loodud, ootan tervitusteadet...
Vastus:	220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Vastus:	220-You are user number 1 of 50 allowed.
Vastus:	220-Local time is now 11:57. Server port: 21.
Vastus:	220-This is a private system - No anonymous login
Vastus:	220-IPv6 connections are also welcome on this server.
Vastus:	220 You will be disconnected after 15 minutes of inactivity.
Käsk:	AUTH TLS
Vastus:	234 AUTH TLS OK.
Staatus:	TLS ühenduse initsialiseerimine ...
Staatus:	Sertifikaadi kontrollimine...
Käsk:	USER iffimusicftp
Staatus:	TLS/SSL ühendus loodud.
Vastus:	331 User iffimusicftp OK. Password required
Käsk:	PASS **********
Vastus:	530 Login authentication failed
Viga:	Kriitiline viga
Viga:	Ei suuda ühenduda serveriga
Muutsin /etc/pure-ftpd/db/mysql.conf failis selle mysqli aadressi ka prooviks ära aga see ei mõjuta ikka miskit. Esmalt oli seal 127.0.0.1 ma muutsin localhostiks.


/etc/pure-ftpd/db/mysql.conf fail

Kood: Vali kõik

##############################################
#                                            #
# Sample Pure-FTPd Mysql configuration file. #
# See README.MySQL for explanations.         #
#                                            #
##############################################


# Optional : MySQL server name or IP. Don't define this for unix sockets.

MYSQLServer     localhost


# Optional : MySQL port. Don't define this if a local unix socket is used.

# MYSQLPort       3306


# Optional : define the location of mysql.sock if the server runs on this host.

# MYSQLSocket      /var/run/mysqld/mysqld.sock


# Mandatory : user to bind the server as.

MYSQLUser       ispconfig


# Mandatory : user password. You must have a password.

MYSQLPassword   76bf8d2314917bae96ae4f1a4929522d


# Mandatory : database to open.

MYSQLDatabase   dbispconfig


# Mandatory : how passwords are stored
# Valid values are : "cleartext", "crypt", "md5" and "password"
# ("password" = MySQL password() function)
# You can also use "any" to try "crypt", "md5" *and* "password"

MYSQLCrypt      crypt


# In the following directives, parts of the strings are replaced at
# run-time before performing queries :
#
# \L is replaced by the login of the user trying to authenticate.
# \I is replaced by the IP address the user connected to.
# \P is replaced by the port number the user connected to.
# \R is replaced by the IP address the user connected from.
# \D is replaced by the remote IP address, as a long decimal number.
#
# Very complex queries can be performed using these substitution strings,
# especially for virtual hosting.


# Query to execute in order to fetch the password

MYSQLGetPW      SELECT password FROM ftp_user WHERE active = 'y' AND server_id = '1' AND username="\L"


# Query to execute in order to fetch the system user name or uid

MYSQLGetUID     SELECT uid FROM ftp_user WHERE active = 'y' AND server_id = '1' AND username="\L"


# Optional : default UID - if set this overrides MYSQLGetUID

#MYSQLDefaultUID 1000


# Query to execute in order to fetch the system user group or gid

MYSQLGetGID     SELECT gid FROM ftp_user WHERE active = 'y' AND server_id = '1' AND username="\L"


# Optional : default GID - if set this overrides MYSQLGetGID

#MYSQLDefaultGID 1000


# Query to execute in order to fetch the home directory
Tänud aga sain asja korda. Paigaldasin asja uuesti ja hakkas toimima. Ilmselt varen jäi kusagil miskit kahesilmavahele. Omast arust teinud kõik nagu alati :D