-
Notifications
You must be signed in to change notification settings - Fork 20
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
centos部署后无法访问快照及监控界面无数据 #5
Comments
file not found 是因为nginx配置伪静态没做好,给出你的nginx配置我看一下。 监控显示“从未”,你可能没有运行队列,你执行一下 |
nginx的配置如下:
队列我是直接运行的。没有使用supervisorctl。
烦请指正,谢谢! |
storage/log下面的日志看看发自我的iPhone------------------ 原始邮件 ------------------发件人: Tang-Tiger <[email protected]>发送时间: 2019年3月8日 12:47收件人: shellus/SiteMonitor <[email protected]>抄送: 娃娃脾气3 <[email protected]>, Comment <[email protected]>主题: 回复:[shellus/SiteMonitor] centos部署后无法访问快照及监控界面无数据 (#5)nginx的配置如下:
server {
listen 8010;
root /home/SiteMonitor/public;
index index.html index.php;
server_name _;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
}
队列我是直接运行的。没有使用supervisorctl。
运行结果一直输入以下内容,未曾停止:
[2019-03-08 12:23:11] Processing: App\Jobs\MonitorJob
[2019-03-08 12:23:17] Processing: App\Jobs\MonitorJob
[2019-03-08 12:23:23] Processing: App\Jobs\MonitorJob
[2019-03-08 12:23:28] Processing: App\Jobs\MonitorJob
[2019-03-08 12:23:34] Processing: App\Jobs\MonitorJob
[2019-03-08 12:23:39] Processing: App\Jobs\MonitorJob
[2019-03-08 12:23:45] Processing: App\Jobs\MonitorJob
[2019-03-08 12:23:51] Processing: App\Jobs\MonitorJob
[2019-03-08 12:23:56] Processing: App\Jobs\MonitorJob
烦请指正,谢谢!
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/shellus/SiteMonitor","title":"shellus/SiteMonitor","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/shellus/SiteMonitor"}},"updates":{"snippets":[{"icon":"PERSON","message":"@Tang-Tiger in #5: nginx的配置如下:\r\n```\r\nserver {\r\n\r\n listen 8010;\r\n\r\n root /home/SiteMonitor/public;\r\n index index.html index.php;\r\n\r\n server_name _;\r\n\r\n location / {\r\n try_files $uri $uri/ /index.php?$args;\r\n }\r\n\r\n location ~ \\.php {\r\n fastcgi_split_path_info ^(.+\\.php)(/.+)$;\r\n fastcgi_pass 127.0.0.1:9000;\r\n fastcgi_index index.php;\r\n include fastcgi.conf;\r\n }\r\n\r\n }\r\n\r\n```\r\n\r\n队列我是直接运行的。没有使用supervisorctl。\r\n运行结果一直输入以下内容,未曾停止:\r\n```\r\n[2019-03-08 12:23:11] Processing: App\\Jobs\\MonitorJob\r\n[2019-03-08 12:23:17] Processing: App\\Jobs\\MonitorJob\r\n[2019-03-08 12:23:23] Processing: App\\Jobs\\MonitorJob\r\n[2019-03-08 12:23:28] Processing: App\\Jobs\\MonitorJob\r\n[2019-03-08 12:23:34] Processing: App\\Jobs\\MonitorJob\r\n[2019-03-08 12:23:39] Processing: App\\Jobs\\MonitorJob\r\n[2019-03-08 12:23:45] Processing: App\\Jobs\\MonitorJob\r\n[2019-03-08 12:23:51] Processing: App\\Jobs\\MonitorJob\r\n[2019-03-08 12:23:56] Processing: App\\Jobs\\MonitorJob\r\n```\r\n烦请指正,谢谢!"}],"action":{"name":"View Issue","url":"#5 (comment)"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "#5 (comment)",
"url": "#5 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
monitor.log全是如下内容:
laravel.log 日志重复如下内容:
|
缺少php扩展bcmath发自我的iPhone------------------ 原始邮件 ------------------发件人: Tang-Tiger <[email protected]>发送时间: 2019年3月8日 16:14收件人: shellus/SiteMonitor <[email protected]>抄送: 娃娃脾气3 <[email protected]>, Comment <[email protected]>主题: 回复:[shellus/SiteMonitor] centos部署后无法访问快照及监控界面无数据 (#5)monitor.log全是如下内容:
[2019-03-08 15:48:54] monitor.DEBUG: 队列:监控ID[1],标题[M-03823] [] []
[2019-03-08 15:48:55] monitor.DEBUG: 执行HTTP请求,监控ID[1] [] []
[2019-03-08 15:49:00] monitor.DEBUG: HTTP请求完成,监控ID[1] [] []
[2019-03-08 15:49:00] monitor.DEBUG: 队列:监控ID[1],标题[M-03823] [] []
[2019-03-08 15:49:00] monitor.DEBUG: 执行HTTP请求,监控ID[1] [] []
[2019-03-08 15:49:06] monitor.DEBUG: HTTP请求完成,监控ID[1] [] []
[2019-03-08 15:49:06] monitor.DEBUG: 队列:监控ID[1],标题[M-03823] [] []
[2019-03-08 15:49:06] monitor.DEBUG: 执行HTTP请求,监控ID[1] [] []
laravel.log 日志重复如下内容:
[2019-03-08 16:13:04] local.ERROR: Call to undefined function App\Service\bcmul() {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to undefined function App\\Service\\bcmul() at /home/SiteMonitor/app/Service/MonitorService.php:219)
[stacktrace]
#0 /home/SiteMonitor/app/Jobs/MonitorJob.php(49): App\\Service\\MonitorService::storeSnapshot(Object(App\\Snapshot), Array)
#1 [internal function]: App\\Jobs\\MonitorJob->handle()
#2 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#3 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#4 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#5 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#6 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\\Container\\Container->call(Array)
#7 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(114): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\MonitorJob))
#8 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\MonitorJob))
#9 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#10 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(49): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\MonitorJob), false)
#11 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(76): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#12 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(320): Illuminate\\Queue\\Jobs\\Job->fire()
#13 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(270): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#14 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(114): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#15 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(101): Illuminate\\Queue\\Worker->daemon('redis', 'monitor', Object(Illuminate\\Queue\\WorkerOptions))
#16 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(85): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'monitor')
#17 [internal function]: Illuminate\\Queue\\Console\\WorkCommand->handle()
#18 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#19 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#20 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#21 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#22 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\\Container\\Container->call(Array)
#23 /home/SiteMonitor/vendor/symfony/console/Command/Command.php(252): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#24 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#25 /home/SiteMonitor/vendor/symfony/console/Application.php(936): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#26 /home/SiteMonitor/vendor/symfony/console/Application.php(240): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#27 /home/SiteMonitor/vendor/symfony/console/Application.php(148): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#28 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#29 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#30 /home/SiteMonitor/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#31 {main}
"}
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/shellus/SiteMonitor","title":"shellus/SiteMonitor","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/shellus/SiteMonitor"}},"updates":{"snippets":[{"icon":"PERSON","message":"@Tang-Tiger in #5: monitor.log全是如下内容:\r\n```\r\n[2019-03-08 15:48:54] monitor.DEBUG: 队列:监控ID[1],标题[M-03823] [] []\r\n[2019-03-08 15:48:55] monitor.DEBUG: 执行HTTP请求,监控ID[1] [] []\r\n[2019-03-08 15:49:00] monitor.DEBUG: HTTP请求完成,监控ID[1] [] []\r\n[2019-03-08 15:49:00] monitor.DEBUG: 队列:监控ID[1],标题[M-03823] [] []\r\n[2019-03-08 15:49:00] monitor.DEBUG: 执行HTTP请求,监控ID[1] [] []\r\n[2019-03-08 15:49:06] monitor.DEBUG: HTTP请求完成,监控ID[1] [] []\r\n[2019-03-08 15:49:06] monitor.DEBUG: 队列:监控ID[1],标题[M-03823] [] []\r\n[2019-03-08 15:49:06] monitor.DEBUG: 执行HTTP请求,监控ID[1] [] []\r\n\r\n```\r\nlaravel.log 日志重复如下内容:\r\n```\r\n[2019-03-08 16:13:04] local.ERROR: Call to undefined function App\\Service\\bcmul() {\"exception\":\"[object] (Symfony\\\\Component\\\\Debug\\\\Exception\\\\FatalThrowableError(code: 0): Call to undefined function App\\\\Service\\\\bcmul() at /home/SiteMonitor/app/Service/MonitorService.php:219)\r\n[stacktrace]\r\n#0 /home/SiteMonitor/app/Jobs/MonitorJob.php(49): App\\\\Service\\\\MonitorService::storeSnapshot(Object(App\\\\Snapshot), Array)\r\n#1 [internal function]: App\\\\Jobs\\\\MonitorJob-\u003ehandle()\r\n#2 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)\r\n#3 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\\\Container\\\\BoundMethod::Illuminate\\\\Container\\\\{closure}()\r\n#4 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\\\Container\\\\BoundMethod::callBoundMethod(Object(Illuminate\\\\Foundation\\\\Application), Array, Object(Closure))\r\n#5 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\\\Container\\\\BoundMethod::call(Object(Illuminate\\\\Foundation\\\\Application), Array, Array, NULL)\r\n#6 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\\\\Container\\\\Container-\u003ecall(Array)\r\n#7 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(114): Illuminate\\\\Bus\\\\Dispatcher-\u003eIlluminate\\\\Bus\\\\{closure}(Object(App\\\\Jobs\\\\MonitorJob))\r\n#8 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\\\\Pipeline\\\\Pipeline-\u003eIlluminate\\\\Pipeline\\\\{closure}(Object(App\\\\Jobs\\\\MonitorJob))\r\n#9 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\\\\Pipeline\\\\Pipeline-\u003ethen(Object(Closure))\r\n#10 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(49): Illuminate\\\\Bus\\\\Dispatcher-\u003edispatchNow(Object(App\\\\Jobs\\\\MonitorJob), false)\r\n#11 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(76): Illuminate\\\\Queue\\\\CallQueuedHandler-\u003ecall(Object(Illuminate\\\\Queue\\\\Jobs\\\\RedisJob), Array)\r\n#12 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(320): Illuminate\\\\Queue\\\\Jobs\\\\Job-\u003efire()\r\n#13 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(270): Illuminate\\\\Queue\\\\Worker-\u003eprocess('redis', Object(Illuminate\\\\Queue\\\\Jobs\\\\RedisJob), Object(Illuminate\\\\Queue\\\\WorkerOptions))\r\n#14 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(114): Illuminate\\\\Queue\\\\Worker-\u003erunJob(Object(Illuminate\\\\Queue\\\\Jobs\\\\RedisJob), 'redis', Object(Illuminate\\\\Queue\\\\WorkerOptions))\r\n#15 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(101): Illuminate\\\\Queue\\\\Worker-\u003edaemon('redis', 'monitor', Object(Illuminate\\\\Queue\\\\WorkerOptions))\r\n#16 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(85): Illuminate\\\\Queue\\\\Console\\\\WorkCommand-\u003erunWorker('redis', 'monitor')\r\n#17 [internal function]: Illuminate\\\\Queue\\\\Console\\\\WorkCommand-\u003ehandle()\r\n#18 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)\r\n#19 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\\\Container\\\\BoundMethod::Illuminate\\\\Container\\\\{closure}()\r\n#20 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\\\Container\\\\BoundMethod::callBoundMethod(Object(Illuminate\\\\Foundation\\\\Application), Array, Object(Closure))\r\n#21 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\\\Container\\\\BoundMethod::call(Object(Illuminate\\\\Foundation\\\\Application), Array, Array, NULL)\r\n#22 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\\\\Container\\\\Container-\u003ecall(Array)\r\n#23 /home/SiteMonitor/vendor/symfony/console/Command/Command.php(252): Illuminate\\\\Console\\\\Command-\u003eexecute(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Illuminate\\\\Console\\\\OutputStyle))\r\n#24 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\\\\Component\\\\Console\\\\Command\\\\Command-\u003erun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Illuminate\\\\Console\\\\OutputStyle))\r\n#25 /home/SiteMonitor/vendor/symfony/console/Application.php(936): Illuminate\\\\Console\\\\Command-\u003erun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\r\n#26 /home/SiteMonitor/vendor/symfony/console/Application.php(240): Symfony\\\\Component\\\\Console\\\\Application-\u003edoRunCommand(Object(Illuminate\\\\Queue\\\\Console\\\\WorkCommand), Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\r\n#27 /home/SiteMonitor/vendor/symfony/console/Application.php(148): Symfony\\\\Component\\\\Console\\\\Application-\u003edoRun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\r\n#28 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\\\\Component\\\\Console\\\\Application-\u003erun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\r\n#29 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\\\\Console\\\\Application-\u003erun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\r\n#30 /home/SiteMonitor/artisan(37): Illuminate\\\\Foundation\\\\Console\\\\Kernel-\u003ehandle(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\r\n#31 {main}\r\n\"}\r\n\r\n```\r\n"}],"action":{"name":"View Issue","url":"#5 (comment)"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "#5 (comment)",
"url": "#5 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
添加扩展后请清空日志,重启队列,如果还有问题,继续查看日志发自我的iPhone------------------ 原始邮件 ------------------发件人: Tang-Tiger <[email protected]>发送时间: 2019年3月8日 16:14收件人: shellus/SiteMonitor <[email protected]>抄送: 娃娃脾气3 <[email protected]>, Comment <[email protected]>主题: 回复:[shellus/SiteMonitor] centos部署后无法访问快照及监控界面无数据 (#5)monitor.log全是如下内容:
[2019-03-08 15:48:54] monitor.DEBUG: 队列:监控ID[1],标题[M-03823] [] []
[2019-03-08 15:48:55] monitor.DEBUG: 执行HTTP请求,监控ID[1] [] []
[2019-03-08 15:49:00] monitor.DEBUG: HTTP请求完成,监控ID[1] [] []
[2019-03-08 15:49:00] monitor.DEBUG: 队列:监控ID[1],标题[M-03823] [] []
[2019-03-08 15:49:00] monitor.DEBUG: 执行HTTP请求,监控ID[1] [] []
[2019-03-08 15:49:06] monitor.DEBUG: HTTP请求完成,监控ID[1] [] []
[2019-03-08 15:49:06] monitor.DEBUG: 队列:监控ID[1],标题[M-03823] [] []
[2019-03-08 15:49:06] monitor.DEBUG: 执行HTTP请求,监控ID[1] [] []
laravel.log 日志重复如下内容:
[2019-03-08 16:13:04] local.ERROR: Call to undefined function App\Service\bcmul() {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to undefined function App\\Service\\bcmul() at /home/SiteMonitor/app/Service/MonitorService.php:219)
[stacktrace]
#0 /home/SiteMonitor/app/Jobs/MonitorJob.php(49): App\\Service\\MonitorService::storeSnapshot(Object(App\\Snapshot), Array)
#1 [internal function]: App\\Jobs\\MonitorJob->handle()
#2 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#3 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#4 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#5 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#6 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\\Container\\Container->call(Array)
#7 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(114): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\MonitorJob))
#8 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\MonitorJob))
#9 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#10 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(49): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\MonitorJob), false)
#11 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(76): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#12 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(320): Illuminate\\Queue\\Jobs\\Job->fire()
#13 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(270): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#14 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(114): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#15 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(101): Illuminate\\Queue\\Worker->daemon('redis', 'monitor', Object(Illuminate\\Queue\\WorkerOptions))
#16 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(85): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'monitor')
#17 [internal function]: Illuminate\\Queue\\Console\\WorkCommand->handle()
#18 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#19 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#20 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#21 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#22 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\\Container\\Container->call(Array)
#23 /home/SiteMonitor/vendor/symfony/console/Command/Command.php(252): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#24 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#25 /home/SiteMonitor/vendor/symfony/console/Application.php(936): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#26 /home/SiteMonitor/vendor/symfony/console/Application.php(240): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#27 /home/SiteMonitor/vendor/symfony/console/Application.php(148): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#28 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#29 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#30 /home/SiteMonitor/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#31 {main}
"}
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/shellus/SiteMonitor","title":"shellus/SiteMonitor","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/shellus/SiteMonitor"}},"updates":{"snippets":[{"icon":"PERSON","message":"@Tang-Tiger in #5: monitor.log全是如下内容:\r\n```\r\n[2019-03-08 15:48:54] monitor.DEBUG: 队列:监控ID[1],标题[M-03823] [] []\r\n[2019-03-08 15:48:55] monitor.DEBUG: 执行HTTP请求,监控ID[1] [] []\r\n[2019-03-08 15:49:00] monitor.DEBUG: HTTP请求完成,监控ID[1] [] []\r\n[2019-03-08 15:49:00] monitor.DEBUG: 队列:监控ID[1],标题[M-03823] [] []\r\n[2019-03-08 15:49:00] monitor.DEBUG: 执行HTTP请求,监控ID[1] [] []\r\n[2019-03-08 15:49:06] monitor.DEBUG: HTTP请求完成,监控ID[1] [] []\r\n[2019-03-08 15:49:06] monitor.DEBUG: 队列:监控ID[1],标题[M-03823] [] []\r\n[2019-03-08 15:49:06] monitor.DEBUG: 执行HTTP请求,监控ID[1] [] []\r\n\r\n```\r\nlaravel.log 日志重复如下内容:\r\n```\r\n[2019-03-08 16:13:04] local.ERROR: Call to undefined function App\\Service\\bcmul() {\"exception\":\"[object] (Symfony\\\\Component\\\\Debug\\\\Exception\\\\FatalThrowableError(code: 0): Call to undefined function App\\\\Service\\\\bcmul() at /home/SiteMonitor/app/Service/MonitorService.php:219)\r\n[stacktrace]\r\n#0 /home/SiteMonitor/app/Jobs/MonitorJob.php(49): App\\\\Service\\\\MonitorService::storeSnapshot(Object(App\\\\Snapshot), Array)\r\n#1 [internal function]: App\\\\Jobs\\\\MonitorJob-\u003ehandle()\r\n#2 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)\r\n#3 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\\\Container\\\\BoundMethod::Illuminate\\\\Container\\\\{closure}()\r\n#4 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\\\Container\\\\BoundMethod::callBoundMethod(Object(Illuminate\\\\Foundation\\\\Application), Array, Object(Closure))\r\n#5 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\\\Container\\\\BoundMethod::call(Object(Illuminate\\\\Foundation\\\\Application), Array, Array, NULL)\r\n#6 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\\\\Container\\\\Container-\u003ecall(Array)\r\n#7 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(114): Illuminate\\\\Bus\\\\Dispatcher-\u003eIlluminate\\\\Bus\\\\{closure}(Object(App\\\\Jobs\\\\MonitorJob))\r\n#8 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\\\\Pipeline\\\\Pipeline-\u003eIlluminate\\\\Pipeline\\\\{closure}(Object(App\\\\Jobs\\\\MonitorJob))\r\n#9 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\\\\Pipeline\\\\Pipeline-\u003ethen(Object(Closure))\r\n#10 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(49): Illuminate\\\\Bus\\\\Dispatcher-\u003edispatchNow(Object(App\\\\Jobs\\\\MonitorJob), false)\r\n#11 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(76): Illuminate\\\\Queue\\\\CallQueuedHandler-\u003ecall(Object(Illuminate\\\\Queue\\\\Jobs\\\\RedisJob), Array)\r\n#12 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(320): Illuminate\\\\Queue\\\\Jobs\\\\Job-\u003efire()\r\n#13 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(270): Illuminate\\\\Queue\\\\Worker-\u003eprocess('redis', Object(Illuminate\\\\Queue\\\\Jobs\\\\RedisJob), Object(Illuminate\\\\Queue\\\\WorkerOptions))\r\n#14 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(114): Illuminate\\\\Queue\\\\Worker-\u003erunJob(Object(Illuminate\\\\Queue\\\\Jobs\\\\RedisJob), 'redis', Object(Illuminate\\\\Queue\\\\WorkerOptions))\r\n#15 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(101): Illuminate\\\\Queue\\\\Worker-\u003edaemon('redis', 'monitor', Object(Illuminate\\\\Queue\\\\WorkerOptions))\r\n#16 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(85): Illuminate\\\\Queue\\\\Console\\\\WorkCommand-\u003erunWorker('redis', 'monitor')\r\n#17 [internal function]: Illuminate\\\\Queue\\\\Console\\\\WorkCommand-\u003ehandle()\r\n#18 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)\r\n#19 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\\\Container\\\\BoundMethod::Illuminate\\\\Container\\\\{closure}()\r\n#20 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\\\Container\\\\BoundMethod::callBoundMethod(Object(Illuminate\\\\Foundation\\\\Application), Array, Object(Closure))\r\n#21 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\\\Container\\\\BoundMethod::call(Object(Illuminate\\\\Foundation\\\\Application), Array, Array, NULL)\r\n#22 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\\\\Container\\\\Container-\u003ecall(Array)\r\n#23 /home/SiteMonitor/vendor/symfony/console/Command/Command.php(252): Illuminate\\\\Console\\\\Command-\u003eexecute(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Illuminate\\\\Console\\\\OutputStyle))\r\n#24 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\\\\Component\\\\Console\\\\Command\\\\Command-\u003erun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Illuminate\\\\Console\\\\OutputStyle))\r\n#25 /home/SiteMonitor/vendor/symfony/console/Application.php(936): Illuminate\\\\Console\\\\Command-\u003erun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\r\n#26 /home/SiteMonitor/vendor/symfony/console/Application.php(240): Symfony\\\\Component\\\\Console\\\\Application-\u003edoRunCommand(Object(Illuminate\\\\Queue\\\\Console\\\\WorkCommand), Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\r\n#27 /home/SiteMonitor/vendor/symfony/console/Application.php(148): Symfony\\\\Component\\\\Console\\\\Application-\u003edoRun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\r\n#28 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\\\\Component\\\\Console\\\\Application-\u003erun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\r\n#29 /home/SiteMonitor/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\\\\Console\\\\Application-\u003erun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\r\n#30 /home/SiteMonitor/artisan(37): Illuminate\\\\Foundation\\\\Console\\\\Kernel-\u003ehandle(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\r\n#31 {main}\r\n\"}\r\n\r\n```\r\n"}],"action":{"name":"View Issue","url":"#5 (comment)"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "#5 (comment)",
"url": "#5 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
按照你给的方法,我成功部署该系统。谢谢你这几天的热心指导!后续有什么其它问题我还会来请教你。谢谢! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用centos部署,可登录,可添加项目,可添加监控,后台监控程序运行正常。
但是
界面上无监控数据,几个监控列表的请求、匹配、错误均显示为从未。
无法查看快照,能够点开快照列表。但是快照列表里面具体的内容确无法查看。点击则包file not found错误。
针对以上部署情况,是不是哪里没弄对?
The text was updated successfully, but these errors were encountered: