LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-01-2004, 07:17 AM   #1
ukrainet
Member
 
Registered: Nov 2004
Posts: 107

Rep: Reputation: 15
invalid binary "/usr/bin/postgres" while running postgresql


My website has ceased to function. I have found the following:
Thu Nov 25 [192.168.0.9] error invalid metod in request x80L\x01\x03
cannot remove module mod_userdir.c not found in module list
Apache configured - resuming normal operations
Accept mutex: sysvsem (Default: sysvsem) in error_log
"\x80L\x01\x03" 501
"\x80L\x01\x03" 501 "-" "-" in access_log of apache web-server
Mon Nov 29 09:50 2004 [error] [client 207.46.98.75] File does not exist:/var/www/sites/...
Mon Nov 29 09:50 2004 [error] mod_ruby: error in ruby
/var/www/sites/... 'connect': could not connect to server: connection refused
Is the server running on host localhost and accepting TCP/IP connection on port 5432? in error_log of website
I tried to start
/etc/rc.d/init.d/postgresql start
But has received
Checking postgresql installation: starting postgresql service: FindExec: invalid binary "/usr/bin/postgres"
Fatal 1:/usr/bin/postmaster: could not locate executable, bailing out... failed

How to adjust work postgresql and a website?
 
Old 12-01-2004, 08:36 AM   #2
ukrainet
Member
 
Registered: Nov 2004
Posts: 107

Original Poster
Rep: Reputation: 15
Thu Nov 25 [192.168.0.9] error invalid metod in request x80L\x01\x03
cannot remove module mod_userdir.c not found in module list
Apache configured - resuming normal operations
Accept mutex: sysvsem (Default: sysvsem)
192.168.0.9 IP-address in LAN
/var/www/sites/credo-capital.com/logs/error_log
Mon Nov 29 09:50 2004 [error] [client 207.46.98.75] File does not exist:/var/www/sites/...
Mon Nov 29 09:50 2004 [error] mod_ruby: error in ruby
/var/www/sites/... 'connect': could not connect to server: connection refused (SQL::ConnError)
Is the server running on host localhost and accepting TCP/IP connection on port 5432?

There 3 sites in/var/www/sites/: credo-capital.com, mail.credo-capital.com, tc.credo-capital.com. tc.credo-capital.com works quite good.

My friend (sysadmin too) has advised me to start postgresql on the basis read in /var/www/sites/credo-capital.com/logs/error_log

I tried to start
/etc/rc.d/init.d/postgresql start
But has received
Checking postgresql installation: starting postgresql service: FindExec: invalid binary "/usr/bin/postgres"
Fatal 1:/usr/bin/postmaster: could not locate executable, bailing out... failed
 
  


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
"/usr/bin/ls: reading directory .: Input/output error" DiZi Slackware 15 07-13-2008 10:03 AM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
"accidently deleted every program in /usr/bin that begins with the letter m*" behmjoe Linux From Scratch 1 04-15-2005 08:42 AM
what does "prog7.c:11: error: invalid operands to binary %" mean hubabuba Programming 6 11-16-2004 11:13 AM
what is "S" instead of "X" in the file permission when i look at /usr/bin/chsh? Linux_interest Linux - Newbie 4 08-28-2004 09:22 AM


All times are GMT -5. The time now is 05:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration