A backslash in the name? (not slash - I'll never forgive ms for co-opting the definition of slash). I would recommend posting to The Daily WTF. Rather than some technical solution, I would recommend editing the interfaces file to set a more reasonable name for the server.

-derby

Update: The servername here is not the dns servername but the handle within the interfaces file (which could map to one or more actual machines). Looking at the documentation for Sybase, it appears a backslash is not a valid character for a servername. Now this may be one of those funky places where MS and Sybase diverged but since you're using the Sybase client, then Sybase rules would apply.

From the sybase manual for ASE 12.5:
servername
Name of Adaptive Server or Backup Server. Requirements for a server name are:
* The name cannot be more than 30 characters long.
* The first character must be a letter (ASCII a through z, A through Z).
* The characters that follow must be letters, numbers, or underscores (_).

Update (again): I should know better than to answer Sybase questions. Always listen to mpeppler or jfroebe before me! See mpeppler's correct answer below (but I stand by the slash heresy comment! And, the servername requirements apply but that's not the case here.)


In reply to Re: Difficulty Connecting to MS-SQL server in Linux by derby
in thread Difficulty Connecting to MS-SQL server in Linux by MegaVoice

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.