Sponsored Content
Full Discussion: en0 fail to up.
Operating Systems AIX en0 fail to up. Post 302497335 by wingcross on Thursday 17th of February 2011 01:44:25 AM
Old 02-17-2011
en0 fail to up.

This is a LPAR that i created earlier.
I want to set an IP address to en0 but it failed.

Code:
Command: failed        stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

[TOP]
en0
devdbm01
inet0 changed
Method error (/usr/lib/methods/chgif):
        0514-068 Cause not known.
0821-510 ifconfig: error calling entry point for /usr/lib/drivers/if_en: There i
s not enough memory available now.
0821-103 : The command /usr/sbin/ifconfig en0 inet  10.23.177.82 arp netmask 255
.255.255.0 mtu 1500 up failed.
0821-007 cfgif: ifconfig command failed.
        The status of"en0" Interface in the current running system is uncertain.
0821-103 : The command /usr/lib/methods/cfgif -len0 failed
0821-510 ifconfig: error calling entry point for /usr/lib/drivers/if_en: There i
s not enough memory available now.
0821-103 : The command /usr/sbin/ifconfig en0 inet 10.23.177.82 arp netmask 255.
255.255.0 mtu 1500 up failed.
0821-229 chgif: ifconfig command failed.
The status of"en0" Interface in the current running system is uncertain.

mktcpip: Problem with command: chdev
, return code = 1


devdbm01-root /etc> lsdev | grep en0
en0        Stopped         Standard Ethernet Network Interface
devdbm01-root /etc>

I have tried to remove the device en0 and launch cfgmgr. The result is the device appeared as defined but when i try to give it a IP, it will give the results as shown above.

When I tried to launch ifconfig en0 up, it gives error related to memory (see the following).
Code:
devdbm01-root /etc> ifconfig en0 up
0821-510 ifconfig: error calling entry point for /usr/lib/drivers/if_en: There is not enough memory available now.

I launch the following
Code:
devdbm01-root /etc> lsattr -El mem0
ent_mem_cap         I/O memory entitlement in Kbytes           False
goodsize       6144 Amount of usable physical memory in Mbytes False
mem_exp_factor      Memory expansion factor                    False
size           6144 Total amount of physical memory in Mbytes  False
var_mem_weight      Variable memory capacity weight            False

devdbm01-root /etc> lsps -a
Page Space      Physical Volume   Volume Group Size %Used Active  Auto  Type Chksum
hd6             hdisk0            rootvg       10240MB     1   yes   yes    lv     0

Any idea whats is wrong ? this is way too much ahead of my experience Smilie


Moderator's Comments:
Mod Comment edit by bakunin: Please use CODE-tags when posting code or terminal output. It enhances readability and is equally easy as using FONT- and SIZE-tags. Thank you.

Last edited by bakunin; 05-28-2011 at 03:14 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mail fail

I am using the shell script file to send mail by "mailx". I do this by cron job, there is no error found. But it is fail, any suggest to me? How can I resend it automatically? Is there any resend logic by using the mailx? (3 Replies)
Discussion started by: adela
3 Replies

2. AIX

Network problem en0 - en1 !!!

HI , I am actually having a network problem with my p610 - AIX 5.2 ML7 . I have two integrated network card en0 and en1 ..en0 with ip 10.10.0.191 and en1 10.10.0.192. When i removed the network cable from en0 , i can't continue to ping en1(10.10.0.192) correctly. It is behaving as if en0 is... (8 Replies)
Discussion started by: johhny_bravo
8 Replies

3. Shell Programming and Scripting

Rename fail

I've a lot of file with an hyphen on filename, so I use rename for remove him ad substitute with an underscore but it fails $ rename 's/\-/\_/' * Unknown option: _ Unknown option: i Unknown option: r Unknown option: e Unknown option: e Unknown option: _ Unknown option: g Unknown... (12 Replies)
Discussion started by: cv313x
12 Replies

4. Shell Programming and Scripting

fail on comparison

Hi Am having 2 files. I have one data file. before inserting in to the table am taking cout of the data file and store as data 1. After insert in to the table and am taking the count from the table and store as data2. If i try to compare those values If then echo "data match"... (5 Replies)
Discussion started by: bobprabhu
5 Replies

5. HP-UX

hpux 11.31 vgimport fail

i'm trying to vgimport the map file from vgexport -p -v -s -m to fail over node (adoptive node in service guard). root@noe04:/etc/cmcluster/icasprd$ vgimport -s -m gicasprd.110810.map /dev/vgicasprd vgimport: Volume group "/dev/vgicasprd" already exists in the "/etc/lvmtab" file. the... (2 Replies)
Discussion started by: lamoul
2 Replies

6. Shell Programming and Scripting

Why does my test fail ??

Hello, I am stuck... i dunno why does my test fail... any idea ? #!/bin/bash dos2unix info.txt Distor=Distributeur LINE=$(cat info.txt | sed -n 1p) echo $LINE echo $Distor echo "" echo "123-$LINE-123" echo "123-$Distor-123" if ; then LINE2=$(cat info.txt | sed -n 2p) echo $Distor... (14 Replies)
Discussion started by: patx
14 Replies

7. Linux

Telnet fail

Hi, I try to telnet to server: # telnet xx.xxx.1.72 1521 Trying xx.xxx.1.72... telnet: connect to address xx.xxx.1.72: Connection refused telnet: Unable to connect to remote host: Connection refused iptables is off: # service iptables status Firewall is stopped. # And I have edit... (4 Replies)
Discussion started by: mehrdad68
4 Replies

8. Red Hat

Cluster form fail

why does my cluster form but fail after a few minutes, or why do my multicast communications stop working after a short amount of time? (1 Reply)
Discussion started by: gema.utama
1 Replies

9. Shell Programming and Scripting

Untar fail

Hi Team, I have a file named as follows: aaa.tar.gz Now I need to verify if the untar fails, then the script has to send a mail. In order to check this condition, I need a tar.gz file which is unable to untar it. Can anyone help me to create a file which I will be able to unzip successfully... (2 Replies)
Discussion started by: kmanivan82
2 Replies

10. Forum Support Area for Unregistered Users & Account Problems

Fail to register

After inputted all required fields in registration page, the below message is shown and cannot go on. A required field called Custom Date & Time Formats is missing or has an invalid value. (2 Replies)
Discussion started by: Unregistered
2 Replies
All times are GMT -4. The time now is 11:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy