Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 16
  1. #1
    Member
    Join Date
    Jul 2009
    Posts
    72

    Default Perl packages needed?

    Hello, can someone please tell me which perl packages are needed for cPanel GS? I want to have them properly installed before I install the cPanel GS.

    I already tried once to install this and got into trouble because something was missing and the GS didnt work at all.
    Last edited by radeonpower; 09-23-2009 at 07:09 AM.

  2. #2
    Member
    Join Date
    Sep 2008
    Posts
    11

    Default

    You can get the details from the below mentioned URL:

    CpgsInstallation < AllDocumentation/CpGs < TWiki

  3. #3
    Member
    Join Date
    Jul 2009
    Posts
    72

    Default

    Thanks, but it seems perl-DBI is missing from that list. It's required also.

    Nevertheless, I'm having major issues getting this to install properly. Below is what I can see, there is no firewall running on that machine and the cPGSD/0.6.16 process is running.


    (/var/cpanel/cpgs/cpgs_chk) Could not open /var/cpanel/gameserv_restart : Inappropriate ioctl for device


    IO::Socket::INET configuration failederror:00000000:lib(0):func(0):reason(0)
    This can caused by a few things:
    The cPGSD server is not running on 213.181.110.116:2092
    There is a firewall blocking access to 213.181.110.116:2092
    213.181.110.116 is not the right IP and/or 2092 is not the right port
    Solar Flares (Please contact support to investigate)

  4. #4
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    If cPGSD starts, all the perl modules needed are installed and being used. Is /var/cpanel/gameserv_restart a directory or file ? It should show up as a text file:

    : file /var/cpanel/gameserv_restart
    /var/cpanel/gameserv_restart: ASCII text

    Does the directory /var/cpanel/ exist on the server in question ?

    If none of that helps, put in a ticket and I should be able to get it going quickly.
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

  5. #5
    Member
    Join Date
    Jul 2009
    Posts
    72

    Default

    I reinstalled the server and tried again and now I'm getting this:

    You must have the perl module DBD::SQLite2 installed on this server.
    The gcc compiler must also exist, something like `yum install gcc` should do it, depending on your OS.
    Try `perl -MCPAN -e'force install DBD::SQLite2'` as root to install the module.
    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Database was generated on Wed, 23 Sep 2009 01:33:07 GMT
    Running install for module DBD::SQLite2
    Running make for M/MS/MSERGEANT/DBD-SQLite2-0.33.tar.gz
    LWP not available
    CPAN: Net::FTP loaded ok
    Fetching with Net::FTP:
    ftp://ftp.perl.org/pub/CPAN/authors/...e2-0.33.tar.gz
    CPAN: Digest::MD5 loaded ok
    LWP not available
    Fetching with Net::FTP:
    ftp://ftp.perl.org/pub/CPAN/authors/...EANT/CHECKSUMS
    Checksum for /root/.cpan/sources/authors/id/M/MS/MSERGEANT/DBD-SQLite2-0.33.tar.gz ok
    Scanning cache /root/.cpan/build for sizes
    DBD-SQLite2-0.33/
    DBD-SQLite2-0.33/attach.c
    DBD-SQLite2-0.33/auth.c
    DBD-SQLite2-0.33/btree.c
    DBD-SQLite2-0.33/btree.h
    DBD-SQLite2-0.33/btree_rb.c
    DBD-SQLite2-0.33/build.c
    DBD-SQLite2-0.33/Changes
    DBD-SQLite2-0.33/copy.c
    DBD-SQLite2-0.33/date.c
    DBD-SQLite2-0.33/dbdimp.c
    DBD-SQLite2-0.33/dbdimp.h
    DBD-SQLite2-0.33/delete.c
    DBD-SQLite2-0.33/encode.c
    DBD-SQLite2-0.33/expr.c
    DBD-SQLite2-0.33/func.c
    DBD-SQLite2-0.33/getsqlite.pl
    DBD-SQLite2-0.33/hash.c
    DBD-SQLite2-0.33/hash.h
    DBD-SQLite2-0.33/insert.c
    DBD-SQLite2-0.33/lib/
    DBD-SQLite2-0.33/lib/DBD/
    DBD-SQLite2-0.33/lib/DBD/SQLite2.pm
    DBD-SQLite2-0.33/main.c
    DBD-SQLite2-0.33/Makefile.PL
    DBD-SQLite2-0.33/MANIFEST
    DBD-SQLite2-0.33/MANIFEST.SKIP
    DBD-SQLite2-0.33/META.yml
    DBD-SQLite2-0.33/opcodes.c
    DBD-SQLite2-0.33/opcodes.h
    DBD-SQLite2-0.33/os.c
    DBD-SQLite2-0.33/os.h
    DBD-SQLite2-0.33/pager.c
    DBD-SQLite2-0.33/pager.h
    DBD-SQLite2-0.33/parse.c
    DBD-SQLite2-0.33/parse.h
    DBD-SQLite2-0.33/pragma.c
    DBD-SQLite2-0.33/printf.c
    DBD-SQLite2-0.33/random.c
    DBD-SQLite2-0.33/README
    DBD-SQLite2-0.33/select.c
    DBD-SQLite2-0.33/sqlite.h
    DBD-SQLite2-0.33/SQLite2.xs
    DBD-SQLite2-0.33/sqliteInt.h
    DBD-SQLite2-0.33/SQLiteXS.h
    DBD-SQLite2-0.33/t/
    DBD-SQLite2-0.33/t/00basic.t
    DBD-SQLite2-0.33/t/01logon.t
    DBD-SQLite2-0.33/t/02cr_table.t
    DBD-SQLite2-0.33/t/03insert.t
    DBD-SQLite2-0.33/t/04select.t
    DBD-SQLite2-0.33/t/05tran.t
    DBD-SQLite2-0.33/t/06error.t
    DBD-SQLite2-0.33/t/08create_function.t
    DBD-SQLite2-0.33/t/09create_aggregate.t
    DBD-SQLite2-0.33/t/10dsnlist.t
    DBD-SQLite2-0.33/t/20createdrop.t
    DBD-SQLite2-0.33/t/30insertfetch.t
    DBD-SQLite2-0.33/t/40bindparam.t
    DBD-SQLite2-0.33/t/40blobs.t
    DBD-SQLite2-0.33/t/40listfields.t
    DBD-SQLite2-0.33/t/40nulls.t
    DBD-SQLite2-0.33/t/40numrows.t
    DBD-SQLite2-0.33/t/50chopblanks.t
    DBD-SQLite2-0.33/t/50commit.t
    DBD-SQLite2-0.33/t/60metadata.t
    DBD-SQLite2-0.33/t/90cppcomments.t
    DBD-SQLite2-0.33/t/99cleanup.t
    DBD-SQLite2-0.33/t/ak-dbd.t
    DBD-SQLite2-0.33/t/dbdadmin.t
    DBD-SQLite2-0.33/t/lib.pl
    DBD-SQLite2-0.33/t/SQLite2.dbtest
    DBD-SQLite2-0.33/table.c
    DBD-SQLite2-0.33/tokenize.c
    DBD-SQLite2-0.33/trigger.c
    DBD-SQLite2-0.33/update.c
    DBD-SQLite2-0.33/util.c
    DBD-SQLite2-0.33/vacuum.c
    DBD-SQLite2-0.33/vdbe.c
    DBD-SQLite2-0.33/vdbe.h
    DBD-SQLite2-0.33/vdbeaux.c
    DBD-SQLite2-0.33/vdbeInt.h
    DBD-SQLite2-0.33/where.c

    CPAN.pm: Going to build M/MS/MSERGEANT/DBD-SQLite2-0.33.tar.gz

    Checking if your kit is complete...
    Looks good
    Using DBI 1.52 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
    Writing Makefile for DBD::SQLite2
    cp getsqlite.pl blib/lib/DBD/getsqlite.pl
    cp lib/DBD/SQLite2.pm blib/lib/DBD/SQLite2.pm
    /usr/bin/perl -p -e "s/~DRIVER~/SQLite2/g" /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Driver.xst > SQLite2.xsi
    /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap SQLite2.xs > SQLite2.xsc && mv SQLite2.xsc SQLite2.c
    <snip>
    make: *** No rule to make target `pragma.c', needed by `pragma.o'. Stop.
    /usr/bin/make -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible
    ## Missing "maxsim=" config in /var/cpanel/cpgsd.cfg, adding default ##
    ## Missing "waittime=" config in /var/cpanel/cpgsd.cfg, adding default ##


    I'm just totally stumped right now, gcc and make is installed.



    /var/cpanel/gameserv_restart is a file and /var/cpanel dir exists.
    Last edited by radeonpower; 09-23-2009 at 10:12 AM.

  6. #6
    Member
    Join Date
    Jul 2009
    Posts
    72

    Default

    I submitted a request Darren.

    Your Request id is: 494509

  7. #7
    Member
    Join Date
    Jul 2009
    Posts
    72

    Default

    Hi Darren, now I'm having a different problem. Did something change?

    I reinstalled my CentOS server with all the needed perl modules. This is what I get:

    09:29:20 (1.43 MB/s) - `release.tgz' saved [6379759/6379759]

    Can't open perl script "cpgsd_install_auto": No such file or directory
    -bash: /var/cpanel/cpgsd.pl: No such file or directory

    On the cPGS server the /root looks like this:

    [root@gs ~]# ls
    anaconda-ks.cfg install.log install.log.syslog release.tgz usr/ var/

  8. #8
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    Looks like I copied a new file over the release.tgz while updating 0.7.0 beta testers. Looking at the code that does this, I'd like to try something that should work a little easier, am working on it now and should have something for you today.
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

  9. #9
    Member
    Join Date
    Jul 2009
    Posts
    72

    Default

    Thanks. Feel free to update to 0.70 if you want.

  10. #10
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    Done, and done. Take it for a spin and see if you can find problems with it. I'm working on 0.7.1 already to address some issues found in 0.7.0, If you find anything to add to it, open a ticket or reopen the one you had, I see those before I see the forums.
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

  11. #11
    Member
    Join Date
    Jul 2009
    Posts
    72

    Default

    Thank you Darren. I'll try this out.

  12. #12
    Member
    Join Date
    Jul 2009
    Posts
    72

    Default

    I see this error:

    When I click "Game Servers" in my cPanel I notice this below the CoD4 server:

    Could not write to /home/emmiis/.gameservers/.targets : No such file or directory

    I tried to create both .targets dir and file but it didn't fix it.

  13. #13
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    Is that directory and such owned by the user "emmiis" ? If not, chown it (and try to find out why the user's home dir files aren't owned by the user) or put in a ticket for me to see what's going on.
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

  14. #14
    Member
    Join Date
    Jul 2009
    Posts
    72

    Default

    All dirs are owned by emmiis.

  15. #15
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    Ok, move on to the second part of that then so I can take a look, I' ve never seen that error in the wild before but the checks are done just in case
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 08-22-2011, 11:03 AM
  2. Help needed with perl script
    By simplybe in forum cPanel Developers
    Replies: 1
    Last Post: 01-19-2009, 11:27 PM
  3. Perl commandline guru advice needed...
    By rs-freddo in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-01-2005, 05:39 PM
  4. Help needed with cpbackup - Any PERL coders out there?
    By MGnet in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 06-15-2004, 04:35 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube