LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-19-2019, 04:57 PM   #1
vinmansbrew
Member
 
Registered: Feb 2016
Posts: 65

Rep: Reputation: Disabled
oracle internet directory help


So, I need to see if anyone here knows much about Oracle's internet directory software. It was installed and is performing ldap duties. It is on a rhel 6.10 server, and the software version is 11g.
So, currently we have a solaris server, but different software, doing ldap. I have another server that I have a perl script on. This script queries the ldap server for names, based on employment roles, and then drops them in a nice little file. Well this old server is going away and so I need to see about getting the scripts to do the same with the new ldap server.
I think I have everything correct in the script, but when I run it, I get a:
IO::Socket::INET: connect: Connection refused at ./newpeople.pl line 105, <DATA> line 522.

Seeing as how connection is refused, I think it is something on the ldap server. There is currently no firewall on either server, and the nerwork guy things whatever ports need to be open, should be. Same as what it was using before, anyways.

I know this is very little really go off of. The server logs show nothing wrong. I don't know the oracle log location, I didn't set it up. The guy that did, left last week before figuring this out.

So, I've given the info that I currently have.

If anyone has used OID, and either has an idea, or knows the log location, let me know.

Thanks
 
Old 08-19-2019, 05:04 PM   #2
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.6
Posts: 3,824

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
Quote:
Originally Posted by vinmansbrew View Post
I think I have everything correct in the script, but when I run it, I get a:
IO::Socket::INET: connect: Connection refused at ./newpeople.pl line 105, <DATA> line 522.

Seeing as how connection is refused, I think it is something on the ldap server. There is currently no firewall on either server, and the nerwork guy things whatever ports need to be open, should be. Same as what it was using before, anyways.

I know this is very little really go off of. The server logs show nothing wrong. I don't know the oracle log location, I didn't set it up. The guy that did, left last week before figuring this out.

So, I've given the info that I currently have.

If anyone has used OID, and either has an idea, or knows the log location, let me know.

Thanks
I'd start debugging by outputting what the connection command on line 522 is using to connect.
I agree that the connection is being refused, but you have to do some debugging of the perl code to find out why.

I don't know where the logs are, but Oracle or RedHat support should be able to help you with that.
 
Old 09-04-2019, 10:06 AM   #3
tyler2016
Member
 
Registered: Sep 2018
Distribution: Debian, CentOS, FreeBSD
Posts: 233

Rep: Reputation: Disabled
Just do an lsof -p pid on the process as the directory server user or root. Connection refused usually means there is nothing listening on that port at that address, although some firewalls will respond with that rather than silently dropping packets.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between Oracle Server and Oracle Database ganninu Programming 3 02-27-2007 01:06 AM
xhost + as user oracle not working, need to see oracle install GUI enzo250gto Linux - Software 2 02-11-2007 11:27 AM
LXer: Oracle Enhances Oracle Validated Configurations With More Solutions and New Partners to Help Deploy Linux Faster LXer Syndicated Linux News 0 08-16-2006 06:54 PM
Changing Oracle user password will affect oracle db? sathyguy Linux - Newbie 1 02-11-2006 06:34 PM
Oracle 9i client with Oracle 8i server ganninu Programming 1 02-19-2004 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration