- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/tmp/sh12145.1: Cannot find or open file.
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
Discussions
Discussions
Discussions
Forums
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
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
тАО09-30-2003 07:59 AM
тАО09-30-2003 07:59 AM
/var/tmp/sh12145.1: Cannot find or open file.
I have a shell script which worked fine in HP-UX 11 and we upgraded to 11i. Now I get the above error. In my shell I call sqlplus (Oracle) to execute some database updates. I'm not sure, but I believe the shell creates temp files to run the sqls. It seems like these files somehow get lost because one day the script works fine, and the next I get the error, and, all but one sql work. Anyone seen this before ??
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2003 08:02 AM
тАО09-30-2003 08:02 AM
Re: /var/tmp/sh12145.1: Cannot find or open file.
I think you might have to post the script on here.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2003 08:03 AM
тАО09-30-2003 08:03 AM
Re: /var/tmp/sh12145.1: Cannot find or open file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2003 08:06 AM
тАО09-30-2003 08:06 AM
Re: /var/tmp/sh12145.1: Cannot find or open file.
Here is the part of the script which fails:
bidon=`sqlplus -s $usager <= NVL( ec.Date_Transfert_Courant + 1, ec.Date_Debut_Trx )
AND cc.date_debut = NVL( ec.Date_Transfert_Courant + 1, ec.Date_Debut_Trx )
AND cc.date_fin <= tc.date_prochain_transfert ) ) )
WHERE ( c2.no_client, c2.no_trx ) IN
( SELECT
ec.no_client,
ec.no_trx
FROM
calendrier_comptable cc,
controle_transfert_comptable tc,
edi_client ec
WHERE ec.No_Trx IN ('810','880','882')
AND ec.Date_Debut_Trx <= NVL( ec.Date_Dernier_transfert, TO_CHAR( SYSDATE, 'J' ) )
AND NVL(ec.Date_Transfert_Courant + 1, Ec.Date_Debut_Trx) BETWEEN Cc.Date_Debut AND Cc.Date_Fin
AND ( ec.Frequence_Transmission = '0'
OR ( ec.Frequence_Transmission = '1'
AND tc.date_prochain_transfert > NVL( ec.Date_Transfert_Courant + 1, ec.Date_Debut_Trx ) )
OR ( ec.Frequence_Transmission = '2'
AND cc.date_fin >= NVL( ec.Date_Transfert_Courant + 1, ec.Date_Debut_Trx )
AND cc.date_debut = NVL( ec.Date_Transfert_Courant + 1, ec.Date_Debut_Trx )
AND cc.date_fin <= tc.date_prochain_transfert ) ) );
!`
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2003 08:18 AM
тАО09-30-2003 08:18 AM
Re: /var/tmp/sh12145.1: Cannot find or open file.
This doesn't make things clearer to me, at least. However, there are few patches for oracle thet we found we had to install to get it working sanely. I assume you have all the oracle recommended patches installed. Oh and which version of oracle are you running?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2003 08:21 AM
тАО09-30-2003 08:21 AM
Re: /var/tmp/sh12145.1: Cannot find or open file.
I will check with my sysadmin and DBA to find out if all patches were installed.
Thanks.