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.

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.

Did you try to make the file executable for everyone by using chmod +x ./setup?

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

My initial ls command did not display all files so here is a more complete list.

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

how can you run ./setup if the setup file is not even there in the current directory? :slight_smile:
Pls check where is the setup binary file. Try using the whole path and run.
#/dir/somedir/somedir/setup

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

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.

maybe checksum problem during download :stuck_out_tongue: