Thread: Installing PostgreSQL in a Unix Platform

Installing PostgreSQL in a Unix Platform

From
Eyinagho Newton
Date:

It has been impossible to install PostgreSQL, an open
source software, from my SUSE 8.0 . Although it tells
you its been installed, each time i try to start it
using SysV-Init Editor, i get the following message:

<start>starting</start><cmd>/etc/init.d/postgresql</cmd>""<br/>
starting postgreSQL
/etc/init.d/postgresql.checkproc:command not found
....done

What exactly am i doing wrong? Or better still, what
haven't i done yet? Please help me

Newton Eyinagho


    
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 


Re: Installing PostgreSQL in a Unix Platform

From
"Joshua D. Drake"
Date:
Hello,

If you are compiling from source then the postgresql startup script does 
not get installed.
You can use pg_ctl in /usr/local/pgsql/bin/pg_ctl to start postgresql. 
Alternatively you
can install the startup script from the contrib directory startscripts/linux

Sincerely,

Joshua D. Drake

Eyinagho Newton wrote:

>It has been impossible to install PostgreSQL, an open
>source software, from my SUSE 8.0 . Although it tells
>you its been installed, each time i try to start it
>using SysV-Init Editor, i get the following message:
>
><start>starting</start><cmd>/etc/init.d/postgresql</cmd>""<br/>
>starting postgreSQL
>/etc/init.d/postgresql.checkproc:command not found
>....done
>
>What exactly am i doing wrong? Or better still, what
>haven't i done yet? Please help me
>
>Newton Eyinagho
>
>
>
>    
>        
>__________________________________
>Do you Yahoo!?
>New and Improved Yahoo! Mail - 100MB free storage!
>http://promotions.yahoo.com/new_mail 
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
>      subscribe-nomail command to majordomo@postgresql.org so that your
>      message can get through to the mailing list cleanly
>  
>


-- 
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL



Re: Installing PostgreSQL in a Unix Platform

From
Eyinagho Newton
Date:
Dear Drake,

Thanks for your response and suggestions on what i
should do to solve the above problem.

I have tried it and here are the results i had:

doing a cd  /usr from the command line took me into
usr directory. However when i tried to do another 
cd  /local from the above resulting command line, i
got the following error:

bash: cd: /local: no such file or directory.

I later tried to change directory again to 'bin' and
therein i found 'pg_ctl' . However, when i tried to
click on it, i got a display message with the words
'couldn't find the program "pg_ctl" . Again, i tried
to enter shell command as a superuser, and through it
executed the following shell command cd /usr and then
cd /bin. When in the bin directory, i did an 'ls'
command but couldn't find pg_ctl. I suspect that it
truely wasn't installed.

What should i do next please?


Cheers,

Newton Eyinagho






--- "Joshua D. Drake" <jd@commandprompt.com> wrote:

> Hello,
> 
> If you are compiling from source then the postgresql
> startup script does 
> not get installed.
> You can use pg_ctl in /usr/local/pgsql/bin/pg_ctl to
> start postgresql. 
> Alternatively you
> can install the startup script from the contrib
> directory startscripts/linux
> 
> Sincerely,
> 
> Joshua D. Drake
> 
> Eyinagho Newton wrote:
> 
> >It has been impossible to install PostgreSQL, an
> open
> >source software, from my SUSE 8.0 . Although it
> tells
> >you its been installed, each time i try to start it
> >using SysV-Init Editor, i get the following
> message:
> >
>
><start>starting</start><cmd>/etc/init.d/postgresql</cmd>""<br/>
> >starting postgreSQL
> >/etc/init.d/postgresql.checkproc:command not found
> >....done
> >
> >What exactly am i doing wrong? Or better still,
> what
> >haven't i done yet? Please help me
> >
> >Newton Eyinagho
> >
> >
> >
> >    
> >        
> >__________________________________
> >Do you Yahoo!?
> >New and Improved Yahoo! Mail - 100MB free storage!
> >http://promotions.yahoo.com/new_mail 
> >
> >---------------------------(end of
> broadcast)---------------------------
> >TIP 3: if posting/reading through Usenet, please
> send an appropriate
> >      subscribe-nomail command to
> majordomo@postgresql.org so that your
> >      message can get through to the mailing list
> cleanly
> >  
> >
> 
> 
> -- 
> Command Prompt, Inc., home of Mammoth PostgreSQL -
> S/ODBC and S/JDBC
> Postgresql support, programming shared hosting and
> dedicated hosting.
> +1-503-667-4564 - jd@commandprompt.com -
> http://www.commandprompt.com
> PostgreSQL Replicator -- production quality
> replication for PostgreSQL
> 
> 


    
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush


Re: Installing PostgreSQL in a Unix Platform

From
Mischa Sandberg
Date:
Ummm .... time to get a 'Unix in 21 days' book,
because what you're relating indicates you are battling with
some beginner basics:

Try:
$ cd /usr/local
or:$ cd /usr$ cd local
not:$ cd /usr$ cd /local

And you can't execute a program in the current directory
(like DOS) unless you explicitly have '.' in your $PATH.
It would have executed if you'd entered:
$ ./pg_ctl

... but I STRONGLY suggest that, until you understand
why, you do not continue with what you're doing, but
rather, learn the Unix basics first.


Eyinagho Newton wrote:
> Dear Drake,
> 
> Thanks for your response and suggestions on what i
> should do to solve the above problem.
> 
> I have tried it and here are the results i had:
> 
> doing a cd  /usr from the command line took me into
> usr directory. However when i tried to do another 
> cd  /local from the above resulting command line, i
> got the following error:
> 
> bash: cd: /local: no such file or directory.
> 
> I later tried to change directory again to 'bin' and
> therein i found 'pg_ctl' . However, when i tried to
> click on it, i got a display message with the words
> 'couldn't find the program "pg_ctl" . Again, i tried
> to enter shell command as a superuser, and through it
> executed the following shell command cd /usr and then
> cd /bin. When in the bin directory, i did an 'ls'
> command but couldn't find pg_ctl. I suspect that it
> truely wasn't installed.
> 
> What should i do next please?
> 
> 
> Cheers,
> 
> Newton Eyinagho
> 
> 
> 
> 
> 
> 
> --- "Joshua D. Drake" <jd@commandprompt.com> wrote:
> 
> 
>>Hello,
>>
>>If you are compiling from source then the postgresql
>>startup script does 
>>not get installed.
>>You can use pg_ctl in /usr/local/pgsql/bin/pg_ctl to
>>start postgresql. 
>>Alternatively you
>>can install the startup script from the contrib
>>directory startscripts/linux
>>
>>Sincerely,
>>
>>Joshua D. Drake
>>
>>Eyinagho Newton wrote:
>>
>>
>>>It has been impossible to install PostgreSQL, an
>>
>>open
>>
>>>source software, from my SUSE 8.0 . Although it
>>
>>tells
>>
>>>you its been installed, each time i try to start it
>>>using SysV-Init Editor, i get the following
>>
>>message:
>>
>><start>starting</start><cmd>/etc/init.d/postgresql</cmd>""<br/>
>>
>>>starting postgreSQL
>>>/etc/init.d/postgresql.checkproc:command not found
>>>....done
>>>
>>>What exactly am i doing wrong? Or better still,
>>
>>what
>>
>>>haven't i done yet? Please help me
>>>
>>>Newton Eyinagho
>>>
>>>
>>>
>>>    
>>>        
>>>__________________________________
>>>Do you Yahoo!?
>>>New and Improved Yahoo! Mail - 100MB free storage!
>>>http://promotions.yahoo.com/new_mail 
>>>
>>>---------------------------(end of
>>
>>broadcast)---------------------------
>>
>>>TIP 3: if posting/reading through Usenet, please
>>
>>send an appropriate
>>
>>>     subscribe-nomail command to
>>
>>majordomo@postgresql.org so that your
>>
>>>     message can get through to the mailing list
>>
>>cleanly
>>
>>> 
>>>
>>
>>
>>-- 
>>Command Prompt, Inc., home of Mammoth PostgreSQL -
>>S/ODBC and S/JDBC
>>Postgresql support, programming shared hosting and
>>dedicated hosting.
>>+1-503-667-4564 - jd@commandprompt.com -
>>http://www.commandprompt.com
>>PostgreSQL Replicator -- production quality
>>replication for PostgreSQL
>>
>>
> 
> 
> 
> 
>         
> _______________________________
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.
> http://promotions.yahoo.com/goldrush
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>