Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Newbie Install Questions: msg#00189

db.tds.freetds

Subject: Re: Newbie Install Questions

Thank you for your help. I now have tsql connecting on one server - it connects using the conf file, and bypassing it as well. I took the path of least resistance with this server: ./configure --prefix=/usr/local --tdsver=7.0 , set the conf file to tds version 7.0, and made no environmental variable changes. One of my problems was my aging brain told me to set port to 1443 vice 1433 - thank you for picking that up.

I can't get tsql to connect from the other server, notwithstanding that the freetds configuration and conf files for both are identical - I have given up on that one.

My next challenge will be getting it to work with PHP!

Regards,

Duncan


Daniel Fazekas wrote:


On Nov 16, 2003, at 21:40, Duncan Boan wrote:

I have been unable to configure and install successfully.


Which version of FreeTDS are you trying to use?

I've successfully used every single release of FreeTDS since 0.53 on Red Hat Linux 7.3 (FreeTDS 0.53, 0.60, 0.61, 0.61.2, and the latest nightly snapshots of 0.62). 0.53 did cause a segmentation fault every once in a while, albeit rarely, and the later versions work rather well.

The config.log file contains numerous 'failed program' entries - I don't know whether that is normal or not.


I think it is. Mine has a couple as well, as do all config.logs. :)

I am running redhat 7.0. This is what I have done:
4. created an entry in freetds.conf for a spcified sql server using ip address and port 1443
6. ./tsql -H ip address -p 1443 -U my username -P


1443? MS SQL Server's default port is 1433 and Sybase's is something else.
Still, tsql would just say "Connection refused" and not cause a segfault.

5. export $SYBASE=/usr/local


Isn't this just resulting in an error message? Did you mean "export SYBASE=/usr/local"?

Anyway, I never defined a SYBASE environment value and tsql and everything else works just fine.

Thank you for any suggestions you may be able to provide!


Unfortunately, I don't have any ideas, perhaps analyzing those core dumps might help. Use gdb on them.

So far everything you described is all normal - with the exceptions noted above -, so things should just work. I have FreeTDS running well on 5 different installations of Red Hat 7.3 and all worked flawlessly on the first try.

What other tools besides tsql did you try? What are the results?
Obviously you aren't setting up FreeTDS just to use tsql.

--
Daniel

_______________________________________________
FreeTDS mailing list
FreeTDS@xxxxxxxxxxxxxxxxx
http://lists.ibiblio.org/mailman/listinfo/freetds



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation