okay, could you try to run the script using
please post the resulting files here as attachments.
strace -f -o pbs_connect ./FILE
? that should generate files starting with pbs_connect that show which syscalls are called (you might want to replace the password in the script with a dummy value, it shouldn't change the outcome).please post the resulting files here as attachments.