Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 23
  1. #1
    Member
    Join Date
    Dec 2006
    Posts
    23

    Default Cant seam to launch SoF2

    Ok after so trying today I havent been able to get SOF2 to run thru cPGS. I got it to install and can run it thru ssh thru the the command ./sof2ded +exec server.cfg +set dedicated 2

    but trying to start it thru cPanel in the user Interface isnt working. Any Idea's? Is there some sort of log file or debug mode I can use to find out whats going on?

  2. #2
    Member
    Join Date
    Dec 2006
    Posts
    23

    Default

    still nothing I spent like 8 hours yesterday trying to figure this out. what command does cPGS use to try and start it. I mean its installed fine I installed it via cPGS and its running when I start it manually. There is a start script called start.sh that the install made and it seams to work fine just cPGS doesnt seam to be calling that start script. Im at a loss here. I was hoping since I posted this yesterday someone would have replied by now.

    But I guess there is only one person doing support for this addon.

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge nvez's Avatar
    Join Date
    Jul 2006
    Posts
    40

    Default

    tail /var/cpanel/cpgsd.log

    See anything there?

  4. #4
    Member
    Join Date
    Dec 2006
    Posts
    23

    Default

    Code:
    [Sat Dec 30 12:00:23 2006] client says: singleisrunning elite ut2004
    [Sat Dec 30 12:00:23 2006] client says: singleisrunning elite sof2
    [Sat Dec 30 12:00:23 2006] client says: singleisrunning elite et
    [Sat Dec 30 12:00:23 2006] client says: singleisrunning elite ts
    [Sat Dec 30 12:00:23 2006] client says: isbeinginstalledq elite ut2004
    [Sat Dec 30 12:00:23 2006] client says: isinstalledq elite ut2004
    [Sat Dec 30 12:00:24 2006] client says: isbeinginstalledq elite et
    [Sat Dec 30 12:00:24 2006] client says: isinstalledq elite et
    [Sat Dec 30 12:00:24 2006] client says: isbeinginstalledq elite sof2
    [Sat Dec 30 12:00:24 2006] client says: isinstalledq elite sof2
    [Sat Dec 30 12:00:24 2006] client says: isbeinginstalledq elite ts
    [Sat Dec 30 12:00:24 2006] client says: isinstalledq elite ts
    [Sat Dec 30 12:00:24 2006] client says: serveravailable ts
    [Sat Dec 30 12:00:32 2006] client says: isinstalled elite sof2
    [Sat Dec 30 12:00:32 2006] client says: singleisrunning elite sof2
    [Sat Dec 30 12:00:32 2006] client says: showsimpleconfig elite 0 sof2ip 70.85.202.2
    [Sat Dec 30 12:00:32 2006] client says: showsimpleconfig elite 16 sof2 20100
    [Sat Dec 30 12:00:37 2006] client says: isinstalled elite sof2
    [Sat Dec 30 12:00:37 2006] client says: startserver elite sof2 append=
    [Sat Dec 30 12:00:37 2006] client says: singleisrunning elite sof2
    Now whats weird is it says its running but its not. even doing a check in top I show no server.

    Man Im so lost now I have tried everything I can think of. Thanks for your help.

  5. #5
    Member
    Join Date
    Dec 2006
    Posts
    23

    Default

    ........................

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge nvez's Avatar
    Join Date
    Jul 2006
    Posts
    40

    Default

    Try stracing the CPGSd process while creating the server

    strace -p pid

    Replace pid with the real CPGSd PID so and post the contents in here.

  7. #7
    Member
    Join Date
    Dec 2006
    Posts
    23

    Default

    Code:
    accept(4, {sa_family=AF_INET, sin_port=htons(36872), sin_addr=inet_addr("70.85.202.2")}, [16]) = 5
    ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe39898) = -1 EINVAL (Invalid argument)
    _llseek(5, 0, 0xbfe398f0, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
    ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe39898) = -1 EINVAL (Invalid argument)
    _llseek(5, 0, 0xbfe398f0, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
    fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
    time(NULL)                              = 1167519568
    read(5, "\200|\1\3\1\0c\0\0\0\20", 11)  = 11
    read(5, "\0\0009\0\0008\0\0005\0\0\26\0\0\23\0\0\n\7\0\300\0\000"..., 115) = 115
    time(NULL)                              = 1167519568
    time(NULL)                              = 1167519568
    time(NULL)                              = 1167519568
    write(5, "\26\3\1\0J\2\0\0F\3\1E\226\357P\212\201kY\270\273w\260"..., 1064) = 1064
    read(5, "\26\3\1\0\206", 5)             = 5
    read(5, "\20\0\0\202\0\200\242\33\2555,\310\270\253\6\332\3568\20"..., 134) = 134
    read(5, "\24\3\1\0\1", 5)               = 5
    read(5, "\1", 1)                        = 1
    read(5, "\26\3\1\0000", 5)              = 5
    read(5, "\274\10G\3\337\232VU\6\224\255\'\200\31\323*\314\240gP"..., 48) = 48
    write(5, "\24\3\1\0\1\1\26\3\1\0000\0\335\367o\253\370w\342!?~/\272"..., 59) = 59
    rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0
    rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0
    rt_sigaction(SIGPIPE, {0x80a19d4, [], SA_RESTORER, 0x9cb898}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0
    rt_sigaction(SIGPIPE, {SIG_DFL}, {0x80a19d4, [], SA_RESTORER, 0x9cb898}, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    close(6)                                = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7f43708) = 19784
    waitpid(19784, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 19784
    --- SIGCHLD (Child exited) @ 0 (0) ---
    is this what you are looking for.

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge nvez's Avatar
    Join Date
    Jul 2006
    Posts
    40

    Default

    Code:
    ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe39898) = -1 EINVAL (Invalid argument)
    _llseek(5, 0, 0xbfe398f0, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
    ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe39898) = -1 EINVAL (Invalid argument)
    _llseek(5, 0, 0xbfe398f0, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
    I'm not sure, but there is the error. Try running

    Code:
    netstat -al | grep :36872
    List anything?

  9. #9
    Member
    Join Date
    Dec 2006
    Posts
    23

    Default

    nope doesnt list anything

  10. #10
    Member
    Join Date
    Dec 2006
    Posts
    23

    Default

    Yes works just fine. That what I am saying been messing with it for 2 days now. I got ET to run fine and UT2004 to run fine but for some reason it doesnt want to start SOF2. I know it has to be in the cPGS code because the server runs fine manually from the same start script it made. Just for some reason it doesnt seam to be call the start script.

  11. #11
    cPanel Partner NOC cPanel Partner NOC Badge nvez's Avatar
    Join Date
    Jul 2006
    Posts
    40

    Default

    I'm not sure what anymore, does doing "sh start.sh" manually work?

  12. #12
    Member
    Join Date
    Dec 2006
    Posts
    23

    Default

    um I dont know how mine got above your but yea look up one lol.

  13. #13
    cPanel Partner NOC cPanel Partner NOC Badge nvez's Avatar
    Join Date
    Jul 2006
    Posts
    40

    Default

    My last guess: What's the permissions on start.sh (owner,group,permissions)

  14. #14
    Member
    Join Date
    Dec 2006
    Posts
    23

    Default

    well thats all looks good. I even up'd the permissions to 777 to see if it would help and still no go.

  15. #15
    Member
    Join Date
    Dec 2006
    Posts
    23

    Default

    Im trying a reinstall of it now and see if that helps.

Similar Threads & Tags
Similar threads

  1. Help with sof2 gameserver
    By Chimpy in forum cPGS Discussions
    Replies: 5
    Last Post: 08-11-2010, 07:48 AM
  2. modifing server files SOF2
    By JneroCorp in forum cPGS Discussions
    Replies: 5
    Last Post: 02-04-2010, 10:30 AM
  3. sof2 server
    By bigboy36 in forum cPGS Discussions
    Replies: 1
    Last Post: 09-17-2008, 11:08 AM
  4. cPanel GS (cPGS) & SOF2 Installation & Setup
    By MYIGIS in forum cPGS Discussions
    Replies: 2
    Last Post: 12-17-2007, 04:31 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube