1834870 Members
2576 Online
110070 Solutions
New Discussion

Re: install

 
SOLVED
Go to solution
Anjaneyulu
Frequent Advisor

install

Hi,

I want to know about ftp. At installation time how to install the patches from desktop to server desktop. I want to know the installation in Unix basic level.
19 REPLIES 19
Johnson Punniyalingam
Honored Contributor

Re: install

Hi,

The above Questions, are not clear,

what extacly you want..?

>>I want to know about ftp<<

please do

# man ftp --> will explain


>>At installation time how to install the patches from desktop to server desktop<<

You mean how you want copy the patched from you desktop to Server..?

>>I want to know the installation in Unix basic level
<<

Basically in HPUX , we all use "swinstall" command Patch Installations.

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
ARCHITECT_1
Advisor

Re: install

FTP sites are typically used for uploading and downloading files to a central server computer, for the sake of file distribution.

In order to download and upload files to an FTP site, you need to connect using special FTP software. There are both commercial and free FTP software programs, and some browser-based free FTP programs as well

The typical information needed to connect to an FTP site is:

1. The "server address" or "hostname". This is the network address of the computer you wish to connect to, such as ftp.hp.com.
2. The username and password. These are the credentials you use to access the specific files on the computer you wish to connect to.

# ftp ipaddress of server
username: xxxxx
password : xxxx

ftp>


mget -- to get file from the server
mput -- to upload file to server

---------------------------------


Regarding installation

TO install a software

#swinstall -s /path of software

TO List installed software

# swlist


ram
Anjaneyulu
Frequent Advisor

Re: install

In my server ftp is not working.Iam able to login to the ftp. But I can't execute the commands in ftp.
V. Nyga
Honored Contributor

Re: install

Hi,

maybe it's simplier at the beginning to use the graphical user interface (GUI) of swinstall - just type 'swinstall' and it will open.
Here you also can choose the source directory of the patches at a different server.

If possible, please give more details of your problem - which hardware, which os, how is your environment, exact error messages ...

Please also use the possibility to search in this forum.
The forum search is not the best, but you can use google and search with 'site:forums11.itrc.hp.com' or 'site:forums12.itrc.hp.com'

HTH and
keep on foruming
Volkmar
*** Say 'Thanks' with Kudos ***
Analyst
Trusted Contributor

Re: install

1.check for the ftp daemon whether running .

2.check for the /etc/ftpd/ftpusers entry, whether user is restricted.

3.check for the /etc/services, whether port for ftp is opened.
Ganesan R
Honored Contributor

Re: install

Hi Anjaneyulu,

If I understand your questions correctly, you want to copy some patches from your desktop to unix server using ftp.

If this is your requirement follow the below steps.

1.ftp from your pc to unix server

c:\>ftp

You will be asked to provide user name and password. Once you get the ftp prompt do the following

ftp>bin --> Transfer the files in binary mode
ftp>cd /tmp --> To put the files in tmp folder

ftp>hash --> Optional to know the progress

ftp>put --> To put the patch/file into tmp folder. Follow this command if you have more patches/files

ftp>bye --> to exit

If you provide the error or where you struck up then we will be able to help you.


Best wishes,

Ganesh.
Johnson Punniyalingam
Honored Contributor

Re: install

>>In my server ftp is not working.<<<

how to check ftp not working

# ps -ef |grep ftp

# grep ftp /etc/services
ftp 21/tcp # File
(above output show's ftp enabled under /etc/services)

# netstat -an |grep 21
tcp 0 0 *.21 *.* LISTEN
(port 21 should be listing)


# grep ftp /var/adm/inetd.sec
(look for any "Secuity" settings like ftp - allow or deny to particular ip range)


Iam able to login to the ftp.

even though ftp not enable , you may still have the ftp prompt, meaning its not enabled ,


>>But I can't execute the commands in ftp.<<

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Anjaneyulu
Frequent Advisor

Re: install

Ihave the files abhi, b, c, d in san(ip:1.2.3.4) host. I want to move this files to Anji(ip:2.3.4.5) host.


I followed bellow.
# ftp 2.3.4.5
ftp>bin
ftp>hash
ftp> put abhi
200 PORT command successful.
553 abhi: No space left on device.

Iam getting like that. after this redirectly I will get that file in Anji server. am I correct. Please let me know about the above error.

V. Nyga
Honored Contributor
Solution

Re: install

Hi,

as mentioned above you should change to a directory, where you're sure that you can write to.

ftp>cd /tmp
ftp>put abhi

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Johnson Punniyalingam
Honored Contributor

Re: install

hello Frnd,

>>553 abhi: No space left on device.<<

Can please check your "Target" folder have enough free space

(meaning source ftpA --> Server target ftpB --> Server
source ftpA :/home/Anjaneyulu
target ftpB ;/home/johnson --> can you check you have enough free space on the "Server ftpB -> folder /home/johnson ..?)

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Anjaneyulu
Frequent Advisor

Re: install

hi,

I able to copy files from one server to another.

But Iam not able to copy the files from my PC desktop to server
I want to move the one notepad9script) or word to server A.

c://home>ftp A
ftp>bin
ftp> put script
script: File not found

It diplays file not found. then I put the file in c://home after this also I get the same error.
V. Nyga
Honored Contributor

Re: install

Hi,

at pc's you can configure not to show an extention. Please verify the complete name of your file or try a wildcard 'scrip*'.
Also test to copy from C:\Temp instead of C:\home.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Anjaneyulu
Frequent Advisor

Re: install

Hi,

If you download one patch on your desktop.How can you move that patch to the server?
Analyst
Trusted Contributor

Re: install

1.Transfer the file through FTP to the server.

2. from local desktop
FTP server
username:-
password:-
go for ascii or bin file.
type lcd--> change to local desktop.
put the file to the server.
say bye to exit.

Anjaneyulu
Frequent Advisor

Re: install

Hi,

giving lcd also it displays the same error.

Please help me.
Ganesan R
Honored Contributor

Re: install

Hi Anjaneyulu,

Follow these steps to copy the patch from your pc to server. Don't ignore any steps.

1.Copy or keep the patch on c:\patch> directory in your pc

2. In your pc Goto command prompt and change to c:\>patch directory.

start --> run --> cmd

c:\>cd patch
c:\patch>

run ftp command from c:\patch> directory

c:\patch>ftp

issue the user name and password

ftp>bin
ftp>hash
ftp>cd /tmp
ftp>put
ftp>put PHNE_12345
ftp>bye

let us know if you struck somewhere...

Best wishes,

Ganesh.
Analyst
Trusted Contributor

Re: install


from desktop go for run->cmd -->goes for desktop of current users doc & settings
>ftp x.x.x.x
username :- xxxx
password :- xxxx

>type:- bin
>type :-hash
>default will be in desktop, else use lcd to chage the directory to local desktop
>cd the directory
>to send a file type:- put file
>to receive a file type:-get file
>to send/receive directory type:-mput/mget directory
> type :-ls
>check the file is being transfered or not
>type :-bye to exit.


if statisfied , assign points.
Anjaneyulu
Frequent Advisor

Re: install

Hi,

when I go to the ftp. the put command didn't get the file. and also my pwd is showing remoteserver directory. not the desktop.


I gave in the cmd > cd desktop. It goes to the desktop directory.

after I typed following bellow.

ftp 12.3.4.6(sat)
ftp>bin
ftp>hash
ftp>put h12
No such file or directory
ftp>pwd
/export/home/sat


The above directory is the sat's directory. How can I copy the files from desktop to in SAT server.
Please help me in this.
Ganesan R
Honored Contributor

Re: install

Hi Anajeyulu,

I mentioned in my previous post that you first goto the directory where you have the file on your desktop command prompt and give ftp command.

or you can use "lcd" command to goto required directory on local machine(desktop in your case)

>>>>and also my pwd is showing remoteserver directory. not the desktop<<<<

pwd will show remoteserver directory only. use lcd directory to change local directory.
Ex: ftp>lcd c:\patch\dir1

then use put command to copy the file. Use filename or wildcard for copying

Ex: ftp>put hp12.txt
ftp>put hp12*.txt
Best wishes,

Ganesh.