The only thing I noticed which looked interesting was in your original
posting.

L 06/23/2010 - 20:59:00: Log file started (file "/usr/local/srcds_1/cstrike/
logs/L0623002.log") (game "/usr/local/srcds_2/orangebox/cstrike") (version
"4234")

Logs are in srcds_1/cstrike but game is in srcds_2/orangebox/cstrike? Unless
you have some weird log directory specified.

On Sat, Jun 26, 2010 at 5:56 PM, David Parker <[email protected]> wrote:

> Thanks, but I tried it with -ip and I still got the same result.
>
> If I change the map using "changelevel" instead of "map" then this error
> does not happen.  But if I try to restart the server using quit, restart, or
> _restart, then the server says it will restart in 10 seconds and just hangs,
> so there is something wrong.  I'm just getting frustrated because it seems
> I'm the only one with this problem, and everything worked fine before the
> big update.
>
> I attached strace to the srcds_linux process, and this is what happens
> during the long pause and subsequent "Unable to load..." message:
>
> write(2, "[S_API FAIL] SteamAPI_Init() fail"..., 117) = 117
> mmap2(NULL, 1048576, PROT_READ|PROT_WRITE|PROT_EXEC,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff0134000
> mprotect(0xf0134000, 4096, PROT_NONE)   = 0
> clone(child_stack=0xf02334c4,
> flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
> parent_tidptr=0xf0233bd8, tls=0xf0233bd8, child_tidptr=0xff833f6c) = 14213
> socketpair(PF_FILE, SOCK_STREAM, 0, [12, 13]) = 0
> send(13, "\3\0\0\0\3"..., 5, 0)         = 5
> send(13, "\3\3"..., 2, MSG_NOSIGNAL)    = 2
> select(14, [13], NULL, NULL, {180, 0}
>
> < ... long pause... >
>
> )  = 0 (Timeout)
> getppid()                               = 14192
> open("/proc/14192/cmdline", O_RDONLY)   = 14
> fstat64(14, {st_dev=makedev(0, 3), st_ino=2913916240, st_mode=S_IFREG|0444,
> st_nlink=1, st_uid=1001, st_gid=1001, st_blksize=1024, st_blocks=0,
> st_size=0, st_atime=2010/06/26-17:36:30, st_mtime=2010/06/26-17:36:30,
> st_ctime=2010/06/26-17:36:30}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0xfffffffff0133000
> read(14, "/bin/sh\0./srcds_run\0-game\0cstrike"..., 1024) = 119
> read(14, ""..., 1024)                   = 0
> close(14)                               = 0
> munmap(0xf0133000, 4096)                = 0
> send(13, "\16\0\0\0\1"..., 5, 0)        = 5
> send(13, "\4\0\0\0\0\251\4\0\0\360\0\0\0"..., 13, MSG_NOSIGNAL) = 13
> select(14, [13], NULL, NULL, {180, 0}
>
> < ... long pause ... >
>
> )  = 0 (Timeout)
> getppid()                               = 14192
> open("/proc/14192/cmdline", O_RDONLY)   = 14
> fstat64(14, {st_dev=makedev(0, 3), st_ino=2913916240, st_mode=S_IFREG|0444,
> st_nlink=1, st_uid=1001, st_gid=1001, st_blksize=1024, st_blocks=0,
> st_size=0, st_atime=2010/06/26-17:36:30, st_mtime=2010/06/26-17:36:30,
> st_ctime=2010/06/26-17:36:30}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0xfffffffff0133000
> read(14, "/bin/sh\0./srcds_run\0-game\0cstrike"..., 1024) = 119
> read(14, ""..., 1024)                   = 0
> close(14)                               = 0
> munmap(0xf0133000, 4096)                = 0
> gettimeofday({1277588601, 375714}, NULL) = 0
> write(1, "*********************************"..., 58) = 58
> gettimeofday({1277588601, 375908}, NULL) = 0
> write(1, "*\tUnable to load Steam support li"..., 41) = 41
> gettimeofday({1277588601, 376019}, NULL) = 0
> write(1, "*\tThis server will operate in LAN"..., 46) = 46
> gettimeofday({1277588601, 376129}, NULL) = 0
> write(1, "*********************************"..., 58) = 58
> send(13, "\n\0\0\0\1"..., 5, 0)         = 5
> send(13, "\4\0\0\0\0\252\4\0\0"..., 9, MSG_NOSIGNAL) = 9
> select(14, [13], NULL, NULL, {180, 0})  = 0 (Timeout)
> getppid()                               = 14192
> open("/proc/14192/cmdline", O_RDONLY)   = 14
> fstat64(14, {st_dev=makedev(0, 3), st_ino=2913916240, st_mode=S_IFREG|0444,
> st_nlink=1, st_uid=1001, st_gid=1001, st_blksize=1024, st_blocks=0,
> st_size=0, st_atime=2010/06/26-17:36:30, st_mtime=2010/06/26-17:36:30,
> st_ctime=2010/06/26-17:36:30}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0xfffffffff0133000
> read(14, "/bin/sh\0./srcds_run\0-game\0cstrike"..., 1024) = 119
>
> ... And then the server is in LAN mode.  I don't see anything that
> indicates a problem opening or reading any library file.  It looks to me
> like the call to select() is blocking for network I/O and eventually times
> out, but I don't know why it's getting stuck there.  So the error message is
> not even close to the truth.  Does anyone know what select() is waiting for?
>
>     Thanks,
>     Dave
>
> ----- Original Message -----
> From: bl4nk <[email protected]>
> Date: Saturday, June 26, 2010 6:02 pm
> Subject: Re: [hlds_linux] Steam support library problem
> To: Half-Life dedicated Linux server mailing list <
> [email protected]>
>
> > Isn't it -ip now?
> >
> > Sent from my iPod
> >
> > On Jun 26, 2010, at 9:06 AM, David Parker <[email protected]>
> > wrote:
> > > Hello,
> > >
> > > Yes, I did copy the server config from my old CS:S directory
> > into this one.  Except for the server.cfg and motd.txt
> > files, it is a completely default install.
> > >
> > > Start-up command line is the same as I was using for CS:S
> > before the update:
> > >
> > > ./srcds_run -game cstrike +ip 72.237.4.31 -port 27015
> > +maxplayers 16 +map de_dust +sv_lan 0 -autoupdate -debug
> > >
> > > I don't think it's a permissions problem because the srcds
> > user owns the install directory (/usr/local/srcds_2) and all of
> > the files and directories under it.
> > >
> > > I also disabled the iptables firewall on the box temporarily
> > because it was mentioned before that this could be caused by a
> > connectivity problem with Valve's servers, but that did not seem
> > to help.
> > >
> > >     Thanks,
> > >     Dave
> > >
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to