cancel
Showing results for 
Search instead for 
Did you mean: 

DataCollect.zip unable to see or permission issue.

RaviNS
Level 3

Hi All,

I did follow the instructions.

Main Menu>Support>Logs>Share Open
cifs share path : \\hostname\logs\

Map network drive to the share and use appliance admin credentials.
If you would like to retrieve a file that is not on the share, you can copy it to the root of the share using the cp command.

Example:

cp filename /log/.LOGROOT


Note: you may need to change the permission on the file in order to copy it off the share:

chmod 755 [filename]

 

 

Below is my case where i am unable to see in CIFS, it shows older file and unable to copy due to permission issue.

/home/maintenance # cd /tmp

:/tmp # chmod 777 DataCollect.zip
:/tmp # ls | grep DataCollect.zip
DataCollect.zip

 

:/tmp # ls -ltr | grep DataCollect.zip
-rwxrwxrwx 1 root root 5186927 Sep 13 22:18 DataCollect.zip


:/tmp # ls -ltr | grep DataCollectSEP14.zip


cp /tmp/DataCollect.zip /tmp/DataCollectSEP14.zip

cp /tmp/DataCollectSEP14.zip /inst/patch/incoming

Main Menu>Support>Logs>Share Open

I don't find in cifs share path : \\hostname\logs\ ( which is /APPLIANCE folder)

I did map to local drive and also there is permission issue copying recently created Datacollect ( yesterday created ), however i don't see the DataCollectSEP14.zip

So to Sum up , there are 2 issues. 

1. Unable to see DataCollectSEP14.zip in CIFS

2. Permission issue ( which i had already set )

4 REPLIES 4

jnardello
Moderator
Moderator
   VIP    Certified

Do you have puTTY installed on your destination? You could just use pscp and bypass the whole CIFS-share thing entirely.

C:\users\me\desktop\> pscp admin@myappliance.com:/inst/patch/incoming/DataCollect.zip .

 

Thanks John_Nardello1

 

Do you have puTTY installed on your destination? 

i see putty is installed in server ( lets say ServerA ) on which i need the datacollect to be downloaded, since i am dealing with appliance. I did check the pscp command after your message and it seems like when connected to appliance from ServerA using putty with elevate access in appliance. 

 

It does not seems to be working for me or i am doing something incorrect.

:/tmp # pscp
bash: pscp: command not found

What i did try after reading the pscp is

 

pscp admin@myappliance.com:/inst/patch/incoming/DataCollect.zip  c:\temp 

bash: pscp: command not found

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

@RaviNS, If you have putty installed on your desktop, then pscp should be part of the putty installation.

Run pscp command on your desktop to copy files from the Appliance as per example in @jnardello's post. 

RaviNS
Level 3

Tried from different server to manually Copy and paste to Desktop window. Did pop up security settings . Accepted settings and it worked.