- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- make_sys_image error when using the -f option
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
04-10-2007 03:13 AM
04-10-2007 03:13 AM
bash-3.2# /opt/ignite/data/scripts/make_sys_image -s local -d /var/tmp -f /tmp/HPUXGM_26421_12021 -l 2 -n Hewlett-Packard_Unix_ver-B1111_-1030 -w /tmp/GMimageLogFile_26421_12021 -m t -c g -v
In the resulting terminal output I always see the following:
/opt/ignite/data/scripts/make_sys_image[18]: 1: not found.
When I run it without the -f option as:
bash-3.2# /opt/ignite/data/scripts/make_sys_image -s local -d /var/tmp -l 2 -n Hewlett-Packard_Unix_ver-B1111_-1030 -w /tmp/GMimageLogFile_26421_12021 -m t -c g -v
the offending line is gone.
This is how the file I pass to -f looks like:
bash-3.2# cat /tmp/HPUXGM_26421_12021
+RESET
/etc/motd
/etc/issue
+NO_ARCHIVE
/tmp/*
/var/tmp/Hewlett-Packard_Unix_ver-B1111_-1030
In either case the archive looks OK.
What does the error mean? Can I safely ignore it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 04:10 AM
04-10-2007 04:10 AM
Re: make_sys_image error when using the -f option
No, don't ignore it.
make_sys_image needs to be run with a supporte d shell such as posix or korn. Not bash.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 05:38 AM
04-10-2007 05:38 AM
Re: make_sys_image error when using the -f option
If you open the "make_sys_image" script, you would notice why it might give this kinda message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 06:20 AM
04-10-2007 06:20 AM
Re: make_sys_image error when using the -f option
>If you open the "make_sys_image" script, you would notice why it might give this kinda message
If I have make_sys_image creating a file in a folder: /var/tmp, and I do have some files in /var/tmp that I want to back up. What do I do? I just want it to not start backing up the file it is creating and then running into a circular issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 07:35 AM
04-10-2007 07:35 AM
SolutionEven by modifying the "/var/tmp/Hewlett-Packard_Unix_ver-B1111_-1030" by "/var/tmp/Hewlett-Packard_Unix_ver-B1111_-1030.gz" in the file "/tmp/HPUXGM_26421_12021". However you might end up with the message. You can try it though.
I think if you use pattern matching, the message might go away. Since you are specifying the name of the archive (-n option ), use like "/var/tmp/Hewlett-Packard_Unix_ver-B1111_-1030*" in the file "/tmp/HPUXGM_26421_12021"
With this way, you are sure that you are not including the archive itself generated out of make_sys_image in the final image.