Error: Unable to determine distribution.

I keep getting this error!

Any ideas?

**********************************************************************

******

***

* Error: Unable to determine distribution.

**********************************************************************

******

***

Unable to detect OS specifics. at /opt/casp/INSTALL/os.pm line 719.

BEGIN failed--compilation aborted at /opt/casp/INSTALL/os.pm line 720.

Compilation failed in require at /opt/casp/INSTALL/common.pm line 10.

BEGIN failed--compilation aborted at /opt/casp/INSTALL/common.pm line 10.

Compilation failed in require at INSTALL/caspi2.pl line 8.

BEGIN failed--compilation aborted at INSTALL/caspi2.pl line 8.

Error: Setup is unable to complete Sun ONE ASP installation!

Please wait while setup removes this incomplete installation ... /

Sun ONE ASP product installation halted.

[934 byte] By [Mute] at [2007-11-25 21:59:35]
# 1
I guess the first obvious questions arewhat os and version are you trying to install on and what version of asp are you trying to install. In addition what web server and version.Duncan
Duncan_Berriman at 2007-7-5 1:24:44 > top of Java-index,Web & Directory Servers,Web Servers...
# 2
General server information:Operating system LinuxKernel version 2.4.28-2trMachine Type i686Apache version 1.3.34 (Unix)PERL version 5.8.3PHP version -MySQL version 4.1.14-standardServer doesn't seem to know it's PHP version.
Mute at 2007-7-5 1:24:44 > top of Java-index,Web & Directory Servers,Web Servers...
# 3
Oh and it's Sun ONE ASP version 4.0.2
Mute at 2007-7-5 1:24:44 > top of Java-index,Web & Directory Servers,Web Servers...
# 4
What variant and verson of linux ?You might want to look at this post. http://swforum.sun.com/jive/thread.jspa?forumID=116&threadID=50101Duncan
Duncan_Berriman at 2007-7-5 1:24:44 > top of Java-index,Web & Directory Servers,Web Servers...
# 5
Trustix Secure Enterprise Linux (release 2)Linux 2.4.28-2trDoes that help?
Mute at 2007-7-5 1:24:44 > top of Java-index,Web & Directory Servers,Web Servers...
# 6
I don't think that is a supported o/s. Someone else might know better than me (like someone from sun).You might be able to fool it if you are lucky by creating an appropriate release file in /etc but I would go with a supported or at least semi supported o/s.Duncan
Duncan_Berriman at 2007-7-5 1:24:44 > top of Java-index,Web & Directory Servers,Web Servers...
# 7
Duncan is correct, even if you manage to install ASP Server on this unsupported platform we can not guarantee it being stable.Please check http://docs.sun.com/source/819-0911-10/rnasp402.html#wp44803 for a list of supported platforms.
Sultal at 2007-7-5 1:24:44 > top of Java-index,Web & Directory Servers,Web Servers...
# 8
So, what are the odds it will work if I trick it into installing?And how do I trick it?
Mute at 2007-7-5 1:24:44 > top of Java-index,Web & Directory Servers,Web Servers...
# 9

I doubt you will get it to work to be honest but if you want to play then you could try creating /etc/redhat-release with the contents 'Red Hat Linux release 9 (Shrike)'. Not officlally suppported but it works and I don't have any issues with it.

Redhat 9 is based on 2.4.20-8 kernel.

Certainly if you are going to use this in any production environment I'd use a supported platform (or at least something like).

At a guess I think you will have library issues installing and there may be compatability issues with the kernel and the other software such as apache etc. As Trustix Linux is hardened it may well be that that alone causes it to fail.

Duncan

Duncan_Berriman at 2007-7-5 1:24:44 > top of Java-index,Web & Directory Servers,Web Servers...