הוסטס - פורום אחסון האתרים הגדול בישראל

הוסטס - פורום אחסון האתרים הגדול בישראל (https://hosts.co.il/forums/index.php)
-   תחזוק שרתים ושירותי רשת נוספים (https://hosts.co.il/forums/forumdisplay.php?f=29)
-   -   בעיה בהרצת שרת CS נראה כמו בעיה בשרת עצמו (https://hosts.co.il/forums/showthread.php?t=70089)

InSightering 07-12-08 16:30

בעיה בהרצת שרת CS נראה כמו בעיה בשרת עצמו
 
ניסתי להריץ גם על centos 5 וגם על 4
כל פעם אני מריץ רגיל כמו שצריך כמו שתמיד הרצתי... אבל הפעם יוצאת לי שגיאה
קוד:

[root@gscs original]# ./hlds_run
Auto detecting CPU
Using Pentium II Optimised binary.
Auto-restarting the server on crash

Console initialized.
scandir failed:/cs/original/./platform/SAVE
Protocol version 48
Exe version 1.1.2.1/Stdio (valve)
Exe build: 18:05:13 Oct 24 2008 (4383)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 195.189.140.174:27015
couldn't exec listip.cfg
couldn't exec banned.cfg
./hlds_run: line 342:  7316 Segmentation fault      $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Sun Dec  7 16:27:12 IST 2008: Server restart in 10 seconds
Sun Dec  7 16:27:22 IST 2008: Server Quit

[root@gscs original]# ./hlds_run -debug
Auto detecting CPU
Using Pentium II Optimised binary.
Enabling debug mode
./hlds_run: line 141: gdb: command not found
Please install gdb first.
goto http://www.gnu.org/software/gdb/
Auto-restarting the server on crash

Console initialized.
scandir failed:/cs/original/./platform/SAVE
Protocol version 48
Exe version 1.1.2.1/Stdio (valve)
Exe build: 18:05:13 Oct 24 2008 (4383)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 195.189.140.174:27015
couldn't exec listip.cfg
couldn't exec banned.cfg
./hlds_run: line 342:  7332 Segmentation fault      (core dumped) $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Sun Dec  7 16:27:30 IST 2008: Server restart in 10 seconds

Console initialized.
scandir failed:/cs/original/./platform/SAVE
Protocol version 48
Exe version 1.1.2.1/Stdio (valve)
Exe build: 18:05:13 Oct 24 2008 (4383)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 195.189.140.174:27015
couldn't exec listip.cfg
couldn't exec banned.cfg

יש למישהו מושג מה הבעיה?

AmStAf 07-12-08 16:36

אתה צריך להתקין תוספות ..
נסה את :
yum install gcc
yum install gcc+
זה אומר לך להתקין את זה :
gdb
ורק אחר כך תוכל להריץ ..

InSightering 07-12-08 16:55

אחרי שהתקנתי והרצתי
זה אומר לי ב DEBUG

./hlds_run: line 342: 7376 Segmentation fault (core dumped) $HL_CMD
Cannot access memory at address 0xbffff334
debug.cmds:4: Error in sourced command file:
Cannot access memory at address 0xbffff334
email debug.log to linux@valvesoftware.com
Sun Dec 7 16:53:14 IST 2008: Server restart in 10 seconds

Jonathan Zeierman 07-12-08 17:17

לא נתקלתי בחיים בבעיה הזו ב- centos 4.4 לפחות איתה אני עובד.
בכל מקרה, נסה לעשות עדכון מסטים לשרת ותראה מה הולך.

InSightering 07-12-08 21:26

לא הצלחתי לפתור עדיין
גיגלתי ולא מצאתי פתרון...
חברה :(?

omercnet 07-12-08 23:11

זה VPS ?
תריץ את הפקודות הבאות ותחזיר את מה שיוצא
קוד:

uname -a
free -m
uptime
gcc -v
md5sum /cs/original/hlds_*
md5sum /cs/original/*.so


InSightering 07-12-08 23:20

קוד:

[root@gameservers ~]# uname -a
Linux gameservers.insightserv.net 2.6.18-92.1.18.el5 #1 SMP Wed Nov 12 09:30:27 EST 2008 i686 i686 i386 GNU/Linux
[root@gameservers ~]# free -m
            total      used      free    shared    buffers    cached
Mem:          756        172        584          0        63        67
-/+ buffers/cache:        41        715
Swap:            0          0          0
[root@gameservers ~]# uptime
 23:19:00 up 21:30,  1 user,  load average: 0.01, 0.03, 0.00
[root@gameservers ~]#
[root@gameservers ~]# gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
[root@gameservers ~]# md5sum /gs/original/cs/hlds_*
f1eaa41d5d9422f7c67a13e884fa410f  /gs/original/cs/hlds_amd
3cb74ff15efc91ba6c148e4b7dabd742  /gs/original/cs/hlds_i486
68108f8382472af97e876fb5243d7bbf  /gs/original/cs/hlds_i686
846ff6d7fe3a6451e3cb99e114c52773  /gs/original/cs/hlds_run
[root@gameservers ~]# md5sum /gs/original/cs/*.so
46f955a1f0966da4959b8e595fa257e8  /gs/original/cs/core_i386.so
8d8d742c2911b30f9dcf05afbeeee6ef  /gs/original/cs/engine_amd.so
5dde550ab933685e3727e756bb1f881e  /gs/original/cs/engine_i486.so
e51851fc686af335007451d7c44402bd  /gs/original/cs/engine_i686.so
f1d8fde56d136773c8fb1e56b3b85b04  /gs/original/cs/filesystem_stdio_i386.so
61b665710b2dadd18bdcf66a1097a268  /gs/original/cs/libsteam_api_c_linux.so
70667feab724474e13a52a5f2304b767  /gs/original/cs/libsteam_api_linux.so
e988ae37e5f248c7e0559636e7e6c00f  /gs/original/cs/libsteamvalidateuseridtickets_i486.so
9b5c874a33513c7628817ea56985cd98  /gs/original/cs/libtier0_s_linux.so
267328ca24cba27c648b084b6e48765b  /gs/original/cs/libvstdlib_s_linux.so
d602f52dae96cc54f5ac8c8dd99d7e7a  /gs/original/cs/proxy_i386.so
5ec8b273c034ddeabab60098debbf640  /gs/original/cs/steamclient_linux.so
[root@gameservers ~]#


omercnet 08-12-08 13:13

מוזר מאד, MD5 תואם לשלי, ז"א שזה מעודכן ולא דפוק בצורה כל שהיא, קרנל תקין ואין עומס

מוזר מאד..

אני ממש לא מצליח לחשוב על כלום, תשלח את הDEBUG לכתובת כמו שרשום, תראה אם יוצא משהו
תזרוק את זה גם לmailing list שלהם, הם מאד פעילים שם

לא ענית לי, זה VPS ?

InSightering 08-12-08 17:43

כן זה VPS

omercnet 08-12-08 22:13

ציטוט:

נכתב במקור על ידי InSightering (פרסם 686154)
כן זה VPS

השגיאה היא בעקרון בעייה בגישה לזכרון, יש מצב שיש חוסר תאימות של HLDS עם הVPS הזה
זה VMware ? מותקן לך vmware tools ?


כל הזמנים הם GMT +2. הזמן כעת הוא 09:24.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