- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: startup web process at boot
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
12-05-2001 07:18 AM
12-05-2001 07:18 AM
startup web process at boot
problem to start "cimix" web process at system boot .
I execute "cimix start" after signin and it's OK
join rc3.d and cimix script.
Thanks .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2001 07:22 AM
12-05-2001 07:22 AM
Re: startup web process at boot
This could mostly be due to CIMIX_HOME definition.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2001 07:24 AM
12-05-2001 07:24 AM
Re: startup web process at boot
It looks like your start script may be failing during boot because it lacks an environment at that time. You reference $CIMIX_HOME which would typically have no value at that time.
You need all of the following for rc scripts to work reliably:
* Script in /sbin/init.d/
* Start link in /sbin/rc?.d/
* Kill link in /sbin/rc?.d/
* Settings file in /etc/rc.config.d/
Any environment variables that your script references should be defined in your settings file (/etc/rc.config.d/cimix for example) since that file gets sourced before the script is executed.
Cheers,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2001 07:24 AM
12-05-2001 07:24 AM
Re: startup web process at boot
Do you have any related file with cimix in /etc/rc.config.d direactory.
Usually flag start=0 or 1 is set here.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2001 08:01 AM
12-05-2001 08:01 AM
Re: startup web process at boot
and variables are set correctly on the script
at boot "cmxwebdb" seems startup correctly
but client can't connect .
I must start cimix manually .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2001 08:17 AM
12-05-2001 08:17 AM
Re: startup web process at boot
See /usr/share/doc/start_up.txt for more detailed information.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2001 08:57 AM
12-05-2001 08:57 AM
Re: startup web process at boot
Just a though, if your scripts work okay from a shell, either make sure all executables are explicitly pathed or make sure you set some path variables. Appologies if you've tried this, I can't open the attachment (probs @ our end).
Cheers,
-ChaZ-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2001 11:11 AM
12-05-2001 11:11 AM
Re: startup web process at boot
try this,
Create a file called SXXXcimix in /sbin/rc3.d directory
Here XXX is any number between 500 and 990
Edit this file and add this line,
su - user_name -c "Your startup command"
Here user_name is the name of the user you are using to start the cimix process manually and "your startup command" refers to the complete syntax of the command you are using to start the process. Do remeber to use the full path to the command. Say the command is located in directory /dir1/dir2 and the command is comman_name and the option you use is "start", "your startup command" should look like "/dir1/dir2/command_name start"
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2001 02:56 PM
12-05-2001 02:56 PM
Re: startup web process at boot
USER=tidal
case $1 in
start)
if [[ -f /etc/rc.config.d/tidal ]];then
. /etc/rc.config.d/tidal
else
echo "Defaults file /etc/rc.config.d/tidal missing"
fi
if [[ $TD = 1 ]];then
echo "starting tidal server"
su - $USER -c "/opt/ocsagent/bin/express start"
else
echo "TD is set to 0"
fi;;
stop)
if [[ -f /etc/rc.config.d/tidal ]];then
. /etc/rc.config.d/tidal
else
echo "Defaults file missing"
fi
if [[ $TD = 1 ]];then
echo "shutting down tidal server"
su - $USER -c "/opt/ocsagent/bin/express stop"
fi;;
status)
if [[ -f /etc/rc.config.d/tidal ]];then
. /etc/rc.config.d/tidal
else
echo "Defaults file missing"
fi
if [[ $TD = 1 ]];then
. /opt/ocsagent/.profile
echo "checking status of server"
/opt/ocsagent/bin/express status
fi;;
*)
echo "Usage: tidalsw stop:start:status"
;;
esac