Sponsored Content
Full Discussion: error in .login file
Top Forums Shell Programming and Scripting error in .login file Post 302504710 by agnstege on Tuesday 15th of March 2011 09:16:22 AM
Old 03-15-2011
Just off the bat it appears that your ANT home is having an issue.
setenv ANT_HOME /dun/d2ddm0/jakarta-ant-1.5

maybe make sure of this location
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Error login user file utmp

could probably help me with a unix problem. Basicallyu, when the users try to connect to the server they get this messge: No UTMP entry. you must exec "LOGIN" from the lowest level "sh" They are connecting using a windows emulator called TINYTERM. We cannot connect from the console either... (3 Replies)
Discussion started by: jernesto_diaz
3 Replies

2. AIX

Login Error 3004-304

I am trying to log on and get an error "3004-304 You are not allowed to login at this time.". This happens with both "root" and "admin" (the only other user ID on the system). System console or telnet session, doesn't matter. When I reboot the system, which I can only do with the power button since... (0 Replies)
Discussion started by: dino_bekas
0 Replies

3. UNIX for Advanced & Expert Users

Login error....

We have a situation where one of my users log's into my Solaris box and gets the followin error..... rsh marvin Last login: Tue Jun 28 07:28:18 from lvie450 ld.so.1: whoami: fatal: libgen.so.1: can't open file: errno=2 Killed /home/username @marvin> Anyone have any idea? Frank (2 Replies)
Discussion started by: frankkahle
2 Replies

4. Solaris

login error as root

Hi i am using sun netra20 server ruuning solaris 9 and while i trying to login as root its showing error as shown below. SunOS 5.9 login:root password: Not on system console Connection to system closed by foreign host But i can login as scadm and su to root...then it is goin to root... (1 Reply)
Discussion started by: gini
1 Replies

5. Post Here to Contact Site Administrators and Moderators

Login error

Hi There, Good day, Few minutes before i made a donation thru your url provided. its a secured web page, but made process very slow. i am not sure whether it was transacted properly or not. Also i am not able to login after this system hang action. for each and every click events it... (2 Replies)
Discussion started by: karthikn7974
2 Replies

6. UNIX for Advanced & Expert Users

VSI-FAX error - Cannot login to server and Connecto error to host

I encounters a VSIFAX related error: vfxstat: Cannot login to server on rsac3: Connect error to host 172.16.1.45: Invalid argument It started happening last night with a core dump. Then we can't start VSIFAX again. I am runing VSI-FAX 4.2 on AIX box (0 Replies)
Discussion started by: b_jin
0 Replies

7. Shell Programming and Scripting

login error because of indentation isql

The below works/usr/sybase/bin/isql -S${SERVER} -D${DB} -U${ID} -P${PASSWD} -w 250 -n <<EOF > output The below is indented but doesnt work when /usr/sybase/bin/isql -S ${SERVER} \ -D ${DB} \ -U ${ID} \ -P ${PASSWD} \ -w 250 \ -n ... (1 Reply)
Discussion started by: pinnacle
1 Replies

8. Solaris

error message rmclomv ... SC Login Failure for user Please login:

Hello World ~ HW : SUN Fire V240 OS : Solaris 8 Error message prompts 'rmclomv ... SC login failure ...' on terminal. and Error Message prompts continually 'SC Login Failure for user Please login:' on Single Mode(init S) The System is in normal operation, though In case of rain, Can... (1 Reply)
Discussion started by: lifegeek
1 Replies

9. Solaris

Error while login into the server

Hello, Whenever i login into one of my solaris machine i get below message, Usage: basename ] if: Expression syntax Profile or environment of my user is not properly getting loaded. Can somebody help why this is coming and solution to it? (1 Reply)
Discussion started by: varunksharma87
1 Replies

10. Shell Programming and Scripting

Sqlplus error - sqlplus -s <login/password@dbname> : No such file or directory

i am using bash shell Whenever i declare an array, and then using sqlplus, i am getting sqlplus error and return code 127. IFS="," declare -a Arr=($Variable1); SQLPLUS=sqlplus -s "${DBUSER}"/"${DBPASS}"@"${DBASE} echo "set head off ; " > ${SQLCMD} echo "set PAGESIZE 0 ;" >> ${SQLCMD}... (6 Replies)
Discussion started by: arghadeep adity
6 Replies
GETENV(3)						   BSD Library Functions Manual 						 GETENV(3)

NAME
getenv, putenv, setenv, unsetenv -- environment variable functions LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <stdlib.h> char * getenv(const char *name); int setenv(const char *name, const char *value, int overwrite); int putenv(char *string); int unsetenv(const char *name); DESCRIPTION
These functions set, unset and fetch environment variables from the host environment list. The getenv() function obtains the current value of the environment variable, name. The application should not modify the string pointed to by the getenv() function. The setenv() function inserts or resets the environment variable name in the current environment list. If the variable name does not exist in the list, it is inserted with the given value. If the variable does exist, the argument overwrite is tested; if overwrite is zero, the variable is not reset, otherwise it is reset to the given value. The putenv() function takes an argument of the form ``name=value'' and is equivalent to: setenv(name, value, 1); The string pointed to by string becomes part of the environment. A program should not alter or free the string, and should not use stack or other transient string variables as arguments to putenv(). The setenv() function is strongly preferred to putenv(). The unsetenv() function deletes all instances of the variable name pointed to by name from the list. Note that only the variable name (e.g., "NAME") should be given; "NAME=value" will not work. RETURN VALUES
The getenv() function returns the value of the environment variable as a NUL-terminated string. If the variable name is not in the current environment, NULL is returned. The setenv(), putenv(), and unsetenv() functions return the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error. ERRORS
[EINVAL] The function getenv(), setenv() or unsetenv() failed because the name is a NULL pointer, points to an empty string, or points to a string containing an ``='' character. The function putenv() failed because string is a NULL pointer or string is without an ``='' character. [ENOMEM] The function setenv(), unsetenv() or putenv() failed because it was unable to allocate memory for the environment. LEGACY SYNOPSIS
#include <stdlib.h> void unsetenv(const char *name); unsetenv() doesn't return a value. COMPATIBILITY
putenv() no longer copies its input buffer. This often appears in crash logs as a crash in getenv(). Avoid passing local buffers or freeing the memory that is passed to putenv(). Use setenv(), which still makes an internal copy of its buffers. unsetenv() no longer parses the variable name; e.g., unsetenv ("FOO=BAR") no longer works. Use unsetenv("FOO"). unsetenv() also now returns a status value and will set errno to EINVAL if name is not a defined environment variable. SEE ALSO
csh(1), sh(1), execve(2), compat(5), environ(7) STANDARDS
The getenv() function conforms to ISO/IEC 9899:1990 (``ISO C90''). The setenv(), putenv() and unsetenv() functions conforms to IEEE Std 1003.1-2001 (``POSIX.1''). HISTORY
The functions setenv() and unsetenv() appeared in Version 7 AT&T UNIX. The putenv() function appeared in 4.3BSD-Reno. BUGS
Successive calls to setenv() that assign a larger-sized value than any previous value to the same name will result in a memory leak. The FreeBSD semantics for this function (namely, that the contents of value are copied and that old values remain accessible indefinitely) make this bug unavoidable. Future versions may eliminate one or both of these semantic guarantees in order to fix the bug. BSD
June 20, 2007 BSD
All times are GMT -4. The time now is 05:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy