Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

服务器部署执行/etc/init.d/cachecloud-web start 无法成功启动 提示“syntax error near unexpected token” #23

Closed
shaozhengmao opened this issue Mar 23, 2016 · 3 comments

Comments

@shaozhengmao
Copy link

系统CentOS-5.3-i386 32位

问题提示:

[root@localhost opt]# /etc/init.d/cachecloud-web start

/etc/init.d/cachecloud-web: line 168: syntax error near unexpected token `>'

/etc/init.d/cachecloud-web: line 168: ` $command &>> "$log_file" &'

@shaozhengmao shaozhengmao changed the title 执行/etc/init.d/cachecloud-web start 无法成功启动 提示“syntax error near unexpected token” 服务器部署执行/etc/init.d/cachecloud-web start 无法成功启动 提示“syntax error near unexpected token” Mar 23, 2016
@AirJay
Copy link

AirJay commented Mar 23, 2016

相同问题,cachecloud-web.conf文件是否需要根据环境做相应修改?

@carlosfu
Copy link
Collaborator

@shaozhengmao @AirJay

应该是操作系统原因,我们用的是redhat,这个问题我们会尽快跟进处理,给出解决方案

@carlosfu
Copy link
Collaborator

@shaozhengmao @AirJay

问题已经修复,请更新代码!

cachecloud根目录下的script目录下start.sh和stop.sh放在/opt/cachecloud-web执行就是开启和关闭cachecloud。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants