Using ADS local server on Linux

Hi,
I am using Centos 6.4 and I've installed unixODBC and downloaded and installed the Sybase Advantage ODBC driver for Linux version 11.1.  I unpacked and installed the driver (using setup.pl).
I created the following /etc/odbc.ini
; odbc.ini
[ODBC Data Sources]
Odie = Advantage ODBC Driver
[Odie]
Driver=/usr/lib64/libadsodbc.so
DataDirectory=/usr/src
Description=Advantage ODBC driver
DefaultType=FoxPro
ServerTypes=1
I'm trying to access FoxPro DBF files, and I'm wanting to use the Advantage Local Server to do so.  I copied a FoxPro free table called test.dbf to /usr/src.  The file /usr/lib64/libadsloc.so exists in the same folder as /usr/lib64/libadsodb.so.  Then from the command prompt, I ran --
isql Odie -v
And I got the following error --
[root@linuxmysql2 adsodbc-11.10.0.1]# isql Odie -v
[S1000][unixODBC][iAnywhere Solutions][Advantage SQL][ASA] Error 6060:  Advantage Database Server not available on specified server.  axServerConnect
[ISQL]ERROR: Could not SQLConnect
I understand that the Advantage Local Server for Linux is not a daemon, so there's nothing that's supposed to be running.  Given that I configured "ServerTypes=1" and the libadsloc.so file appears to be in the correct place, so I'm sure I'm doing something wrong, but I'm not quite sure what.
Suggestions?
UPDATE :
Upon further investigation, I've figured out how to get past that particular error by creating an /etc/ads.ini and putting in the following --
[SETTINGS]
ADS_SERVER_TYPE=1
But now I'm getting the message I've copied below when trying to run "select * from test". /usr/src/test.dbf exists and is chmod 777 just to simplify things. As you can see in my ODBC setup above, my data directory is /usr/src. This is a free table, and no FoxPro database exists, nor does an Advantage database exist. The same thing works fine on my Windows box.
SQL> select * from test
[S1000][unixODBC][iAnywhere Solutions][Advantage SQL][ASA] Error 7200: AQE Error: State = HY000; NativeError = 5004; [iAnywhere Solutions][Advantage SQL][ASA] Error 5004: Either ACE could not find the specified file, or you do not have sufficient rights to access the file. //linuxmysql2/usr/src/test.adt Table name: test
[ISQL]ERROR: Could not SQLPrepare
UPDATE 2:
I tried specifically indicating the full file name (including .dbf at the end) and I got the following error --
SQL> select * from [test.dbf]
[S1000][unixODBC][iAnywhere Solutions][Advantage SQL][ASA] Error 7200: AQE Error:  State = HY000;   NativeError = 7016;  [iAnywhere Solutions][Advantage SQL][ASA] Error 7016:  Corrupt table.  Make sure you are not attempting to open a DBF with an ADT table type or vice versa.  //linuxmysql2/usr/src/test.dbf Table name: test.dbf
[ISQL]ERROR: Could not SQLPrepare
I've specified the default table type in odbc.ini, but it looks like that may be getting ignored.  If I don't specify the table extension, it complains that test.adt doesn't exist.  If I do, then it complains that I'm trying to open a DBF as an ADT table, even though I've specified that I want to be opening DBFs.

Hi,
I believe that we may have answered this on the Q&A forum.  If I recall correctly, you placed the odbc.ini in your local home directory as .odbc.ini and this seemed to resolve the issues.
Edgar

Similar Messages

  • Hi, I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mail are not receiving. Mail queue showing Connection refused error. Please help me

    I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mails are not receiving. Mail queue showing Connection refused error. Please help me
    Thanks
    GIRI

    Try this -> http://support.apple.com/kb/TA38632?viewlocale=en_US

  • Can Time Machine use a local server as a back up location

    We have this really nice D-Link NAS with 4 drives set to Raid 5....and would LOVE to let Time Machine use it as a backup location.
    Will Time Machine allow a server to hold its back up files?
    Many thanks.

    Time Machine does not back up to network drives, except Time Capsules or USB drives connected to an Airport Extreme, or a drive on a Leopard server.
    Here's the official word: http://support.apple.com/kb/HT1733
    You may find some "hacks" that might make it work, in some cases, to a degree. But use them at your own risk.
    First, since this is *unsupported by Apple,* there's nowhere to go when there's trouble.
    Second, you're risking a future update preventing it from working, and perhaps rendering your backups useless.
    If you still think this is a good idea, do yourself a favor before you bet your backups on it: be sure it really works, at least for now:
    1. Get a copy of CarbonCopyCloner or SuperDuper! or the like, and make a full bootable clone of your internal HD, on an external disk. Test it by booting from it. Then reboot from your internal HD.
    2. Let TM do it's first, full, initial backup.
    3. Attempt a full system restore (like you'll need when, not if, your internal HD fails), via the instructions in item 14 of the +Frequently Asked Questions+ post at the top of this forum.
    Again, even if it works now, tomorrow is another day . . .

  • Images not visible using a local server with XAMPP

    HI
    I've resurrected an old project which worked in the past.  Since then, Ive upgraded both Windows (8.1) and Dreamweaver (CC)  Today I installed the latest XAMPP and created a folder called xamp2015.  I copied the old project (MySite) to the HTDOCS folder
    Now, the site logic is working, BUT, the images are not appearing.
    They are stored here C:\xampp2015\htdocs\MySite\Images\Main
    My Local Site folder is C:\xampp2015\htdocs\Mysite
    Default Images folder is C:\xampp2015\htdocs\MySite\Images\
    The images will appear if I move them to c:\xampp2015\htdocs\MySite and update the links, but this would lead to a messy structure, which was not needed previously
    Does anyone have any suggestions?

    Hi
    Thanks for your message.  I'm confident with folder names as they havn't been changed since it worked,, but I doubled checked after your reply
    Heres the code for one image and how it looks in Live view
    <div class="header"><a href="#"><img src="Images/Main/MySite Logo.gif" alt="Insert Logo Here" name="Insert_logo" width="720" height="100" id="Insert_logo" style="display: block; margin: auto;" /></a><!-- end .slideshow -->
      </div>
    Grabs of the files panel show;

  • Distribute using local server

    I created a form that I want to distribute and collect responses using a local server.  However it is defaulting to distributing and collecting responses using email .  Any ideas how to change this?

    Hi,
    >> I created a form that I want to distribute ...
    Alternatively, you could embed the code in to your web page, is this what you are looking for?
    Open the form and select Distribute Tab/Embed button and copy the code and paste it in your html web page.  You will then have the form embedded into your web page.
    >>and collect responses using a local server.
    The resonses will be collected via the adobe server. Sorry we do not support collecting responses on a local server.
    Hope this helps,
    Thanks,
    Lucia

  • Can we use internet in server

    I am not able to connect to the internet while using the SAP PI Server. I am using a local server on my PC.  I was able to do so for a few days but later there is some problem that it is not getting connected.
    Please help....

    Hi,
    Is it your own PC where you have installed PI. Did you check your proxy settings?
    Regards
    Krish
    Edited by: Krish on Nov 2, 2010 9:10 PM

  • Submit to local server

    I have a form consisting of 9 readonly labels (titles) for 9 editable fields, plus a button for adding a picture on it (as an ICON).
    When using the built-in submit button to send the PDF to a local server, is there a way to select which fields I need the value to populate that database acrobat creates upon distribution?
    If I must resort to a custom submit button to do so, is there a way to use my local server address as the URL because it seems to force me to use of an http:// address?

    So, I think I fixed the issue, although I'm not exactly sure how it works. Per George's suggestion, I checked out the "Working with Form Data" video http://tv.adobe.com/watch/acrobat-community-tv/working-with-form-data/. I tried adding the FDF response my php script, but was unsuccessful in getting it to work; I still received the output PDF containing the stdout and stderr and I was not able to get a pop to show up in response to the processing of my script (through the fdf RESPONSE output). I then realized that I was missing the command "header("Content-type: application/vnd.fdf");" which tells the php script that "I'm talking in FDF." Upon inserting this to the top of my script, my script no longer produces a pdf containing the stderr and stdout and now the RESPONSE output works correctly.
    So, in short, I needed the command "header("Content-type: application/vnd.fdf");" at the top of my script to get rid of the output pdf containing the stdout and stderr.
    Thanks for the help! This has been bugging me for quite some time now.

  • Can I set an OU to have 2 GPO's one to pull updates from local server and another from replica server

    I'm looking for a solution where I don't change our current AD groups, (avoid using a local group and a field group), also trying to avoid using a server in a DMZ to handle field people (will need to buy a new server).
    At the end i'm looking to use a replica server to push updates from the internet to the field group (or OU with a GPO pointing to such replica server) and use the local server to host the updates locally and push to the office people.
    Probably this is the question that needs to be answered, can an OU group have 2 different GPO's pointing to 2 different WSUS servers (local and replica) (local updates vs updates from internet) and if an user of such group is in the office they get updates
    from the local server and if he is in the field get the updates from the replica server?  I know GPO's can have precedence set to the OU, but do they work like a trigger or something that tells them to go to the next GPO.
    Thanks in advance

    can an OU group have 2 different GPO's pointing to 2 different WSUS servers (local and replica) (local updates vs updates from internet)
    No.
    and if an user of such group is in the office they get updates from the local server and if he is in the field get the updates from the replica server?
    There are two ways to achieve this. Typically we talk about this scenario when the mobile systems are going to use AU/WU to get Security Updates. Taking advantage of the fact that GROUP policy cannot refresh on a machine which is not "in the office", you
    define a Registry Script to run in the user's STARTUP folder, which will set the registry values to configure that client to use the alternate source.
    But, in the case where you have an Internet-facing WSUS server in the DMZ, and a Corporate-facing WSUS server on the LAN, you use the SAME URL, but use DNS to direct the client to the correct IP Address. When the client is on the LAN, the LAN DNS gives the
    IP Address of the Corporate server; when the client is on the Internet, the Internet DNS gives the IP Address of the DMZ server.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • How to set up local server to use a remote server for login authentication?

    Thank you in advance for any help you can offer.
    We are trying to set up a "sub-network" (dont' know if this is the right terminology) using a 10.4 Server OS, to manage a set of clients... the trick is that the client login/home directory information is on a different remote server, and shall remain there, for the most part.
    To make it easy to understand here's the environment:
    *Local Server:* 10.4 G4 Server Quicksilver 1G dual--we have total control of this one
    *Main/remote server:* 10.5 Xserve.. don't know which vintage--we have very very very little input on this machine.. effectively at the mercy of the sysadmin of this system who is very conservative in changing anything (hence the need for a separate server to install applications and client machine-specific profiles, etc since the Xserve admin refuses do it). This serves MacBooks/MacBookPros and few iMacs. (no Windows PC.. as that group of comptuers have their own server)
    client: ~20 eMacs/iBooks all running 10.4.
    use environment: elementary school-->very low network demand (no e-mail, just running local apps linking to server(s) for licensing and login, and some file saving small files on remote server, user preferences, etc).
    The remote server (the Xserve) has all the login authentication, as well as the home directories. every school year, the directories get updated as new students enroll and old students graduate. Currently all the clients are directly linked to the Xserve via LDAP while we bring the local server on-line.
    the local sever (our G4 Quicksilver) will have few network applications that will support the client machines. We also will be setting up computer accounts and groups for our clients so that we can properly set their environments (the Xserve admin will not do this on the Xserve, so currently all the clients are connecting to the server as a "guest computer" from what little I understand watching what was done)
    now, what is the best way to approach this type of set up with minimal "inconvenience" of the Xserve admin?
    I am pretty experienced with standalone UNIX and macOS X administration, but a novice to this whole Server and network setup thing. Any suggestions, instructions, pointers to URLs with how-tos is much appreciated. I am not afraid to use Terminal (grew up on UNIX before GUI), etc., and willing to try safe but unconventional setups if that is what's needed...
    thanks for any help!

    Oh never mind.... I figured it out myself helps to read up on the manuals. d'oh. sorry for the bandwidth waste...

  • Can I use Microsoft SQL Server Management Studio version 11.0 to write SQL queries for "SQL Server Compact 4.0 Local Database"

    Hi, Can I use Microsoft SQL Server Management Studio version 11.0 to write SQL queries for "SQL Server Compact 4.0 Local Database" ?
    When I use Connect Object Explorer, the "Connect to Server" dialog box which pops up has only 4 selections in the Server Type Drop Down List. They are Database Engine, Analysis Services, Reporting Services & Integration Services. I have read
    somewhere that there should be a compact database option. but I do not see it.
    What I would like to do is use free form SQL Queries against the tables in "SQL Server Compact 4.0 Local Database" .
    Once I have validated these queries, then I will use them in my Visual Studio 2012 C#, ASP.NET application. I created the Local Database using Visual Studio 2012 for use by my application.
    Thank you for your help..
    diana4

    Hello,
    With SSMS 2005 we have had the Option to work with SQL CE database files, but not with higher Version of SSMS.
    You can use the free SQL CE Toolbax instead; see
    http://sqlcetoolbox.codeplex.com/
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Set password to PDF file using ADS server

    How to set password to .PDF file using ADS(Adobe Development Service) server?
    Moderator Message: Not enough effort seen from OP. Thread Locked.
    Edited by: kishan P on Jul 14, 2011 11:51 AM

    Thanks for your prompt reply. Well forget about conversion but there should be a way to just password protect any PDF file, correct?
    We have a 3rd party tool which does that for our VB6 apps, I am surprised how come Acrobat SDK doesn't expose those Properties/Methods for VB6 model.
    Andy

  • Connecting to a local server using simple finder

    I am switching all my iMacs to OSX v10.2. I was told that it would run better for me than OS 9.2.
    When setting up user capabilities for my students, I am having some troubles. One, if I set it up where my students can view only applications that I want, they do not always appear under the student login.
    If I set it up where my students can only use simple finder and view an applications folder, then they lose the capability to see the local network servers.
    Is there anyway to set it up for users to still use a local network server when only using Simple Finder capabilities?
    If anyone could please help, it would be greatly appreciate.
    Thanks,
    Steve

    Check
    1.connect to db using remote desktop
    2.check v$session for info
    3.Terminate the desktop connection
    4. check the v$session view

  • Connect to a local server whilst using VPN

    I have SABnzbd+ running on my MBP.
    Since my Linksys WAG320N router supports NAT Loopback, I can connect to it's web UI using my local IP, 192.168.0.2 OR my ISP-assigned static IP, 72.xxx.xxx.xxx.
    However when I'm connected to the VPN, using OpenVPN & Viscosity, I can't connect to the SABnzbd+ server on either address.
    I tried setting up DynDNS with their auto-updater, and using a host name instead of IP address, still no luck.
    I use SABnzbd+ as an example, it's the same problem with ANY locally runnining server (uTorrent UI, etc).
    Thanks

    I use the built in VPN for company access. However, by default it "sends all packets to VPN route", which I do not like. I put together a script to set only the networks I need to go through that route using the "route add" comment. I set my default route whatever my ISP default route is at the time of my connection. This allows me both worlds (vpn connections and internet). Not sure if that helps you or not.

  • Use local server as gateway for gmail

    We use a single email ID for around 15 employees and the same is presently configured on Google apps.
    Currently, each of them logs into google apps on their own PCs. I would like to use the Windows Server 2012 R2 that I'm setting up, as a file server, as some sort of gateway which could download mails (like a mirror) from Google's servers and then each employee
    can access this local copy through Microsoft Outlook on their PCs. This would result in two benefits.
    1. Gmail would not exceed the usage limit and also there would be a local backup of all mails received.
    2. Lower consumption of bandwidth. 
    In the longer run, I can ban gmail access across the network effectively banning access to personal emails at work.

    To do that you'd need to install an email server on that box, which could then be configured to collect the email from Gmail via POP3 to the server from where your users can collect it over the local network.
    Depending on the functionality you required there are a number of email server applications out there, but for full functionality (eg full use of contacts, calendars, mail stored on the server for backups etc) you'd probably need to look at Exchange
    Server. Unfortunately MS no longer include Exchange in any of their SBS variants so you'd need to install it separately. Also be aware that if you didn't already have on you'd need to configure your network to be part of a domain, so one of your servers would
    need to be a domain controller, and crucially you can't install Exchange Server on the same box as you're running AD, so you'd need at least two servers.
    If you simply want to effectively allow your client machines to access their email via POP3 / IMAP like they do now, with no additional functionality than you have at present then a different email solution may be better. There are quite a few options out
    there, for instance hMailServer which I've used in the past (though not for your exact situation), so it's just a matter of having a look and finding one which does what you need.

  • Am I required to save files to the Creative Cloud, or may I use a local file server?

    Am I required to save files to the Creative Cloud, or may I use a local file server for in-office sharing?

    You are not required to save files to the Creative Cloud.
    The online file storage is merely and an additional service, but there are several benefits:
    You file is backed up online in case the file is accidently deleted locally or your hard drive crashes.
    Image previews of InDesign, Illustrator and Photoshop files in the web browser for someone who does not have these programs and would otherwise be unable to view the file.
    Share the file with someone else allowing them to comment and download.

Maybe you are looking for

  • AddChild doesn't work correctly in 11.9

    comparing the two releases listed below, somehow my Flash program doesn't work correctly on the latest version anymore, nothing was changed in my program but after upgrading to the latest Flash Player, it doesn't work properly anymore, specifically,

  • Dynamic invocation in Axis

    I've deployed two services, one using framework Axis, one using framework Muse(a web service apache project). I want to make a dynamic invocation from Axis to use an operation of Muse, I add the code in the impl document of Axis. Is it possible to do

  • BI Content Datasource Error

    HI Guru's I am Activating Busines Content in Grouping-->In Data Flow Before, I am getting following errors below Error -1:- Extract structure /BI0/ARF_DS0100 is not active /BI0/ARF_DS0100: Only tables and views are permitted for extraction The extrac

  • Windows 10 Color management

    Hello, I'm wondering if windows 10 will include a true color management ? I use a wide gamut screen with and a monitor profiler in order to display right colors. Currently, despite color management tab where you can choose the monitor's ICC profile,

  • Apple Gave Me Invalid Registration Code!

    ok soo i bought quicktime pro and when i went to put my registration code and registered user name in it says invalid now i thought it could be a simple typing error..No it wasnt i retyped it 10+ times and then i copy and pasted the info from the ema