Koozali.org: home of the SME Server

remote user access chroot ftp

Offline bradleyj00

  • *
  • 37
  • +0/-0
remote user access chroot ftp
« on: November 05, 2010, 04:06:00 PM »
I've been trying to locate the installation files for remote user access, but no luck. Has it been taken down for some reason?

Failing that, hoping someone can offer some command line assistance for chrooting an FTP user.

Thanks.

Offline johnp

  • ****
  • 312
  • +0/-0
Re: remote user access chroot ftp
« Reply #1 on: November 05, 2010, 04:28:13 PM »

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: remote user access chroot ftp
« Reply #2 on: November 05, 2010, 04:28:49 PM »
try

Code: [Select]
yum --enablerepo=smecontribs install smeserver-remoteuseraccess

HTH

Offline bradleyj00

  • *
  • 37
  • +0/-0
Re: remote user access chroot ftp
« Reply #3 on: November 05, 2010, 04:31:34 PM »
Thanks.

I just successfuly ran the following on a test server:

yum  --enablerepo=smecontribs install smeserver-remoteuseraccess

It would not run on my production server however. It appeared to download a series of files, then reported "Nothing to do"

Might there be a cache or something that has to be cleared?

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: remote user access chroot ftp
« Reply #4 on: November 05, 2010, 04:35:12 PM »
please report here the exact message, my crystal ball is offline

what's the output of
Code: [Select]
rpm -qa 2>/dev/null | grep useraccess
?

Offline bradleyj00

  • *
  • 37
  • +0/-0
Re: remote user access chroot ftp
« Reply #5 on: November 05, 2010, 04:46:58 PM »

[root@sme ~]# rpm -qa 2>/dev/null | grep useraccess
smeserver-remoteuseraccess-1.2-33.el4.sme

Also, here the output from my installation attempt:
[root@sme ~]# yum  --enablerepo=smecontribs install smeserver-remoteuseraccess
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "protect-packages" plugin
Setting up Install Process
Setting up repositories
smecontribs               100% |=========================| 1.9 kB    00:00
smeaddons                 100% |=========================| 1.9 kB    00:00
smeextras                 100% |=========================| 1.9 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
smeos                     100% |=========================| 1.9 kB    00:00
smeupdates                100% |=========================| 1.9 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Parsing package install arguments
Nothing to Do

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: remote user access chroot ftp
« Reply #6 on: November 05, 2010, 04:56:02 PM »
you've already installed the contrib

you should have a web panel in your server-manager

Offline bradleyj00

  • *
  • 37
  • +0/-0
Re: remote user access chroot ftp
« Reply #7 on: November 05, 2010, 05:00:42 PM »
Understood, but it's not there.

On my test server, it appears, but not on my production server. Is it possible to uninstall then reinstall.

Thanks for your help with this. I really appreciate it.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: remote user access chroot ftp
« Reply #8 on: November 05, 2010, 05:17:35 PM »
ok..

from console
Code: [Select]
rpm -e smeserver-remoteuseraccess

then retry..
close your browser, reopen it, delete browser's cache, then log in again

it should be here.. if not, it's bugzilla time

Offline bradleyj00

  • *
  • 37
  • +0/-0
Re: remote user access chroot ftp
« Reply #9 on: November 05, 2010, 05:27:50 PM »
I just uninstalled the contrib using,

yum remove smeserver-remoteuseraccess-1.2-33.el4.sme

I then reinstalled with

yum  --enablerepo=smecontribs install smeserver-remoteuseraccess

The reinstall threw many checksum errors, but it seemed to resolve itself, and the installation completed successfully.

Here's a sample of the error....

http://mirror.csclub.uwaterloo.ca/centos/4.8/updates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
http://mirrors.usc.edu/pub/linux/distributions/centos/4.8/updates/i386/repodata/primary.xml.gz: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror

All is now well.

Many thanks.