Re: [ADMIN] pg_dumpall in crontab doesn't work

2002-07-02 Thread Nils Höglund
> 05 22 * * 1-5 postgres /usr/bin/pg_dumpall -D > > /disks/postgres/db.pg_dumpall > connected to template1... > /usr/bin/pg_dumpall: 0: Bad file descriptor Filedescriptor 0 is STDIN. I would guess pg_dumpall want's to read something from stdin, pherhaps ask you a question? -- /Nils Höglund,

Re: [ADMIN] pg_dumpall in crontab doesn't work

2002-07-02 Thread Werner Modenbach
Nils Höglund wrote: > >> 05 22 * * 1-5 postgres /usr/bin/pg_dumpall -D > >> /disks/postgres/db.pg_dumpall >> connected to template1... >> /usr/bin/pg_dumpall: 0: Bad file descriptor > > Filedescriptor 0 is STDIN. I would guess pg_dumpall want's to read something > from stdin, pherhaps ask y

[ADMIN]

2002-07-02 Thread Simeone, Mario
usubscribe su www.tim.it puoi iscriverti gratis alle TimNews, un modo rapido e tempestivo per conoscere le ultime novita di TIM.

[ADMIN] pg_dumpall -> database import -> user problem.

2002-07-02 Thread Preston de Guise
Hi, I've got a problem which I can't find any answers for in the archives (from simple searches at least) or on Google. I'm running Postgres 7.1.3 on RedHat Linux 7.2. What I need to be able to do is this: 1. Dump a production database; 2. Create a development database; 3. Import the production

[ADMIN] unsubscribe

2002-07-02 Thread Simeone, Mario
unsubscribe su www.tim.it puoi iscriverti gratis alle TimNews, un modo rapido e tempestivo per conoscere le ultime novita di TIM. ---

Re: [ADMIN] Authentication in batch processing

2002-07-02 Thread Alfred Anzlovar
[EMAIL PROTECTED] (Bruce Momjian) wrote in message news:<[EMAIL PROTECTED]>... > Password prompting was changed in 7.2.X. You can now pass a script into > psql, and you will be prompted for the password on your terminal rather > than having the password coming from the script. > > The best way

[ADMIN] Too many clients already

2002-07-02 Thread Robson
    Because, on error:      Too many clients already.       Regards,       Robson     from Brazil        

Re: [ADMIN] pg_dumpall in crontab doesn't work

2002-07-02 Thread Guthrie, John
keep in mind that cronjobs don't get your login environment, so things that work in interactive mode often fail in cron unless you make sure to set up the environment there too. john guthrie -Original Message- From: Werner Modenbach [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002

[ADMIN] Compile problem in PostgreSQL v7.2.1

2002-07-02 Thread Alexaki Sofia
Hello, While I try to compile PostgreSQL 7.2.1 I get the following error: .. 0x24 /opt/solaris_pd/PUBgcc-2.8.1/lib/libstdc++.a(streambuf.o) 0x18 /opt/solaris_pd/PUBgcc-2.8.1/lib/libstdc++.a(streambuf.o)

[ADMIN] how to re-configure postgresql-rpm version

2002-07-02 Thread root
I downloaded postgresql 7.2.1 - rpm version, installed it to my Linux machine and inputted some of my data in postgresql. Now I would like to re-configure my postgresql server by increasing --enable-local and --enable-multibyte=UNICODE options. How should I do? I found all document talking ab

[ADMIN] No buffer space

2002-07-02 Thread Rodrigo De la Peña
Nota: El mensaje reenviado fue adjuntado. _ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com --- Begin Message --- hello, i`m a pgsql-admin, mi applications

[ADMIN] pg_dumpall -> database import -> user problem.

2002-07-02 Thread Preston de Guise
Hi, I've got a problem which I can't find any answers for in the archives (from simple searches at least) or on Google. I'm running Postgres 7.1.3 on RedHat Linux 7.2. What I need to be able to do is this: 1. Dump a production database; 2. Create a development database; 3. Import the production

Re: [ADMIN] db connection fails

2002-07-02 Thread Nick Fankhauser
> > Have you tried doing a network connection with your "apache" user? (su - > > apache; psql -h localhost group3.) > > Yes, I've tried it and get the following: > > psql: could not connect to server: Connection refused > Is the server running on host 192.168.1.2 and accepting > TCP/I

Re: [ADMIN] pg_dumpall -> database import -> user problem.

2002-07-02 Thread Tom Lane
Preston de Guise <[EMAIL PROTECTED]> writes: > The procedure that I'm trying is: > pg_dump production > production.dump > dropdb development > createdb development > psql development -f production.dump This looks okay to me. I assume you are running the psql session as the database superuser?

Re: [ADMIN] pg_dumpall in crontab doesn't work

2002-07-02 Thread Tom Lane
Werner Modenbach <[EMAIL PROTECTED]> writes: >> Filedescriptor 0 is STDIN. I would guess pg_dumpall want's to read >> something from stdin, pherhaps ask you a question? >> > But it doesn't ask in interactive (shell) mode. I was going to suggest that it's trying to read a password. Are you sure

Re: [ADMIN] how to re-configure postgresql-rpm version

2002-07-02 Thread BAYET Richard
root wrote: > I downloaded postgresql 7.2.1 - rpm version, installed it to my Linux machine > and inputted some of my data in postgresql. Now I would like to re-configure > my postgresql server by increasing --enable-local and > --enable-multibyte=UNICODE options. How should I do? > I found all

Re: [ADMIN] pg_dumpall in crontab doesn't work

2002-07-02 Thread Werner Modenbach
Guthrie, John wrote: > keep in mind that cronjobs don't get your login environment, so things that > work in interactive mode often fail in cron unless you make sure to set up > the environment there too. > Thanks John, actually I didn't know that :-( In the meantime I added the "http://archiv

Re: [ADMIN] pg_dumpall in crontab doesn't work

2002-07-02 Thread Kevin Brannen
Guthrie, John wrote: > keep in mind that cronjobs don't get your login environment, so things that > work in interactive mode often fail in cron unless you make sure to set up > the environment there too. That is very important to remember! First try adding "< /dev/null" to the command. If tha

Re: [ADMIN] pg_dumpall in crontab doesn't work

2002-07-02 Thread Bruce Momjian
Werner Modenbach wrote: > Guthrie, John wrote: > > > keep in mind that cronjobs don't get your login environment, so things > that > > work in interactive mode often fail in cron unless you make sure to set up > > the environment there too. > > > Thanks John, > > actually I didn't know that :-

Re: [ADMIN] how to re-configure postgresql-rpm version

2002-07-02 Thread Hiroki Takada
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It will be slightly long story. You should obtain SRPM file first, then extract the SRPM file in '/usr/src/redhat/SOURCES' (in RedHat Linux for example) like as, /usr/bin/rpm2cpio (SRPM file) | /bin/cpio -i You could add the compile options to file

Re: [ADMIN] Authentication in batch processing

2002-07-02 Thread Bruce Momjian
Alfred Anzlovar wrote: > [EMAIL PROTECTED] (Bruce Momjian) wrote in message >news:<[EMAIL PROTECTED]>... > > Password prompting was changed in 7.2.X. You can now pass a script into > > psql, and you will be prompted for the password on your terminal rather > > than having the password coming fro

Re: [ADMIN] No buffer space

2002-07-02 Thread Stephan Szabo
On Wed, 26 Jun 2002, [iso-8859-1] Rodrigo De la Peña wrote: > hello, i`m a pgsql-admin, mi applications works, but > after some time or transactions the db falls, when i´m > trying to re-open the db y get this message: > > psql: could not connect to server: No buffer space > avaible; the socket c

Re: [ADMIN] db connection problem

2002-07-02 Thread Robert Treat
See if you can find out if the db is logging errors to a file or just dumping things to standard out. It's pretty dependent on how your db is started, but check if ps -ax shows anything like pg_ctl -l myfile or postmaster > myfile. You might also want to check your postgresql.conf file to see your

Re: [ADMIN] db connection fails

2002-07-02 Thread Nick Fankhauser
Mark- If you're on version 7.1 or higher, the proffered way to turn on tcp/ip is to add "tcpip_socket=true" to postgresql.conf in the data directory. (Then restart.) Details are here: http://www.postgresql.org/idocs/index.php?runtime-config.html Regards, -Nick > -Original Message- > Fr

[ADMIN] Help: URGENT!

2002-07-02 Thread Robson
    Hello,       Exist field type date, question:         With format date 'dd/mm/' ?               Regards,    

[ADMIN] Database directory names

2002-07-02 Thread Kris Deugau
I'm in the final stages of setting up database access for our domain hosting customers. The current system is running PostgreSQL 7.0- with which I haven't met any major problems (other than trying to figure out how to restrict access to each domain's database- solved). However... That box is sl