- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Is that cron problem or path link problem ?
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
09-15-2003 07:40 PM
09-15-2003 07:40 PM
Is that cron problem or path link problem ?
I have an Oracle back up job works fines by typing program command on $ sign. I would like to put it into cron job. The crontab as follow :
# su oracle
$ crontab -l
01 00 * * 1 /home/oracle/backup/fullexp
However, error occur :
Error message :
Mon Sep 1 00:01:00 EAT 2003
/usr/lib/dld.sl: Can't open shared library: /hpx/work/ee/8.1.7.4/hpx32/src_0424/rdbms/lib//libwtc8.sl
/usr/lib/dld.sl: No such file or directory
and cronjob failed :
crontab log :
CMD: /home/oracle/backup/fullexp
> oracle 22509 c Mon Aug 18 00:01:00 EAT 2003
< oracle 22509 c Mon Aug 18 00:01:02 EAT 2003 rc=134
Please advise it should be cron problem or some of my path variable setting is incorrect ? I tried to file the file libwtc8.sl but cannot open:
#file /hpx/work/ee/8.1.7.4/hpx32/src_0424/rdbms/lib//libwtc8.sl
/hpx/work/ee/8.1.7.4/hpx32/src_0424/rdbms/lib//libwtc8.sl: cannot open
# file /usr/lib/dld.sl
/usr/lib/dld.sl: s800 shared library -not stripped
I do not have the direction on trouble shooting this. Please give me help !! Thanks a lot !!
Best regards,
Cat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 07:52 PM
09-15-2003 07:52 PM
Re: Is that cron problem or path link problem ?
SHLIB_PATH=/usr/lib:$ORACLE_HOME/lib,..
Also do set ORACLE_HOME inside.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 08:35 PM
09-15-2003 08:35 PM
Re: Is that cron problem or path link problem ?
01 00 * * 1 /usr/bin/su -Oracle -c /home/oracle/backup/fullexp
or I need to edit your mentioned .profile ?
Cat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 08:44 PM
09-15-2003 08:44 PM
Re: Is that cron problem or path link problem ?
When you set up a cron job you should set your environment specifically to what you need within the cron job itself. It is also a good idea to use the full path to any commands in a cron job.
I would set your SHLIB_PATH and/or LD_LIBRARY_PATH within the cron job itself. The environment you get with cron is VERY limited.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 08:46 PM
09-15-2003 08:46 PM