broadbandvoice@comcast.net
2006-Sep-10 12:02 UTC
[asterisk-users] su - postgres -bash-3.00$
I'm trying to install Asterisk billing server and when I put in su - postgres I get this response instead of the password response. -bash-3.00$ -bash-3.00$ -bash-3.00$ Anyone seen this before? I'm using Fedora core 4 and have the same on a local machine that works fine.
On Sun, Sep 10, 2006 at 07:02:12PM +0000, broadbandvoice@comcast.net wrote:> I'm trying to install Asterisk billing server and when I put in su - postgres I get this response instead of the password response. > -bash-3.00$ > -bash-3.00$ > -bash-3.00$Run 'id -a' there and you'll see that you are actually postgress in that shell. su does not ask for a password from root, normally. -- Tzafrir Cohen sip:tzafrir@local.xorcom.com icq#16849755 iax:tzafrir@local.xorcom.com +972-50-7952406 jabber:tzafrir@jabber.org tzafrir.cohen@xorcom.com http://www.xorcom.com
broadbandvoice@comcast.net
2006-Sep-11 05:55 UTC
[asterisk-users] su - postgres -bash-3.00$
Thanks for all the help from Collin, I figured out the postgres database
creation. I now have a different problem trying download files. I get this
error. Maybe wget does not work in Fedora.
[root@sip0 a2billing]# wget
http://www.areski.net/Open_A2Billing_version_Racoon.tar.gz
--05:52:17-- http://www.areski.net/Open_A2Billing_version_Racoon.tar.gz
=> `Open_A2Billing_version_Racoon.tar.gz'
Resolving www.areski.net... 213.186.33.19
Connecting to www.areski.net|213.186.33.19|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
05:52:17 ERROR 404: Not Found.
[root@sip0 a2billing]#
-------------- Original message --------------
From: Collin Baillie <collin@xorotude.com>
> broadbandvoice@comcast.net wrote:
> > Yes it is running
> >
> > postgres 4049 0.0 0.3 20360 3072 ? S May24 0:00
> > /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data
> >
> >
>
> Alright! So if you can do this:
>
> [root@sip0 /]# su - postgres
> [bash-3.00 ~]$ whoami
>
> It should return something like:
>
> postgres
>
> or if you can do:
>
> [bash-3.00 ~]$ id -a
>
> it should return something like:
>
> uid=5000(postgres) gid=5000(postgres) groups=5000(postgres)
>
> Collin
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060911/72b13510/attachment.htm
broadbandvoice@comcast.net
2006-Sep-11 06:16 UTC
[asterisk-users] su - postgres -bash-3.00$
Skipped content of type multipart/alternative-------------- next part -------------- An embedded message was scrubbed... From: broadbandvoice@comcast.net Subject: Re: [asterisk-users] su - postgres -bash-3.00$ Date: Mon, 11 Sep 2006 12:56:11 +0000 Size: 744 Url: http://lists.digium.com/pipermail/asterisk-users/attachments/20060911/abb64ec5/attachment.eml