- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX 11.00 dodisk script sintax error
Categories
Company
Local Language
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
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
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
03-19-2000 04:55 PM
03-19-2000 04:55 PM
HP-UX 11.00 dodisk script sintax error
I've configured and started system accountig. When launch dodisk script, it
fails because a sintax error on a bracket "(".
When launch the script with "ksh -k" this error message appears:
*********
Usage: awk [-F fs][-v Assignment][-f Progfile|Program][Assignment|File]
*********
Anyone know where is the error into the script?
Thanks in advance
Regards
Davide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2000 11:52 PM
03-19-2000 11:52 PM
Re: HP-UX 11.00 dodisk script sintax error
handle commented line by '#' in the /etc/fstab. To fix it, simply remove the
comments in the /etc/fstab file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 11:07 AM
02-09-2004 11:07 AM
Re: HP-UX 11.00 dodisk script sintax error
You can also get around this problem by deleting all the comment lines, lines starting with '#', from /etc/fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 05:11 PM
02-09-2004 05:11 PM
Re: HP-UX 11.00 dodisk script sintax error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 05:54 PM
02-09-2004 05:54 PM
Re: HP-UX 11.00 dodisk script sintax error
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065950660
And if you are using 11i OS version this patch would solve that
http://www1.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=PHCO_24869
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 06:32 PM
02-09-2004 06:32 PM
Re: HP-UX 11.00 dodisk script sintax error
the only thing I found is form april 2000:
http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065950660
Dodisk processes /etc/fstab, so this file must be well formatted.
HTH,
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 11:38 PM
02-09-2004 11:38 PM
Re: HP-UX 11.00 dodisk script sintax error
I see that there are 5 replies, but when I select this page I only see the question?
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 05:44 AM
04-15-2004 05:44 AM
Re: HP-UX 11.00 dodisk script sintax error
You can modify the dodisk script :
replace "if (access(diskusg))" [line 64 on HP 11.11]
by "if (access(diskusg)==1)"
But there is another bug. This script shouldn't look for commented lines but it does it. And, as a result, if you comment out a line in the middle of /etc/fstab, you can't get the diskusage for file systems under this line.
So, instead of the correction above, it is better to do this one :
After the line
"\$3 !~ /swap/ \" [line 51 on HP 11.11]
you can add :
"&& \$1 !~ /^#/ \"
That's all.