yes as Benoit mentioned your installation is somehow messed up, you should be able to start postgresqld service by typing service postgresqld start. But since you can still start pgsql by pointing out where the conf filess try this: try editing pg_hba.conf located at /var/lib/pgsql/data/ add or edit following line to read
<br><br>if you want to use md5 put this<br><br><span style="font-style: italic; font-weight: bold;">host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; all&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; all&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://127.0.0.1/32">127.0.0.1/32</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; md5 </span><br><br>or you can put this to enable localhost to access without any encryption.
<br><br style="font-weight: bold;"><span style="font-style: italic; font-weight: bold;">host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; all&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; all&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://127.0.0.1/32">127.0.0.1/32</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; trust<br><br></span>the default format is this
<br><br>host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; database&nbsp;&nbsp;&nbsp; user&nbsp;&nbsp;&nbsp; IP-address&nbsp;&nbsp;&nbsp;&nbsp; IP-mask&nbsp;&nbsp;&nbsp;&nbsp; Authentication-method&nbsp;&nbsp;&nbsp;&nbsp; [authentication-option]<br><br>then restart postgresql and apache service. <br>If you want more information on editing that file take a look at the documentation at pgsql site
<br><a href="http://www.postgresql.org/docs/7.3/static/client-authentication.html">http://www.postgresql.org/docs/7.3/static/client-authentication.html</a><br><br><br><div><span class="gmail_quote">On 8/25/06, <b class="gmail_sendername">
Benoit Gregoire</b> &lt;<a href="mailto:bock@step.polymtl.ca">bock@step.polymtl.ca</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Friday 25 August 2006 03:16, Rajendra Jagad wrote:<br>&gt; When I try to start the postgres service from<br>&gt; system&gt;admin&gt;serversetting&gt;service It never starts<br>&gt; when I open xterm and type &gt;postgres on it says it cannot find the
<br>&gt; configuraiton file If I start manually using option -D<br>&gt; /usr/local/pgsql/data it drops me into the backend if I specife DB name and<br>&gt; user I am in the database I can create tables etc but install.php
 is still<br>&gt; unable to connect and I am still unable to start the service postgres<br>&gt; I try editing .bashrc and $PATH=/usr/local/pgsql/data but still no luck<br>&gt; So I can manually start the data base but not automatic.
<br>&gt;<br>&gt; ANy ideas..<br><br>You have two different problems.&nbsp;&nbsp;First you did not install your<br>distributions, hence it doesn't start properly and with the right permissions<br>from your distribution's init subsystem.&nbsp;&nbsp;You should only install and run
<br>postgres from source if you really know what you are doing.<br><br>Once you fix that, you need to add permission in pg_hba.conf to use md5<br>password based authentication, at least for the wifidog user on localhost.<br>
<br>&gt; Bye the way the user who logs into the Linux Box must have ownership of<br>&gt; pgsql dir and all it child otherwise it compains about the permission.<br><br>Off course, but the user who logs in the linux box should normally never be
<br>the one who runs postgres.<br><br><br>_______________________________________________<br>WiFiDog mailing list<br><a href="mailto:WiFiDog@listes.ilesansfil.org">WiFiDog@listes.ilesansfil.org</a><br><a href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog">
http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</a><br><br></blockquote></div><br>