User Tools

Site Tools


ads_linux

This is an old revision of the document!


The Advantage Database Server on Linux

Unfortunately the ADS software was not written originally for Linux, and therefore there are several important differences to ADS for Windows (I have never used ADS for Novell Netware, and I have my doubts there will be any new installations).

The biggest difference is that the Linux filesystem is case sensitive, and therefore you have to put the option LOWERCASE_ALL_PATHS=1 in the file ads.conf (the main configuration file).

The second problem is that even if your Linux server is running Samba, and can be resolved with both DNS and the Windows Network name resolution, the ADS RDD will not be able to find it (that is true also for the Advantage Data Architect). So you need to put the IP address in the ADS.INI of your application: [your_linux_server] LAN_IP=192.168.20.90 LAN_PORT=6262 USE_TCP_IP=1 This may be a problem if your server has more than one IP address and is used from different networks. In that case the only solution I have found was to set the environment variable function SetAdsIni( oSysIni as IniFileSpec ) as string pascal local cIPAddress as string local cAdsIniLoc as string cIPAddress := AllTrim( GetIPAddress( “your_server” ) ) if ! cIPAddress == “” cAdsIniLoc := oSysIni:GetString( “Settings”, “AdsIniLoc_” + cIPAddress, “g:\alpifakt\192.168.1.0” ) SetEnvironmentVariable( String2PSZ( “adsini_path” ), String2PSZ( cAdsIniLoc ) ) endif

Another problem is that the ADS daemon is not looking at the Linux group rights for its rights checking - so if the advantage user has not full write rights

ads_linux.1643224440.txt.gz · Last modified: 2022/01/26 19:14 by wolfgangriedmann