SERP Hacker support forum - serposcope

Support forum for open-source softwares built by serphacker.com : serposcope the rank checker.

You are not logged in.

#1 2016-03-03 08:30:13

alexbertran
Member
Registered: 2016-03-03
Posts: 7

Service stops

Installed and could check positions properly but then stops and everytime i want to check website and check positions i need to run the command

java -jar serposcope-2.3.0.jar

_ CENTOS 6.7
_ serposcope 2.3.0
_ java version 1.8.0_71-b15

Last logs are:

- -------------------------------------------------------
[2016-03-02 18:54:30,453] [NinjaJetty] INFO  s.l.MyNinjaJetty - Ninja application running at
[2016-03-02 18:54:30,453] [NinjaJetty] INFO  s.l.MyNinjaJetty -  => http://0.0.0.0:7134
[2016-03-02 18:54:30,453] [NinjaJetty] INFO  s.l.MyNinjaJetty
- -------------------------------------------------------
[2016-03-02 18:54:30,794] [pool-1-thread-1] INFO  s.s.Scheduler - last version 2.0.0 | current version 2.3.0
[2016-03-02 20:37:05,382] [Thread-15] INFO  s.s.CronService - stopService
[2016-03-02 20:37:05,384] [Thread-15] INFO  s.l.MyNinjaJetty - Trying to stop jetty on 0.0.0.0:7134
[2016-03-02 20:37:05,387] [Thread-15] INFO  s.l.MyNinjaJetty - Stopped jetty on 0.0.0.0:7134

Any clues what to do?

Offline

#2 2016-03-06 15:55:27

serphacker
Administrator
Registered: 2014-06-13
Posts: 411

Re: Service stops

Where does this log come from ? output of the console (after executing java -jar serposcope-2.3.0.jar) or a log file from serposcope directory ?

Offline

#3 2016-03-07 09:29:15

alexbertran
Member
Registered: 2016-03-03
Posts: 7

Re: Service stops

Ops sorry, they where from console.

These are from Serposcope directory:

c.s.s.s.g.s.GoogleScraper - GET https://www.google.es/search?q=word+tes … r&start=20 via proxy:direct try 1
[2016-03-05 08:52:48,985] [google-0] TRACE c.s.s.s.g.s.GoogleScraper - sleeping 10000 milliseconds
[2016-03-05 08:52:58,990] [google-0] INFO  c.s.s.t.g.GoogleTaskRunnable - google thread stopped
[2016-03-05 08:52:58,992] [Thread-19] WARN  c.s.s.t.g.GoogleTask - 0 proxies failed during the task
[2016-03-05 08:52:58,993] [Thread-19] INFO  c.s.s.t.AbstractTask - task done for module GOOGLE
[2016-03-05 12:36:32,845] [Thread-16] INFO  s.s.CronService - stopService
[2016-03-05 12:36:32,851] [Thread-16] INFO  s.l.MyNinjaJetty - Trying to stop jetty on 0.0.0.0:7134
[2016-03-05 12:36:32,862] [Thread-16] INFO  s.l.MyNinjaJetty - Stopped jetty on 0.0.0.0:7134

Offline

#4 2016-03-07 09:33:56

serphacker
Administrator
Registered: 2014-06-13
Posts: 411

Re: Service stops

So the software is closed automatically after a few hours ? It can happen if :
_ You closed the terminal used to start serposcope with the command java -jar serpsocope
_ The process is killed : if you type CTRL+c in the console or if it receive a SIGKILL/SIGSTOP signal from another process or the system in case of low memory.

Can you check your memory usage after you did stat serposcope and did a check ? Use the command free -m in a console.

Offline

#5 2016-03-08 07:42:05

alexbertran
Member
Registered: 2016-03-03
Posts: 7

Re: Service stops

Thank you!

These are memory results:

root@server [~]# free -m
                                total       used       free     shared    buffers     cached
Mem:                        6144       5885        258        108          0       4780
-/+ buffers/cache:                    1105       5038
Swap:                         0          0          0

Offline

#6 2016-03-08 07:44:09

alexbertran
Member
Registered: 2016-03-03
Posts: 7

Re: Service stops

And these after process is killed:

root@server [~]# free -m
             total       used       free     shared    buffers     cached
Mem:          6144       5611        532         44          0       4717
-/+ buffers/cache:        893       5250
Swap:            0          0          0

Offline

#7 2016-03-08 07:46:45

serphacker
Administrator
Registered: 2014-06-13
Posts: 411

Re: Service stops

OK it is not a memory issue. So, there is an external process/user which is killing your application. I'm 99% sure it is not serposcope related. Please can you check if there is something in your system logs when the process is magically killed (something like /var/log/syslog or /var/log/syslog.log, and also check dmesg command).

Offline

#8 2016-03-08 08:33:03

alexbertran
Member
Registered: 2016-03-03
Posts: 7

Re: Service stops

Thank you!

I'll check that.

Maybe it's the same console? I've created a cronjob from cpanel and it wasn't killed.

Meanwhile i've created two cronjobs to open process and close it:

java -jar ../../../../home/domainusername/public_html/serposcope-2.3.0.jar

And some time later...

pkill -f 'java -jar ../../../../home/domainusername/public_html/serposcope-2.3.0.jar'

Now I'll try not killing it to see if it lasts...

Last edited by alexbertran (2016-03-08 08:39:23)

Offline

#9 2016-03-08 08:35:51

serphacker
Administrator
Registered: 2014-06-13
Posts: 411

Re: Service stops

Well it's probably your cpanel console closing and killing serposcope after an amount of time, I don't use cpanel and I don't know how it works. I don't plan to support it now, but maybe later...

Offline

#10 2016-03-08 08:44:24

alexbertran
Member
Registered: 2016-03-03
Posts: 7

Re: Service stops

Could be cpanel, I understand you don't support it. I have some experience with it, ll try to help whenever I can.

Offline

Board footer