Dot profile not found error


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Dot profile not found error
# 1  
Old 04-07-2010
Dot profile not found error

During batch processing the following error occurs and will stop the process, ~environment_name/.profile : not found. The error happens randomly. Any ideas?
# 2  
Old 04-07-2010
do you mean environment variable ?

Then it may not be exported !
# 3  
Old 04-07-2010
The environment_name is really a place holder, it represents our processing ID. ~<actually process id>/.profile
# 4  
Old 04-07-2010
We'd have to see the program to understand why it was making that error, it's odd that it would put a PID there and not a home dir.
# 5  
Old 04-07-2010
That's the problem, it is sporadic and we get this type of error in various scripts that run. It is not just one script, it doesn't happen all the time. It can happen in various places within a script.
# 6  
Old 04-07-2010
Please post actual part of the code that uses ~environment_name/.profile
# 7  
Old 04-07-2010
... and please post the exact and complete error message. I'd expect it to start with the name of your shell.


I can produce a similar error message by typing this at a shell command prompt.
Code:
~environment_name/.profile

sh: ~environment_name/.profile:  not found.


Last edited by methyl; 04-07-2010 at 08:14 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. HP-UX

/etc/profile error

Hi Please can you help me in solving the following error as I am logging in with any user, on my HP-UX system. The error is /etc/profile: Syntax error: `then' is not matched. I have looked into /etc/profileline 125, but I dont see anything wrong. (7 Replies)
Discussion started by: fretagi
7 Replies

2. Shell Programming and Scripting

How to remove. (dot) if found in the beginning of file name while doing wget (download)?

Dear All, How to remove. (dot) if found in the beginning of file name while doing wget (download)? I am facing problem while re-sizing the image by using ImageMagick. Two dots in the file name are causing problem. ImageMagick is skipping such image with a dot . in the beginning, like ... (1 Reply)
Discussion started by: Praveen Pandit
1 Replies

3. UNIX for Advanced & Expert Users

.profile file not found

Hi I am trying to load the profile file using . /home/user/.profile it says file not found, but I can see the file in the /hom/user directory. Any help ? Thanks, Murty. (5 Replies)
Discussion started by: murtymvvs
5 Replies

4. AIX

aix 6.1 root .profile not found

hello all i just installed my 1rst 6.1 machine and it's working fine but i can't find the root .profile ????? can any one help BEst Regards (1 Reply)
Discussion started by: islam.said
1 Replies

5. Infrastructure Monitoring

trap in etc/profile and user .profile

Hello I really wonder what's trap in etc/profile and in each user .profile. I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing. I want to know ... 1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies

6. Shell Programming and Scripting

.profile file error on HPUX 11.11

Hi, I am working on HPUX 11.11i and 11.10 boxes. My default shell is ksh. I have the following entry in my profile file HOSTNAME=`uname -n` Every time I login to the server, this is the error I get: ${HOME:-.}/.profile: syntax error: `)' unexpected The line number shown... (1 Reply)
Discussion started by: Yomaanmean
1 Replies

7. Post Here to Contact Site Administrators and Moderators

Error updating profile

I'm trying to update my profile with a temp e-mail address. This is a hotmail e-mail address and it wont allow it. The reason for this is I've changed my service with my ISP since I've moved :D and well I've gone form Cable to DSL :mad: Now my e-mail accounts are still there but I can't... (4 Replies)
Discussion started by: woofie
4 Replies

8. UNIX for Dummies Questions & Answers

changed .profile but didnt ./.profile, yet reflected changes

hi , i added ls -F to .profile. and i need to do ./.profile for the effect to take effect BUT i didnt and YET the next day when i came to work and log in, the changes took effect. i am on aix. please explain.. thanks (4 Replies)
Discussion started by: yls177
4 Replies
Login or Register to Ask a Question