Sponsored Content
Top Forums UNIX for Advanced & Expert Users Issue Regarding environment/.profile file Post 302788615 by saps19 on Tuesday 2nd of April 2013 07:08:38 AM
Old 04-02-2013
Issue Regarding environment/.profile file

Hi All,

I have my own .profile file and environment file.

To execute some commands I always need to load some module using module command and change my environment files to project environment file (. /some/project/some/path/init.environ).Without changing my environment file to project file, the module command will not work.
Code:
(-ksh: module: not found [No such file or directory])

I am not able to figure out why do I need to change my environment file to project environment file to execute module command. Is there any path do I need to export in my .profile file to make this module command to work?

Kindly help me on this issue and please let me know if you need nay further information.

Regards,
Saps.
 

10 More Discussions You Might Find Interesting

1. Solaris

Profile and environment variable

Hi, I'm using solaris 8 and I need to know where I can add the following variable to have it applied to all my user Ids. I tried to add this to /etc/profile but not working when i check with "env" command : export PW_MATRIX=/usr/local/ccms/security/dat/.PASSWORD_MATRIX export... (2 Replies)
Discussion started by: unclefab
2 Replies

2. Shell Programming and Scripting

How is .profile and environment variable linked..

:( 1.) How is .profile and environment variable linked.? 2.) What happens when we execute a script.? (3 Replies)
Discussion started by: guhas
3 Replies

3. Solaris

Where's the .profile environment config for root under Bourne shell?

I don't know where the environment config file for root user is in the Bourne shell on Solaris 10? Can you help me, or am I helpless???? (2 Replies)
Discussion started by: Joncamp
2 Replies

4. AIX

Environment variable values encrption in profile

Hello This is the format of present profile which we use for a AIX user export DMRUNuser ; DMRUNuser="owbrunuser_10" export DMRUNpasswd ; DMRUNpasswd="ods$12345" DMRUNuser&DMRUNpasswd were the environmental users which store the user id and password of a... (1 Reply)
Discussion started by: kalpana.anuga
1 Replies

5. Solaris

Profile Issue

when I log into my solaris box, my environment variables are not getting set, and i am getting this error? any ideas? -sh: ORACLE_BASE=/u01/oracle: is not an identifier part of .profile is: export ORACLE_BASE=/u01/oracle export ORACLE_HOME=$ORACLE_BASE/app/products/10.2.0/db_1 ... (6 Replies)
Discussion started by: scorphg
6 Replies

6. UNIX for Dummies Questions & Answers

Profile execution issue

Hi I have a profile execution issue, I log on to a linux machine , then i do sudo to another user as sudo su - <username> , then <username> .profile executes properly but when I type something I loose all environment varaible and my prompt changes to '$' loosing the PS1 value that I have... (1 Reply)
Discussion started by: malavm
1 Replies

7. Shell Programming and Scripting

User profile, environment

Hello , i am on sles 11, and i can't figure out how can i locate my profile file, the one that is use for setting the environment when i log in. oracle@r200:~> cd oracle@r200:~> pwd /opt/oracle oracle@r200:~> echo $SHELL /bin/bash oracle@r200:~> oracle@r200:~> cat .profile cat: .profile:... (4 Replies)
Discussion started by: tonijel
4 Replies

8. UNIX for Dummies Questions & Answers

Messed up my boot environment or root profile

Ok, a couple weeks ago I was fixing a cron report about perl not happy with 'locale' info (LANG and LC not set). As a result, I was experimenting with setting the correct 'locale' in several areas (like /etc/sysconfig/i18n and who knows where). Somehow after a reboot, as soon as the OS starts... (3 Replies)
Discussion started by: Garball
3 Replies

9. AIX

Profile environment variables lost after mksysb restore

Hello. I restore an mksysb image (AIX 5.3 TL 11) from one model to another model of Power (power 5 to power 7). Everything seems good, but I lost environment variables of at least one of a user profile. The result of the "env" command show me great differences between two servers, first of them... (2 Replies)
Discussion started by: stephnane
2 Replies

10. Shell Programming and Scripting

.profile issue with UNIX

