LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 05-08-2007, 06:14 PM   #1
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, Slackware, Slax, Knoppix, SysrescueCD
Posts: 1,328

Rep: Reputation: 51
Problem: Installing Informix Client on Debian


I've "pretty much" gotten Informix Client installed (see installation details below) on my Debian (Sarge) box, but I'm getting an error message when trying to run a simple test: /opt/informix/bin/esql. This returns a usage message, followed by:
Quote:
Invalid serial number. Check your installation instructions.
I think the problem is that the Informix download for Linux assumes everyone uses an rpm-based distro. I have read the instructions many times, and followed them as closely as possible, except to the adjustment I had to make for Debian's non-rpm package management.

Here's what I did (all as 'root'):

Code:
Downloaded clientsdk.2.90.UC4.LINUX.tar and untarred that to /opt/informix.
Set $INFORMIXDIR to /opt/informix and exported
Added $INFORMIXDIR/bin to the front of $PATH and exported
Found that ./installclientsdk failed with rpm errors
Ditto for ./install_rpm
Downloaded and installed rpm and alien from official Debian repo
Looked at install_rpm script, found that it does some verifications, and then:
  rpm -i --nodeps --force --prefix /opt/informix message.rpm
  rpm -i --nodeps --force --prefix /opt/informix gls.rpm
  rpm -i --nodeps --force --prefix /opt/informix clientsdkcontent.rpm
Commented out those rpm lines, leaving the rest of the script intact
Ran ./install_rpm -acceptlicense=yes
Ran alien -i message.rpm
Ran alien -i gls.rpm
Ran alien -i clientsdkcontent.rpm
After the above, all looked to be what I'd expect in my /opt/informix directory. But I get the "Invalid serial number" error message. I've done this install successfully several times on Solaris boxes, but never on a Linux one. (On Solaris, the installclientsdk works, but this doesn't on Debian.)

So what am I missing? Given the error message, I'm assuming it's something in the license agreement step possibly.
 
Old 05-26-2007, 05:03 PM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, Slackware, Slax, Knoppix, SysrescueCD
Posts: 1,328

Original Poster
Rep: Reputation: 51
Follow up: Found a solution

Not exactly the Debian way of doing things, but it worked:
Code:
apt-get install rpm
mkdir /var/lib/rpm
rpm --initdb
rpm -qa
cd $INFORMIXDIR
./install_rpm -acceptlicense=yes
Looks like what I was missing was just letting rpm do it's thing. I was trying to convert packages from rpm->deb using alien, and then use Debian's native package management. I guess it's sometimes better to just give up and use rpm directly. Sigh.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Apache 2.2.x failing on Informix, RedHat EL 4 ColinAnderson Linux - Server 1 02-08-2007 09:57 AM
nis client problem in Debian etch sloganyart Debian 0 01-26-2007 05:49 AM
Cisco VPN Client routing problem on Debian Sarge pohl886 Linux - Networking 9 09-10-2006 05:49 PM
While installing informix-SE 7.0 it gives error as cannot execute binary file sp2797 Linux - Server 1 09-07-2006 09:56 AM
un-install informix client intianjum AIX 1 11-19-2004 01:44 PM


All times are GMT -5. The time now is 09:16 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration