Cygwin & Moshell Installation Manual
It was so easy and always be worked for me :
Getting and installing cygwin :
1. Go to the website http://www.cygwin.com/
2. Click on Install Now
3. Save the setup.exe file, then execute it.
4. Choose Install from internet, click Next
5. Root Directory C:\cygwin (It is not recommended to choose a different directory, especially if it contains spaces)
IMPORTANT: Default Text File Type should be set to UNIX (NOT DOS !!! otherwise ftp transfers get corrupted). Then click Next.
6. Select Internet Connection: put the proxy settings (generally use IE5 settings works with ESOE PCs). Click Next.
7. Select Packages: Add the following packages:
• under Archive select unzip
• under Interpreters select perl
• under Net select inetutils, openssh, and openssl
• under Shells select rxvt
• optional: under Editors select vim (if you want to be able to edit files with vi)
8. Click Next, install will start
9. In the directory C:\Cygwin ,double-click on the file cygwin.bat. This will startup the Cygwin window and create some files. Now close the Cygwin window.
Open an editor and edit the file cygwin.batch (MS-DOS Batch file) – click right button and edit. Delete the line: bash --login -i. At the end of the file add the following (replace xxxx with your user id):
set USER=xxxx
set HOME=/home/xxxx
set SHELL=/bin/bash
rxvt -sl 65000 -e /bin/bash --login -i
IMPORTANT:
Make sure that there are no spaces at the end of the lines otherwise the windows environment variables don’t get set correctly and your .Xdefaults file will not be read (meaning that rxvt looks horrible!).
10. Open the file C:\Cygwin\etc\profile in a text editor and add the following 6 lines at the end of the file (replace xxx with your user id!):
export USER=xxxx
export HOME=/home/xxxx
export SHELL=/bin/bash
mkdir -p $HOME
cd $HOME
source $HOME/.bashrc
11. Edit the file C:/Cygwin/etc/passwd in a text editor and make sure that there is a row with your username and home directory. If the home directory (found towards the end of the line) looks like /cygdrive/h then replace this with /home/youruserid (replace youruserid with your user id!!). This is needed for ssh to function properly.
12. Start a Cygwin Terminal window by clicking on the icon in start menu or on desktop, then run the following commands: Create the following 3 files in your /home/youruserid directory: .bashrc, .inputrc, and .Xdefaults This can be done with the commands:
touch .bashrc
touch .inputrc
touch .Xdefaults
13. Go to the directory C:\Cygwin\home\youruserid (from windows explorer) and open the following 3 files in a text editor:
In the .bashrc file, put the following lines:
Note : Delete all and copy all from .bashrc working file.
unset PROMPT_COMMAND
export PS1="\[\033[1m\][\w]\\$\[\033[0m\] "
alias ls=’ls -FX’
set -o notify
set -o ignoreeof
shopt -s cdspell
shopt -s cdable_vars
shopt -s checkhash
shopt -s checkwinsize
shopt -s sourcepath
shopt -s histappend
export PATH=$PATH:/home/yourid/moshell (Edit yourid)
The last line appends the moshell directory to your $PATH. This will enable you to call moshell from any directory.
In the .inputrc file, put the following lines:
Notes : Delete all and copy all from .inputrc working file.
set bell-style visible
set convert-meta Off
set output-meta On
set input-meta On
set completion-ignore-case on
set completion-query-items 150
set mark-directories on
set visible-stats On
set show-all-if-ambiguous On
set expand-tilde On
"\e[D": backward-char
"\e[C": forward-char
"\e[A": history-search-backward
"\e[B": history-search-forward
"\e[7~": beginning-of-line
"\e[8~": end-of-line
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[3~": delete-char
"\e[2~": menu-complete
"\M-[2~": paste-from-clipboard # Insert
"\M-q": menu-complete
"\C-d": delete-char
"\C-l": clear-screen
"\C-xdf": dump-functions
"\C-xdv": dump-variables
"\C-xdm": dump-macros
Note :
Type man bash if you want to get more information about what these lines do.
In the .Xdefaults file, put the following lines:
Note : Copy all from .Xdefauts working file.
Rxvt*background: Black
Rxvt*foreground: White
Rxvt*saveLines: 65535
Rxvt*termName: xterm
Rxvt*geometry: 143x64+0+0
Rxvt*loginShell: true
Rxvt*font: "Lucida Console-11"
Rxvt*cutchars: ‘"’&()*,;<=>? []{|}
These are just examples of terminal properties, you can change them to fit your needs. Type man rxvt to view all available properties.
14. Open a new cygwin terminal window. The window should be black with white text and the prompt should like this: [~]$ If not, then go through the last 4 steps again and make sure you haven’t missed out anything.
15. Moshell installation (Run program cygwin)
Follows these steps if you already have a working Cygwin environment.
• Put the moshellxxx.zip file in c:\cygwin\tmp (copy moshell7.0zip file here)
• Open the cygwin shell and go the /tmp directory. Run the following:
Cd /tmp
unzip -o moshellxxx.zip(unzip –o moshell7.0zip)
bash moshell_install
Go to foder C:/cygwin/home, and then copy moshell and moshell logfile folder from working file.
16. Running moshell for the first time
If you have set the PATH variable correctly in your ~/.bashrc file, you should be able to run moshell from any directory. E.g: moshell <ip address>
If unknown command --- go home (C:/cygwin/home/moshell) check jarxml file and copy from working jarxml file.
Ask me if there is something problem bro
New Picture (3).jpg
Hai spiderman
please help me
after install moshell
the moshell installed ok
but displayed
IOR file maye be corrupted
please help
I can't access the picture bro. while you tried connected to Node B by Moshell??? Is it Node B was integrated or new site?
Have you tried this trick?
1. Download the node’s IOR file and store it on the workstation. The node’s IOR file isfetched from http://nodeipaddress/cello/ior_files/nameroot.ior2.
2. Check the node’s MOM version The node’s MOM is fetched fromhttp://nodeipaddress/cello/oe/xml/<filename> where <filename> is one of the fileslisted in the user variable xmlmomlist. The MOM version is derived from the "mim" tag in-side the MOM file, eg: <mim name="RNC_NODE_MODEL_E" version="5" release="3">becomes RNC_NODE_MODEL_E_5_3. If this MOM version does not exist on theworkstation (under moshell/jarxml directory), then it is downloaded from the node andstored in that directory. If the MOM version could not be figured out (ie. moshell could notfind any MOM on the node), the MOM specified in the moshell uservariable default_mom is used.
3. Parse the MOM and generate an internal table specifying all MO classes, attributes, andactions supported by the node.
4. Initiate CORBA communication with the node by using the information contained in theIOR file.
5. Read the FDN of the Root MO.
6. Ready to receive commands from the user
Hi all,
Moshell for RNC require 2 files, RNC_NODE_MODEL_L_1_123.xml and RNC_NODE_MODEL_L_1_123.xml.cache.
please share
thanks
Thanks a great help
Can anybody help me out to solve this issue plz???
Whenever i'm trying to connect to nodeB through MOSHELL, its having list of errors.
Kindly check out those errors, which i have mentioned below.
""-bash: alias: -FX▒: not found
-bash: alias: -FX▒: not found
[~]$
[~]$
[~]$ moshell 10.230.146.209
####################################################################
# Welcome to MoShell 7.1t #
# Finn Magnusson, Jan Pettersson #
# http://utran01.au.ao.e*******.se/moshell #
# Contact: Finn.Magnusson@e*******.com #
# David.Smith@e*******.com #
####################################################################
cygwin warning:
MS-DOS style path detected: C:/cygwin/home/fso/moshell/moshell
Preferred POSIX equivalent is: /home/fso/moshell/moshell
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/usin...sing-pathnames
Checking ip contact...OK
HELP MENU : h
BASIC MO COMMANDS : m
OTHER MO COMMANDS : n
OTHER COMMANDS : o
PM COMMANDS : p
QUIT : q
10.230.146.209> lt
120213-16:53:27 10.230.146.209 7.1t stopfile=/tmp/1612
Checking MOM version...RBS_NODE_MODEL_M_1_43
Downloading File from http://10.230.146.209/cello/oe/xml/RbsNode.xml.jar to /home/fso/moshell_logfiles/logs_moshell/tempfiles/20120213-165158_5068/RBS_NODE_MODEL_M_1_43.xml.jar ...Done.
Moving file to /home/fso/moshell/jarxml/RBS_NODE_MODEL_M_1_43.xml.jar ...Done.
Parsing MOM: /home/fso/moshell/jarxml/RBS_NODE_MODEL_M_1_43.xml.jar ..................................................................Done.
Caching MOM to: /home/fso/moshell/jarxml/RBS_NODE_MODEL_M_1_43.xml.cache .....Done.
Compressing to: /home/fso/moshell/jarxml/RBS_NODE_MODEL_M_1_43.xml.cache.gz ...Done.
Fetching IOR file...Done.
Some jar files are missing. Downloading now...
Please enter Node Password:
File iaik_jce_full_us.jar not found on this node.
File jacsec.jar not found on this node.
get /c/java/CXC1320960_R73D19.jar /home/fso/moshell/jarxml/jacoms.jar ... OK
File oms.jar not found on this node.
get /c/java/CXC1721558_R73D01.jar /home/fso/moshell/jarxml/jacorb.jar ... OK
File vbjorb.jar not found on this node.
Connecting to 10.230.146.209:56834 (CorbaSecurity=OFF, corba_class=1)
**** Welcome to the Simple Mo Browser (version 3.0)!
Trying file=C:/cygwin/home/fso/moshell_logfiles/logs_moshell/tempfiles/20120213-165158_5068/ior5068
org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.inprise.vbroker.orb.ORB vmcid: 0x0 minor code: 0 completed: No
org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.inprise.vbroker.orb.ORB vmcid: 0x0 minor code: 0 completed: No
at org.omg.CORBA.ORB.create_impl(Unknown Source)
at org.omg.CORBA.ORB.init(Unknown Source)
at c.a(Unknown Source)
at e.<init>(Unknown Source)
at se.e*******.cello.configtestclient.SimpleMoBrowser.<init>(Unknown Source)
at se.e*******.cello.configtestclient.SimpleMoBrowser.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.inprise.vbroker.orb.ORB
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
... 6 more
Exception in thread "main" java.lang.NoClassDefFoundError: BasicConfig/ProcessingFailure
at e.<init>(Unknown Source)
at se.e*******.cello.configtestclient.SimpleMoBrowser.<init>(Unknown Source)
at se.e*******.cello.configtestclient.SimpleMoBrowser.main(Unknown Source)
!!!! One of the jar files in /home/fso/moshell/jarxml may be corrupted.
Delete the suspected jar file(s) and try to connect again.
Cannot connect to MO service, exiting...
[~]$
""
I hope i will get the solution sooner.
Thanks in advance.
Best Regards,
$Bala$
copy all of data mostly in the \\moshell\jarxml of your friend that had succes
it give common jarxml of type cpp node
Same as nadila.
For this case :
""-bash: alias: -FX▒: not found
try to delete alias line on bashrc file.
Thanks
Please ban the user AMATEPATRM
zeuscane
"Educate yourselves because we'll need all your intelligence.
Stir yourselves because we'll need all your enthusiasm.
Organize yourselves because we'll need all your strength."
Bookmarks