- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ${HOME:-.}/.profile[22]: test: argument expect...
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
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
тАО11-05-2010 05:27 PM
тАО11-05-2010 05:27 PM
Re: ${HOME:-.}/.profile[22]: test: argument expected
Do you mean that the startup scripts do not run? What does /etc/rc.log show? Did you recently cd to the /etc/rc.config.d directory and edit some files? Check like this:
ls -lart /etc/rc.config.d | tail
There can never be any junk files in this directory or your system may be unable to boot into a normal mode.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2010 08:31 PM
тАО11-05-2010 08:31 PM
Re: ${HOME:-.}/.profile[22]: test: argument expected
lrwxrwxr-x 1 root sys 23 May 14 08:05 K98gcstartup -> /sbin//init.d/gcstartup
lrwxrwxr-x 1 root sys 23 May 14 08:05 S98gcstartup -> /sbin//init.d/gcstartup
I went to /sbin/init.d; moved the file gcstartup to /tmp directory.
gcstartup is associated with Oracle├в s crs/gc setup, created by Oracle, not by me.
Rebooted the server ├в everything seems to be fine.
I├в m still thinking whether I should give it a try by moving gcstartup file in /sbin/init.d directory ├в and see if it fails again to reboot.
Our ignite backups are run/overwritten once a day ├в so, the backups would have been overwritten onto the DDS tape ├в because when the server was up and running, nothing seemed wrong.
Thanks!
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2010 08:34 PM
тАО11-05-2010 08:34 PM
Re: ${HOME:-.}/.profile[22]: test: argument expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2010 08:41 PM
тАО11-05-2010 08:41 PM
Re: ${HOME:-.}/.profile[22]: test: argument expected
good point!
gcstartup contains the line at the end (not modified by me) to startup Oracle Agent 10g:
if [ -f /apps/tstc/oracle/agent10g/install/unix/scripts/agentstup ]; then
/bin/su - oracle -c "/apps/tstc/oracle/agent10g/install/unix/scripts/agentstup $1"
fi
gcstartup, when run, prompts me to choose the database instance - because we have multiple database instances for the UNIX user 'oracle'; it validates which option we choose - if we don't choose any option or press enter, it would say:
${HOME:-.}/.profile[22]: test: argument expected
${HOME:-.}/.profile[25]: test: argument expected
${HOME:-.}/.profile[29]: test: argument expected
${HOME:-.}/.profile[32]: test: argument expected
${HOME:-.}/.profile[35]: test: argument expected
${HOME:-.}/.profile[38]: test: argument expected
${HOME:-.}/.profile[41]: test: argument expected
${HOME:-.}/.profile[44]: test: argument expected
${HOME:-.}/.profile[47]: Q: unknown test operator
well, that explains it!!!
Thanks!
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2010 08:50 PM
тАО11-05-2010 08:50 PM
Re: ${HOME:-.}/.profile[22]: test: argument expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2010 08:59 PM
тАО11-05-2010 08:59 PM
Re: ${HOME:-.}/.profile[22]: test: argument expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2010 09:22 PM
тАО11-05-2010 09:22 PM
Re: ${HOME:-.}/.profile[22]: test: argument expected
In general, what's in there is ignored and it is just a place to hold all of the rc scripts. It is the presence of the symlinks in /sbin/rc?.d/ that do the actual work.
- « Previous
-
- 1
- 2
- Next »