Sorry, I should have noticed the specs were there.

That is odd.  I don't think SELinux would be causing a problem if the 
server starts correctly when it's public.  Have you tried launching it 
without the -nomaster and -insecure options?  Something like this:

./hlds_run -game cstrike +map de_dust +sv_lan 1 +ip 192.168.1.200 +port 
27015

If that doesn't work, try running an strace on the process and see if 
that shows anything happening right before it hangs.

     - Dave

Stefan R?üetschli wrote:
> Server is a P4 2,8GHz with 1GB RAM, i wrote it in my 1st e-mail.
> stupidly on the bottom of the e-mail, where nobody reads it ;-)
> 
> I tried also srcds with cs:source and hl2mp and get the same problem. 
> With internet connection it works fine. Strange...
> I did also a reinstallation and stopped service iptables, nothing helps...
> 
> I read something about SELinux, could there be a problem or am I on the 
> wrong way?
> 
> Stefan
> 
> David A. Parker schrieb:
>> That is normal for HLDS under Linux.  It binds to 127.0.0.1, which 
>> effectively means it binds to all available interfaces, unless you 
>> specify an IP to use.
>>
>> Stefan R?üetschli wrote:
>>   
>>> The other strange thing is, if I start a server on windows the ip is 
>>> automatically detected.
>>> On linux it is always 127.0.0.1 until I give it with startparameters.
>>> Is this normal or is perhaps something wrong with my network/ip-config?
>>>
>>> [r...@fedi ~]# more /etc/sysconfig/networking/devices/ifcfg-eth0
>>> # Digital Equipment Corporation DECchip 21142/43
>>> DEVICE=eth0
>>> BOOTPROTO=none
>>> DNS1=127.0.0.1
>>> GATEWAY=192.168.1.254
>>> HWADDR=xx:xx:xx:xx:xx:xx
>>> IPADDR=192.168.1.200
>>> NETMASK=255.255.255.0
>>> ONBOOT=yes
>>> TYPE=Ethernet
>>> USERCTL=no
>>> PEERDNS=yes
>>> IPV6INIT=no
>>> NM_CONTROLLED=yes
>>>
>>>
>>>
>>> David A. Parker schrieb:
>>>     
>>>> As an example, when you run that netstat command, you should see two 
>>>> lines like these somewhere in the output:
>>>>
>>>> tcp        0      0 192.168.1.200:27015       0.0.0.0:*               
>>>> LISTEN
>>>> udp        0      0 192.168.1.200:27015       0.0.0.0:*
>>>>
>>>>      - Dave
>>>>
>>>> David A. Parker wrote:
>>>>   
>>>>       
>>>>> Hi Stefan,
>>>>>
>>>>>     
>>>>>         
>>>>>> [game...@fedi hlds]$ ./hlds_run -game cstrike +map de_dust -nomaster 
>>>>>> -insecure +sv_lan 1 +ip 192.168.1.200 +port 27015
>>>>>> Auto detecting CPU
>>>>>> Using Pentium II Optimised binary.
>>>>>> Auto-restarting the server on crash
>>>>>>
>>>>>> Console initialized.
>>>>>> scandir failed:/home/gamesrv/hlds/./platform/SAVE
>>>>>> Protocol version 48
>>>>>> Exe version 1.1.2.6/Stdio (cstrike)
>>>>>> Exe build: 18:05:13 Oct 24 2008 (4383)
>>>>>> STEAM Auth Server
>>>>>> couldn't exec language.cfg
>>>>>> Server IP address 192.168.1.200:27015
>>>>>> scandir failed:/home/gamesrv/hlds/./platform/SAVE
>>>>>> [S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. 
>>>>>> Continuing with current version anyway.
>>>>>>
>>>>>>
>>>>>>
>>>>>> The Server doesn't start and hangs here.
>>>>>>       
>>>>>>           
>>>>> This might seem like a silly question, but are you sure it hangs?  Did 
>>>>> you try entering commands at this point and see if you get output?  I 
>>>>> only ask because when you start up a server with -nomaster and 
>>>>> -insecure, it's not always obvious when the startup process has finished.
>>>>>
>>>>> Also, if you switch to another console and run this:
>>>>>
>>>>> netstat -an | more
>>>>>
>>>>> Do you see port 27015 listening?
>>>>>
>>>>>      - 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
> 

-- 

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


_______________________________________________
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