Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. fabthecop

    sybase bcp doesn't work with crontab

    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.
  2. fabthecop

    sybase bcp doesn't work with crontab

    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...
  3. fabthecop

    sybase bcp doesn't work with crontab

    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 `...
  4. fabthecop

    sybase bcp doesn't work with crontab

    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...
  5. fabthecop

    sybase bcp doesn't work with crontab

    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...

Part and Inventory Search

Back
Top