Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Puuty shell mishap

Discussion in 'General Discussion' started by fidelcor, May 27, 2004.

  1. fidelcor

    fidelcor Member

    May 27, 2004
    Likes Received:
    Trophy Points:
    Putty shell mishap

    I was in shell trying to restart the cpanel service. I typed in the following:
    root@sls-ce5p212 [~]# service cpanel start
    bash: service: command not found
    root@sls-ce5p212 [~]# cpan

    The following happened,
    /usr/lib/perl5/5.8.1/CPAN/ initialized
    CPAN is the world-wide archive of perl resources. It consists of about
    100 sites that all replicate the same contents all around the globe.
    Many countries have at least one CPAN site already. The resources
    found on CPAN are easily accessible with the module. If you
    want to use, you have to configure it properly.

    If you do not want to enter a dialog now, you can answer 'no' to this
    question and I'll try to autoconfigure. (Note: you can revisit this
    dialog anytime later by typing 'o conf init' at the cpan prompt.)

    Are you ready for manual configuration? [yes] n

    The following questions are intended to help you with the
    configuration. The CPAN module needs a directory of its own to cache
    important index files and maybe keep a temporary mirror of CPAN files.
    This may be a site-wide directory or a personal directory.

    I see you already have a directory
    Shall we use it as the general CPAN build and cache directory?

    CPAN build and cache directory? [/root/.cpan]

    If you want, I can keep the source files after a build in the cpan
    home directory. If you choose so then future builds will take the
    files from there. If you don't want to keep them, answer 0 to the
    next question.

    How big should the disk cache be for keeping the build directories
    with all the intermediate files?

    Cache size for build directory (in MB)? [10]

    By default, each time the CPAN module is started, cache scanning
    is performed to keep the cache size in sync. To prevent from this,
    disable the cache scanning with 'never'.

    Perform cache scanning (atstart or never)? [atstart]

    To considerably speed up the initial CPAN shell startup, it is
    possible to use Storable to create a cache of metadata. If Storable
    is not available, the normal index mechanism will be used.

    Cache metadata (yes/no)? [yes]

    The next option deals with the charset your terminal supports. In
    general CPAN is English speaking territory, thus the charset does not
    matter much, but some of the aliens out there who upload their
    software to CPAN bear names that are outside the ASCII range. If your
    terminal supports UTF-8, you say no to the next question, if it
    supports ISO-8859-1 (also known as LATIN1) then you say yes, and if it
    supports neither nor, your answer does not matter, you will not be
    able to read the names of some authors anyway. If you answer no, names
    will be output in UTF-8.

    Your terminal expects ISO-8859-1 (yes/no)? [yes]

    If you have one of the readline packages (Term::ReadLine::Perl,
    Term::ReadLine::Gnu, possibly others) installed, the interactive CPAN
    shell will have history support. The next two questions deal with the
    filename of the history file and with its size. If you do not want to
    set this variable, please hit SPACE RETURN to the following question.

    File to save your history? [/root/.cpan/histfile]

    Number of lines to save? [100]

    The CPAN module can detect when a module that which you are trying to
    build depends on prerequisites. If this happens, it can build the
    prerequisites for you automatically ('follow'), ask you for
    confirmation ('ask'), or just ignore them ('ignore'). Please set your
    policy to one of the three values.

    Policy on building prerequisites (follow, ask or ignore)? [ask]

    The CPAN module will need a few external programs to work properly.
    Please correct me, if I guess the wrong path for a program. Don't
    panic if you do not have some of them, just press ENTER for those. To
    disable the use of a download program, you can type a space followed
    by ENTER.

    Is it possible that this action could have deleted web site accounts?
    #1 fidelcor, May 27, 2004
    Last edited: May 27, 2004
  2. coastinc

    coastinc Well-Known Member

    Mar 13, 2002
    Likes Received:
    Trophy Points:
    There's no way that could have caused accounts to be deleted.

    CPAN deals with Perl, nothing else.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. fidelcor

    fidelcor Member

    May 27, 2004
    Likes Received:
    Trophy Points:
    Putty shell mishap

    Thanks coastinc!


Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice