- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: about lastcomm!
Operating System - Tru64 Unix
1753670
Members
5530
Online
108799
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
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-20-2003 02:07 PM
тАО10-20-2003 02:07 PM
my os is 4.0D
when i execute the lastcomm command
the following message is produced:
# lastcomm
/var/adm/pacct: No such file or directory
the i use the command vi /var/adm/pacct to create the file /var/adm/pacct
the i execute the #lastcomm again
the following message is produced:
lastcomm: insufficient memory to read /var/adm/pacct
what should i do to make lastcomm work correctly?
when i execute the lastcomm command
the following message is produced:
# lastcomm
/var/adm/pacct: No such file or directory
the i use the command vi /var/adm/pacct to create the file /var/adm/pacct
the i execute the #lastcomm again
the following message is produced:
lastcomm: insufficient memory to read /var/adm/pacct
what should i do to make lastcomm work correctly?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 07:03 PM
тАО10-20-2003 07:03 PM
Re: about lastcomm!
use ckpacct to verify pacct, be sure you have configures the machine for accounting.
Help() { FirstReadManual(urgently); Go_to_it;; }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 02:39 AM
тАО10-21-2003 02:39 AM
Solution
Hello,
You should probably check the files :
12.2.2 Creating qacct and pacct Files
You must create the /var/adm/qacct queueing accounting file and the /var/adm/pacct process accounting database file. Use the nulladm command to create the files.
#nulladm /var/adm/pacct
#nulladm /var/adm/qacct
Be aware of file protections for these two files.
Should be :
You must ensure that the /var/adm/pacct file, is owned by group adm and user adm and has 664 protection. If it does not have the correct ownership, the accton command will not work, and the following message will be displayed:
To enable accounting, you must add the following line to the /etc/rc.config file:
ACCOUNTING="YES"
You can use the rcmgr command to set the variable, as follows:
# rcmgr set ACCOUNTING YES
You can start accounting without rebooting your system by using the startup command. Refer to Section 12.3 for more information.
#/usr/sbin/acct/startup
Hope it helps,
Albertino Cortes.
You should probably check the files :
12.2.2 Creating qacct and pacct Files
You must create the /var/adm/qacct queueing accounting file and the /var/adm/pacct process accounting database file. Use the nulladm command to create the files.
#nulladm /var/adm/pacct
#nulladm /var/adm/qacct
Be aware of file protections for these two files.
Should be :
You must ensure that the /var/adm/pacct file, is owned by group adm and user adm and has 664 protection. If it does not have the correct ownership, the accton command will not work, and the following message will be displayed:
To enable accounting, you must add the following line to the /etc/rc.config file:
ACCOUNTING="YES"
You can use the rcmgr command to set the variable, as follows:
# rcmgr set ACCOUNTING YES
You can start accounting without rebooting your system by using the startup command. Refer to Section 12.3 for more information.
#/usr/sbin/acct/startup
Hope it helps,
Albertino Cortes.
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