LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 06-22-2005, 07:39 AM   #1
ukrainet
Member
 
Registered: Nov 2004
Posts: 107

Rep: Reputation: 15
Question Why after start of a command the invitation for input next command has not appeared.


Why after start of a command the invitation for input next command has not appeared. For example. postgres @ core.pgsql. But only the flickering cursor.
 
Old 06-22-2005, 07:46 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
So if you start something like firefox from a console like this:

philip@debian:~$ firefox

why you don't get a next command? That's because the program is still running. If you want it started (in the background I think it's called) run it like this "firefox &" then you can do a new command.
 
Old 06-24-2005, 04:50 AM   #3
ukrainet
Member
 
Registered: Nov 2004
Posts: 107

Original Poster
Rep: Reputation: 15
I have run:
postmaster -D /var/pgsql/data &
as postgres and get:
Debug: ...
Debug: ...
Debug: ...
Debug: ...
and no
postgres@core:~$
again.
 
Old 06-24-2005, 09:16 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,152

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
postmaster is still sending its log to the terminal. What you want is:

postmaster -D /usr/local/pgsql/data >logfile 2>&1 &

Where logfile is the name of the file where the log is saved.

Was postgresql installed with the OS or did you install it from source?

Last edited by michaelk; 06-24-2005 at 09:17 AM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java - how do you input from the command line zeviddalop Programming 4 11-10-2004 12:59 PM
Start Command David@330 Linux - Newbie 5 10-19-2004 12:29 PM
How to start up in to command line? prettyhatem Linux - Newbie 5 09-07-2004 03:01 PM
how to use the output of a file for input of a command sneak Linux - General 2 05-12-2004 10:21 AM
start with a command prompt Bashkir Linux - General 1 05-14-2001 09:29 AM


All times are GMT -5. The time now is 02:38 AM.

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