Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to move single wav files to a Linux 8.1 Vmpro server 7

Status
Not open for further replies.

hibroth

Technical User
Oct 27, 2005
864
IT
Should be easy but on the 8.1 Linux based VMpro (UCM/Server Edition/Application Server) the default wav folder is under root access right, so no way to move pre-recorded wav files from PC to the VM.
Please note that on the 8.1 the folder has root rights only, viceversa on the 9.0 one the same folder (opt/vmpro/wavs)has Administrator rights making it easy the single file transfer with ssh clients like winscp.
Nothing is described on the Avaya docs about the single wav file transfer, I can't understand why someone should put hands to the linux OS to make it possible.

thanl you

 
Sucks but you'll need to get logged into the command line as root and change the permissions on the file you want to move.
 
I want to add new files, the destination folder rights does not allow it (if I enter with winscp) and I can't understand why I have to use the cli, it is boring, especially if I have lots of professionally recorded files to send
 
It is not boring at all when you get used to it :)
But you can fix this.
Login with cli and type this:

chown -R Administrator /opt/vmpro/Wavs

This will give the folder Wavs rights for the user Administrator.
When you login with Winscp for example you cannot login with root but with Administrator.
Changing ownership should work.
If the folder Wavs fails (i never tried on 8.1) then use type chown -R root /opt/vmpro/Wavs to change it back to root.
On 9.0 the owner is the user Administrator.


BAZINGA!

I'm not insane, my mother had me tested!

 
Or you can just go 1 directory deeper to the wavs\custom\ directory, which does have write privileges and put the files there....
 
Or use the /opt/vmpro/Wavs/Modules folder which intentionally is there for uploading wav files.
Use WinSCP with the default Administrator login to upload files.
No modding with read/write access rights neccessery.
 
Intrigrant, Avaya changed the permission of the Wavs folder in 9.0 to Administrator.
So they ad it that this was an issue in the earlier releases.
If somebody really cannot use the cli then i would use your suggestion but i think it is time for some people to try it and not being scared :)

BAZINGA!

I'm not insane, my mother had me tested!

 
That's true intrigant, tlpeter is right, on the 8.1 that folder has root rights, no way to write in it, a part the way suggested by tlpeter for wich he gains a star
 
I am working on transferring files at this moment.
I just installed the c110-9.0.200.1_el6 Image
The permissions on the WAV directory are ROOT ROOT upon initial install
I can't move .wav files to the WAV directory.

Per Tlpeter...
I logged into root on the UCM (using HDMI monitor & USB Keyboard - For those that may not know)
Issued the chown -R Administrator /opt/vmpro/Wavs command
Now permissions show Administrator ROOT

Moved my files to WAV with WinSCP without issue.

Haven't decided if I need to change the ownership back to ROOT ROOT

Guess I'll just run it and see what blows up.........

 
It is interesting to note regarding "ROOT"......

Using PuTTY..
[ul]
[li]You can NOT telnet to the UCM using ROOT (or any other server I've tried, like Nortel Signaling Server)[/li]
[li]-You get thrown a red herring because the login fails and doesn't really give a good reason[/li]
[li]The first time this happened to me I almost crapped my pants because I though I had lost the ROOT password.[sad][/li]
[li][/li]
[/ul]You get...
login as: root
root@10.0.1.2's password:
Access denied
root@10.0.1.2's password:


Using WinSCP
As most already know...you can't log in as ROOT either.
Hence why you have to Login via the front panel to make the ownership changes
 
Using Putty SSH connection:
Login as Administrator
Type admin
enter password "Administrator"
type su
enter root password
now you have a root session
then type chown -R Administrator /opt/vmpro/Wavs
it is all covered in this FAQ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top