Re: URGENT! Dialupadmin "Could not connect to SQL database"

2006-09-01 Thread Guilherme Franco
Thanks,I've already managed to make it work using oracle instant client and custom tnsnames.ora. I was using the entire oracle enterprise install before and it didn't work! Crazy, but it's working now.Thanks. On 9/1/06, Edoardo Causarano <[EMAIL PROTECTED]> wrote: Make sure you pass the checklist o

Re: URGENT! Dialupadmin "Could not connect to SQL database"

2006-09-01 Thread Edoardo Causarano
Make sure you pass the checklist on http://ora-12154.ora-code.com/ Personally I've seen oracle clients that suddenly refuse to work because it decides that it wants ip<->name mappings. Usually a trip to the dns or /etc/hosts solves the probe On 31/ago/06, at 16:38GMT+02:00, Guilherme Franco wrote:M

Re: URGENT! Dialupadmin "Could not connect to SQL database"

2006-08-31 Thread Guilherme Franco
Ok Peter,It's 10g.But why my test.php worked in cli mode, even without the sqlplus working?Another test, in oracle/functions.php3, I changed the $config[sql_username] for the real username. After doing that, I can see communications with the oracle server with tcpdump, but the pages appears blank..

Re: URGENT! Dialupadmin "Could not connect to SQL database"

2006-08-31 Thread Peter Nixon
We made the changes to dialup_admin to make it work with oracle, however I am afraid you are going to have to solve the problems with your Oracle installation yourself. The first thing you need to do is get sqlplus working, then PHP. For your info, we have it working fine with Oracle 10g. If yo

Re: URGENT! Dialupadmin "Could not connect to SQL database"

2006-08-31 Thread Guilherme Franco
Mr. Peter,I did a test right now with the command line "php", for example "php test.php" and it works!test.php is a program I've created to retrieve some tables from the oracle server. (tcpdump  in oracle server shows traffic correctly this way) But when I try to open test.php from the apache web p

Re: URGENT! Dialupadmin "Could not connect to SQL database"

2006-08-31 Thread Guilherme Franco
Hello,Yes, I configured it with the option "--with-oci8", and phpinfo() shows oci8 support as enabled.This machine (dialupadmin server) is standalone (oracle in other server and radius in other). I'm trying to use sqlplus from the dialupadmin server but it gives me either ORA-12546 TNS permission d

Re: URGENT! Dialupadmin "Could not connect to SQL database"

2006-08-31 Thread Peter Nixon
On Thu 31 Aug 2006 16:17, Guilherme Franco wrote: > URGENT! > > Hi, > > I'm getting this error *Could not connect to SQL database. *in dialupadmin. > (using OCI8 with ORACLE) > * > *Radiusd connects to Oracle without any problems, dialupadmin don't. Does your PHP module have Oracle support? --

URGENT! Dialupadmin "Could not connect to SQL database"

2006-08-31 Thread Guilherme Franco
URGENT!Hi,I'm getting this error Could not connect to SQL database. in dialupadmin. (using OCI8 with ORACLE) Radiusd connects to Oracle without any problems, dialupadmin don't.Please help.Thank you. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html