Hi, There is a user in Solaris-10 zone, ora_big01. Its .profile is not getting executed due to some reason and I am not able to find that. root@trddpd-dwsq04:/# cat /etc/passwd | grep -i ora_big01 ora_big01:x:242349:220:Siebel for QA:/ccq/apps/siebel:/usr/bin/ksh root@trddpd-dwsq04:/# which ksh... (3 Replies)
Discussion started by: solaris_1977
3 Replies
aecvsserver(1)															    aecvsserver(1)

NAME
aecvsserver - serve CVS client protocol against Aegis projects SYNOPSIS
aecvsserver server aecvsserver pserver aecvsserver -VERSion DESCRIPTION
The aecvsserver command is used to serve the CVS client protocol. The repository, of course, is stored within Aegis. The server works by retrieving file contents from locations within Aegis change sets and repositories. When necessary, appropriate aegis(1) commands are executed by the server to fulfill the requests. This code is still experimental. At the present time only a limited number of CVS commands are understood. If you would like to extend this code, contributions are welcome. The following commands are thought to work at this time: add, admin, checkout, commit, init, remove, update. server To use the server, you will need to set the following environment variables: CVSROOT=:ext:hostname/aegis CVS_RSH=ssh CVS_SERVER=aecvsserver pserver It is also possible to use aecvsserver as a cvs pserver, with all the usual caveats about how insecure this access method is, because it transmits the password almost in the clear. The root and modules are as above. MODULES
The CVS concept of modules is mapped onto Aegis concept of projects and changes. The special CVSROOT administrative module is simulated. Projects as Modules Each Aegis project appears to the CVS client as a module; the module's name is the same as the Aegis project's name. This type of module isn't immediately useful except for the cvs export command, or to perform a read-only cvs checkout command. You can't commit to a project-named module. This because Aegis requires all operations which would change the repository to be performed through a change set. It is theoretically possible to code aecvsserver to create a change (via aenc(1) and aedb(1) commands), then add the necessary files (via aenf(1) and aecp(1) commands), then build (via the aeb(1) command), then test (via the aet(1) command), and finally to end development of the change (via the aede(1) command). As the CVS protocol documentation says "The protocol makes it possible for updates to be atomic with respect to checkins; that is, if someone commits changes to several files in one cvs command, then an update by someone else would either get all the changes, or none of them. The current cvs server can't do this, but that isn't the protocol's fault." This code is yet to be written. Contributions welcome. The protocol, however, doesn't make it particularly easy, either. The semantics of the Modify request change depending on whether it is followed by the commit request or the update request. Changes as Modules Each Aegis change set also appears to the CVS client as a module; it's name is project.Cnumber. All cvs add commands, cvs remove com- mands, cvs update commands and cvs commit commands are performed against the change set, not directly to the baseline. It is necessary for the change set to already exist, and once you have run the cvs commit command, it will the be necessary to use the aede(1) command and the rest of the usual Aegis process. Once a change is no longer in the being developed state, it cannot be changed via aecvsserver(1) and you will need to create a new Aegis change set, and then cvs checkout a new client-side work area. Please note: if you are experimenting with the interface via cvs -d :fork:/aegis or similar, the work area you create must be outside the Aegis change set's development directory. CVSROOT The CVSROOT module's contents are synthesized from Aegis meta-data. You can't add or modify files in this module; you need to administer Aegis directly with aegis(1) commands. EXIT STATUS
The aecvsserver command will exit with a status of 1 on any error. The aecvsserver command will only exit with a status of 0 if there are no errors. ENVIRONMENT VARIABLES
See aegis(1) for a list of environment variables which may affect this command. See aepconf(5) for the project configuration file's project_specific field for how to set environment variables for all commands executed by Aegis. COPYRIGHT
aecvsserver version 4.24.3.D001 Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Peter Miller The aecvsserver program comes with ABSOLUTELY NO WARRANTY; for details use the 'aecvsserver -VERSion License' command. This is free soft- ware and you are welcome to redistribute it under certain conditions; for details use the 'aecvsserver -VERSion License' command. AUTHOR
Peter Miller E-Mail: millerp@canb.auug.org.au //* WWW: http://www.canb.auug.org.au/~millerp/ Reference Manual Aegis aecvsserver(1)
All times are GMT -4. The time now is 01:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy