当前位置: 首页 > news >正文

建设婚恋网站wordpress二级栏

建设婚恋网站,wordpress二级栏,怎么做网站的后台,自己做网站要花钱吗常见的大概这两种情况 1.找不到zoo.cfg文件 在下载zookeeper后,在 %zookeeper安装目录%/conf 目录下有一个zoo.sample.cfg 文件,把 zoo.sample.cfg 文件改名为 zoo.cfg 再重启zkServer.cmd echo off REM Licensed to the Apache Software Foundation …

常见的大概这两种情况

1.找不到zoo.cfg文件

在下载zookeeper后,在 %zookeeper安装目录%/conf 目录下有一个zoo.sample.cfg 文件,把 zoo.sample.cfg 文件改名为 zoo.cfg 再重启zkServer.cmd

@echo off
REM Licensed to the Apache Software Foundation (ASF) under one or more
REM contributor license agreements.  See the NOTICE file distributed with
REM this work for additional information regarding copyright ownership.
REM The ASF licenses this file to You under the Apache License, Version 2.0
REM (the "License"); you may not use this file except in compliance with
REM the License.  You may obtain a copy of the License at
REM
REM     http://www.apache.org/licenses/LICENSE-2.0
REM
REM Unless required by applicable law or agreed to in writing, software
REM distributed under the License is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM See the License for the specific language governing permissions and
REM limitations under the License.setlocal
call "%~dp0zkEnv.cmd"set ZOOMAIN=org.apache.zookeeper.server.quorum.QuorumPeerMain
echo on
call %JAVA% "-Dzookeeper.log.dir=%ZOO_LOG_DIR%" "-Dzookeeper.root.logger=%ZOO_LOG4J_PROP%" -cp "%CLASSPATH%" %ZOOMAIN% "%ZOOCFG%" %*
pause # 在该位置加上这个pause
endlocal

2. JAVA_HOME 没有配置,或者配置出错

zookeeper是一个java进程依赖于jdk,可以查看一下 %zk安装目录%/bin/zkEnv.cmd文件。

@echo off
REM Licensed to the Apache Software Foundation (ASF) under one or more
REM contributor license agreements.  See the NOTICE file distributed with
REM this work for additional information regarding copyright ownership.
REM The ASF licenses this file to You under the Apache License, Version 2.0
REM (the "License"); you may not use this file except in compliance with
REM the License.  You may obtain a copy of the License at
REM
REM     http://www.apache.org/licenses/LICENSE-2.0
REM
REM Unless required by applicable law or agreed to in writing, software
REM distributed under the License is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM See the License for the specific language governing permissions and
REM limitations under the License.set ZOOCFGDIR=%~dp0%..\conf
set ZOO_LOG_DIR=%~dp0%..
set ZOO_LOG4J_PROP=INFO,CONSOLEREM for sanity sake assume Java 1.6
REM see: http://java.sun.com/javase/6/docs/technotes/tools/windows/java.htmlREM add the zoocfg dir to classpath
set CLASSPATH=%ZOOCFGDIR%REM make it work in the release
SET CLASSPATH=%~dp0..\*;%~dp0..\lib\*;%CLASSPATH%REM make it work for developers
SET CLASSPATH=%~dp0..\build\classes;%~dp0..\build\lib\*;%CLASSPATH%
#这个地方就是配置启动zk找到的配置文件,默认去conf下的zoo.cfg文件
set ZOOCFG=%ZOOCFGDIR%\zoo.cfg@REM setup java environment variablesif not defined JAVA_HOME (echo Error: JAVA_HOME is not set.goto :eof
)set JAVA_HOME=%JAVA_HOME:"=%if not exist "%JAVA_HOME%"\bin\java.exe (echo Error: JAVA_HOME is incorrectly set.goto :eof
)set JAVA="%JAVA_HOME%"\bin\java
# 找到环境变量,看看有没有配置这个"JAVA_HOME"环境变量,
# 注意这个值中的目录文件,在系统的环境变量中结尾不要有\
http://www.yayakq.cn/news/801593/

相关文章:

  • 标准版网站制作ucenter使用自己做的网站
  • 美空间网站青岛网上注册公司官网
  • 织梦网站怎么做下载地址wordpress版本编辑器
  • 空间代码网站做哪个软件网站app
  • 网站怎么做筛选功能的代码做下载网站好不好做
  • 优秀企业网站建设公司2345浏览器网页版登录
  • 成都周边旅游景点大全seo的搜索排名影响因素有哪些
  • 网站后台用什么做服务器济南网站的建设
  • 服装网站建设配色国内免备案网站空间
  • 发布网站要搭建什么榜单设计
  • 哪个网站做h5比较好宣传片拍摄手法有哪些
  • 东莞品牌网站制作公司网站代备案流程
  • 北京赛车彩票网站怎么做2021年php凉透了
  • 2022网站快速收录技术搜索引擎营销成功的案例
  • 黑蒜东莞网站建设安全教育平台
  • 坪山网站建设方案editplus怎么创网站
  • 济南网站建设设计公司找做帽子的工厂网站
  • 网站购物流程模块怎么实现wordpress防伪查询主题
  • 做seo网站 公司企业做电商网站
  • 宁波品牌网站推广优化公司衡水微网站制作怎么做
  • 建设网站开发的语言有哪些杭州做网站软件
  • 机械网站建设哪家好个人主页图片素材
  • 如何进入网站管理页面泰州seo外包
  • 什么网站做详情页好wordpress自定义文章标题字体
  • 小学生的做试卷儿的网站 你这wordpress acf
  • 网站远程数据库大连网络推广
  • 上海找人做网站网站建设 试题
  • 公司网站如何在百度上能搜索到个人网站网页设计模板
  • 网站功能模块有哪些wordpress投稿者个人资料
  • 廊坊网站建设方案服务网站建设开发合同范本