LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-25-2003, 07:05 AM   #1
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
safe_mysqld:command not found


Hello all,

Trying to get a simple website up and running from my home but mysql is being a pain in my butt.

It installed fine and all that. When I try running safe_mysqld& as root I get:
Code:
/usr/bin/safe_mysqld: line 162: 5: command not found
Starting mysqld daemon with databases from /usr/var
030124 19:42:44  mysqld ended
The relevant section from the script is:
Code:
NOHUP_NICENESS="nohup"
if test -w /
then
  NOHUP_NICENESS=`nohup nice 2>&1`
  if test $? -eq 0 && test x"$NOHUP_NICENESS" != x0 && nice --1 echo foo > /dev/null 2>&1
  then
    if $NOHUP_NICENESS -gt 0
    then
      $NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup"
    else
      NOHUP_NICENESS="nice -$NOHUP_NICENESS nohup"
    fi
  else
   NOHUP_NICENESS="nohup"
  fi
fi
And line 162:5 is "if"?!?!?
(if $NOHUP_NICENESS -gt 0)
I have tried everything I can think of and can't think of anything else to troubleshoot. I am using Arch Linux on a i686.

TIA
 
Old 01-25-2003, 08:45 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Original Poster
Rep: Reputation: 78
OK, I just downloaded and installed a newer version and it works. I am still curious why it didn't before though if you know...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: <command name> command not found smash Programming 5 03-13-2006 09:48 AM
unable to locate safe_mysqld ziggie216 Linux - Software 1 06-14-2004 09:29 PM
safe_mysqld end PJHAMVS Linux - Distributions 10 11-02-2003 11:27 PM
how to set safe_mysqld as default correro Linux - Software 0 03-12-2003 09:39 PM
Do u know how can 'safe_mysqld' work? thep Linux - Newbie 0 04-13-2001 10:32 AM


All times are GMT -5. The time now is 04:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration