Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Installing Ads Server on Ubuntu Linux

7 posts in Linux Last posting was on 2012-02-07 18:02:28.0Z
Pedro Posted on 2012-02-03 14:18:35.0Z
Date: Fri, 03 Feb 2012 11:18:35 -0300
From: Pedro <info@advantage.com.uy>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
Newsgroups: Advantage.Linux
Subject: Installing Ads Server on Ubuntu Linux
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 200.40.190.118
Message-ID: <4f2bdf0d@solutions.advantagedatabase.com>
X-Trace: 3 Feb 2012 05:20:13 -0700, 200.40.190.118
Lines: 20
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Linux:1327
Article PK: 1131149

Hi, all.

I'm trying to install last ADS 10.1 on a UBUNTU 10.04 LTS SERVER.

When I run the script setup.pl it ask me all the options and after copy the
files, I suppose it's trying to run the adsstamp utility to register, but
it says "can't exec "adsstamp" : File or folder does not exist at ./setup.pl
line 166.

An error ocurred while stamping the daemon. It will be no copied to the target
directory.

What can be the problem ??

I have privileges like superuser.


Many thanks.


Jed Thomet Posted on 2012-02-03 17:03:39.0Z
Date: Fri, 3 Feb 2012 17:03:39 +0000 (UTC)
Message-ID: <49739e7dadd3e8ceb0723cd19fd9@devzone.advantagedatabase.com>
From: Jed Thomet <jedt_no_unrequested_emails_please@ianywhere.com>
Subject: Re: Installing Ads Server on Ubuntu Linux
Newsgroups: Advantage.Linux
References: <4f2bdf0d@solutions.advantagedatabase.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=iso-8859-1; format=flowed
X-Newsreader: JetBrains Omea Reader 1098.1
NNTP-Posting-Host: 10.6.199.119
X-Trace: 3 Feb 2012 09:02:35 -0700, 10.6.199.119
Lines: 49
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Linux:1328
Article PK: 1131152

Hello Pedro,

What architecture is your server (32-bit or 64-bit)? If it's 64-bit, are
you trying to install the 32-bit Advantage server, or 64-bit? Based on your
answers to the preceding questions, there are some possibilities about where
the problem may lie.

If you open a command-prompt and switch to your Advantage install directory,
can you give me the ouptut of a few commands? Here are the commands I'd
like the output of:
file adsstamp
ldd adsstamp
./adsstamp libadsd.so

These commands should help narrow-down where the problem may lie.

Note that if the final command I gave provides "valid" output (i.e. a brief
Usage statement to help you run it), then you can manually stamp the daemon
using adsstamp. (The easiest command would be "./adsstamp libadsd.so -prompt".)
If manually stamping the daemon gets you up and running, then I'd still
like the output of the above commands so that we can fix any problems with
the installer.

Jed Thomet
Advantage R&D

> Hi, all.
>
> I'm trying to install last ADS 10.1 on a UBUNTU 10.04 LTS SERVER.
>
> When I run the script setup.pl it ask me all the options and after
> copy the
> files, I suppose it's trying to run the adsstamp utility to register,
> but
> it says "can't exec "adsstamp" : File or folder does not exist at
> ./setup.pl
> line 166.
> An error ocurred while stamping the daemon. It will be no copied to
> the target directory.
>
> What can be the problem ??
>
> I have privileges like superuser.
>
> Many thanks.
>


Pedro Posted on 2012-02-03 18:47:36.0Z
Date: Fri, 03 Feb 2012 15:47:36 -0300
From: Pedro <info@advantage.com.uy>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
Newsgroups: Advantage.Linux
Subject: Re: Installing Ads Server on Ubuntu Linux
References: <4f2bdf0d@solutions.advantagedatabase.com> <49739e7dadd3e8ceb0723cd19fd9@devzone.advantagedatabase.com>
In-Reply-To: <49739e7dadd3e8ceb0723cd19fd9@devzone.advantagedatabase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 200.40.190.118
Message-ID: <4f2c1e16$1@solutions.advantagedatabase.com>
X-Trace: 3 Feb 2012 09:49:10 -0700, 200.40.190.118
Lines: 57
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Linux:1329
Article PK: 1131153

El 03/02/2012 14:03, Jed Thomet escribi?:

> Hello Pedro,
>
> What architecture is your server (32-bit or 64-bit)? If it's 64-bit, are you
> trying to install the 32-bit Advantage server, or 64-bit? Based on your answers
> to the preceding questions, there are some possibilities about where the problem
> may lie.
>

Thanks Jed for answering.
I'm installing 32 bit ADS on 32 bit ubuntu server

> If you open a command-prompt and switch to your Advantage install directory, can
> you give me the ouptut of a few commands? Here are the commands I'd like the
> output of:
> file adsstamp

the output for this is : ELF 32-BIT lsb executable, Intel 80386, version 1(
svsv), dynamically linked ( uses shared libs ), for GNU/LINUX 2.2.5, not stripped

> ldd adsstamp

output: linux-gate.so.1 => ( 0XF77800000)
lib.so.6 => /lib32/lib.so.6 ( 0xf76b000)
/lib/ld-linux.so.2 (0xf7781000)

> ./adsstamp libadsd.so

output: nothing.. retuns to prompt.

>
> These commands should help narrow-down where the problem may lie.
> Note that if the final command I gave provides "valid" output (i.e. a brief
> Usage statement to help you run it), then you can manually stamp the daemon
> using adsstamp. (The easiest command would be "./adsstamp libadsd.so -prompt".)
> If manually stamping the daemon gets you up and running, then I'd still like the
> output of the above commands so that we can fix any problems with the installer.


With the - prompt parameter , I was able to introduce the serial number and code.

I think now that the command ./adsd will start up the database, correct ??

running ps command, i see the id of ads.

How can I be sure that it's working well and that will work when restarting the
server ?

> Jed Thomet
> Advantage R&D
>

Many thanks Jed for your help.

Best Regards


Jed Thomet Posted on 2012-02-03 18:39:15.0Z
Date: Fri, 3 Feb 2012 18:39:15 +0000 (UTC)
Message-ID: <49739e7dadd4e8ceb07f97694492@devzone.advantagedatabase.com>
From: Jed Thomet <jedt_no_unrequested_emails_please@ianywhere.com>
Subject: Re: Installing Ads Server on Ubuntu Linux
Newsgroups: Advantage.Linux
References: <4f2c1e16$1@solutions.advantagedatabase.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=iso-8859-1; format=flowed
X-Newsreader: JetBrains Omea Reader 1098.1
NNTP-Posting-Host: 10.6.199.119
X-Trace: 3 Feb 2012 10:38:11 -0700, 10.6.199.119
Lines: 77
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Linux:1331
Article PK: 1131155

Hello Pedro,

Glad to hear you were able to start the server! (Yes, your assumption that
the command "./adsd" would start the server is absolutely correct.) Stamping
the daemon is the final thing that is done during the install process. So,
the product is fully installed. At this point, you're probably ready to
start connecting clients and doing your testing in that way. (I wouldn't
anticipate any problems when restarting the server.)

Based on your responses to my question, I'm guessing that the install script
must have constructed an invalid path to the adsstamp program (or possibly
the binary). I will look into this some more to see if there's an improvement
we can make to the installer to avoid this in the future.

Jed Thomet
Advantage R&D

> El 03/02/2012 14:03, Jed Thomet escribi?:
>
>> Hello Pedro,
>>
>> What architecture is your server (32-bit or 64-bit)? If it's 64-bit,
>> are you trying to install the 32-bit Advantage server, or 64-bit?
>> Based on your answers to the preceding questions, there are some
>> possibilities about where the problem may lie.
>>
> Thanks Jed for answering.
> I'm installing 32 bit ADS on 32 bit ubuntu server
>> If you open a command-prompt and switch to your Advantage install
>> directory, can
>> you give me the ouptut of a few commands? Here are the commands I'd
>> like the
>> output of:
>> file adsstamp
> the output for this is : ELF 32-BIT lsb executable, Intel 80386,
> version 1( svsv), dynamically linked ( uses shared libs ), for
> GNU/LINUX 2.2.5, not stripped
>
>> ldd adsstamp
>>
> output: linux-gate.so.1 => ( 0XF77800000)
> lib.so.6 => /lib32/lib.so.6 ( 0xf76b000)
> /lib/ld-linux.so.2 (0xf7781000)
>> ./adsstamp libadsd.so
>>
> output: nothing.. retuns to prompt.
>
>> These commands should help narrow-down where the problem may lie.
>> Note that if the final command I gave provides "valid" output (i.e. a
>> brief
>> Usage statement to help you run it), then you can manually stamp the
>> daemon
>> using adsstamp. (The easiest command would be "./adsstamp libadsd.so
>> -prompt".)
>> If manually stamping the daemon gets you up and running, then I'd
>> still like the
>> output of the above commands so that we can fix any problems with the
>> installer.
> With the - prompt parameter , I was able to introduce the serial
> number and code.
>
> I think now that the command ./adsd will start up the database,
> correct ??
>
> running ps command, i see the id of ads.
>
> How can I be sure that it's working well and that will work when
> restarting the server ?
>
>> Jed Thomet
>> Advantage R&D
> Many thanks Jed for your help.
>
> Best Regards
>


Pedro Posted on 2012-02-03 19:51:09.0Z
Date: Fri, 03 Feb 2012 16:51:09 -0300
From: Pedro <info@advantage.com.uy>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
Newsgroups: Advantage.Linux
Subject: Re: Installing Ads Server on Ubuntu Linux
References: <4f2c1e16$1@solutions.advantagedatabase.com> <49739e7dadd4e8ceb07f97694492@devzone.advantagedatabase.com>
In-Reply-To: <49739e7dadd4e8ceb07f97694492@devzone.advantagedatabase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 200.40.190.118
Message-ID: <4f2c2cfa$1@solutions.advantagedatabase.com>
X-Trace: 3 Feb 2012 10:52:42 -0700, 200.40.190.118
Lines: 90
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Linux:1333
Article PK: 1131157

El 03/02/2012 15:39, Jed Thomet escribi?:

> Hello Pedro,
>
> Glad to hear you were able to start the server! (Yes, your assumption that the
> command "./adsd" would start the server is absolutely correct.) Stamping the
> daemon is the final thing that is done during the install process. So, the
> product is fully installed. At this point, you're probably ready to start
> connecting clients and doing your testing in that way. (I wouldn't anticipate
> any problems when restarting the server.)
>
> Based on your responses to my question, I'm guessing that the install script
> must have constructed an invalid path to the adsstamp program (or possibly the
> binary). I will look into this some more to see if there's an improvement we can
> make to the installer to avoid this in the future.
>
> Jed Thomet
> Advantage R&D
>
>> El 03/02/2012 14:03, Jed Thomet escribi?:
>>
>>> Hello Pedro,
>>>
>>> What architecture is your server (32-bit or 64-bit)? If it's 64-bit,
>>> are you trying to install the 32-bit Advantage server, or 64-bit?
>>> Based on your answers to the preceding questions, there are some
>>> possibilities about where the problem may lie.
>>>
>> Thanks Jed for answering.
>> I'm installing 32 bit ADS on 32 bit ubuntu server
>>> If you open a command-prompt and switch to your Advantage install
>>> directory, can
>>> you give me the ouptut of a few commands? Here are the commands I'd
>>> like the
>>> output of:
>>> file adsstamp
>> the output for this is : ELF 32-BIT lsb executable, Intel 80386,
>> version 1( svsv), dynamically linked ( uses shared libs ), for
>> GNU/LINUX 2.2.5, not stripped
>>
>>> ldd adsstamp
>>>
>> output: linux-gate.so.1 => ( 0XF77800000)
>> lib.so.6 => /lib32/lib.so.6 ( 0xf76b000)
>> /lib/ld-linux.so.2 (0xf7781000)
>>> ./adsstamp libadsd.so
>>>
>> output: nothing.. retuns to prompt.
>>
>>> These commands should help narrow-down where the problem may lie.
>>> Note that if the final command I gave provides "valid" output (i.e. a
>>> brief
>>> Usage statement to help you run it), then you can manually stamp the
>>> daemon
>>> using adsstamp. (The easiest command would be "./adsstamp libadsd.so
>>> -prompt".)
>>> If manually stamping the daemon gets you up and running, then I'd
>>> still like the
>>> output of the above commands so that we can fix any problems with the
>>> installer.
>> With the - prompt parameter , I was able to introduce the serial
>> number and code.
>>
>> I think now that the command ./adsd will start up the database,
>> correct ??
>>
>> running ps command, i see the id of ads.
>>
>> How can I be sure that it's working well and that will work when
>> restarting the server ?
>>
>>> Jed Thomet
>>> Advantage R&D
>> Many thanks Jed for your help.
>>
>> Best Regards
>>
>
>

Thanks Jed.. You are correct, I was able to start ads and looking in the ps
command, it appears, and with ARC I was able too to connecto to the server.

Dont know if there is a problem in the setup script, but how can I now make
ads to start automatically every time ?

Also I've notice that you recommend not to use samba, so I assume that only
configuring my DD to the folder's data it's enough for my program to find
the server and work , correct ??


Pedro Posted on 2012-02-07 18:02:28.0Z
Date: Tue, 07 Feb 2012 15:02:28 -0300
From: Pedro <info@advantage.com.uy>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
Newsgroups: Advantage.Linux
Subject: Re: Installing Ads Server on Ubuntu Linux
References: <4f2c2cfa$1@solutions.advantagedatabase.com> <49739e7dadd588ceb089dd0ee088@devzone.advantagedatabase.com>
In-Reply-To: <49739e7dadd588ceb089dd0ee088@devzone.advantagedatabase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 200.40.190.118
Message-ID: <4f315984$1@solutions.advantagedatabase.com>
X-Trace: 7 Feb 2012 09:04:04 -0700, 200.40.190.118
Lines: 5
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Linux:1335
Article PK: 1131160

Thanks so much Jed , now its working with your invaluable help !!

Best Regards.