- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Error while starting KWDB -q4 with -p option
Operating System - HP-UX
1752584
Members
4794
Online
108788
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
тАО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
- 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
- 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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP