unexpected EOF while looking for matching ``'
来源:互联网 发布:帝范译文非知之难 编辑:程序博客网 时间:2024/06/05 06:32
报错提示:
php-fpm_check.sh: line 55: unexpected EOF while looking for matching ``'
php-fpm_check.sh: line 60: syntax error: unexpected end of file
看看55行和60行是啥内容:
echo "[ `date +'%h %d %T'` ] PHP-FPM died with 502 bad gateway, all processes restarted">>/usr/local/php/log/php-fpm-restart.log
没有第60行
纳闷了,这是怎么回事呢?
把这行注释掉,再测试,还是55行和60行报错
从这点可以看出根本原因不在这行
但是总是提示``报错,应该跟这个符号有关
现在把含有``的行全部都注释掉,再运行试试看,发现没报错了
现在可以缩小范围了,排查含有``的行
一行行查看,终于发现了这么一行:
Record=``ps aux |grep php-fpm|grep -v grep |awk '{print $3"\t"$2"\t"$11}'|tr -d :|sort -nr|head -1`
问题就在这里了Record=``ps aux |grep,多了一个`符号
深有感慨
一个小小的符号搞了我半天
- unexpected EOF while looking for matching ``'
- MinGW编译db-db-4.8.30.NC.tar.gz遇到unexpected EOF while looking for matching‘''
- unexpected end of file while looking for precompiled header directive
- unexpected end of file while looking for precompiled header directive
- 编译unexpected end of file while looking for
- unexpected end of file while looking for precompiled header directive
- unexpected end of file while looking for precompiled header directive
- unexpected end of file while looking for precompiled header directive
- unexpected end of file while looking for precompiled header directive
- unexpected end of file while looking for precompiled header directive
- unexpected end of file while looking for precompiled header directive
- SyntaxError: unexpected EOF while parsing
- 【转载】fatal error C1010: unexpected end of file while looking for precompiled header directive
- 出现此问题的解决方法: unexpected end of file while looking for precompiled header directive
- 如何解决unexpected end of file while looking for precompiled header directive的问题
- 【转载】fatal error C1010: unexpected end of file while looking for precompiled header directive
- 一个编译错误 fatal error C1010: unexpected end of file while looking for precompiled header directive
- fatal error C1010: unexpected end of file while looking for precompiled header directive 错误
- vc++ socket实现的支持断点续传的下载器
- 如何:设置引用路径(C#、J#)
- 关于jquery的错误-"参数出错"
- 运行错误malloc.c:3096
- hdu 2601 An easy problem(中)
- unexpected EOF while looking for matching ``'
- Bigtable探秘 Google分布式数据存储系统DFS(2)
- Google首页电吉他Doodle源代码抢先下载
- 任务数据结构
- JAVA 计算地球上任意两点(经纬度)距离
- PHP OR Die 语句
- RIA领域里的三种信仰
- 萧峰-我喜欢的武侠人物之一~~~
- 拒绝专业术语 为大家讲解什么是“背照式CMOS传感器”