Just started using Firebird with Delphi XE. Need some help connecting to the server from a client machine.
I can ping the server, so there is a connect. but when I run isql.exe from the firebird/bin folder to test the connection I get a "statement failed, sqlstate=08006, unable to complete network request to host geith -failed to establish a network connection". pinging geith works so I don't understand that error.
My connection statement is Connect geith:geidata user sysdba password masterkey;
This works and I get a connect when run on the server, but not the client machine.
I have made sure that fbclient.dll and gds32.dll are in windows/system32 folder.
I install Firebird 2.5 client only on the client mach. I don't see it running as a process in taskmanager. Is there something that I need to do to start the client service?
Both are XP mach, Firebird SuperServer 2.5, also have temp taken down firewall
Insert a firewall except for port 3050
Add Windows Firewall Settings.
Go to Start --> control panel --> Windows Firewall --> goto Exceptions tab -- > Click Add Program --> and select C:\Program Files\Firebird\Firebird_2_5\bin\fbguard.exe
same way add C:\Program Files\Firebird\Firebird_2_5\bin\fbserver.exe
now Restart you system
and check from client to server firebird connection.
for window7 Windows Firewall --> Inbound Rules --> Add new rules --> add fbguard.exe and fbserver.exe
Related
Currently our users are following below process to connet to redshiftdata warehouse cluster.
1. Open putty --> add jumphost
2. putty --> connection --> data ---> "Auto-login username"
3. putty --> connection --> SSH ---> Auth ---> allow agent forwading
4. putty --> connection --> tunnels ---> {provide source port,destination,add button}
5. After above setting open and then run 2 static commands
As users not tech savvy they dont want to use putty and do above configuration.
So i want to automate this using a script which should take username (step#2),inputs from step #4.
Users will run this script and create tunnel to warehouse.
Need some references or guidance to achieve this with batch script.
You can install OpenSSH and use all its commands. There is also a Powershell SSH module which leverage .NET available via PSGallery:
https://www.powershellgallery.com/packages/Posh-SSH
I have installed JBOSS developer studio 8.1.0 and also I have installed Jboss developer stack integration plugins for JBOSS FUSE developement.
Here the problem arises.To access the JBOSS fuse console I have to create a user in shell tab by connecting the FUSE SERVER.But whenever I enter the server credentials,it displays as SSH client error(Error connecting to the local host).can connect to the JBOSS FUSE console,but to access it I have to create a user name and password in shell tab.
ERROR:
Error connecting jboss.4iapps.local:8101 : SSH client error: SSH_MSG_DISCONNECT: 2 Session has timed out waiting for authentication after 120000 ms.
NOTE:I have already uncommented the admin user from the user.properties file and also chaned the IP in org.apache.karaf.management file.
Please help me regarding this.
Regards,
Janaarthanan
Suppose I can log in to a gpu sever named gpu1.sp.sw, and there are gpu2.sp.sw and gpu3.sp.sw to which I cannot log in directly but can be reached by ssh gpu-2, ssh gpu-3, after I am already on gpu1.sp.sw.
My question is: If I want NSight 6.5 to run and debug remotely on gpu-2 or gpu-3, how can I do it?
As workaround you can use ssh tunnels: run something like
ssh gpu1.sp.sw -L2202:gpu2.sp.sw:22 -L2345:gpu2.sp.sw:2345 -nNT
in background console. Then configure NSight remote debugging to connect to server localhost, ssh port 2202 and cuda-gdbserver port 2345.
I just downloaded Netbeans IDE7 with the Glassfish 4.
I just made a project to test it out and see how it goes, and I got this error right from the start:
Could not start GlassFish Server: DAS port is occupied while server is not running
[location]: Deployment error: Could not start GlassFish Server: DAS port is occupied while server is not running
See the server log for details.
BUILD FAILED (total time: 1 second)
I have reinstalled it three times, with the Glassfish and without and then later add it to Netbeans, i changed the domain.xml name="admin-listener" port="4848" to something different
i did this cmd code netstat -aon | find ":80" | find "LISTENING" and closed the programm.
i ran as administrator i think i did almost everyting but it wont simply run, and it keeps returning to the same error
usually i would have given up but this software is required for a school project.
i will try everything.
i hope someone can help me.
Thx in advance
You have to find the process that has taken the port you need. You can try finding it by running the terminal with the command:
netstat -aon | find ":80" | find "LISTENING"
Find the information you need and than kill the process with specific PID in Task Manager.
I hope you find this useful,
Thanks.
A few points:
Why not download NetBeans 8 that also includes GlassFish 4?
Assuming that you have successfully figured out that no other process is listening on port 4848, then Which version of the JDK are you using? Can you try JDK 7 if you are using JDK 8?
Looks like you are not alone - see NetBeans bug 237477.
Note that this isn't the only problem. I run on a Mac and can use the asadmin start command successfully on the remote server. IF I try to start it from NetBeans, it gives me this message.
One hint might be that the domain.xml file is set so that the listening port is 9090, the properties screen for the remote server, which I entered 9090 for, tells me the HTTP port is 23043. I can't edit it. Everytime I try to create that remote server it sets it to this value. The server will run fine if I start it by hand on the remote server, but NetBeans doesn't think it is running.
This occurs because I had to select domain2 because NetBeans says domain1 is already registered on my local machine. I wanted to have a local domain1 and a remote domain1 that are identical so I can test locally, and then deploy remotely.
This error message could be misleading, because it is the same when IP adress of glassfish server in netbeans settings is wrong (not port).
By my experience with this over win 8.1 + Netbeans 8.0 + Glassfish 4.0
The problem resides in permission of folder in windows that block the server execution
I solve the problem changing the permission of the glassfish/domain/domain1 folder for xxxx/user to totalcontrol
If this not solve your problem, try launch the server over console:
asadmin start-domain --verbose
And read the exceptions to try solve the problem.
-EDIT:
Reading other post to try help:
like this: Glassfish server started failed in netbeans 6.9
Or check your firewall:
allow >> C:\Program
Files\glassfish-X.X\glassfish\modules\glassfish.jar
In my case when using the command
netstat -aon | find ":4848" | find "LISTENING"
I noticed that one process was occupying this port. When checked what it was I noticed it was VMWare NAT controller, because I previously had configured a network adapter to listen to this port.
Just stopped all VMWare related services (in my case I didn't need them for development purposes), and solved the problem.
Go to Task Manager -> Services -> Stop Process whose PID IS 3136,2268,2468 ,23.... and near Range in PID. All processes near to the web server's PID.
It works for me on Windows 8.1 pro & Windows 7.
I had the same error message.
Turned out it was caused because my firewall blocked port 4848
May be late but I solved this issue by deleting the app server from the Netbeans and by adding it again. In my case Netbeans 8.2 and Payara 4.1 instead of Glassfish.
If you changed the host of Glassfish server then set it to localhost it should work.
I'm trying to set netBeans remote project and I'm having pretty much trouble with it. I've started a PHP Application from Remote Server and in the last confirmation step it throws error on me.
No files available for download. Try to check Passive mode in the remote configuration.
In the log output it fails there:
> 215 UNIX Type: L8
> PORT 192,168,5,217,196,73
> 500 Illegal PORT command.
Did anyone have same problem with setting up remote connection? Please help.
To establish an FTP connection, choose either of the options below:
Turn off the Windows firewall.
Configure Windows Firewall for a passive mode FTP server as follows:
Open an Administrator command-prompt.
Click Start > All Programs > Accessories.
Right-click Command Prompt, and then click Run as Administrator.
Run the following command:
netsh advfirewall firewall add rule name=FTPService action=allow service=ftpsvc protocol=TCP dir=in
Disable stateful FTP filtering so that the firewall does not block any FTP traffic:
netsh advfirewall set global StatefulFTP disable
This seems to be the top answer whenever anyone is looking for how to set netbeans into passive mode. Despite the advice always being "set the ftp into passive mode" for those using Mac OS and Netbeans you may never seem to find it.
Right click on the project
Select Properties
Select Run Configurations
Select Manage
Select your_ftp_connection on the left column
Scroll down
The only way I fixed this was to switch to using SFTP. This obviously requires that you've set up SFTP (FTP over SSH) access to your server.
In the Run Configuration, when it asks you for the Remote Connection:
Click on 'Manage'
Click on 'Add...'
Select SFTP as the connection type
Fill in the rest of the details as if it were a normal FTP connection.
Turning plain FTP Netbeans connection into passive mode solved the problem for me.
Please Check Passive Mode; i had faced the same issue; after checking it; resolve this issue.
There is no way to find the passive mode in a OSX. It's a Netbeans bug... So I won't be able to develop on netbeans using my Mac. Already tried to download last version.
For me the solution was to check Passive Mode on the client and to do following things on the server side
in /etc/vsftpd.conf
pasv_enable=Yes
pasv_max_port=10100
pasv_min_port=10090
then in terminal
iptables -I INPUT -p tcp --destination-port 10090:10100 -j ACCEPT
service iptables save
service vsftpd restart