From: jovino B. <jo...@ue...> - 2015-03-27 23:37:48
|
Karl: You are great! I have put safe mode off no php.ini, restarted httpd and backup function (pg_dump / pg_dumpall) worked fine. The problem is that I have to updated now php version, because newer versions don´t have safe mode option. Today I can´t let it in off mode because I will put de webserver in vulnerable state. I hope I will release backup function by phppgadmin as soon as possible. Matter of fact, last wedsneday, I did a modification in php.ini (safe_mode_allowed_env_vars function), because httpd didn´t let phppgadmin to work with some environmental variables with PG in front of, I mean at first. I could´t realize that the problem was safe_mode option on. Thanks again Karl. -----Mensagem original----- De: Karl O. Pinc [mailto:ko...@me...] Enviada em: sexta-feira, 27 de março de 2015 12:59 Para: jo...@ue... Cc: php...@li... Assunto: Re: [ppa-users] RES: RES: Error trying to do a Postgresql Export using phppgadmin interface Do you have safe_mode enabled? It can prevent program execution. On Fri, 27 Mar 2015 12:14:21 -0300 "jovino Borret" <jo...@ue...> wrote: > Hello Karl, > > Thank you very much for your prompt reply, > > Today I could understand that dbexport.php send error message > too when I try to command (by phppgadmin web interface) a backup of a > simple database. > In this case appears: > > Export error: Failed to execute pg_dump (given path in > your conf/config.inc.php : > /usr/bin/pg_dump). Please, fix this path in your configuration and > relog. > > As I said yesterday, this /usr/bin/pg_dump command works fine in the > line command of Linux. > > So, I am almost certain that there is no problem with /usr/bin/pg_dump > (or /pg_dumpall). > > Thanks. > > > > > > > -----Mensagem original----- > De: Karl O. Pinc [mailto:ko...@me...] Enviada em: quinta-feira, 26 de > março de 2015 23:26 > Para: jo...@ue... > Cc: php...@li... > Assunto: Re: [ppa-users] RES: Error trying to do a Postgresql Export > using phppgadmin interface > > On Thu, 26 Mar 2015 20:54:38 -0300 > "jovino Borret" <jo...@ue...> wrote: > > > So, phppgadmin shows, when I try to do a backup (with any options > > at the phppgadmin interface) : > > > > command is /usr/bin/pg_dumpall -i -a > > Can you run the above command at the command line? > > You tested that your webserver has a working pg_dump, but PPA is > executing pg_dumpall. You need to see if pg_dumpall works on the > webserver. > > (Or at least that's how I'd start.) > > > > > Karl <ko...@me...> > Free Software: "You don't pay back, you pay forward." > -- Robert A. Heinlein > > > --- > Este email está limpo de vírus e malwares porque a proteção do avast! > Antivírus está ativa. http://www.avast.com > > > ---------------------------------------------------------------------- > -------- Dive into the World of Parallel Programming The Go Parallel > Website, sponsored by Intel and developed in partnership with Slashdot > Media, is your hub for all things parallel software development, from > weekly thought leadership blogs to news, videos, case studies, > tutorials and more. Take a look and join the conversation now. > http://goparallel.sourceforge.net/ > _______________________________________________ phpPgAdmin-users > mailing list php...@li... > https://lists.sourceforge.net/lists/listinfo/phppgadmin-users > Karl <ko...@me...> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein --- Este email está limpo de vírus e malwares porque a proteção do avast! Antivírus está ativa. http://www.avast.com |