Running setup on a new server


 
Thread Tools Search this Thread
Operating Systems Solaris Running setup on a new server
# 1  
Old 04-28-2009
Running setup on a new server

I have a newly built Solaris 10 server that I want to install Sun One web server. After building the server I use FTP to copy over the web server installation files into a directory I created (/usr/local/software/JES/6.1sp8). I run ./setup and get this.

Code:
bash: ./setup: Permission denied

I assume I need to make permissions changes but have been unable to make it work so far. What do I need to do?

Thanks in advance.

Last edited by DukeNuke2; 04-28-2009 at 07:56 PM..
# 2  
Old 04-28-2009
Did you try to make the file executable for everyone by using chmod +x ./setup?
# 3  
Old 04-29-2009
I had not so I just did and here is what I get.

bash-3.00# chmod +x ./setup
bash-3.00# ./setup
./setup: .setup was not found in /usr/local/software/JES/6.1sp8/.
bash-3.00# ls
3RD-PARTY-LICENSE.txt installWrapper sun-webserver61-sol.tar
LICENSE.txt lib template.inf
README.txt setup
WebServer setup.inf

Thanks
# 4  
Old 04-29-2009
My initial ls command did not display all files so here is a more complete list.

Code:
bash-3.00# ls -l
total 218580
-rw-r--r--   1 root     root       36468 Apr 28 11:18 3RD-PARTY-LICENSE.txt
-rw-r--r--   1 root     root       19488 Apr 28 11:18 LICENSE.txt
-rw-r--r--   1 root     root         407 Apr 28 11:18 README.txt
drwxr-xr-x   2 root     root         512 Apr 28 11:18 WebServer
-rw-r--r--   1 root     root        6762 Apr 28 11:18 installWrapper
drwxr-xr-x   2 root     root         512 Apr 28 11:18 lib
-rwxr-xr-x   1 root     root        5303 Apr 28 11:18 setup
-rw-r--r--   1 root     root         502 Apr 28 11:18 setup.inf
-rw-r--r--   1 root     root     111769088 Apr 28 11:18 sun-webserver61-sol.tar
-rw-r--r--   1 root     root         810 Apr 28 11:18 template.inf


Last edited by DukeNuke2; 04-29-2009 at 01:15 PM..
# 5  
Old 04-29-2009
how can you run ./setup if the setup file is not even there in the current directory? Smilie
Pls check where is the setup binary file. Try using the whole path and run.
#/dir/somedir/somedir/setup
# 6  
Old 04-29-2009
Incredible, I think your post got in there before you had a chance to see my updated dirctory listing. Setup is in there. I did as you suggested though and here is what I got back.

bash-3.00# /usr/local/software/JES/6.1sp8/setup
/usr/local/software/JES/6.1sp8/setup: .setup was not found in /usr/local/software/JES/6.1sp8

Thanks
# 7  
Old 04-30-2009
This thread can be closed. I downloaded a new copy of the webserver install routine and it worked. I dont know why the first did not work but something was wrong with it. Thanks for your help.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

[ASK] How to setup portfw to server behind another server

Hi Experts, I was trying to find some documentations about this but seems I'm not good enough to find that one, so I'm seeking a help from the expert here. I have 3 Solaris Server and the diagram as follow: My PC => ---------------------- I was able to setup port forwarding to Server... (0 Replies)
Discussion started by: AdziE
0 Replies

2. UNIX for Dummies Questions & Answers

Transfer file from server B to server C and running the script on server A

I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A. Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server). We dont have RSA key... (4 Replies)
Discussion started by: kiran_j
4 Replies

3. Red Hat

Trying to get mailx setup and running

Ive kind of been left on my own to get things working on a production linux box. Im happy because it gives me some true admin experience. But theres alot I dont know ... Im trying to get mailx running. I can create an email, but it never gets delivered to my external email account. I am... (2 Replies)
Discussion started by: popeye
2 Replies

4. UNIX for Advanced & Expert Users

ftp server setup help

Hello all, Am in the process of setting up ftp server in my RHEL3 box. Here is where I downloaded the vsftp server ftp://scary.beasts.org/users/cevans/vsftpd-2.1.1pre1.tar.gz ftp server daemon is running fine, accepting connections from client but the issue is that 'user' I specifically... (3 Replies)
Discussion started by: matrixmadhan
3 Replies

5. Gentoo

Server Setup

We have C++ server (web applications) and Java Servers. I am not a Java developer but Java people say that Java Servers requires tomcat as it renders web pages. The Java server updates DB that C++ servers inquires upon and makes processing accordingly. This setup is ok for a user as the user... (6 Replies)
Discussion started by: uunniixx
6 Replies

6. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

7. UNIX for Dummies Questions & Answers

ntp server setup

Not connected to the internet so I would like to set up 1 unix machine to be the ntp server and have it sync time to about 30 other machines that are all on an private 10net network?:confused: (3 Replies)
Discussion started by: parrisjr
3 Replies

8. HP-UX

How To Setup Ftp Server

Hi, I'm planning to setup ftp server but I dont have yet what platform i'll be using. I think what ever flavor it is it will go in the same approach right, anyway I just would like to ask how to setup ftp in unix I know too many of here alraedy done with it. Thanks in advance. (0 Replies)
Discussion started by: eykyn17
0 Replies

9. UNIX for Dummies Questions & Answers

setup a DNS server for my redhat server

Using Redhat Linux Enterprise AS 4 can someone teach me how to setup a dns server for my webserver? i've registered a domainname at mydomain.com but when i type in the domain i register i cannot enter to my webserver. someone told me that it is related with the DNS setting on my server. i've... (2 Replies)
Discussion started by: kaixiang88
2 Replies

10. Shell Programming and Scripting

Shell running setup in Korn ?

I am starting to code a few ideas of customization and tasks improvements on the office UNIX machine. My first script (see below) only contains ALIAS commands. But for some reason, when I execute it, the alias are not executed. I suspect it is because of the "#!/bin/ksh" not being recognized or... (4 Replies)
Discussion started by: Browser_ice
4 Replies
Login or Register to Ask a Question