pdrakeweb / sof

Server on Fire

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scripts directory is relative instead of in the install dir

blkperl opened this issue · comments

[hosting-prod:prod] ~/fields/1.85$ sv-panic staging-4817
Running checks |Time: 00:00:04 | ============================================================================== | Time: 00:00:04
/usr/local/lib/ruby/gems/2.1.0/gems/net-scp-1.1.2/lib/net/scp/upload.rb:117:in `stat': No such file or directory @ rb_file_s_stat - scripts//mysql_slow_queries.sh (Errno::ENOENT)
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-scp-1.1.2/lib/net/scp/upload.rb:117:in `set_current'
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-scp-1.1.2/lib/net/scp/upload.rb:24:in `upload_start_state'
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-scp-1.1.2/lib/net/scp.rb:363:in `block (3 levels) in start_command'
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.2/lib/net/ssh/connection/channel.rb:311:in `call'
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.2/lib/net/ssh/connection/channel.rb:311:in `process'
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.2/lib/net/ssh/connection/session.rb:223:in `block in preprocess'
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.2/lib/net/ssh/connection/session.rb:223:in `each'
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.2/lib/net/ssh/connection/session.rb:223:in `preprocess'
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.2/lib/net/ssh/connection/session.rb:206:in `process'
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.2/lib/net/ssh/connection/session.rb:170:in `block in loop'
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.2/lib/net/ssh/connection/session.rb:170:in `loop'
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.2/lib/net/ssh/connection/session.rb:170:in `loop'
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.2/lib/net/ssh/connection/channel.rb:269:in `wait'
    from /usr/local/lib/ruby/gems/2.1.0/gems/net-scp-1.1.2/lib/net/scp.rb:279:in `upload!'
    from /vol/ebs1/home/wvanh/oper/sof/lib/sof/checks/ssh_script.rb:22:in `run'
    from /vol/ebs1/home/wvanh/oper/sof/lib/sof/check.rb:22:in `block in run_check'
    from /usr/local/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout'
    from /usr/local/lib/ruby/2.1.0/timeout.rb:35:in `block in catch'
    from /usr/local/lib/ruby/2.1.0/timeout.rb:35:in `catch'
    from /usr/local/lib/ruby/2.1.0/timeout.rb:35:in `catch'
    from /usr/local/lib/ruby/2.1.0/timeout.rb:106:in `timeout'
    from /vol/ebs1/home/wvanh/oper/sof/lib/sof/check.rb:21:in `run_check'
    from /vol/ebs1/home/wvanh/oper/sof/lib/sof/runner.rb:43:in `block (3 levels) in run_checks'
    from /usr/local/lib/ruby/gems/2.1.0/gems/parallel-1.6.1/lib/parallel.rb:408:in `call'
    from /usr/local/lib/ruby/gems/2.1.0/gems/parallel-1.6.1/lib/parallel.rb:408:in `call_with_index'
    from /usr/local/lib/ruby/gems/2.1.0/gems/parallel-1.6.1/lib/parallel.rb:288:in `block (2 levels) in work_in_threads'
    from /usr/local/lib/ruby/gems/2.1.0/gems/parallel-1.6.1/lib/parallel.rb:419:in `with_instrumentation'
    from /usr/local/lib/ruby/gems/2.1.0/gems/parallel-1.6.1/lib/parallel.rb:287:in `block in work_in_threads'
    from /usr/local/lib/ruby/gems/2.1.0/gems/parallel-1.6.1/lib/parallel.rb:183:in `block (2 levels) in in_threads'