Apache directory studio 'Open connection' has encountered an error - apache

I'm trying to set up Apache directory studio in my mac, but however when i try to create a connection i get this error "Apache directory studio 'Open connection' has encountered a problem".
I'm following this tutorial, http://directory.apache.org/studio/users-guide/ldap_browser/gettingstarted_create_connection.html. Any help is really appreciated.

A connection being refused will likely mean that either the address and port you are connecting to is being blocked or filtered for whatever reason, or nothing is running on the specified address and port.

I had the same issue with the error,
ldap: error code 49 - INVALID_CREDENTIALS: Bind failed
The cause for this issue is, I had changed the port from 10389 to 10390. Hence, it is trying to connect to old port.
When I changed the 'Connections' port to update value (Ex: 10390) and start the server, the issue resolved.

Related

Apache shutdown unexpectedly wont starting

I have this error above
Apache shutdown unexpectedly.
This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
I change httpd.conf Listen 80 to 8080 port and server name also SSL port on httpd-ssl.conf and not working
Due to many reason this error occurs ,
1) Port block (80,433)
2) php version (x86) , apache(x64) version mismatch vice versa
3) Point correct php version in the system environmental variable
To get detailed error try to run
apache_start.bat
mysql_staer.bat
In my case am facing problem with XAMPP control panel V3.2.4 portable version
It says "apache server root should be valid"
setup_xampp.bat after running this bat file everything solved by itself

Status : Failure -Test failed: IO Error: An existing connection was forcibly closed by the remote host

I have recently downloaded the oracle database 12c enterprise edition. So I got Oracle SQL developer installed with the package. I started to create new database connection as given in the documentation.
My problem is....
When I try to test or connect with the following field values:
Hostname: localhost
Port: 1521
SID: orcl (I have tried 'xe' as well but the error persists.)
I get the following error:
Status: Failure -Test failed: IO Error: An existing connection was forcibly closed by the remote host, connect lapse 15080 ms., Authentication lapse 0 ms.
I have also tried to use different port numbers but the issue remains the same. Don't know what went wrong.
If local server sqlplus connection is fine, and error occurs only for remote client such as sql developer, check your sqlnet.ora file to see if it has tcp.validnode_checking = yes. Valid Node Checking allows or denies access from specified IP addresses to Oracle services. Set tcp.validnode_checking = no and restart database listener should solve issue.
Change the connection setting to Connection Type=Basic and use SID (not Service Name).
If you use Connection Type=TNSNAMES or Service Name instead of SID - the connections will be dropped.

Unable to start OHS component

Middleware: Oracle HTTP Server(OHS)
Version: 12.2.1.3
Configured Oracle HTTP Server(OHS) in standalone mode. Node manager is running perfectly. While starting "./startComponent.sh ohs1" i am getting the below error,
"""
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
Error: Error occurred while performing nmConnect : Cannot connect to Node Manager. : Unrecognized SSL message, plaintext connection?
"""
The solution found in internet is to changing the SecureListener to false in Nodemanager properties file.
When i did that i got the below error,
"""
weblogic.nodemanager.NMConnectException: Connection refused (Connection refused). Could not connect to NodeManager. Check that it is running at localhost/XXX.0.X.X:XXXX.
Error: Error occurred while performing nmConnect : Cannot connect to Node Manager. : Connection refused (Connection refused). Could not connect to NodeManager. Check that it is running at localhost/XXX.0.X.X:XXXX.
"""
And the solution for this is Setting the SecureListener to true in node manager properties file.
I am confused. Can someone help in resolving these errors?
Installed Oracle Access Manager(OAM) and OHS on same machine, but installed OHS in Standalone mode in different folder. After that, uninstalled OHS and Installed OHS in the same folder where i installed OAM, It worked.

Notepad++ NppFTP [SFTP] Connection failed : Error reading socket

Does anyone know why I am unable to connect to my server using the Notepad++ NppFTP plugin with SFTP?
I have a CentOS 6.4 server with SSH on port 22.
When I try and connect using NppFTP I get the following output:
[NppFTP] Everything initialized
Connecting
[SFTP] Connection failed : Error reading socket
Unable to connect
Disconnected
This used to work when I had my SSH port set to 3264 but when I changed the SSH port back to 22 NppFTP stopped working. All the settings for the profile are correct including the right IP, username, password and port (22).
I can connect with SFTP using FileZilla and WinSCP successfully with these same SFTP details and I can connect with SSH using PuTTY.
I can connect with SFTP to other servers using NppFTP so I believe there is an issue in my server config I'm just not sure where or what.
I looked at the access logs but found no attempt at a connection from NppFTP, I turned the firewall off and still nothing.
In the end I got in touch with my server company and it turns out it was a problem on their end. This is what they had to say:
"This was caused by an IPS rule inspecting the network packets coming into the infrastructure, which helps identify brute force attacks."
Very strange, but after they made the change NppFTP can now connect successfully.

While starting Squid on "cmd" it gives a "System error 1067 has occurred"

I am trying to use Squid's (its 2.7STABLE8 version) reverse proxy service on Windows 7. When I try to start squid from "cmd" (as administrator) I get an error message such as;
"The Squid service could not be started
A system error has occurred
System error 1067 has occurred message
The process terminated unexpectedly"
To solve it I tried:
setting "http_port" to 80 and 8080
disabling user account control settings.
and followed the instructions on this website: Configuring a Basic Reverse Proxy in Squid on Windows
However, none of the solutions worked. Therefore if there is any other solution you might know it would be great.
Thanks
I checked my cache.log file, and it was reporting to;
"FATAL: ipcache_init: DNS name lookup tests failed"
Therefore, in the squid.conf file I set my dns_testname to;
"dns_testnames 0.0.0.0"
and it solved my problem.
Try this to check:
squid -k check
I had the same issue.
Just in case it helps someone, I got the same problem and was low disk space.
I made some cleanup and went back on in seconds.
Thanks.
when I check logs, I saw there is not "logs" folder under "c:\squid\var". after I create "logs" folder under there, it starts working. please make sure you have "c:\squid\var\logs"
My error it was the same.
My solution was: check the log in C:\squid\var\logs in the file chache, and i found this;
commBind: Cannot bind socket FD 14 to 192.168.3.12:3128: (10049) WSAEADDRNOTAVAIL, Cannot assign requested address.
FATAL: Cannot open HTTP Port
In a last time, i change the dir IP of my server, this was the origin of my trouble. In the file C:\squid\etc\squid.conf i change it again, and it solve of my.