- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mysql cannot start automatically after reboot ...
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
тАО05-28-2005 10:36 PM
тАО05-28-2005 10:36 PM
========================
# pwd
/sbin/init.d
# ll mysqlstart
rwxr-xr-x 1 bin bin 94 May 29 18:21 mysqlstart
# cat mysqlstart
PATH=$PATH:/usr/local/mysql/bin
export PATH
/usr/local/mysql/support-files/mysql.server start
# ./mysqlstart
Starting MySQL
... SUCCESS!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2005 02:23 AM
тАО05-29-2005 02:23 AM
Re: mysql cannot start automatically after reboot HP-UX 11.0
Its usually an environment issue.
at the prompt:
env > /tmp/normal.mysql.env.txt
in the startup script
env > /tmp/startup.mysql.env.txt
boot the box
diff the two files.
when the environments are the same mysql will start.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2005 10:42 AM
тАО05-29-2005 10:42 AM
Re: mysql cannot start automatically after reboot HP-UX 11.0
Your suggestion is very good to do the compare. But, the "env >" cannot run after reboot. Please help.
================================
# cd /tmp
# ll *.txt
-rw-rw-rw- 1 root sys 700 May 30 06:30 normal.mysql.env.txt
========== Only one txt file after reboot ==
# pwd
/sbin/init.d
# cat mysqlstart
env > /tmp/startup.mysql.env.txt
/usr/local/mysql/support-files/mysql.server start
# ./mysqlstart
Starting MySQL
... SUCCESS!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2005 10:16 PM
тАО06-22-2005 10:16 PM
SolutionI installed mysql yesterday, so maybe I can help you.
To start applications during boot process you have to create a link in /sbin/rcX.d.
X are different levels to start.
For mysql it should be 3.
Check your directory /sbin/rc3.d to see how it works.
Change to /sbin/rc3.d -
'ln -s /sbin/init.d/mysql.server S899mysql' for example
To stop mysql at shutdown you have to create a similar link in /sbin/rc2.d.
'ln -s /sbin/init.d/mysql.server K111mysql'
So I didn't test it yet (it's my server) it should work.
You can see all processes which start this way in /etc/rc.log.
There you should also see error messages if it doesn't work.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 12:37 AM
тАО06-23-2005 12:37 AM
Re: mysql cannot start automatically after reboot HP-UX 11.0
'ln -s /sbin/init.d/mysqlstart /sbin/rc3.d/S999mysql'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2005 10:03 PM
тАО06-24-2005 10:03 PM
Re: mysql cannot start automatically after reboot HP-UX 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 01:36 AM
тАО06-28-2005 01:36 AM
Re: mysql cannot start automatically after reboot HP-UX 11.0
Boot up
==========================================================================
Starting the HPUX Webproxy subsystem ...................... [N/A ]
Start CDE login server .................................... [ OK ]
Usage: /sbin/rc3.d/S999mysql start|stop|restart|reload .... [ OK ]
==========================================================================
After root login:
WARNING: YOU ARE SUPERUSER !!
# ps -e | grep mysql
1619 ? 0:51 mysqld
1598 ? 0:00 mysqld_safe
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 01:39 AM
тАО06-28-2005 01:39 AM
Re: mysql cannot start automatically after reboot HP-UX 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 01:46 AM
тАО06-28-2005 01:46 AM
Re: mysql cannot start automatically after reboot HP-UX 11.0
# ./mysql.server stop
Shutting down MySQL
................................... ERROR!
So, I delete the S999mysql link. Then, reboot, manual start by ./usr/local/mysql/support-files/mysql.server start
then, it is ok. I hope to know why . :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2018 08:10 PM
тАО03-20-2018 08:10 PM
Re: mysql cannot start automatically after reboot HP-UX 11.0
The reason for showing
Usage: /sbin/rc3.d/S999mysql start|stop|restart|reload .... [ OK ]
is the mysql.server does not support start_msg/stop_msg, you can add 'start_msg'/stop_msg in the file.
detail info by rc manpage.