Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Acces Denied to nay FTP account
#1
Hi, i am having some problems login in to the ftp server....
before i installed echp i had my vsftpd server running without problems but, after the installation i cannot login to the ftp server.
all other features of ehcp are running just fine, how i can check and fix this problem?

thank in advantage


Restored from old drupal forum, for user uid:1212 username:elmarkivo
You may reset your password to access your new account here.
Reply
#2
<li> ehcp installs and configures vsftpd to operate with mysql backend, so, if you had mysql before, and if you had some users before ehcp, then, you need to re-define those ftp users inside ehcp,
<li> because vsftpd in ehcp uses mysql backend, normal/standard vsftpd uses system users, your old users do not work with ehcp installed,
<li> if your old users have some files, you need also to move those files to new user folders
<li> new users folders are like /var/www/vhosts/ftpusername


Restored from old drupal forum, for user uid:1212 username:elmarkivo
You may reset your password to access your new account here.
Reply
#3
Hello. I have the same problem. I was using my user's ftp with root privileges. And i'm using proftpd. How can I just restore my ftp account?

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#4
since ehcp re-defines ftp to be through mysql authentication,
your old ftp account will not work. and this is normal.

To restore it,
just re-define your account in your ehcp gui.
you will need to cary your files to new location by hand, in console,

your new ftp location will be something like:/var/www/vhosts/yourftpuser


after carrying your data to new location, issue following command in your new directory:

<code>cd /var/www/vhosts/yourftpuser
chown -Rf vsftpd *



Restored from old drupal forum, for user uid:2968 username:djanym
You may reset your password to access your new account here.
Reply
#5
It's working, but I can only work with the user dir. But I need to have access for whole server. As it was before EHCP installing. Can you help me with it?

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#6
ehcp install vsftpd, and new version of ehcp, uninstalls proftpd.

you cannot use 2 ftp server at same time
just uninstall it, still exists,
then,
add new ftp account in ehcp as i described here,above or below.

if you still have problem, describe your specific problem.

and, did you do a debug of your system? (http://ehcp.net/?q=node/771)


Restored from old drupal forum, for user uid:2968 username:djanym
You may reset your password to access your new account here.
Reply
#7
Now I'm creating some user (not under a domain) and throws me error 530 'Incorrect Login'. But I've checked the vhosts dir and there is my user dir.

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#8
check following:
<li> did you add new ftp user using ehcp gui, "add ftp" commands ? did that command finished without any error ?
<li> did you type, double check your password ?
<li> can you see that user in mysql, phpmyadmin, ehcp db, ftpaccounts table ?
<li> your system has only vsftpd installed ? do you have any other ftp servers ? to check, on command line: aptitude search ftp, on left of each package letter "i" indicates installed. look for proftpd, vsftpd, pureftp and so on. no other ftp server should be installed.
<li> did you debug your system using link I gave above? (http://ehcp.net/?q=node/771)

Restored from old drupal forum, for user uid:2968 username:djanym
You may reset your password to access your new account here.
Reply
#9
Answer is "yes" to all your question. Except this:
i ftp - The FTP client
i lftp - Sophisticated command-line FTP/HTTP client
i vsftpd - lightweight, efficient FTP server written

Should I remove them? I think that the problem is not with these clients.

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#10
This is my /var/log/syslog:

Dec 13 23:48:26 server123 postfix/master[1868]: warning: process /usr/lib/postfix/trivial-rewrite pid 12492 exit status 1
Dec 13 23:48:26 server123 postfix/smtpd[2844]: warning: problem talking to service rewrite: Success
Dec 13 23:48:26 server123 postfix/smtpd[2911]: warning: problem talking to service rewrite: Connection reset by peer
Dec 13 23:48:26 server123 postfix/master[1868]: warning: process /usr/lib/postfix/trivial-rewrite pid 12493 exit status 1
Dec 13 23:48:26 server123 postfix/smtpd[2912]: warning: problem talking to service rewrite: Success
Dec 13 23:48:26 server123 postfix/smtpd[2987]: warning: problem talking to service rewrite: Connection reset by peer
Dec 13 23:48:26 server123 postfix/master[1868]: warning: process /usr/lib/postfix/trivial-rewrite pid 12494 exit status 1


Dec 14 00:10:48 server123 postfix/master[1868]: warning: process /usr/lib/postfix/trivial-rewrite pid 14040 exit status 1
Dec 14 00:10:48 server123 postfix/qmgr[13936]: warning: problem talking to service rewrite: Success
Dec 14 00:10:48 server123 postfix/pickup[1878]: 73EF840309: uid=33 from=<www-data>



Restored from old drupal forum, for user uid:2968 username:djanym
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping