错误演示截图(此处为启动redis-server中的错误演示)
这种错误一般出现在初学者身上,原因是在一些配置文件中(如此处为见得比较多的.conf文件)不允许在相同有效代码行后添加注释,其会把后面的注释当成当前行命令传入参数去编译执行;而该命令配置没有参数传入或传入的参数格式错误自然就报错了。
如图:
改成注释放在单独一行问题解决
详细解决方案
FATAL CONFIG FILE ERROR :Bad directive or wrong number of arguments
热度:112 发布时间:2023-10-19 11:32:19.0
相关解决方案
- Struts-config.xml配置action-地图pings元素略计
- Struts-config.xml配置文件《action-地图pings》元素的详解
- java报错Syntax error on token "return" invalid Type解决方案
- The server encountered an internal error () that prevented it from fulfilling th解决方案
- struts2的Action怎么返回指定路径的jsp或html,而不是返回SUCCESS、ERROR
- 'Update Progress' has encountered a problem An internal error has occurred解决方案
- JSP向SQL数据库中写下数据时提示:Network error IOException: Connection refused: connect
- Error creating bean with name 'sessionFactory' defined in ServletContext resourc解决方法
- IE8怎么让input file 的地址框可编辑
- servlet+jquery1.4.2(ajax error?)解决方案
- Parse error in application web.xml,该如何解决
- java itext导出报Connection reset by peer: socket write error,该怎么处理
- Error reading resource: com/user/User.hbm.xml,该怎么解决
- File "/head.jsp" not found解决方法
- tomcat报错: File "/js_list.jsp" not found,该怎么解决
- fatal error; call to a member function query() on a non-object异常求回答啊 php+sqlite
- Error creating bean with name 'sessionFactory' defined in class path resource解决方法
- 大家帮帮忙呀The server encountered an internal error () that prevented it解决方法
- 【100分】怎么监控多台服务器的log,alert,error
- SOS-(奇怪现象)服务器暂不可用500 internal server error,该怎么解决
- 关于在struts2中怎么将.action加入到web.xml中的<welcome-file-list>上 急
- tomcat没法运行Could not publish to the server. Error while expanding
- Parameter index out of range (五 > number of parameters, which is 4)
- 一声,struts中,struts.xml和struts-config.xml是不是一样
- JSF中javax.faces.el.PropertyNotFoundException: Error getting property的有关问题
- hibernate ORA-00932: 数据类型不一致: 应为 NUMBER, 但却取得 BINARY
- Syntax error on token "{" { expected after this token,该怎么解决
- WEBstruts The server encountered an internal error () that prevented it fr解决思路
- 'Update Progress' has encountered a problem An internal error has occurred解决方案
- object error!