Jump to content
Sign in to follow this  
vinci

Pb with dedicated linux server 1.91c

Recommended Posts

Hi there,

I've installed the linux server 1.91c on redhat 9.0.

I did what the following readme file say:

*********************************************

1. Following programs must have been installed on your Linux-box:

 uudecode, gunzip, gcc. Optional: md5sum (for setup integrity check)

2. Copy the whole "OperationFlashpoint" directory from Windows

 to some Linux-directory (OFP). DON'T DO ANY DATA CONVERSIONS

 (even "dos2unix" translation of text files is not necessary).

 Example: you can use PKZIP (WinZip, PowerArchiver, etc.) on

 Windows and "unzip" on Linux.

    Don't use upper case letters in the OFP directory name

 (/home/bob/ofp will be good, /home/bob/OperationFlashpoint

 may cause some troubles).

    OFP directory should contain subdirectories "Addons", "Bin",

  "Campaigns", etc.

3. Copy the "server-x.xx.shar.gz" (x.xx is version number) file into

 the OFP directory. Unpack and install it with commands:

 ofp$ gunzip server-x.xx.shar.gz

 ofp$ sh server-x.xx.shar

 Watch the messages - they will inform you whether your installation

 is successful.

4. Dedicated server can be started in foreground:

 ofp$ ./server

**********************************************

Installation ok

But when i execute ./server i have this:

2:25:05 Dedicated server created, memory used: 7208 KB

Server creation failed : 2302

Can someone help me?

Thank a lot.

PS: I DO NOT HAVE ACTIVE FIREWALL

Share this post


Link to post
Share on other sites

Hmm, hard to say exactly right away. However, try this:

1st Ensure all files are properly placed, have the same ownership, and read/write/execute priviledges. Use 'chmod' and 'chown' to do so.

2nd Run './tolower' to lowercase all files in the the flashpoint directory.

3rd Configure your 'server.cfg' file. There should be a default server config file you can use.

4rth Use the following command to execute the server:

nohup ./server -config=server.cfg > out.txt 2> err.txt &

5th check your processes, using 'ps -Afw', to ensure server is running and check your 'err.txt' file, using 'more err.txt'.

Let us know how it goes. GoodLuck!

Share this post


Link to post
Share on other sites

That "server creation failed" happened to a few people on this board, windows and linux servers alike and if iirc there was never a solution found sad_o.gif

Share this post


Link to post
Share on other sites

Well, I've recently changed ISP (and therefore IP address). I forgot to change my /etc/hosts (containing the old public IP address for my own system), and I got the 'server creation failed' message. After changing (or rather, clearing out) /etc/hosts , the server started up just fine.

So this may be related to a (reverse) name lookup not working as it should; it did in my case anyway...

Share this post


Link to post
Share on other sites

I upgraded to RedHat 9 last weekend and ran into the same problem.  The server which used to work on RedHat 7.1, did not work on RH9.0

It took me a while, but I figured it out...  Yes, the server does indeed work on RedHat Linux 9.

Your linux box needs to be running the nscd (name service cache daemon), have a properly configured hostname in /sysconfig/network, and also, your hostname must appear with the appropriate address in /etc/hosts.

That's all. L8r,

Jorge.

Share this post


Link to post
Share on other sites

Thanks a lot for all your help.

The last solution works fine.

When i launch the nscd daemon it's work well.

Bye.

See you soon.

Vinci

Share this post


Link to post
Share on other sites

I'm still having trouble with this.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">lgbr:~/opflash$ ./server

Segmentation fault

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">lgbr:~/opflash$ cat /etc/sysconfig/network

HOSTNAME=ben2

GATEWAY=192.168.1.1

GATEWAY_IF=eth0

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">lgbr:~/opflash$ cat /etc/hosts

127.0.0.1 localhost.localdomain localhost

192.168.1.106 www.laserbunny.net ben2

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">root:~$ nscd

root:~$ ps axu | grep nscd

root      2340  0.0  0.0  1452  448 pts/0    S    02:30   0:00 grep nscd

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">root:~$ ifconfig

eth0 Link encap:Ethernet HWaddr 00:01:02:CE:0E:57

inet addr:192.168.1.106 Bcast:192.168.1.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:197791004 errors:64 dropped:0 overruns:42 frame:65

TX packets:198097865 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:100

RX bytes:3703551554 (3531.9 Mb) TX bytes:2488260732 (2372.9 Mb)

Interrupt:12 Base address:0xec00

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:988 errors:0 dropped:0 overruns:0 frame:0

TX packets:988 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:152552 (148.9 Kb) TX bytes:152552 (148.9 Kb)

Any help?

Share this post


Link to post
Share on other sites
Quote[/b] ]Code Sample lgbr:~/opflash$ ./server

Segmentation fault

I had the same problem...

I reinstalled from scratch and used the gnome interface along with xwindows options while installing

so far i have not had the problem since.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×