Omsys failure after the machine stops running after a power outage
Problem: 1, unable to login 102omsys (solution: Reference solution 1)
2, solve the log after the data can not be synchronized to the background (resolution: Refer to the solution, 1, the execution of Crontab Timer service 2, manual execution of the following 11 scheduled tasks)
Workaround:
1. Close Iptables
Service Iptables Stop
#防火墙会屏蔽80端口, you can add 80 ports to the firewall in the future
2. Shell scripts and timed tasks
1. * * * * * root/usr/bin/phpbak/root/phpsftp/sftplog.php #下载点击等等 ... log
2, */10 * * * * * root/usr/bin/phpbak/root/phpsftp/sftpxml.php #每隔10分钟运行一次, download 193 server XML file
3. * * * * * * * * * * root/shell/log2db #每个小时25分时间段运行一次, download down the click and so on. Log Import Database
4, */10 * * * * * root/shell/lead2db #每隔25分钟运行一次, import the downloaded XML file into the database
5. * * * * * Root/shell/hourstat #不明 (to be added)
6, * 1 * * * Root/shell/daystat #不明 (to be added)
7. * * * * * Root/shell/updatemedia #跟新到客户媒体服务器
8, 0 4 * * * Root/shell/updatemedia_lead #不明
9, 0 0 * * * root/usr/bin/php/shell/setpingan.php #不明
10, */30 * * * * * root/shell/updatemedia_lead1 #不明
11, 3 * * * root/shell/mysqldump.sh #定期备份UGC数据库
Omsys
Run shell inside four files
lead2db.phpleadcheck.php
syncpingan.phpsyncpinganquickloans.php
Omsys Problem Summary (1) Power off restart