HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Errors in /etc/rc.log
Operating System - HP-UX
1830898
Members
3412
Online
110017
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2007 02:23 PM
10-16-2007 02:23 PM
I got a HP-UX 11.11 server that has not patched for a long~~ time. I came to http://www1.itrc.hp.com/service/patch/searchBySystem.do?BC=main| and followed the steps to search everything I should patch on this server. I selected all critical fix, downloaded all, and then patched all on my server.
However, after patching, some errors appear on server starting (/etc/rc.log) as the log content below:
===========================================================
Enable auxiliary swap space
Output from "/sbin/rc1.d/S500swap_start start":
----------------------------
Enabling device paging on /dev/vg00/lvol10.
Enabling device paging on /dev/vg00/lvol2.
/usr/sbin/swapon: /dev/vg00/lvol2 is already enabled for paging.
Enabling device paging on /dev/vg00/lvol11.
Warning: swapon returned exit code: 1
"/sbin/rc1.d/S500swap_start start" FAILED
Configure HP Gigabit Ethernet interfaces
Output from "/sbin/rc2.d/S308hpgelan start":
----------------------------
ERROR: (PPA: 3) : Device lan3 is not a gelan device. It is a igelan device.
"/sbin/rc2.d/S308hpgelan start" FAILED
===========================================================
I read the content of /etc/rc.config.d/hpgelanconf :
===========================================================
HP_GELAN_INIT_ARGS="HP_GELAN_STATION_ADDRESS HP_GELAN_SPEED HP_GELAN_MTU HP_GELAN_FLOW_CONTROL HP_GELAN_AUTONEG HP_GELAN_SEND_
COAL_TICKS HP_GELAN_RECV_COAL_TICKS HP_GELAN_SEND_MAX_BUFS HP_GELAN_RECV_MAX_BUFS"
HP_GELAN_INTERFACE_NAME[0]=lan3
HP_GELAN_STATION_ADDRESS[0]=
HP_GELAN_SPEED[0]=
HP_GELAN_MTU[0]=
HP_GELAN_FLOW_CONTROL[0]=
HP_GELAN_AUTONEG[0]=0
HP_GELAN_SEND_COAL_TICKS[0]=
HP_GELAN_RECV_COAL_TICKS[0]=
HP_GELAN_SEND_MAX_BUFS[0]=
HP_GELAN_RECV_MAX_BUFS[0]=
===========================================================
/etc/rc.config.d/hpigelanconf also config lan3. It seems /etc/rc.config.d/hpgelanconf has been mis-configured, but how can I fix it? Can I directly edit /etc/rc.config.d/hpgelanconf and delete "lan3"?
Moreover, the swap_start is strange too. /sbin/rc1.d/S500swap_start and successfully passed on server starting before patched. Why does this strange FAILED message come out now? How can I fix this error?
Because patched too much, I have already been confused about which patch causing this. Is there anyone who can kindly tell me what should I do now? >_<
Thanks a lot!
However, after patching, some errors appear on server starting (/etc/rc.log) as the log content below:
===========================================================
Enable auxiliary swap space
Output from "/sbin/rc1.d/S500swap_start start":
----------------------------
Enabling device paging on /dev/vg00/lvol10.
Enabling device paging on /dev/vg00/lvol2.
/usr/sbin/swapon: /dev/vg00/lvol2 is already enabled for paging.
Enabling device paging on /dev/vg00/lvol11.
Warning: swapon returned exit code: 1
"/sbin/rc1.d/S500swap_start start" FAILED
Configure HP Gigabit Ethernet interfaces
Output from "/sbin/rc2.d/S308hpgelan start":
----------------------------
ERROR: (PPA: 3) : Device lan3 is not a gelan device. It is a igelan device.
"/sbin/rc2.d/S308hpgelan start" FAILED
===========================================================
I read the content of /etc/rc.config.d/hpgelanconf :
===========================================================
HP_GELAN_INIT_ARGS="HP_GELAN_STATION_ADDRESS HP_GELAN_SPEED HP_GELAN_MTU HP_GELAN_FLOW_CONTROL HP_GELAN_AUTONEG HP_GELAN_SEND_
COAL_TICKS HP_GELAN_RECV_COAL_TICKS HP_GELAN_SEND_MAX_BUFS HP_GELAN_RECV_MAX_BUFS"
HP_GELAN_INTERFACE_NAME[0]=lan3
HP_GELAN_STATION_ADDRESS[0]=
HP_GELAN_SPEED[0]=
HP_GELAN_MTU[0]=
HP_GELAN_FLOW_CONTROL[0]=
HP_GELAN_AUTONEG[0]=0
HP_GELAN_SEND_COAL_TICKS[0]=
HP_GELAN_RECV_COAL_TICKS[0]=
HP_GELAN_SEND_MAX_BUFS[0]=
HP_GELAN_RECV_MAX_BUFS[0]=
===========================================================
/etc/rc.config.d/hpigelanconf also config lan3. It seems /etc/rc.config.d/hpgelanconf has been mis-configured, but how can I fix it? Can I directly edit /etc/rc.config.d/hpgelanconf and delete "lan3"?
Moreover, the swap_start is strange too. /sbin/rc1.d/S500swap_start and successfully passed on server starting before patched. Why does this strange FAILED message come out now? How can I fix this error?
Because patched too much, I have already been confused about which patch causing this. Is there anyone who can kindly tell me what should I do now? >_<
Thanks a lot!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2007 08:13 PM
10-16-2007 08:13 PM
Solution
Yes, you can delete the "lan3" from th /etc/rc.config.d/hpgelanconf file.
Just remember: if you want to have a backup of the file before editing it, move the backup out of the /etc/rc.config.d directory. The /etc/rc.config script will read *every* file in that directory in various points of system startup and shutdown. (If I recall correctly, it can avoid the "file~" style backups and maybe a few other common backup suffixes, but it's far from foolproof.)
The swap_start message may also be explainable by the messages you copied.
In particular, the message:
/usr/sbin/swapon: /dev/vg00/lvol2 is already enabled for paging.
Do you have /dev/vg00/lvol2 indicated as a swap partition in /etc/fstab? If so, comment it out. /dev/vg00/lvol2 is a standard part of HP-UX system disk layout and is always activated as a swap partition very early in the boot process. If it's explicitly mentioned in /etc/fstab, the system tries to activate it twice: once in early boot, and another time in swap_start. That is an error, but not a fatal one.
MK
Just remember: if you want to have a backup of the file before editing it, move the backup out of the /etc/rc.config.d directory. The /etc/rc.config script will read *every* file in that directory in various points of system startup and shutdown. (If I recall correctly, it can avoid the "file~" style backups and maybe a few other common backup suffixes, but it's far from foolproof.)
The swap_start message may also be explainable by the messages you copied.
In particular, the message:
/usr/sbin/swapon: /dev/vg00/lvol2 is already enabled for paging.
Do you have /dev/vg00/lvol2 indicated as a swap partition in /etc/fstab? If so, comment it out. /dev/vg00/lvol2 is a standard part of HP-UX system disk layout and is always activated as a swap partition very early in the boot process. If it's explicitly mentioned in /etc/fstab, the system tries to activate it twice: once in early boot, and another time in swap_start. That is an error, but not a fatal one.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2007 08:40 PM
10-16-2007 08:40 PM
Re: Errors in /etc/rc.log
hi
Just a remark for swap
What is the result to swapinfo ?
If you are on 11iv2, sometimes swap activation generate a core file
To correct it, install patch
PHCO_35043.
regards
L-DERLYN
Just a remark for swap
What is the result to swapinfo ?
If you are on 11iv2, sometimes swap activation generate a core file
To correct it, install patch
PHCO_35043.
regards
L-DERLYN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2007 04:56 PM
10-17-2007 04:56 PM
Re: Errors in /etc/rc.log
To Matti Kurkela:
Thanks~~
Now everything is ok!
To Ludovic Derlyn:
I am using 11iv1, but thank you anyway.
I'll keep it in mind when working with 11iv2.
Thanks~~
Now everything is ok!
To Ludovic Derlyn:
I am using 11iv1, but thank you anyway.
I'll keep it in mind when working with 11iv2.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP