Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- Security
- >
- Re: Error while starting KWDB -q4 with -p option
Security
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
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
- Email to a Friend
- Report Inappropriate Content
12-20-2004 12:17 AM
12-20-2004 12:17 AM
Error while starting KWDB -q4 with -p option
Hi,
I wanted to have the q4 started with -p option so that I can extract my symbols using the perl script. It is giving the following error when I executed "kwdb -q4 -m -p /stand/vmunix /dev/kmem"
warning: q4 could not read $HOME/.q4rc.pl
warning: Can't exec perl without a startup script
warning: and a perl executable
I have installed perl "perl D.5.8.2.B Perl Programming Language".
any idea on what am I missing?
I wanted to have the q4 started with -p option so that I can extract my symbols using the perl script. It is giving the following error when I executed "kwdb -q4 -m -p /stand/vmunix /dev/kmem"
warning: q4 could not read $HOME/.q4rc.pl
warning: Can't exec perl without a startup script
warning: and a perl executable
I have installed perl "perl D.5.8.2.B Perl Programming Language".
any idea on what am I missing?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-20-2004 01:13 AM
12-20-2004 01:13 AM
Re: Error while starting KWDB -q4 with -p option
The q4 perl startup script. As the warning indicates you need both the script and Perl installed -- you have Perl, now just write yourself a script named .q4rc.pl and put it in your home directory.
Here's an example script for you - but since you may have different locations for the Q4 perl libraries (and different scripts) make sure you check your locations before you use it:
# $Revision: 1.2.89.3 $ $Date: 95/04/06 18:46:59 $
# Sample Q4 startup file for use with Perl.
# Search a private per-kernel Q4 library.
push(INC, "/usr/contrib/Q4/lib/q4lib");
# Uncomment this to search a private per-user Q4 library.
#push(INC, $ENV{'HOME'}."/11i");
# Uncomment this to search a system-wide Q4 library. Specify the
# absolute path
#push(INC, "/usr/contrib/Q4");
# Pull in the main routines.
require('q4.pl');
# If you want to Include() some favorite files every time (so you don't
# have to type Q4 "include" commands at the start of every session),
# this is the place to do it. Here are two examples:
&Include('analyze.pl');
&Include('whathappened.pl');
&Include('vm_analyze.pl');
# Enter the main loop. (You'll get a prompt after initialization is
# complete.)
#
# Note: There's is no return from the main loop so this should be the
# last step in this file.
&Main();
Here's an example script for you - but since you may have different locations for the Q4 perl libraries (and different scripts) make sure you check your locations before you use it:
# $Revision: 1.2.89.3 $ $Date: 95/04/06 18:46:59 $
# Sample Q4 startup file for use with Perl.
# Search a private per-kernel Q4 library.
push(INC, "/usr/contrib/Q4/lib/q4lib");
# Uncomment this to search a private per-user Q4 library.
#push(INC, $ENV{'HOME'}."/11i");
# Uncomment this to search a system-wide Q4 library. Specify the
# absolute path
#push(INC, "/usr/contrib/Q4");
# Pull in the main routines.
require('q4.pl');
# If you want to Include() some favorite files every time (so you don't
# have to type Q4 "include" commands at the start of every session),
# this is the place to do it. Here are two examples:
&Include('analyze.pl');
&Include('whathappened.pl');
&Include('vm_analyze.pl');
# Enter the main loop. (You'll get a prompt after initialization is
# complete.)
#
# Note: There's is no return from the main loop so this should be the
# last step in this file.
&Main();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-20-2004 03:51 PM
12-20-2004 03:51 PM
Re: Error while starting KWDB -q4 with -p option
hi,
thanks a lot for your response. On similar lines I found a script at /usr/contrib/Q4/lib/q4lib/sample.q4rc.pl. I used this as the .q4rc.pl at $HOME dir and things worked well.
thanks a lot for your response. On similar lines I found a script at /usr/contrib/Q4/lib/q4lib/sample.q4rc.pl. I used this as the .q4rc.pl at $HOME dir and things worked well.
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.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP