I cannot connect to one particular IBM i server #2469
Replies: 2 comments 1 reply
-
This is concerning! From a pase shell, what happens if you run this command: Here is my output:
|
Beta Was this translation helpful? Give feedback.
-
@worksofliam, well done, you've got it! $ echo "which system" | /usr/bin/qsh
qsh: 001-0019 Error found searching for command which. No such path or directory.
$ which system
/QOpenSys/usr/bin/system
$ echo $SHELL
/QOpenSys/pkgs/bin/bash The This particular server has a system level I'll dig a bit further to work out why my bash sessions have a good path but this must be the problem. Many Thanks |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I use Code for IBM i to connect to a number of my clients servers and have never had problems connecting but there is one client that I cannot connect and I cannot work out why.
Here's what I've checked.
.bashc
file./QOpenSys/pkgs/bin/bash
in my path.Code for IBM i will not function correctly until the temporary library has been corrected in the settings.
. The temporary library is been set to ILEDITOR and I have permissions to this library, I have *ALLOBJ authority.Not connection to myibmi! There is no way to run SQL on the system.
Clicking reconnect results in the same Connection Lost window being displayed.
I never actually get a connection but if I monitor the
Code for IBM i: myibmi
output as it performs the various checks there is one repeating error that doesn't look correct.I can see this same errors being repeated when trying to run various commands. It seems it cannot find the PASE
system
command but I can definitely run this from an SSH session.I'm guessing there must be something with the
.vscode/cqsh_1
command that isn't picking up my $PATH correctly, maybe?Anyone got any ideas?
Beta Was this translation helpful? Give feedback.
All reactions