- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- message when loggin in root
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
Discussion Boards
Community
Resources
Forums
Blogs
- 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
06-29-2000 06:05 AM
06-29-2000 06:05 AM
awk: Input line root 0 0 3 root 1 0 cannot be longer than 3,000 bytes.
The source line number is 1.
How do I fix this???
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 06:15 AM
06-29-2000 06:15 AM
Re: message when loggin in root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 06:17 AM
06-29-2000 06:17 AM
SolutionYou can remove the awk portion from the profile and work on it outside of the profile.
You may need some record separators (RS) in the awk syntax. This is just a guess.
The profile is looking at awk though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 06:20 AM
06-29-2000 06:20 AM
Re: message when loggin in root
the 3000 limit cannot be changed : =>
why awk cannot handle lines greater than 3000 char :
The POSIX standard requires at least LINE_MAX characters, which is
defined as 2k (2048) - this is the generic minimum limit you can
expect for a text processing tool. In the case of our awk(1) -
which is historically based on nawk(1) - we have the limit of 3k.
>From awk.h in the source:
#if defined LINE_MAX
#define RECSIZE LINE_MAX /* POSIX 1003.2 buffer size */
#else
#define RECSIZE (3 * 1024) /* sets limit on records, fields, etc.,
etc. */
#endif
And LINE_MAX is defined in limits(4) (ie the
# define LINE_MAX 2048 /* Expected length in bytes of a
utility's input line when
input is from text files */
This is a limit we cannot change without recompiling awk(1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 06:40 AM
06-29-2000 06:40 AM
Re: message when loggin in root
when you login as root you see the message.
when you su - root you don't see the message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 06:46 AM
06-29-2000 06:46 AM
Re: message when loggin in root
Could other login accts be having this issue as well? If so, check the /etc/profile.
Another place could be the .kshrc (ksh) or the .cshrc (csh). Look into these files if they are being used.
It would seem highly likely that awk is being called from somewhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 06:53 AM
06-29-2000 06:53 AM
Re: message when loggin in root
other accounts are okey. the /etc/profile doesn't call awk. i get this message only as root user, at login.... hmmmm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 06:59 AM
06-29-2000 06:59 AM
Re: message when loggin in root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 08:31 AM
06-29-2000 08:31 AM
Re: message when loggin in root
From the look of the error, it may be that somewhere in the login files, awk is parsing /etc/group using a ":" as a field separator. See if you have a group "root" with a bunch of users in that group (which would be strange though?). If by chance this is the case, you can split up the "root" group on multiple lines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 08:33 AM
06-29-2000 08:33 AM
Re: message when loggin in root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 08:52 AM
06-29-2000 08:52 AM
Re: message when loggin in root
root is the only id in the group root:
root::0:root
I login via vue. The message however appears even in the console.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 09:02 AM
06-29-2000 09:02 AM
Re: message when loggin in root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 09:05 AM
06-29-2000 09:05 AM
Re: message when loggin in root
The message appears before the lines in the .profile are called.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 09:21 AM
06-29-2000 09:21 AM
Re: message when loggin in root
There is a default super-user profile at /usr/newconfig/.profile. Make a backup copy of the .profile in place now and copy the /usr/newconfig/.profile into place and run a login test. Does the awk error still show up?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 09:47 AM
06-29-2000 09:47 AM
Re: message when loggin in root
Topic is not yet closed.
I copied the /usr/newconfig/.profile to the root directory and same message still appears.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 10:03 AM
06-29-2000 10:03 AM
Re: message when loggin in root
You may want to start commenting out some of the calls/sets to isolate the issue.
I don't think we have eliminated the /etc/profile yet either. Could be making a call for only the root account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 10:04 AM
06-29-2000 10:04 AM
Re: message when loggin in root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 10:10 AM
06-29-2000 10:10 AM
Re: message when loggin in root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 01:34 PM
06-29-2000 01:34 PM
Re: message when loggin in root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2000 09:52 AM
06-30-2000 09:52 AM
Re: message when loggin in root
You are not getting the error when su, or login as another user then root. What about when you telnet or rlogin from another box? Do you have or not the same error?