The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can I Install the Gani Network Driver Using the Application that Came on the CD? Bradj47 SUN Solaris 8 08-20-2009 03:12 AM
Install application on UNIX cluster satish_000 HP-UX 4 10-10-2008 10:25 PM
Mac OS X 10.4: Optional Installs may install previous versions of certain application iBot OS X Support RSS 0 09-27-2008 07:12 AM
sudo: application install question forbin24 UNIX for Dummies Questions & Answers 2 08-09-2004 03:34 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-17-2009
huge_ness huge_ness is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 3
UNIX Application install

Hi,

I am currently installing an application (tar ball) on a server that involves ftp from my computer to the server directory (unix). Once it is deployed, I am now responsible to getting it to run. Using putty, i telnet/ssh to the remote node and type in the following command: vi .kshrc. I then add the necessary block of text indicating path and home directory for application
eg:
# Module Name
export MODULEName_HOME=${server_HOME}/type/moduleName/current
PATH=$PATH:$MODULEName_HOME/bin

once this is done i logout the current session and log back in through putty.

I then need to update the softlinks to the correct application version and do so by:
1. cd $MODULEname/..
2. rm -rf current (delete the file, if it is present)
3. ln -s W_X_Y_Z current (e.g. ln -s 2_0_0 current)
And finally i type in: moduleNamectl start
After all this is completed. I still end up with an error message within the ctl log stating: Error occurred during initialization of VM
Could not reserve enough space for object heap
If anyone has any opinion on how to fix this problem or perchance an error in my method.

Let me know,

Any help is great.

Thanks
  #2 (permalink)  
Old 09-17-2009
neildomo neildomo is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 3
UNIX Application Install

This sounds like you're installing a java app, and when you start it java is trying to grab more memory than what your system has available. Check the startup script for the java command, and one of the arguments is probably the memory size. Try changing that, but beware that it may affect the app's performance.
  #3 (permalink)  
Old 09-17-2009
huge_ness huge_ness is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 3
Re: neildemo

From what you understand, you're right by saying its a java app, however from there, how would i be able to access the startup script that you were mentioning?
  #4 (permalink)  
Old 09-17-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,933
Depends, what OS/distribution is this server running?
  #5 (permalink)  
Old 09-17-2009
huge_ness huge_ness is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 3
It is a SunOS 5.10 Generic

---------- Post updated at 06:37 PM ---------- Previous update was at 04:47 PM ----------

So i did as you said and brought down the memory heap level on the machine, and it is still giving me the same error?
  #6 (permalink)  
Old 09-17-2009
neildomo neildomo is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 3
"And finally i type in: moduleNamectl start" Look at the file 'moduleNamectl'. When you pass the argument 'start' to it, it most likely either runs java with a bunch of options, or calls another script that runs java. You want to find the arguments that are being passed to the java command. I don't remember the exact argument for setting the memory size, but you can probably just google that.
Reply

Bookmarks

Tags
application, error, installation, unix

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0