Git Product home page Git Product logo

amh-4.2's People

Contributors

maicong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amh-4.2's Issues

安装模块失败

/root/amh/upgrade 和/root/amh/module 中的一次错误引起安装模块或升级包错误,提示:
[Error] AMH-SSH is running, please wait.

需要修改:
[ ps x | egrep -v 'egrep' | egrep -c 'amh module|amh upgrade' -ge 2 ] &&
为:
[ ps x | egrep -v 'grep' | egrep -c 'amh module|amh upgrade' -ge 2 ] && \

upgrade在第60行,module在第62行

安装的时候出现错误

log文件在这里了
http://pan.baidu.com/s/1Ap7R4

过程,本来是直接安装AMH5.0的,装完才发现是要收费的,所以就删除掉5.0,重新装官方4.2的,提示出错。

后面在网上找了下,找到了你的这个版本,先UNINSTALL 4.2再安装成功。

后面发现PHP不支持pdo-odbc,所以又删除了,在amh-mc.sh脚本的编译php处添加了--with-iodbc=/usr/local这个参数。

重新安装,失败,我以为是我修改的问题,就再次删除,直接用你给的原版和脚本,再次安装还是失败。

希望您有空可以看一下,谢谢!

PHP能不能支持pdo odbc?

如题
好像脚本里面没有编译pdo_odbc的支持,我想在PHP中使用odbc连接mssql失败,提示

'could not find driver'

我使用FreeTDS来连接的。

http://www.freetds.org/userguide/php.htm

另外我想使用PDO方式连接,这样比较方便。或者有没有办法在不重新编译PHP的情况下支持

Potential Misconfiguration

We are a group of researchers from Yale University building a tool to finding bugs in configurations files. To evaluate the effectiveness of our tool, we randomly selected 1000 open source configuration files to verify and are requesting feedback on our error report. Your file https://raw.githubusercontent.com/maicong/amh-4.2/4e7a7a8a5002f06d22747dd193429f0da3d1606b/Modified/amh-4.2-conf/my.cnf was among those files. When we ran our tool your file, it reported the following potential errors.

[INTEGER RELATION ERROR: Expected max-allowed-packet[mysqldump] >= expire-logs-days[mysqld]
Found values: ["expire-logs-days[mysqld]=30","max-allowed-packet[mysqldump]=16m"]
In the training set we saw: ">=" 49 times, "<=" 1 times, "==" 0 times

INTEGER RELATION ERROR: Expected max-heap-table-size[mysqld] >= expire-logs-days[mysqld]
Found values: ["max-heap-table-size[mysqld]=8m","expire-logs-days[mysqld]=30"]
In the training set we saw: ">=" 30 times, "<=" 0 times, "==" 0 times

INTEGER RELATION ERROR: Expected tmp-table-size[mysqld] >= expire-logs-days[mysqld]
Found values: ["tmp-table-size[mysqld]=16m","expire-logs-days[mysqld]=30"]
In the training set we saw: ">=" 34 times, "<=" 1 times, "==" 0 times
]

The training set referenced in the report is taken from the industrial configuration files at https://github.com/tianyin/configuration_datasets. Note that even if your system is currently working, these bug may manifest itself only under large traffic loads or different system environments.

If you feel the any of above errors may indeed cause problems either on your system, or a different system, please comment on this issue report in the space below. This will help use to improve our tool. If you do not believe this is a potential bug, please feel free to close this issue. If possible we would appreciate your feedback before July 27.

If you would like find out more about how we detected these bug, you can find the open source tool at https://github.com/santolucito/ConfigV. For a quick overview of this tool, you can watch this video at https://youtu.be/plliEh-5MpM. If you have further questions, or would like to get involved with this project, feel free to reach out over email at [email protected].

Thank you for your time!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.