No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

The solution When install DB, prompt“Execute file ./tmp_sql failed”

Publication Date:  2012-11-09 Views:  33 Downloads:  0
Issue Description
 Use the centralized installation tool to install the SIG background version, but the installation is failed.
And change to use component installation to install SIG DB, prompting “Execute file ./tmp_sql failed”, details are as follows:
The password of the SIG DB is detected during the configuration installation.
********************************************************************
1:    The configured password
2:    Input another value
********************************************************************
Please select a configured value or input a new one (1 or 2)>2
Please input the password of the SIG DB:
Re-enter the password of the SIG DB:
Do you want to analyze the Generic Routing Encapsulation (GRE) tunnel?(y or n):n
Please wait for a while.
Execute file ./tmp_sql failed
The initialization fails. Please confirm that the SIG table is installed!
You have new mail in /var/mail/root
SIG-Server:/home/centralized_install/packages/install_sig #
Alarm Information
none
Handling Process
1、stop database: /etc/init.d/mysql stop
2、manually delete the directory:rm -r /var/lib/mysql/SIG
(if appears the problem when install NETS, execute rm -r /var/lib/mysql/NETS)
3、start DB:/etc/init.d/mysql start
4、Execute installation script again to install database
Root Cause
When install a DB again and again in the experiment, the problem will appear occasional, and the server do not install the mysql will not appear this problem.
When install database, first execute mysql command: drop databases (delete a database), such as the SIG DB, now mysql program will delete the directory/var/lib/mysql/SIG.
But when install a DB again and again, mysql appear delete directory failure occasionally.

Suggestions
none

END