Posts: 0
Threads: 1
Joined: Nov 2024
Reputation:
0
Hi i recently installed ehcp on ubuntu 12.10
every time i try to use ftp i get this error: 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
i have googled this and tryed loads of methods to fix but nothing seems to be working. any1 else had this or knows how to fix this?
also on the top of the screen in the control panel after i login i get this error msg
Warning: Creating default object from empty value in /var/www/new/ehcp/classapp.php on line 6560
Restored from old drupal forum, for user uid:3051 username:Jonathan
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Nov 2024
Reputation:
0
as you see here: http://ehcp.net/?q=node/1257
vsftpd has a bug since ubuntu 12.04, so, do not try to install ehcp(which uses vsftpd) onto ubuntu 12.04 and later.
We and someone are trying to fix this, but not yet solved.
if anybody solves this, let us know.
Restored from old drupal forum, for user uid:3051 username:Jonathan
You may reset your password to access your new account here.
Posts: 0
Threads: 22
Joined: Nov 2024
Reputation:
0
I think the best thing is to keep 0.32 for 10.04LTS and older, and make a new ehcp version for 12.04+ with pureftp or alike, because we need to have more newer development or the ehcp will be dead.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Nov 2024
Reputation:
0
Agree with you. development of ehcp will continue with some little pause's. If anybody knows an ftp server, with mysql integration, let me know.
the good side of vsftpd, it has mysql integration directly, that is, it can authenticate users based on mysql tables
Restored from old drupal forum, for user uid:3160 username:budgierless
You may reset your password to access your new account here.
Posts: 0
Threads: 18
Joined: Nov 2024
Reputation:
0
There are a lot of bugs still in 0.32 as indicated in the testing thread. I guess the main focus of development is how to fix the VSFTPD problem.
What problems are you running into exactly?
I found these forum posts, but nothing else? VSFTPD should work in ubuntu 12.04+
http://ubuntuforums.org/showthread.php?t=1984925
http://askubuntu.com/questions/128180/vsftpd-stopped-working-after-update
If you could describe to me what is going on, I could give it a whirl. I'm going to setup a test rig that runs ubuntu 12.04 this weekend.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 18
Joined: Nov 2024
Reputation:
0
Can you remove your avatar picture? It shows up on the page and makes it look all messed up.
http://s4.postimage.org/yh6ief5lp/annoying_ehcp_avatar.jpg
Restored from old drupal forum, for user uid:2735 username:own3mall
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Nov 2024
Reputation:
0
Thank you alot for suggestion.
This seems as a solution, as given in links by own3mall,
<code>wget http://http.us.debian.org/debian/pool/main/v/vsftpd/vsftpd_3.0.2-2_amd64.deb
dpkg -i vsftpd_3.0.2-2_amd64.deb
echo "allow_writeable_chroot=YES" >> /etc/vsftpd.conf
service vsftpd reload
I did not test it yet, but I will test&integrate into ehcp in a while.
Restored from old drupal forum, for user uid:2735 username:own3mall
You may reset your password to access your new account here.
Posts: 0
Threads: 18
Joined: Nov 2024
Reputation:
0
I'm running Ubuntu 12.04.1 and here's the tested fix that works 100%:
<code>
sudo sed -i 's/chroot_local_user=YES/chroot_local_user=NO/g' /etc/vsftpd.conf
sudo service vsftpd restart
</code>
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 1
Threads: 0
Joined: Nov 2024
Reputation:
0
I am using pureftpd , its working nice . it implement with mysql
Restored from old drupal forum, for user uid:2735 username:own3mall
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Nov 2024
Reputation:
0
do you sync pureftpd with mysql ? how ? give some link
Restored from old drupal forum, for user uid:4657 username:ramireddy
You may reset your password to access your new account here.