HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: nohup makes make_sys_image fail on rp3440/HP-U...
Operating System - HP-UX
1827211
Members
2248
Online
109716
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
Forums
Discussions
Discussions
Discussions
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
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
05-10-2010 07:31 PM
05-10-2010 07:31 PM
Hi,
I just noticed an intresting thing about make_sys_image - everytime I used it with nohup it would get stopped somehow like the following (running it in the foreground without nohup worked very well.)
Do you know why?
Thanks a lot in advance!
######### running with nohup fails #########
/roothome # nohup /tmp/make_sys_image -d /san02 -s 172.20.123.224 > make_sys_image.log 2>&1 &
[1] 6731
uguth462:/roothome #
[1] + Stopped (SIGTTIN) nohup /tmp/make_sys_image -d /san02 -s 172.20.123.224 > make_sys_image.log 2>&1 &
/roothome # cat make_sys_image.log
* Preparing to create a system archive.
* Testing for necessary pax patch.
* Passed pax tests.
WARNING: CLEAN_LEVEL set to 2: (see -l option for make_sys_image(1M))
While this command is executing at clean level 2, the system
should be as quiet as possible. The host and/or networking
information on the system are temporarily set to newconfig
values. After the command is complete these files are
returned to their previous state.
Creating keepsafe archive with file /stand/system
Creating your system file in the file /var/tmp/make_sys_image.hwsys.a12980
Appending file /.profile to keepsafe archive
.Appending file /etc/rc.config.d/hpfcmsconf to keepsafe archive
.Appending file /etc/rc.config.d/netconf to keepsafe archive
.Appending file /etc/rc.config.d/netdaemons to keepsafe archive
.Appending file /etc/rc.config.d/namesvrs to keepsafe archive
.Appending file /etc/rc.config.d/mailservs to keepsafe archive
.Appending file /etc/rc.config.d/xfs to keepsafe archive
.Appending file /etc/hosts to keepsafe archive
.Appending file /etc/group to keepsafe archive
.Appending file /etc/mail/sendmail.cw to keepsafe archive
.Appending file /etc/netgroup to keepsafe archive
.Appending file /etc/ntp.conf to keepsafe archive
.Appending file /etc/vue/config/Xsession.d/0070.recs to keepsafe archive
.Appending file /var/adm/sw/security/_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_OWNER to keepsafe archive
.Appending file /var/adm/sw/security/_PROD_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_SOC_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/secrets to keepsafe archive
.Appending file /var/adm/sw/security/secrets.pag to keepsafe archive
Appending file /var/adm/sw/security/secrets.dir to keepsafe archive
######### running without nohup works ########
/roothome # /tmp/make_sys_image -d /san02 -s 172.20.123.224
* Preparing to create a system archive.
* Testing for necessary pax patch.
* Passed pax tests.
WARNING: CLEAN_LEVEL set to 2: (see -l option for make_sys_image(1M))
While this command is executing at clean level 2, the system
should be as quiet as possible. The host and/or networking
information on the system are temporarily set to newconfig
values. After the command is complete these files are
returned to their previous state.
Creating keepsafe archive with file /stand/system
Creating your system file in the file /var/tmp/make_sys_image.hwsys.a12980
Appending file /.profile to keepsafe archive
.Appending file /etc/rc.config.d/hpfcmsconf to keepsafe archive
.Appending file /etc/rc.config.d/netconf to keepsafe archive
.Appending file /etc/rc.config.d/netdaemons to keepsafe archive
.Appending file /etc/rc.config.d/namesvrs to keepsafe archive
.Appending file /etc/rc.config.d/mailservs to keepsafe archive
.Appending file /etc/rc.config.d/xfs to keepsafe archive
.Appending file /etc/hosts to keepsafe archive
.Appending file /etc/group to keepsafe archive
.Appending file /etc/mail/sendmail.cw to keepsafe archive
.Appending file /etc/netgroup to keepsafe archive
.Appending file /etc/ntp.conf to keepsafe archive
.Appending file /etc/vue/config/Xsession.d/0070.recs to keepsafe archive
.Appending file /var/adm/sw/security/_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_OWNER to keepsafe archive
.Appending file /var/adm/sw/security/_PROD_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_SOC_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/secrets to keepsafe archive
.Appending file /var/adm/sw/security/secrets.pag to keepsafe archive
Appending file /var/adm/sw/security/secrets.dir to keepsafe archive
* Archiving contents of dev462 via tar to
172.20.123.224:/san02/dev462.gz.
* Creation of system archive complete.
* Clean up: Do not interrupt; restoring files, kernel, and transition
links.
/roothome #
I just noticed an intresting thing about make_sys_image - everytime I used it with nohup it would get stopped somehow like the following (running it in the foreground without nohup worked very well.)
Do you know why?
Thanks a lot in advance!
######### running with nohup fails #########
/roothome # nohup /tmp/make_sys_image -d /san02 -s 172.20.123.224 > make_sys_image.log 2>&1 &
[1] 6731
uguth462:/roothome #
[1] + Stopped (SIGTTIN) nohup /tmp/make_sys_image -d /san02 -s 172.20.123.224 > make_sys_image.log 2>&1 &
/roothome # cat make_sys_image.log
* Preparing to create a system archive.
* Testing for necessary pax patch.
* Passed pax tests.
WARNING: CLEAN_LEVEL set to 2: (see -l option for make_sys_image(1M))
While this command is executing at clean level 2, the system
should be as quiet as possible. The host and/or networking
information on the system are temporarily set to newconfig
values. After the command is complete these files are
returned to their previous state.
Creating keepsafe archive with file /stand/system
Creating your system file in the file /var/tmp/make_sys_image.hwsys.a12980
Appending file /.profile to keepsafe archive
.Appending file /etc/rc.config.d/hpfcmsconf to keepsafe archive
.Appending file /etc/rc.config.d/netconf to keepsafe archive
.Appending file /etc/rc.config.d/netdaemons to keepsafe archive
.Appending file /etc/rc.config.d/namesvrs to keepsafe archive
.Appending file /etc/rc.config.d/mailservs to keepsafe archive
.Appending file /etc/rc.config.d/xfs to keepsafe archive
.Appending file /etc/hosts to keepsafe archive
.Appending file /etc/group to keepsafe archive
.Appending file /etc/mail/sendmail.cw to keepsafe archive
.Appending file /etc/netgroup to keepsafe archive
.Appending file /etc/ntp.conf to keepsafe archive
.Appending file /etc/vue/config/Xsession.d/0070.recs to keepsafe archive
.Appending file /var/adm/sw/security/_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_OWNER to keepsafe archive
.Appending file /var/adm/sw/security/_PROD_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_SOC_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/secrets to keepsafe archive
.Appending file /var/adm/sw/security/secrets.pag to keepsafe archive
Appending file /var/adm/sw/security/secrets.dir to keepsafe archive
######### running without nohup works ########
/roothome # /tmp/make_sys_image -d /san02 -s 172.20.123.224
* Preparing to create a system archive.
* Testing for necessary pax patch.
* Passed pax tests.
WARNING: CLEAN_LEVEL set to 2: (see -l option for make_sys_image(1M))
While this command is executing at clean level 2, the system
should be as quiet as possible. The host and/or networking
information on the system are temporarily set to newconfig
values. After the command is complete these files are
returned to their previous state.
Creating keepsafe archive with file /stand/system
Creating your system file in the file /var/tmp/make_sys_image.hwsys.a12980
Appending file /.profile to keepsafe archive
.Appending file /etc/rc.config.d/hpfcmsconf to keepsafe archive
.Appending file /etc/rc.config.d/netconf to keepsafe archive
.Appending file /etc/rc.config.d/netdaemons to keepsafe archive
.Appending file /etc/rc.config.d/namesvrs to keepsafe archive
.Appending file /etc/rc.config.d/mailservs to keepsafe archive
.Appending file /etc/rc.config.d/xfs to keepsafe archive
.Appending file /etc/hosts to keepsafe archive
.Appending file /etc/group to keepsafe archive
.Appending file /etc/mail/sendmail.cw to keepsafe archive
.Appending file /etc/netgroup to keepsafe archive
.Appending file /etc/ntp.conf to keepsafe archive
.Appending file /etc/vue/config/Xsession.d/0070.recs to keepsafe archive
.Appending file /var/adm/sw/security/_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_OWNER to keepsafe archive
.Appending file /var/adm/sw/security/_PROD_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_SOC_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/secrets to keepsafe archive
.Appending file /var/adm/sw/security/secrets.pag to keepsafe archive
Appending file /var/adm/sw/security/secrets.dir to keepsafe archive
* Archiving contents of dev462 via tar to
172.20.123.224:/san02/dev462.gz.
* Creation of system archive complete.
* Clean up: Do not interrupt; restoring files, kernel, and transition
links.
/roothome #
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2010 10:28 PM
06-05-2010 10:28 PM
Solution
>[1] + Stopped (SIGTTIN) nohup /tmp/make_sys_image -d /san02 -s 172.20.123.224 > make_sys_image.log 2>&1 &
It is possible between the two steps the shell is trying to do tty stuff.
You should redirect stdin also:
nohup /tmp/make_sys_image ... < /dev/null
It is possible between the two steps the shell is trying to do tty stuff.
You should redirect stdin also:
nohup /tmp/make_sys_image ... < /dev/null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2010 10:35 PM
06-05-2010 10:35 PM
Re: nohup makes make_sys_image fail on rp3440/HP-UX11i v2
newa,
You can perhaps do it in two step as below:
1. Put the command in a file.
2. make it executable.
3. Run the file with nohup.
# vi sys_img.sh
/tmp/make_sys_image -d /san02 -s 172.20.123.224 > make_sys_image.log 2>&1
# chmod +x sys_img.sh
# nohup sys_img.sh &
Cheers,
Raj.
You can perhaps do it in two step as below:
1. Put the command in a file.
2. make it executable.
3. Run the file with nohup.
# vi sys_img.sh
/tmp/make_sys_image -d /san02 -s 172.20.123.224 > make_sys_image.log 2>&1
# chmod +x sys_img.sh
# nohup sys_img.sh &
Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2011 12:36 PM
03-31-2011 12:36 PM
Re: nohup makes make_sys_image fail on rp3440/HP-UX11i v2
Dennis' solution worked. Thanks a lot, Dennis
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP