Thanks, I solved it!
The -S option was exactly as you suggested me before:
-SMYDATA
This was the server name: the instance declared inside the /opt/sybase/interfaces file (in my example MYDATA), not the "networking" or the CN server name.
I hope it would be helpful for some other people.
I already did it:
I tried specifying to bcp the Server option, adding -SMyServer
And, as said in the first post, I created a new interface file inside my home (I dont have write permissions in /opt/sybase), specifying the server name like
MYDATA
query tcp ether 127.0.0.1 2000
master...
Actually the license file says it's 11.0.3.3 (docs directory have been removed) so you must be right.
I cat /etc/profile and it correctly sets up all the env variables (checked with printenv) as specified in the installation guide, so perhaps the script was removed.
I first tried adding `...
Thanks for the support, it could be the cause since I didnt know that I had to initialize it.
Anyways there's no SYBASE.sh in the /opt/sybase folder, neither in the /opt/sybase/scripts folder. Could you please give me any hint? Or post the content of this script? I will give this solution...
Hello,
I have a sybase installation with SSH access (no root no sudoer).
I wrote a simple bash script for bulk copying out a table into a file.
If I execute the script from the shell, everything works fine. If I put the script in my crontab, the job returns "Server name not found in interface...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.