Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Jul 2004
    Posts
    20

    Default copying an account from another server: Bad file descriptor

    Hello,
    I'm trying to copy an account from another server and I get this error:

    Connecting to Remote Server Failed: Unable to connect to 123.111.222.333:1111: Bad file descriptor

    I used to move accounts very easily. I haven't done it since I upgraded my WHM to 11.2.0

    As soon as I type the remote server IP and port, I get the error message.

    I'm able to ssh to the remote server using that IP and port.

    What can be wrong?

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Nov 2003
    Location
    moscow
    Posts
    294

    Default

    i think you just need upgrade cpanel again. may be with --force option. Bad file descriptor can be signal about corrupt cpanel perl files...
    https://robobill.net
    US dedicated, Europe and Asia and Russia dedicated server. Shared, Reseller, VPS hosting in US and Europe.
    We are RESELLER of dedicated servers since 2002.

  3. #3
    Member
    Join Date
    Jul 2004
    Posts
    20

    Default updated and still the same

    Updated the Cpanel/WHM to WHM 11.2.0 cPanel 11.11.0-R16983 and still get the same error, any other suggestions?

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Nov 2003
    Location
    moscow
    Posts
    294

    Default

    may be checking /usr/local/cpanel/logs/error_log give you some idea. Error which you got mostly likely regard to corrupt files or may be some perl modules just was not installed.
    https://robobill.net
    US dedicated, Europe and Asia and Russia dedicated server. Shared, Reseller, VPS hosting in US and Europe.
    We are RESELLER of dedicated servers since 2002.

  5. #5
    Member
    Join Date
    Jul 2004
    Posts
    20

    Default

    There's nothing in /usr/local/cpanel/logs/error_log about this error

    I've upgraded cpanel in both servers and it's still not working

  6. #6
    Member
    Join Date
    Nov 2002
    Posts
    153

    Default

    do you have ConfigServer Security & Firewall or apf ?

    stop the firewall on the server you are copying TO and try again. If it works make sure that the server you are copying to has the ssh port open for the server it is copying from.

    eg, my problem was copying from server port was 8888

    firewall on server i was copying to only had port 22 open.
    Last edited by simplybe; 09-22-2007 at 07:03 PM.

  7. #7
    Member
    Join Date
    Sep 2002
    Location
    Europe
    Posts
    270

    Default

    I have this problem but it is not all the time. I copied one account and when I get back to copy further, then this "Bad file descriptor" showing.

    I stoped firewall on both servers. New server SSH port is 22 and "old" one have SSH port 2222. But like i wrote, it worked ,and now after few hours it is not working.

  8. #8
    Member
    Join Date
    Jun 2004
    Posts
    66

    Default

    Same thing here. Firewalls on both ends were turned down and yet nothing is showing in the logs. (Running S19434 - ssh on a non standard port).

    /Seb

  9. #9
    Member
    Join Date
    Sep 2002
    Location
    Europe
    Posts
    270

    Default

    I solved this. Problem was port . I changed back to 22 and all went fine.

Similar Threads & Tags
Similar threads

  1. Transfer [ Bad file descriptor ] !?!...
    By parisdns in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-04-2008, 03:45 AM
  2. Replies: 1
    Last Post: 11-13-2007, 01:36 AM
  3. Freebsd 5.4 - 'Bad File Descriptor'
    By ninja_byte in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-06-2006, 08:03 PM
  4. 550 Could not change perms on languages: Bad file descriptor
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-17-2006, 07:19 PM
  5. Replies: 0
    Last Post: 05-18-2004, 06:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube