Advertisement
Server setup guide & tools
a resource kit
#32
Posted 12 April 2011 - 07:09 PM
Делаю вÑе как вот тут вот на CentOS 5.5 при запуÑке Ñервера
даже под root вот что:
ЧЯДÐТ!?
sh start.sh
даже под root вот что:
start.sh: line 4: /home/urt/urbanterror/ioUrTded.i386: Отказано в доÑтупе
start.sh: line 4: /home/urt/urbanterror/ioUrTded.i386: Отказано в доÑтупе
ЧЯДÐТ!?
#33
Posted 12 April 2011 - 07:27 PM
It *could* help if you wrote English
#34
Posted 12 April 2011 - 08:23 PM
first wrote in Russian
I do everything as written in the help to create a server on Linux (and I have CentOS 5.6) run a shell script and to me this:
Root under the same
What am I doing wrong?
translated translate google
thanks
I do everything as written in the help to create a server on Linux (and I have CentOS 5.6) run a shell script and to me this:
start.sh: line 4: / home/urt/urbanterror/ioUrTded.i386: Access Denied
start.sh: line 4: / home/urt/urbanterror/ioUrTded.i386: Access Denied
Root under the same
What am I doing wrong?
translated translate google
thanks
#35
Posted 12 April 2011 - 11:03 PM
first off do not run under root, best to run under a seperate user dedicated to hosting urt servers, with limited access.
secondly you need to add permission to make the file executable for that user group so do the following replacing the details to suit your server .
P.S. if you continue to to have problems > start your own thread ;)
Edit: sorry I spotted my error, and edited it here so others will benefit from it if they read this post.
secondly you need to add permission to make the file executable for that user group so do the following replacing the details to suit your server .
nitro@phoenix:~$ cd /home/nitro/urt_ctf
nitro@phoenix:~/urt_ctf$ sudo -s
root@phoenix:~/urt_ctf$ chmod a+x ioUrTded.i386
root@phoenix:~/urt_ctf$ chmod a+x start.sh
root@phoenix:~/urt_ctf$ exit
nitro@phoenix:~/urt_ctf$ ./start.sh
P.S. if you continue to to have problems > start your own thread ;)
Edit: sorry I spotted my error, and edited it here so others will benefit from it if they read this post.
This post has been edited by nitro: 14 April 2011 - 10:31 AM
Lian Li pc-o11dw Der 8auer Edition · Gigabyte x570 Aorus Xtreme · AMD Ryzen 9 5950x 16-Core
32GB DDR4 3800MHz CL16 · 2x 1TB Samsung NVMe RAID 0 · 16GB Radeon RX 6900XT Liquid Cooled
32GB DDR4 3800MHz CL16 · 2x 1TB Samsung NVMe RAID 0 · 16GB Radeon RX 6900XT Liquid Cooled
Advertisement
#36
Posted 13 April 2011 - 06:24 PM
[urt@dhcppc0 ~]$ cd /home/urt/urbanterror
[urt@dhcppc0 urbanterror]$ sudo -s
[sudo] password for urt:
[root@dhcppc0 urbanterror]# chmod a+x ioUrTded.i386
[root@dhcppc0 urbanterror]# exit
exit
[urt@dhcppc0 urbanterror]$ ./start.sh
-bash: ./start.sh: Access Denied
[urt@dhcppc0 urbanterror]$
having trouble creating a new topic, here's what: "You cannot start a new topic"
Thank you
This post has been edited by kuznec: 13 April 2011 - 06:25 PM
#37
Posted 14 April 2011 - 03:25 AM
chmod +x start.sh
urt.voxel.net :: Ruining your URT experience [2] weapons limited servers at a time.
Kevlar in CTF is like sex with a condom. Sure you get the general feel of things, but everyone would enjoy the game without it.
Kevlar in CTF is like sex with a condom. Sure you get the general feel of things, but everyone would enjoy the game without it.
#38
Posted 14 April 2011 - 06:37 PM
[urt@dhcppc0 urbanterror]$ ./start.sh
ioq3 1.35urt linux-i386 Dec 20 2007
----- FS_Startup -----
Current search path:
/home/urt/.q3a/q3ut4
/home/urt/urbanterror/q3ut4/zpak000_assets.pk3 (7933 files)
/home/urt/urbanterror/q3ut4/zpak000.pk3 (99 files)
/home/urt/urbanterror/q3ut4
----------------------
8032 files in pk3 files
execing default.cfg
execing q3config.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
execing server.cfg
g_gametype will be changed upon restarting.
------ Server Initialization ------
Server: ut4_casa
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
/home/urt/.q3a/q3ut4
/home/urt/urbanterror/q3ut4/zpak000_assets.pk3 (7933 files)
/home/urt/urbanterror/q3ut4/zpak000.pk3 (99 files)
/home/urt/urbanterror/q3ut4
----------------------
16064 files in pk3 files
Loading vm file vm/qagame.qvm...
VM file qagame compiled to 1870844 bytes of code
qagame loaded in 34524832 bytes on the hunk
------- Game Initialization -------
gamename: q3ut4
gamedate: Dec 21 2007
------------------------------------------------------------
InitGame: \sv_allowdownload\0\g_matchmode\0\g_gametype\4\sv_maxclients\12\sv_floodprotect\1\g_warmup\15\capturelimit\0\sv_hostname\ikms-sar\g_followstrict\1\fraglimit\10\timelimit\20\g_cahtime\60\g_swaproles\0\g_roundtime\3\g_bombexplodetime\40\g_bombdefusetime\10\g_hotpotato\2\g_waverespawns\0\g_redwave\15\g_bluewave\15\g_respawndelay\8\g_suddendeath\1\g_maxrounds\0\g_friendlyfire\1\g_allowvote\536871039\g_armbands\1\dmflags\0\sv_minRate\0\sv_maxRate\0\sv_minPing\0\sv_maxPing\0\sv_dlURL\urbanterror.net\g_maxGameClients\0\g_deadchat\1\g_gear\0\g_survivorrule\0\version\ioq3 1.35urt linux-i386 Dec 20 2007\protocol\68\mapname\ut4_casa\sv_privateClients\0\ Admin\adminname\ Email\xxx@xxx.xxx\gamename\q3ut4\g_needpass\0\g_enableDust\0\g_enableBreath\0\g_antilagvis\0\g_survivor\1\g_enablePrecip\0\g_modversion\4.1
Warmup:
2 teams with 346 entities
-----------------------------------
-----------------------------------
Resolving master.urbanterror.net
master.urbanterror.net resolved to 91.121.24.62:27950
Sending heartbeat And for what time approximately must my server appear in a list?
waited about 5 did not appearto master.urbanterror.net
Resolving master2.urbanterror.net
master2.urbanterror.net resolved to 91.121.30.80:27950
Sending heartbeat to master2.urbanterror.net
Resolving master.quake3arena.com
master.quake3arena.com resolved to 192.246.40.56:27950
Sending heartbeat to master.quake3arena.com
Hitch warning: 3615 msec frame time
]
And for what time approximately must my server appear in a list?
waited about 5 did not appear
ioq3 1.35urt linux-i386 Dec 20 2007
----- FS_Startup -----
Current search path:
/home/urt/.q3a/q3ut4
/home/urt/urbanterror/q3ut4/zpak000_assets.pk3 (7933 files)
/home/urt/urbanterror/q3ut4/zpak000.pk3 (99 files)
/home/urt/urbanterror/q3ut4
----------------------
8032 files in pk3 files
execing default.cfg
execing q3config.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
execing server.cfg
g_gametype will be changed upon restarting.
------ Server Initialization ------
Server: ut4_casa
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
/home/urt/.q3a/q3ut4
/home/urt/urbanterror/q3ut4/zpak000_assets.pk3 (7933 files)
/home/urt/urbanterror/q3ut4/zpak000.pk3 (99 files)
/home/urt/urbanterror/q3ut4
----------------------
16064 files in pk3 files
Loading vm file vm/qagame.qvm...
VM file qagame compiled to 1870844 bytes of code
qagame loaded in 34524832 bytes on the hunk
------- Game Initialization -------
gamename: q3ut4
gamedate: Dec 21 2007
------------------------------------------------------------
InitGame: \sv_allowdownload\0\g_matchmode\0\g_gametype\4\sv_maxclients\12\sv_floodprotect\1\g_warmup\15\capturelimit\0\sv_hostname\ikms-sar\g_followstrict\1\fraglimit\10\timelimit\20\g_cahtime\60\g_swaproles\0\g_roundtime\3\g_bombexplodetime\40\g_bombdefusetime\10\g_hotpotato\2\g_waverespawns\0\g_redwave\15\g_bluewave\15\g_respawndelay\8\g_suddendeath\1\g_maxrounds\0\g_friendlyfire\1\g_allowvote\536871039\g_armbands\1\dmflags\0\sv_minRate\0\sv_maxRate\0\sv_minPing\0\sv_maxPing\0\sv_dlURL\urbanterror.net\g_maxGameClients\0\g_deadchat\1\g_gear\0\g_survivorrule\0\version\ioq3 1.35urt linux-i386 Dec 20 2007\protocol\68\mapname\ut4_casa\sv_privateClients\0\ Admin\adminname\ Email\xxx@xxx.xxx\gamename\q3ut4\g_needpass\0\g_enableDust\0\g_enableBreath\0\g_antilagvis\0\g_survivor\1\g_enablePrecip\0\g_modversion\4.1
Warmup:
2 teams with 346 entities
-----------------------------------
-----------------------------------
Resolving master.urbanterror.net
master.urbanterror.net resolved to 91.121.24.62:27950
Sending heartbeat And for what time approximately must my server appear in a list?
waited about 5 did not appearto master.urbanterror.net
Resolving master2.urbanterror.net
master2.urbanterror.net resolved to 91.121.30.80:27950
Sending heartbeat to master2.urbanterror.net
Resolving master.quake3arena.com
master.quake3arena.com resolved to 192.246.40.56:27950
Sending heartbeat to master.quake3arena.com
Hitch warning: 3615 msec frame time
]
And for what time approximately must my server appear in a list?
waited about 5 did not appear
#40
Posted 15 April 2011 - 04:04 PM
created in this manual
10. Write a shell script to start your server.
Issue the command cd ~/urbanterror/ to make sure you are in the root urbanterror directory. Using your text editor, make a file called start.sh. In the file you wish to have the following;
#!/bin/bash
while true
do
/home/urt/urbanterror/ioUrTded.i386 +set fs_game q3ut4 +set dedicated 2 +set net_port 27960 +set com_hunkmegs 128 +exec server.cfg
echo "server crashed on `date`" > last_crash.txt
done
This script will automatically restart your game server should it crash. Useful also because a /RCON quit command will reset you server the old fashioned way.
10. Write a shell script to start your server.
Issue the command cd ~/urbanterror/ to make sure you are in the root urbanterror directory. Using your text editor, make a file called start.sh. In the file you wish to have the following;
#!/bin/bash
while true
do
/home/urt/urbanterror/ioUrTded.i386 +set fs_game q3ut4 +set dedicated 2 +set net_port 27960 +set com_hunkmegs 128 +exec server.cfg
echo "server crashed on `date`" > last_crash.txt
done
This script will automatically restart your game server should it crash. Useful also because a /RCON quit command will reset you server the old fashioned way.
1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users
Advertisement