Secure OS Software for Linux
1826362 Members
4589 Online
109692 Solutions
New Discussion

app_install problem

 
SOLVED
Go to solution
Chris Watson
Super Advisor

app_install problem

I get the following when try app_install from /usr/share/tlapps
[root@hplx tlapps]# ./app_install
************************************************************************
This installation contains archives of the following software:

1. Apache 1.3.19 Web Server
2. MCGA Proxy
3. Jakarta/Tomcat JSP/Servlet Engine 3.2.1

You can elect to install these applications in any combination. If you
wish to install either the MCGA Proxy or Jakarta/Tomcat, however,
you _must_ also choose to install Apache HTTPD or have previously
installed it using this installer. In the latter case, the installer will
prompt you for the details of the compartment into which Apache HTTPD was
installed.
************************************************************************

- Install Apache HTTPD in a new compartment (y/n)? [n]:y
- Install MCGA Proxy in a new compartment to run with this Apache (y/n)? [n]:y
- Install Tomcat in a new compartment to run with this Apache(y/n)? [n]:y
----------------------------------------------------
- Apache HTTP Server Configuration
----------------------------------------------------
Use default compartment name? (y/n) [y]: y
- Using compartment name web
- Specify IP address to listen to (HTTP) : 192.168.0.2
----------------------------------------------------
- MCGA Proxy Configuration
----------------------------------------------------
Use default compartment name? (y/n) [y]: y
- Using compartment name mcga
----------------------------------------------------
- Jakarta-Tomcat Configuration
----------------------------------------------------
Use default compartment name? (y/n) [y]: y
- Using compartment name tomcat
-----------------------------------------------------------------------
Trusted Linux APPS Installation Thu Dec 27 22:39:46 GMT 2001
-----------------------------------------------------------------------
- Adding compartment web
Compartment name web added to database.
Compartment init directory created for web.
Chroot creation failed: No such file or directory
- Unpacking web (Apache)
mkdir: cannot create directory `/compt/web': No such file or directory
/usr/share/tlapps/webinst: cd: /compt/web: No such file or directory
- Configuring web (Apache)
cp: cannot create regular file `/compt/web/etc/rc.start': No such file or direct
ory
cp: cannot create regular file `/compt/web/etc/rc.stop': No such file or directo
ry
chmod: getting attributes of `/compt/web/etc/rc.start': No such file or director
y
chmod: getting attributes of `/compt/web/etc/rc.stop': No such file or directory

- Configuring httpd.conf
cat: /compt/web/apache/conf/httpd.conf: No such file or directory
cp: cannot create regular file `/compt/web/apache/conf/httpd.conf': No such file
or directory
- Done

I don't understand why I am getting error messages from this script.

I ran this after logging in via ssh then an su - root.

Please advise, as I will now have to delete and start again.

Moving along nicely
4 REPLIES 4
Konstantin Agouros
Occasional Advisor
Solution

Re: app_install problem

Hi,

is it possible that /compt does not exist or
isn't mounted. I had the same experience. So
before You start the script, make sure /compt does exist.

Konstantin
Chris Watson
Super Advisor

Re: app_install problem

The /compt directory did not exist.

I couldn't tell what was wrong, as later in the script /compt gets created.

Thanks.

Chris
Moving along nicely
Ron Vladick
Advisor

Re: app_install problem

Were you in the syshi compartment after you did the su - root?

tlsetcomp syshi



Chris Watson
Super Advisor

Re: app_install problem

No, I was in system.
Moving along nicely