• I received a letter today from my ISP saying that Word Press is attempting to do something called “port binding” and says I need to edit or debug the script. I have no idea how to do this; I am not a programmer. Can anyone help direct me through this? I don’t even know where to start. The text of the email follows :

    ————————————-

    It has come to our attention that you have a script/application in your
    webspace that is attempting to bind a port to the local servers IP address.

    To bind a port in such a fashion, this would require you to have a Dedicated
    Server. Currently you are signed up for one of our Shared hosting packages
    which do not allow port binding.

    The script that you are using is located at the path specified below:

    u35596838 has /kunden/usr/bin/perl listening on *:9098:

    The script was executed with the following command:

    Commandline: pure-ftpd (IDLE)

    There are steps that you can take to correct this in most cases. We recommend
    that you take a close look at your script to determine if you are trying to
    make an FTP connection. When attempting to make an Active (PORT) connection,
    this requires the local server to listen on a port. Changing the script to make
    a Passive (PASV) connection will cause the remote server to listen on a
    specified port, thus eliminating the scripts attempt to bind to a local port.

    Example of a short PHP script that uses passive ftp:

    <?php $file = ‘somefile.txt’;
    $remote_file = ‘readme.txt’;

    // set up basic connection
    $conn_id = ftp_connect($ftp_server);

    // login with username and password
    $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);

    // turn passive mode on
    ftp_pasv($conn_id, true);

    // upload a file
    if (ftp_put($conn_id, $remote_file, $file, FTP_ASCII)) {
    echo “successfully uploaded $file\n”;
    } else {
    echo “There was a problem while uploading $file\n”;
    }

    // close the connection
    ftp_close($conn_id);
    ?>

    You can see in the script the connection type is specified with the line:

    ftp_pasv($conn_id, true);

    This is the most important line in the script which turns passive mode on which
    will prevent the script from binding a local port.

    If you did not write the script/application, we recommend that you contact the
    developer for further help in resolving this issue. Reminder, we do not provide
    any type of script debugging and will not analyze your script to determine what
    is causing the attempt to bind a port.

    ———————————-
    (The rest was just warnings to me to change it or have my webspace locked out.)

    I don’t want to take WordPress off as it has taken me this long to get it running.
    They are telling me to contact my developer (that would be WordPress) for help.
    So, help, please!

    Karen

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter kwint

    (@kwint)

    I am ready to do the upgrade and have backed up my database as well as my entire wp folder, and as I compare the new extracted 1.5.2 version with my root directory, I notice that there are two files in the old (1.5.1 directory on my server) that are not in the extracted upgrade folder. They are header.php and wp-starttaq.php. If I delete these from the root directory in my existing wp folder on my site will they be created anew? I hesitate to get rid of anything that I don’t see a version of in the upgrade folder.

    Thread Starter kwint

    (@kwint)

    MacManx, thanks very much for the tip. I don’t use GoLive in conjunction with WordPress … I use it to upload other designed web pages. But your caution is much appreciated, and maybe it is the source of the problem.

    They are header.php and wp-starttaq.php

    I don’t think those were ever in the WP root folder even in 1.5.

    Thread Starter kwint

    (@kwint)

    Gee, I only installed WP for the first time August 1, with version 1.5.1.3 and they are there. So is there a danger of deleting them if the new version doesn’t have them?

    No danger – esp if you have backed up.

    Your posts/comments/links are in the database.
    Your ‘style’ and plugins are in /wp-content
    Apart from the file wp-config.php. feel free to delete all the other wp-* files.

    stattraq file is obviously from stattraq plugin. It resides under wp root.

    Use a simple ftp client to upload instead of these strange contraptions.

    I am assuming you have telnet/ssh access to site. Just login and delete the file yourself.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Angry ISP says I need to fix script. Help!’ is closed to new replies.