Re: [hlds_linux] Cannot restore segment prot after reloc
Well, Without looking at the code, it's hard to say what exactly is causing this. One cause might be assembly code which does not have GNU-stack marker. This could be fixed by compiling with the -fPIC/-fpic flags. Not sure the effect this would have on running it on older distros, but it might be worth a test someday when someone screws up and you want to punish them by having them test it ;-) -sb On 6/15/05, Alfred Reynolds <[EMAIL PROTECTED]> wrote: > The workaround is for the FC guys to fix their problems :) > > - Alfred > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Killer > Creation Services > Sent: Wednesday, June 15, 2005 10:40 AM > To: hlds_linux@list.valvesoftware.com > Subject: RE: [hlds_linux] Cannot restore segment prot after reloc > > Thanks for the info Alfred and for the command Gavin Rodgers it worked > setenforce 0 that is. > > Is there gonna be some sort of work around for this in future Alfred or > you Will probably see this question popup quiet frequently > > Regards, > > MerK > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Alfred > Reynolds > Sent: 15 June 2005 18:29 > To: hlds_linux@list.valvesoftware.com > Subject: RE: [hlds_linux] Cannot restore segment prot after reloc > > This is a "bug" in FC3 and FC4, more precisely people using SELinux. A > quick google of "cannot restore segment prot after reloc" produces lots > of hits with suggestions on what to do. > > - Alfred > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Killer > Creation Services > Sent: Wednesday, June 15, 2005 10:08 AM > To: hlds_linux@list.valvesoftware.com > Subject: [hlds_linux] Cannot restore segment prot after reloc > > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] Hi all hope u can help, > I'm a bit confused 1st time I've eva got this error before it worked > fine before I updated all programs and kernel on the dedicated server. > > I've tried deleing libSteamValidateUserIDTickets_amd64.so and > libSteamValidateUserIDTickets_i386.so > Steam downloads a new version of it but still get same error. > > OS: Running Fedora Core 3 > Kernel: 2.6.11-1.27_FC3 > > Hope u can help, > > Auto detecting CPU > Using Pentium II Optimised binary. > Auto-restarting the server on crash > Updating server using Steam. > Checking bootstrapper version ... > Updating Installation > Checking/Installing 'Counter-Strike Base Content' version 15 > > Checking/Installing 'Linux Server Engine' version 17 > > Checking/Installing 'Half-Life Base Content' version 8 > > HLDS installation up to date > Error:./libSteamValidateUserIDTickets_i386.so: cannot restore segment > prot after reloc: Permission denied Unable to load engine, image is > corrupt. > Add "-debug" to the ./hlds_run command line to generate a debug.log to > help with solving this problem Wed Jun 15 18:03:58 BST 2005: Server > restart in 10 seconds Wed Jun 15 18:04:04 BST 2005: Server Quit > -- > > > > ___ > 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 > > > > ___ > 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 > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Cannot restore segment prot after reloc
On 6/15/05, Stan Bubrouski <[EMAIL PROTECTED]> wrote: > Well, > > Without looking at the code, it's hard to say what exactly is causing this. > One > cause might be assembly code which does not have GNU-stack marker. > ^ | This was meant to be quoted, its from: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=147806 -sb > This could be fixed by compiling with the -fPIC/-fpic flags. Not sure > the effect this would have on running it on older distros, but it > might be worth a test someday when someone screws up and you want to > punish them by having them test it ;-) > > -sb > > On 6/15/05, Alfred Reynolds <[EMAIL PROTECTED]> wrote: > > The workaround is for the FC guys to fix their problems :) > > > > - Alfred > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Killer > > Creation Services > > Sent: Wednesday, June 15, 2005 10:40 AM > > To: hlds_linux@list.valvesoftware.com > > Subject: RE: [hlds_linux] Cannot restore segment prot after reloc > > > > Thanks for the info Alfred and for the command Gavin Rodgers it worked > > setenforce 0 that is. > > > > Is there gonna be some sort of work around for this in future Alfred or > > you Will probably see this question popup quiet frequently > > > > Regards, > > > > MerK > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Alfred > > Reynolds > > Sent: 15 June 2005 18:29 > > To: hlds_linux@list.valvesoftware.com > > Subject: RE: [hlds_linux] Cannot restore segment prot after reloc > > > > This is a "bug" in FC3 and FC4, more precisely people using SELinux. A > > quick google of "cannot restore segment prot after reloc" produces lots > > of hits with suggestions on what to do. > > > > - Alfred > > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Killer > > Creation Services > > Sent: Wednesday, June 15, 2005 10:08 AM > > To: hlds_linux@list.valvesoftware.com > > Subject: [hlds_linux] Cannot restore segment prot after reloc > > > > This is a multi-part message in MIME format. > > -- > > [ Picked text/plain from multipart/alternative ] Hi all hope u can help, > > I'm a bit confused 1st time I've eva got this error before it worked > > fine before I updated all programs and kernel on the dedicated server. > > > > I've tried deleing libSteamValidateUserIDTickets_amd64.so and > > libSteamValidateUserIDTickets_i386.so > > Steam downloads a new version of it but still get same error. > > > > OS: Running Fedora Core 3 > > Kernel: 2.6.11-1.27_FC3 > > > > Hope u can help, > > > > Auto detecting CPU > > Using Pentium II Optimised binary. > > Auto-restarting the server on crash > > Updating server using Steam. > > Checking bootstrapper version ... > > Updating Installation > > Checking/Installing 'Counter-Strike Base Content' version 15 > > > > Checking/Installing 'Linux Server Engine' version 17 > > > > Checking/Installing 'Half-Life Base Content' version 8 > > > > HLDS installation up to date > > Error:./libSteamValidateUserIDTickets_i386.so: cannot restore segment > > prot after reloc: Permission denied Unable to load engine, image is > > corrupt. > > Add "-debug" to the ./hlds_run command line to generate a debug.log to > > help with solving this problem Wed Jun 15 18:03:58 BST 2005: Server > > restart in 10 seconds Wed Jun 15 18:04:04 BST 2005: Server Quit > > -- > > > > > > > > ___ > > 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 > > > > > > > > ___ > > 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 > > > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
RE: [hlds_linux] Cannot restore segment prot after reloc
The workaround is for the FC guys to fix their problems :) - Alfred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Killer Creation Services Sent: Wednesday, June 15, 2005 10:40 AM To: hlds_linux@list.valvesoftware.com Subject: RE: [hlds_linux] Cannot restore segment prot after reloc Thanks for the info Alfred and for the command Gavin Rodgers it worked setenforce 0 that is. Is there gonna be some sort of work around for this in future Alfred or you Will probably see this question popup quiet frequently Regards, MerK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alfred Reynolds Sent: 15 June 2005 18:29 To: hlds_linux@list.valvesoftware.com Subject: RE: [hlds_linux] Cannot restore segment prot after reloc This is a "bug" in FC3 and FC4, more precisely people using SELinux. A quick google of "cannot restore segment prot after reloc" produces lots of hits with suggestions on what to do. - Alfred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Killer Creation Services Sent: Wednesday, June 15, 2005 10:08 AM To: hlds_linux@list.valvesoftware.com Subject: [hlds_linux] Cannot restore segment prot after reloc This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hi all hope u can help, I'm a bit confused 1st time I've eva got this error before it worked fine before I updated all programs and kernel on the dedicated server. I've tried deleing libSteamValidateUserIDTickets_amd64.so and libSteamValidateUserIDTickets_i386.so Steam downloads a new version of it but still get same error. OS: Running Fedora Core 3 Kernel: 2.6.11-1.27_FC3 Hope u can help, Auto detecting CPU Using Pentium II Optimised binary. Auto-restarting the server on crash Updating server using Steam. Checking bootstrapper version ... Updating Installation Checking/Installing 'Counter-Strike Base Content' version 15 Checking/Installing 'Linux Server Engine' version 17 Checking/Installing 'Half-Life Base Content' version 8 HLDS installation up to date Error:./libSteamValidateUserIDTickets_i386.so: cannot restore segment prot after reloc: Permission denied Unable to load engine, image is corrupt. Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem Wed Jun 15 18:03:58 BST 2005: Server restart in 10 seconds Wed Jun 15 18:04:04 BST 2005: Server Quit -- ___ 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 ___ 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
RE: [hlds_linux] Cannot restore segment prot after reloc
Thanks for the info Alfred and for the command Gavin Rodgers it worked setenforce 0 that is. Is there gonna be some sort of work around for this in future Alfred or you Will probably see this question popup quiet frequently Regards, MerK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alfred Reynolds Sent: 15 June 2005 18:29 To: hlds_linux@list.valvesoftware.com Subject: RE: [hlds_linux] Cannot restore segment prot after reloc This is a "bug" in FC3 and FC4, more precisely people using SELinux. A quick google of "cannot restore segment prot after reloc" produces lots of hits with suggestions on what to do. - Alfred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Killer Creation Services Sent: Wednesday, June 15, 2005 10:08 AM To: hlds_linux@list.valvesoftware.com Subject: [hlds_linux] Cannot restore segment prot after reloc This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hi all hope u can help, I'm a bit confused 1st time I've eva got this error before it worked fine before I updated all programs and kernel on the dedicated server. I've tried deleing libSteamValidateUserIDTickets_amd64.so and libSteamValidateUserIDTickets_i386.so Steam downloads a new version of it but still get same error. OS: Running Fedora Core 3 Kernel: 2.6.11-1.27_FC3 Hope u can help, Auto detecting CPU Using Pentium II Optimised binary. Auto-restarting the server on crash Updating server using Steam. Checking bootstrapper version ... Updating Installation Checking/Installing 'Counter-Strike Base Content' version 15 Checking/Installing 'Linux Server Engine' version 17 Checking/Installing 'Half-Life Base Content' version 8 HLDS installation up to date Error:./libSteamValidateUserIDTickets_i386.so: cannot restore segment prot after reloc: Permission denied Unable to load engine, image is corrupt. Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem Wed Jun 15 18:03:58 BST 2005: Server restart in 10 seconds Wed Jun 15 18:04:04 BST 2005: Server Quit -- ___ 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 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
RE: [hlds_linux] Cannot restore segment prot after reloc
I found this issue was to do with selinux. Try this command first as root I believe "setenforce 0" then try running the server, all should be well. If that did work then you will need to either set selinux to disabled (edit /etc/sysconfig/selinux) or learn selinux in more depth to make hlds (also affects srcds servers but with different error) work with it. Hope that helps. Gavin Rodgers (BlueHawk^4u) 4u-servers.co.uk 4u-servers.net (forums) 4u-mobile.co.uk (ringtones logos ..) CONFIDENTIALITY NOTICE This mail contains information which is confidential and may also be privileged. It is for exclusive use of the intended recipient(s). If you are not the intended recipient(s), please note that any distribution, copying or use of this mail or the information in it is strictly prohibited. If you have received this mail in error, please notify us immediately and then destroy this mail and any copies of it. Thank you! WARNING: Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Killer Creation Services Sent: 15 June 2005 18:08 To: hlds_linux@list.valvesoftware.com Subject: [hlds_linux] Cannot restore segment prot after reloc This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hi all hope u can help, I'm a bit confused 1st time I've eva got this error before it worked fine before I updated all programs and kernel on the dedicated server. I've tried deleing libSteamValidateUserIDTickets_amd64.so and libSteamValidateUserIDTickets_i386.so Steam downloads a new version of it but still get same error. OS: Running Fedora Core 3 Kernel: 2.6.11-1.27_FC3 Hope u can help, Auto detecting CPU Using Pentium II Optimised binary. Auto-restarting the server on crash Updating server using Steam. Checking bootstrapper version ... Updating Installation Checking/Installing 'Counter-Strike Base Content' version 15 Checking/Installing 'Linux Server Engine' version 17 Checking/Installing 'Half-Life Base Content' version 8 HLDS installation up to date Error:./libSteamValidateUserIDTickets_i386.so: cannot restore segment prot after reloc: Permission denied Unable to load engine, image is corrupt. Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem Wed Jun 15 18:03:58 BST 2005: Server restart in 10 seconds Wed Jun 15 18:04:04 BST 2005: Server Quit -- ___ 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
RE: [hlds_linux] Cannot restore segment prot after reloc
This is a "bug" in FC3 and FC4, more precisely people using SELinux. A quick google of "cannot restore segment prot after reloc" produces lots of hits with suggestions on what to do. - Alfred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Killer Creation Services Sent: Wednesday, June 15, 2005 10:08 AM To: hlds_linux@list.valvesoftware.com Subject: [hlds_linux] Cannot restore segment prot after reloc This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hi all hope u can help, I'm a bit confused 1st time I've eva got this error before it worked fine before I updated all programs and kernel on the dedicated server. I've tried deleing libSteamValidateUserIDTickets_amd64.so and libSteamValidateUserIDTickets_i386.so Steam downloads a new version of it but still get same error. OS: Running Fedora Core 3 Kernel: 2.6.11-1.27_FC3 Hope u can help, Auto detecting CPU Using Pentium II Optimised binary. Auto-restarting the server on crash Updating server using Steam. Checking bootstrapper version ... Updating Installation Checking/Installing 'Counter-Strike Base Content' version 15 Checking/Installing 'Linux Server Engine' version 17 Checking/Installing 'Half-Life Base Content' version 8 HLDS installation up to date Error:./libSteamValidateUserIDTickets_i386.so: cannot restore segment prot after reloc: Permission denied Unable to load engine, image is corrupt. Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem Wed Jun 15 18:03:58 BST 2005: Server restart in 10 seconds Wed Jun 15 18:04:04 BST 2005: Server Quit -- ___ 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