[GH-ISSUE #1107] grep reports issue, server starts but with dependency issues #873

Closed
opened 2026-02-27 02:54:02 +03:00 by kerem · 14 comments
Owner

Originally created by @AxFalcon on GitHub (Oct 6, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1107

Thanks in advance :) AWESOME PROGRAM BTW!!!! I really, Really appreciate this work, You've saved me hours. Thanks :)!

So on centos this csserver installed with no trouble. However on debian the server starts but after re-downloading dependencies and checking things and all this other stuff.

I've tried to update grep but I don't know how to replace it properly however, I don't think that's the issue.
I've tried to chmod permissions so that my user can use grep/dependencies but this doesn't seem to have any effect atm.

System is:
3.6Ghz Intel i386
DebianRT 3.2.81-rt117
1Gb RAM etc
csserver package downloaded this week, upgraded and validated. Does run server but after heaps of errors.

This is what we get when server starts:

./csserver start
[ .... ] Starting cs-server: grep: support for the -P option is not compiled into this --disable-perl-regexp binary

grep: support for the -P option is not compiled into this --disable-perl-regexp binary
grep: support for the -P option is not compiled into this --disable-perl-regexp binary
grep: support for the -P option is not compiled into this --disable-perl-regexp binary
grep: support for the -P option is not compiled into this --disable-perl-regexp binary
grep: support for the -P option is not compiled into this --disable-perl-regexp binary
grep: support for the -P option is not compiled into this --disable-perl-regexp binary
grep: support for the -P option is not compiled into this --disable-perl-regexp binary
grep: support for the -P option is not compiled into this --disable-perl-regexp binary
grep: support for the -P option is not compiled into this --disable-perl-regexp binary

[ERROR ] Starting cs-server: Checking dependencies: missing: wget ca-certificates file bsdmainutils util-linux python bzip2 gzip lib32gcc1 libstdc++6:i386 [sudo] password for user1:

...and as you can see if asks me for a sudo password. The user1 has sudo, tty and ftpaccess privileges and I have chmod 777 to /home/user1 all files and folders so that the server runs correctly.

Any ideas? Thanks :)

Originally created by @AxFalcon on GitHub (Oct 6, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1107 Thanks in advance :) AWESOME PROGRAM BTW!!!! I really, Really appreciate this work, You've saved me hours. Thanks :)! So on centos this csserver installed with no trouble. However on debian the server starts but after re-downloading dependencies and checking things and all this other stuff. I've tried to update grep but I don't know how to replace it properly however, I don't think that's the issue. I've tried to chmod permissions so that my user can use grep/dependencies but this doesn't seem to have any effect atm. System is: 3.6Ghz Intel i386 DebianRT 3.2.81-rt117 1Gb RAM etc csserver package downloaded this week, upgraded and validated. Does run server but after heaps of errors. This is what we get when server starts: `./csserver start` `[ .... ] Starting cs-server: grep: support for the -P option is not compiled into this --disable-perl-regexp binary` `grep: support for the -P option is not compiled into this --disable-perl-regexp binary` `grep: support for the -P option is not compiled into this --disable-perl-regexp binary` `grep: support for the -P option is not compiled into this --disable-perl-regexp binary` `grep: support for the -P option is not compiled into this --disable-perl-regexp binary` `grep: support for the -P option is not compiled into this --disable-perl-regexp binary` `grep: support for the -P option is not compiled into this --disable-perl-regexp binary` `grep: support for the -P option is not compiled into this --disable-perl-regexp binary` `grep: support for the -P option is not compiled into this --disable-perl-regexp binary` `grep: support for the -P option is not compiled into this --disable-perl-regexp binary` `[ERROR ] Starting cs-server: Checking dependencies: missing: wget ca-certificates file bsdmainutils util-linux python bzip2 gzip lib32gcc1 libstdc++6:i386 [sudo] password for user1:` ...and as you can see if asks me for a sudo password. The user1 has sudo, tty and ftpaccess privileges and I have chmod 777 to /home/user1 all files and folders so that the server runs correctly. Any ideas? Thanks :)
kerem 2026-02-27 02:54:02 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@UltimateByte commented on GitHub (Oct 6, 2016):

Dependency issue causes by a weird distro i think.
Why don't yoy use debian 8 standard ?

<!-- gh-comment-id:251975407 --> @UltimateByte commented on GitHub (Oct 6, 2016): Dependency issue causes by a weird distro i think. Why don't yoy use debian 8 standard ?
Author
Owner

@AxFalcon commented on GitHub (Oct 6, 2016):

Couldn't find a good PREEMPT RT for it (keen on 1000fps server). So does this error mean that "grep" is in error or that perl-regxp is in error or something else? How would the bug testing go from here?

<!-- gh-comment-id:251981056 --> @AxFalcon commented on GitHub (Oct 6, 2016): Couldn't find a good PREEMPT RT for it (keen on 1000fps server). So does this error mean that "grep" is in error or that perl-regxp is in error or something else? How would the bug testing go from here?
Author
Owner

@UltimateByte commented on GitHub (Oct 6, 2016):

1000 fps servers are pointless in my opinion. Tick 128 is useful though and can be achieved easily.
However, if you wish to achieve 1000fps, i heard any distro you can work as long as you change the system timer.

BTW, the issue here, if you're saying that you installed dependency packages already, is probably that LGSM is unable to detect your package manager. LGSM tries to sudo in order to install the packages, but if it is trying to run an apt-get when it doesn't exist, then it can't work out.

What's your package manager ?

<!-- gh-comment-id:252055405 --> @UltimateByte commented on GitHub (Oct 6, 2016): 1000 fps servers are pointless in my opinion. Tick 128 is useful though and can be achieved easily. However, if you wish to achieve 1000fps, i heard any distro you can work as long as you change the system timer. BTW, the issue here, if you're saying that you installed dependency packages already, is probably that LGSM is unable to detect your package manager. LGSM tries to sudo in order to install the packages, but if it is trying to run an apt-get when it doesn't exist, then it can't work out. What's your package manager ?
Author
Owner

@AxFalcon commented on GitHub (Oct 6, 2016):

If you're referring to apt-get, dpgk or grep -I have all of these installed and I used the root user account to install them to wherever they installed to by default.

I also tried installing all the packages from the user1 that has sudo account privileges but it said
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. as all the packages were already installed.

Do I have to do something to LGSM or perhaps my package manager?

<!-- gh-comment-id:252102693 --> @AxFalcon commented on GitHub (Oct 6, 2016): If you're referring to `apt-get`, `dpgk` or `grep` -I have all of these installed and I used the root user account to install them to wherever they installed to by default. I also tried installing all the packages from the `user1` that has sudo account privileges but it said `0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.` as all the packages were already installed. Do I have to do something to LGSM or perhaps my package manager?
Author
Owner

@UltimateByte commented on GitHub (Oct 6, 2016):

By any means, do you have yum installed as well ?
That's the main thing that could fuckup the detection on a debian based distro i see.

<!-- gh-comment-id:252104362 --> @UltimateByte commented on GitHub (Oct 6, 2016): By any means, do you have yum installed as well ? That's the main thing that could fuckup the detection on a debian based distro i see.
Author
Owner

@AxFalcon commented on GitHub (Oct 6, 2016):

neg :)

<!-- gh-comment-id:252109041 --> @AxFalcon commented on GitHub (Oct 6, 2016): neg :)
Author
Owner

@UltimateByte commented on GitHub (Oct 6, 2016):

Well, as usual, my first read was bad. I should never ask fast while on my phone, better have a good read first :p

grep: support for the -P option is not compiled into this --disable-perl-regexp binary

Your issue probably comes from grep missing the -P option, that seem to require perl.
Can you try installing perl ?

<!-- gh-comment-id:252112127 --> @UltimateByte commented on GitHub (Oct 6, 2016): Well, as usual, my first read was bad. I should never ask fast while on my phone, better have a good read first :p grep: support for the -P option is not compiled into this --disable-perl-regexp binary Your issue probably comes from grep missing the -P option, that seem to require perl. Can you try installing perl ?
Author
Owner

@cedarlug commented on GitHub (Oct 7, 2016):

Your original post is lacking some of the key system attributes. Can you please post the output from:

  ./csserver postdetails

You're running debian, but what version? Is the kernel i386-only? Your OP represents a very bizarre system configuration. Is it a container? OpenVZ, LXC, ???

In addition, please post:

which wget
which python
which bzip2
which gzip
dpkg -l | grep ca-certificates
dpkg --print-architecture
dpkg --print-foreign-architectures

Please post the output of the commands above to pastebin.

<!-- gh-comment-id:252126057 --> @cedarlug commented on GitHub (Oct 7, 2016): Your original post is lacking some of the key system attributes. Can you please post the output from: ``` bash ./csserver postdetails ``` You're running debian, but what version? Is the kernel i386-only? Your OP represents a very bizarre system configuration. Is it a container? OpenVZ, LXC, ??? In addition, please post: ``` bash which wget which python which bzip2 which gzip dpkg -l | grep ca-certificates dpkg --print-architecture dpkg --print-foreign-architectures ``` Please post the output of the commands above to pastebin.
Author
Owner

@AxFalcon commented on GitHub (Oct 7, 2016):

Answer cedarlug: It is a VPS from VULTR.com that had the only RT kernel I could find for kernel 3.2, applied to it.

output is follows:

./csserver postdetails
fetching command_postdetails.sh...OK
fetching command_details.sh...OK
[ OK ] Postdetails cs-server: Posting details to hastebin.com for 1W
* url: http://hastebin.com/loqacureje

Answer UltimateByte: Perl seems to be installed as follows:

perl --version
This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi

Thanks.

<!-- gh-comment-id:252144441 --> @AxFalcon commented on GitHub (Oct 7, 2016): **Answer cedarlug:** It is a VPS from VULTR.com that had the only RT kernel I could find for kernel 3.2, applied to it. output is follows: `./csserver postdetails` `fetching command_postdetails.sh...OK` `fetching command_details.sh...OK` `[ OK ] Postdetails cs-server: Posting details to hastebin.com for 1W` `* url: http://hastebin.com/loqacureje` **Answer UltimateByte:** Perl seems to be installed as follows: `perl --version` `This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi` Thanks.
Author
Owner

@cedarlug commented on GitHub (Oct 7, 2016):

@AxFalcon
... and the other stuff that was requested?

AND ACTUAL HASTEBIN OUTPUT!??

(You obviously didn't check it before posting above.)

<!-- gh-comment-id:252145558 --> @cedarlug commented on GitHub (Oct 7, 2016): @AxFalcon ... and the other stuff that was requested? AND ACTUAL HASTEBIN OUTPUT!?? (You obviously didn't check it before posting above.)
Author
Owner

@AxFalcon commented on GitHub (Oct 7, 2016):

From OP:

System is:
3.6Ghz Intel i386
DebianRT 3.2.81-rt117
1Gb RAM etc

Debian 7 64bit and yes it's a container if I have that correct. It is a VPS from VULTR.com. The other stuff I wouldn't know sorry I only just started using debian a few days ago.

If there' more info needed, what's the commands? I know cpu/proc & uname -r (which is already stated above) and that's about it so far. Leme know what commands you need and I'll post :)!

<!-- gh-comment-id:252147704 --> @AxFalcon commented on GitHub (Oct 7, 2016): From OP: System is: 3.6Ghz Intel i386 DebianRT 3.2.81-rt117 1Gb RAM etc Debian 7 64bit and yes it's a container if I have that correct. It is a VPS from VULTR.com. The other stuff I wouldn't know sorry I only just started using debian a few days ago. If there' more info needed, what's the commands? I know cpu/proc & uname -r (which is already stated above) and that's about it so far. Leme know what commands you need and I'll post :)!
Author
Owner

@AxFalcon commented on GitHub (Oct 7, 2016):

In another request, would anyone happen to know which distro below has completely minimal cpu usage and services running that'd be good for just running this gameserver? Here are the choices I have (and I'll try find PREEMPT RT for your suggestions x)

CentOS 6 x64, CentOS 6 i386, CentOS 5 x64, CentOS 5 i386, CentOS 7 x64, Ubuntu 12.04 x64, Ubuntu 12.04 i386, Ubuntu 14.04 x64, Ubuntu 14.04 i386, Ubuntu 16.04 x64, Ubuntu 16.04 i386, Debian 7 x64 (wheezy), Debian 7 i386 (wheezy), Debian 8 x64 (jessie), Debian 8 i386 (jessie), FreeBSD 10 x64, CoreOS Stable, Fedora 24 x64,

Btw we're old pro players from NZ and Australia so that's why we're using PREEMPT RT, we ultimately desire the best reg.

<!-- gh-comment-id:252163594 --> @AxFalcon commented on GitHub (Oct 7, 2016): In another request, would anyone happen to know which distro below has completely minimal cpu usage and services running that'd be good for just running this gameserver? Here are the choices I have (and I'll try find PREEMPT RT for your suggestions x) `CentOS 6 x64, CentOS 6 i386, CentOS 5 x64, CentOS 5 i386, CentOS 7 x64, Ubuntu 12.04 x64, Ubuntu 12.04 i386, Ubuntu 14.04 x64, Ubuntu 14.04 i386, Ubuntu 16.04 x64, Ubuntu 16.04 i386, Debian 7 x64 (wheezy), Debian 7 i386 (wheezy), Debian 8 x64 (jessie), Debian 8 i386 (jessie), FreeBSD 10 x64, CoreOS Stable, Fedora 24 x64,` Btw we're old pro players from NZ and Australia so that's why we're using PREEMPT RT, we ultimately desire the best reg.
Author
Owner

@cedarlug commented on GitHub (Oct 7, 2016):

Closing

Your OP "details" isn't helpful. Reopen if you can post the following requested information:

Output of./csserver pd, NOT RUN AS ROOT

The output @UltimateByte requested regarding yum

The output of running these commands.
which wget
which python
which bzip2
which gzip
dpkg -l | grep ca-certificates
dpkg --print-architecture
dpkg --print-foreign-architectures

None of this is particularly difficult to generate, and all of it relates to your circumstance.

<!-- gh-comment-id:252222452 --> @cedarlug commented on GitHub (Oct 7, 2016): Closing Your OP "details" isn't helpful. Reopen if you can post the following requested information: Output of./csserver pd, NOT RUN AS ROOT The output @UltimateByte requested regarding yum The output of running these commands. which wget which python which bzip2 which gzip dpkg -l | grep ca-certificates dpkg --print-architecture dpkg --print-foreign-architectures None of this is particularly difficult to generate, and all of it relates to your circumstance.
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:406154668 --> @lock[bot] commented on GitHub (Jul 19, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#873
No description provided.