Ftp user function failures

mmChicago

Registered
Nov 29, 2005
3
0
151
Hi,
I have been using Cpanel for a bit and not had any problems, but recently I have noticed that none of the ftp information functions are working - by this I mean everywhere in Cpanel where it requests information about the ftp users (logged in as reseller OR as end user) there is an
[an error occurred while processing this directive] and the script continues as if there was a 0 or null response -

by this I mean on the front page I get:

Code:
Ftp Accounts  	[an error occurred while processing this directive]0 / unlimited
where as inside the ftp user managment screen I get something like:

Code:
[an error occurred while processing this directive]There are currently no active ftp accounts.
where I know i have ftp users. This seems to happen across all my users on the box (I have not logged into an account which is not affected).

This is on a fedore abox, running cpanel stable, I have updated everything and run all the update and just don't know what to try next. Everything else seems to work (ish)

Clues?
 

mmChicago

Registered
Nov 29, 2005
3
0
151
Appending error log

Apologies - here is the gumf from /var/log/cpanel/logs/error-log


Code:
sh: line 1: /usr/local/cpanel/bin/ftpadmin: No such file or directory
(internal warning) Tue Nov 29 21:54:39 2005 [19286] warn: Unable to understand response from admin bin: ftp sent: LIST 0 0 at /usr/local/cpanel/Cpanel/AdminBin.pm line 65.
 Cpanel::AdminBin::adminfetch('ftp', '/etc/proftpd/moose', 'LIST', 'scalar', 0, 0) called at /usr/local/cpanel/Cpanel/Ftp.pm line 213
 Cpanel::Ftp::listftp() called at cpanel.pl line 2156
 main::doftp('listftpstable()') called at cpanel.pl line 647
 main::exectag('<cpanel Ftp="listftpstable()">') called at cpanel.pl line 3539
 main::dotag(undef) called at cpanel.pl line 3430
 main::parsehtml('GLOB(0x8b0f7b8)') called at cpanel.pl line 329
sh: line 1: /usr/local/cpanel/bin/ftpadmin: No such file or directory
(internal warning) Tue Nov 29 21:54:39 2005 [19286] warn: Unable to understand response from admin bin: ftp sent: LIST 0 0 at /usr/local/cpanel/Cpanel/AdminBin.pm line 65.
 Cpanel::AdminBin::adminfetch('ftp', '/etc/proftpd/moose', 'LIST', 'scalar', 0, 0) called at /usr/local/cpanel/Cpanel/Ftp.pm line 213
 Cpanel::Ftp::listftp() called at /usr/local/cpanel/Cpanel/Ftp.pm line 209
 Cpanel::Ftp::ftplist() called at /usr/local/cpanel/Cpanel/Ftp.pm line 361
 Cpanel::Ftp::ftpquotalist() called at cpanel.pl line 2242
 main::doftp('ftpquotalist()') called at cpanel.pl line 647
 main::exectag('<cpanel Ftp="ftpquotalist()">') called at cpanel.pl line 3539
 main::dotag(undef) called at cpanel.pl line 3430
 main::parsehtml('GLOB(0x8b0f7b8)') called at cpanel.pl line 329
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,453
31
473
Go on, have a guess
First step would be to ensure that there aren't any issues with the cPanel installation by running:

/scripts/upcp --force
 

mmChicago

Registered
Nov 29, 2005
3
0
151
Thanks!

that worked like a dream!.

Whats the difference between using that and the update server / update cpanel in WHM? (apart from that method working?)