Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    22

    Default Where are these scripts?

    Logging into WHM apparently takes you to a document root of /usr/local/cpanel/whostmgr/docroot

    In the WHM there are some scripts I want to look at... specifically

    :2086/scripts2/savezone
    editsets
    assignnsip

    They are the targets of form's in the WHM but I cant find them?

    Anyone know where they are?

    cPanel.net Support Ticket Number:

  2. #2
    Registered User
    Join Date
    Mar 2004
    Posts
    3

    Default Scripts which aren't really scripts...

    I too was looking for these... found them stashed in the 'compiled' whostmgr2 file:

    # strings /usr/local/cpanel/whostmgr/bin/whostmgr2 |grep assignnsip
    assignnsip
    main::assignnsip
    main::doassignnsip
    <b>Assign an ip for a new nameserver</b>:<br><form action=/scripts2/assignnsip>
    var popurl = "/scripts2/assignnsip?nameserver=" + nameserver;

    You're not going to learn much from this unfortunately... but then again even if you did it'd likely change under your scripts causing all sorts of breakage. I'd love to know how to assign a *specific* IP number rather than the next one sequentially. doassignnsip is probably what I'm after - just not sure how to drive it.

  3. #3
    Registered User
    Join Date
    Feb 2004
    Posts
    3

    Default

    any resolution to this? I am having the same issue? I wish to specify an IP when running the doassignnsip or assignnsip function..

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    3

    Default

    I haven't done anything else with this since, although I will no doubt be picking it up again in the future, especially if someone posts a useful reply to this thread.

Similar Threads & Tags
Similar threads

  1. leftover scripts directories? (scripts.20110601.xxxxxx)
    By aww in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-16-2011, 08:39 AM
  2. Replies: 2
    Last Post: 10-26-2009, 07:28 AM
  3. CGI scripts not sending email, php scripts will
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-17-2006, 04:20 AM
  4. WHM and cPanel custom scripts - PWS Scripts Club
    By PWSowner in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-22-2004, 10:51 PM
  5. Replies: 1
    Last Post: 06-10-2004, 08:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube