Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux install fails when x0rfbserver program is running [CORE1104] #1524

Closed
firebird-automations opened this issue Jan 22, 2007 · 8 comments
Closed

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: mbabuskov (mbabuskov)

When Linux machines have x0rfbserver running (it provides VNC server for user's current X session, so it is not that uncommon), the Firebird's script:

scripts/preinstall.sh

checks for running fbserver/ibserver like this:

ps -efww | egrep "(fbserver|fbguard)" | grep -v grep

The problem is that "x0rfbserver" contains word "fbserver", and installer refuses to run. I had no trouble fixing it myself, but I suppose some novice users would have a hard time.

Solution:

There are various approaches to the problem. One is to use pidof, for example. Or, grep itself could be improved to detect fbserver only when it is a single word, this seems to work fine:

ps -efww | egrep "\b(fbserver|fbguard)\b" | grep -v grep

Commits: 6c87578

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Patch applied

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.0.1 [ 10090 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @pmakowski

Q/A tested ok

@firebird-automations
Copy link
Collaborator Author

Modified by: @pmakowski

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 11533 ] => Firebird [ 15093 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Cannot be tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment