Centova Technologies Forum

Centova Cast v3 => Bugs and issues => Topic started by: asapcpu on May 25, 2013, 03:13:30 pm

Title: 502 Gatway error Every 2 days or so
Post by: asapcpu on May 25, 2013, 03:13:30 pm
Okay I am going to start this at the Top and do everything suggested to me 1 at a time in hopes that Someone will be able to figure out what is going on.

I got Centova Cast on a Debian Server installed and working Fine. Every day or 2 I get the 502 Gateway Error and i have to re-install it everytime. you can see how I am very frustrated since Centova is unhelpful in that all they say is it's Something other then the software. I got with the server provider and they can not find any logs about anything not working.

Centova Cast gives me error after error about the cron job, and nothing i do will fix it. so i re installed this morning and by tomorrow i will have the same Gateway error. and i need help fixing it by then.
Please any and everyone help me
Title: Re: 502 Gatway error Every 2 days or so
Post by: DJFire_CFR on May 25, 2013, 05:12:46 pm
We also had this problem and found out that Crond was running twice... And because of that, it would clash with itself causing ours to give the 502 error...

Once we fixed that issue, we havent had the 502 error since then  (knock on wood).

That was "our" issue anyways.   But check to make sure that Crond isnt running twice.  If it is kill 1 of them off, and the error should stop.
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on May 26, 2013, 04:44:15 am
Thank you DJ fire
How did you kill one of them? I ran the "Killall -9" something script but it did not work for me. I don't recall the error but when this system crashes, which it will. I will do it again and post the result here.
Title: Re: 502 Gatway error Every 2 days or so
Post by: DJFire_CFR on May 26, 2013, 09:55:17 am
Do this ONLY if you see that you have 2 crond running.

Do this through SSH logged in as root.


first run:

ps aux | grep cron


If you see 2 crond running... Look at the time stamp, and the one with an earlier date on it, get the PID of that one.

then  use

kill -9 PID

Which you would replace PID with the actual PID number

Then run

 ps aux | grep cron

If you only see 1 crond running now...  Then stop and start crond 

service crond stop
service crond start


And then 1 final

 ps aux | grep cron

And it should all be good.
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on May 28, 2013, 02:39:12 am
so i did check the Crond Job and there was only 1 running and this is also what i got on it when i tried to restart it.



Last login: Sun May 26 14:37:28 2013 from 67.161.119.249
[ds5950]$ ps aux | grep cron
asapcpu1  6181  0.0  0.0 125160   844 pts/0    S+   02:36   0:00 grep cron
[ds5950]$ service crond stop
-bash: service: command not found
[ds5950]$ service crond start
-bash: service: command not found
[ds5950]$ root service crond stop
-bash: root: command not found
[ds5950]$ sudo service crond stop
[sudo] password for asapcpu1:
crond: unrecognized service
[ds5950]$ sudo service crond start
crond: unrecognized service
[ds5950]$  ps aux | grep cron
asapcpu1  6200  0.0  0.0 163156   844 pts/0    S+   02:37   0:00 grep cron
Title: Re: 502 Gatway error Every 2 days or so
Post by: SCIFI.radio on May 28, 2013, 12:33:25 pm
'service' is a script that just points you back to the /etc/init.d directory and the scripts within it.  Not all distros of Linux have the script present.  It's perfectly safe and permissible to add the script to your server yourself, though you'll need to be root to do it.

The script should be called 'service', and goes here:  /user/sbin/service

Here's the contents of that script:

#!/bin/sh

. /etc/init.d/functions

VERSION="`basename $0` ver. 0.91"
USAGE="Usage: `basename $0` < option > | --status-all | \
[ service_name [ command | --full-restart ] ]"
SERVICE=
SERVICEDIR="/etc/init.d"
OPTIONS=

if [ $# -eq 0 ]; then
   echo "${USAGE}" >&2
   exit 1
fi

cd /
while [ $# -gt 0 ]; do
  case "${1}" in
    --help | -h | --h* )
       echo "${USAGE}" >&2
       exit 0
       ;;
    --version | -V )
       echo "${VERSION}" >&2
       exit 0
       ;;
    *)
       if [ -z "${SERVICE}" -a $# -eq 1 -a "${1}" = "--status-all" ]; then
          cd ${SERVICEDIR}
          for SERVICE in * ; do
            case "${SERVICE}" in
              functions | halt | killall | single| linuxconf| kudzu)
                  ;;
              *)
                if ! is_ignored_file "${SERVICE}" \
                    && [ -x "${SERVICEDIR}/${SERVICE}" ]; then
                  env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "${SERVICEDIR}/$                  {SERVICE}" status
                fi
                ;;
            esac
          done
          exit 0
       elif [ $# -eq 2 -a "${2}" = "--full-restart" ]; then
          SERVICE="${1}"
          if [ -x "${SERVICEDIR}/${SERVICE}" ]; then
            env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "${SERVICEDIR}/${SERVI                  CE}" stop
            env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "${SERVICEDIR}/${SERVI                  CE}" start
            exit $?
          fi
       elif [ -z "${SERVICE}" ]; then
         SERVICE="${1}"
       else
         OPTIONS="${OPTIONS} ${1}"
       fi
       shift
       ;;
   esac
done

if [ -x "${SERVICEDIR}/${SERVICE}" ]; then
   env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "${SERVICEDIR}/${SERVICE}" ${OP                  TIONS}
else
   echo $"${SERVICE}: unrecognized service" >&2
   exit 1
fi

Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on May 28, 2013, 01:07:01 pm
how do i add it using putty?
Title: Re: 502 Gatway error Every 2 days or so
Post by: SCIFI.radio on May 28, 2013, 02:37:07 pm
There are a couple of ways.

I'd recommend making a text file and using FTP to upload it, that's the easiest way to get the script up there to start with.  Then use Putty to move the file into its correct location and set the permissions.

Otherwise, you could use a text editor like Vi, Emacs or something.  Open the 'service' file in place in /sbin/, copy the text from the web page, and then switch to Putty and right-click to paste into the editor.  Then save the file.  That can be a little tricky, though.  But now you have two ways to do it.

Good luck.
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on May 28, 2013, 10:49:15 pm
So I'm working on getting the script on the server now as I type this, but as i am I am thinking to myself. What is causing more then one Crond Job running at the same time? is it a fault in the software? a Delayed script. what? :o
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on May 28, 2013, 11:31:31 pm
Also /usr/sbin/service is NOT a directory, rather a binary file correct? so i need to txt editor it and add it? please explain a little bit :-[
Title: Re: 502 Gatway error Every 2 days or so
Post by: DJFire_CFR on May 29, 2013, 12:10:25 am
From the looks of that out put you gave, you don't have crond running... Either 1. your system uses something else.. or 2.  you dont have crond installed.

If you have cron job error, that could be why.

You could try this out:

https://secure.centova.com/pages/faqs/display/diagnosing_cron_job_problems_113

And see where that takes you.  And go from there.


but the reason 2 crons could be running could be from anything.  Ours was from having CCv2 and upgrading to CCv3... Seems a cron got stuck and ended up running twice.
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on May 29, 2013, 12:30:14 am
/usr/local/centovacast/bin/ccmanage cronjob all --debug

Resulted in


[INF] Completed job: checkprocesses
[INF] Starting job: hourlymaint
[INF] Performing hourly maintenance...
[INF] Completed job: hourlymaint
[INF] Starting job: pollhosts
[DBG] Polling host Local server ...
[DBG] Updated status cache
[INF] Completed job: pollhosts
Result: OK Complete


and yesterday when it was running just fine I saw 2 Crond Jobs running and i was able to close 1 of them but when i restarted the server 2 times, the server had to be manually rebooted. since yesterday it's now a waiting game to see when it goes down next. let's hope it don't
Title: Re: 502 Gatway error Every 2 days or so
Post by: SCIFI.radio on May 29, 2013, 10:26:11 am
Yes, you're creating a file, not a directory. 
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on May 29, 2013, 02:19:04 pm
So using Midnight comander i got the Service.txt into the /usr/sbin/ but i'm not sure how to get it into the *service file from there

http://prntscr.com/17b0lz

And this morning when i got up the server was Down again with a 502 Bad Gateway.

And running: ps aux | grep cron
only showed 1 Crond job running

Aslo trying to Fixprims led to:

[ds5950]$ sudo /usr/local/centovacast/sbin/fixperms
[sudo] password for asapcpu1:
chown: invalid user: `root.ccuser'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `ccuser'
chgrp: invalid group: `ccuser'
chown: invalid user: `root.ccuser'
chown: invalid user: `ccuser.ccuser'


Running the /usr/local/centovacast/bin/ccmanage cronjob all --debug resulted in this:

[INF] Completed job: logprocess
[INF] Starting job: hourlymaint
[INF] Performing hourly maintenance...
[INF] Completed job: hourlymaint
[INF] Starting job: pollhosts
[DBG] Polling host Local server ...
[INF] Error contacting host: Cluster host connection failure for Local server: C                                                                             onnection refused (111)
[INF] Completed job: pollhosts
[DBG] Cluster host connection failure for Local server: Connection refused (111)                                                                              at /usr/local/centovacast/system/class_RPCDaemonClient.php:1063
[DBG] #0 /usr/local/centovacast/system/class_RPCDaemonClient.php(1063): RPCDaemo                                                                             nClient::send()
[DBG] #1 /usr/local/centovacast/system/class_RPCDaemonClient.php(1009): RPCDaemo                                                                             nClient->send()
[DBG] #2 /usr/local/centovacast/system/class_RPCDaemonClient.php(900): RPCDaemon                                                                             Client->command()
[DBG] #3 /usr/local/centovacast/system/class_UserSession.php(222): RPCDaemonClie                                                                             nt->apply_quota()
[DBG] #4 /usr/local/centovacast/system/class_SystemControl.php(216): Identity->r                                                                             pc()
[DBG] #5 /usr/local/centovacast/system/class_SystemControl.php(341): SystemContr                                                                             ol->pop_usercontext()
[DBG] #6 /usr/local/centovacast/system/ccmanage.php(293): SystemControl->__call(                                                                             'cronjob', Array)
[DBG] #7 {main}
Result: ERROR Cluster host connection failure for Local server: Connection refus                                                                             ed (111)


Centova says: it's likely that a past cron job has frozen up for some reason.  This can usually be fixed by logging in via SSH as root and running "killall -9 ccmanage".

so running that gets me

[ds5950]$ sudo killall -9 ccmanage
ccmanage: no process found

so far this is the only thing i can do that fixes it BUT ONLY for a day or 2

root #!/usr/bin/env bash
# pull in database configuration values
. /usr/local/centovacast/etc/centovacast.conf

# uninstall
echo 'UNINSTALL' | /usr/local/centovacast/sbin/uninstall --i-want-to-delete-all-my-data

# clear the database
echo "DROP DATABASE $DB_NAME; CREATE DATABASE $DB_NAME;" | mysql -h$DB_HOST -u$DB_NAME -p$DB_PASS

# clean up any remaining data from the old installation (shouldn't be any, but just in case)
rm -rf /usr/local/centovacast /etc/centovacast.conf

# automate the reinstallation; tweak the parameters to your tastes
sudo ./install.sh --icecast-all --channel=unstable --admin-email=tech@asapcpu.com --admin-pass=newcastle --dbname=$DB_NAME --dbuser=$DB_USER --dbpass=$DB_PASS --dbhost=$DB_HOST --force
Title: Re: 502 Gatway error Every 2 days or so
Post by: DJFire_CFR on May 29, 2013, 03:50:19 pm
Code: [Select]
[ds5950]$ sudo /usr/local/centovacast/sbin/fixperms
[sudo] password for asapcpu1:
chown: invalid user: `root.ccuser'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `ccuser'
chgrp: invalid group: `ccuser'
chown: invalid user: `root.ccuser'
chown: invalid user: `ccuser.ccuser'

A permission fix that worked for us, when we had the same problem with the fixperms, in receiving the invalid group message.

Code: [Select]
usermod -G psacln,centovacast centovacast


cd to /var/log/

Code: [Select]
su - centovacast -s /bin/bash

It should allow you to do the following:

Code: [Select]
/var/log# su - centovacast -s /bin/bash

Then run
Code: [Select]
/usr/local/centovacast/bin/ccmanage cronjob all

which should result in:
Code: [Select]
[INF] Cron job startup at (date / time will show here)
[INF] Starting job: checkprocesses
[INF] Checking for crashed applications...
[INF] Completed job: checkprocesses
Result: OK Complete
Title: Re: 502 Gatway error Every 2 days or so
Post by: SCIFI.radio on May 29, 2013, 08:20:58 pm
If you got your 'Service.txt' file into /usr/sbin, all you have to do now is rename it, like this:

    mv /usr/sbin/Service.txt /usr/sbin/service
    chmod u+x /usr/sbin/service

Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on May 30, 2013, 12:56:23 am
[ds5950]$ usermod -G psacln,centovacast centovacast
-bash: usermod: command not found
[ds5950]$ sudo usermod -G psacln,centovacast centovacast
usermod: group 'psacln' does not exist

[ds5950]$ cd to /var/log/
-bash: cd: to: No such file or directory
[ds5950]$ sudo cd to /var/log/
sudo: cd: command not found

[ds5950]$ su - centovacast -s /bin/bash
Password:
su: Authentication failure
[ds5950]$ sudo /usr/local/centovacast/bin/ccmanage cronjob all
[INF] Cron job startup at 2013-05-30 00:53:31
[INF] Starting job: checkprocesses
[INF] Checking for crashed applications...
[INF] Completed job: checkprocesses
[INF] Starting job: pollhosts
[INF] Completed job: pollhosts
Result: OK Complete


[ds5950]$ sudo ps aux | grep cron
root      2855  0.0  0.0 192388  1092 ?        Ss   May29   0:00 /usr/sbin/cron
asapcpu1 24776  0.0  0.0 152408   844 pts/0    S+   00:53   0:00 grep cron
[ds5950]$ sudo kill -9 2855
[ds5950]$ sudo ps aux | grep cron
asapcpu1 24795  0.0  0.0 155324   844 pts/0    S+   00:54   0:00 grep cron
[ds5950]$
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on May 30, 2013, 01:04:26 am
If you got your 'Service.txt' file into /usr/sbin, all you have to do now is rename it, like this:

    mv /usr/sbin/Service.txt /usr/sbin/service
    chmod u+x /usr/sbin/service

I did the renaming and it overwrote the old one and it went threw the Kill -9 and all that jazz, and it worked just fine, now I am restarting the server and in less then 2 days we shall see if it crashes, which i fear it will. ;_(
Title: Re: 502 Gatway error Every 2 days or so
Post by: DJFire_CFR on May 30, 2013, 08:36:25 am
From what I gave, I could only go by with what our servers are.  So with the errors you are getting, I can only assume we dont have the same type.

cat /proc/version

Linux version 2.6.32-5-amd64 (Debian 2.6.32-46)
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on May 30, 2013, 01:17:26 pm
From what I gave, I could only go by with what our servers are.  So with the errors you are getting, I can only assume we dont have the same type.

cat /proc/version

Linux version 2.6.32-5-amd64 (Debian 2.6.32-46)

This is my server:

Linux version 3.2.34-grsec-2.9.1-rc1+ (root@womb) (gcc version 4.6.2 (Debian 4.6.2-5) ) #53 SMP Mon Nov 19 17:51:08 PST 2012
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on May 30, 2013, 05:06:35 pm
I just logged into my server and i got this:

http://prntscr.com/17hmnf

and i get this on every server:

http://prntscr.com/17hnag

Could this be my problem all along and if so, how do i fix it?

Reason: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '109998.9' at line 1


So then I also did this:


[DBG] End account check
[INF] Completed job: checkprocesses
[INF] Starting job: hourlymaint
[INF] Performing hourly maintenance...
[INF] Completed job: hourlymaint
[INF] Starting job: pollhosts
[DBG] Polling host Local server ...
[DBG] Updated status cache
[INF] Completed job: pollhosts
Result: OK Complete

[ds5950]$ sudo ps aux | grep cron
root     10182  0.0  0.0 156696  1092 ?        Ss   02:24   0:00 /usr/sbin/cron
asapcpu1 27550  0.0  0.0 177680   848 pts/0    SN+  17:07   0:00 grep cron
[ds5950]$ sudo kill -9 10182
[ds5950]$ sudo ps aux | grep cron
asapcpu1 27582  0.0  0.0 171364   848 pts/0    SN+  17:08   0:00 grep cron
[ds5950]$ sudo service crond stop
[ds5950]$ sudo service crond start
[ds5950]$ sudo ps aux | grep cron
asapcpu1 27591  0.0  0.0 130952   848 pts/0    SN+  17:09   0:00 grep cron

Interesting enough, when i just restarted the server it did not come back on so i have to get support from the Server Provider and they had to manually reboot it to bring it back up.
However! this time Centova had to be Recovered, because it never came back up.

Also I do want to point out that I first had this on a VPS and then i had to move it to a dedicated server. and THAT is when i started to have this Cron Job problem.

Is there a way to check a Log that tells me when the system goes down? I know there is a pattern to the crashes but I need to know exact times. Like a service logger?
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on May 31, 2013, 12:02:53 pm
So again I woke up to a Crond Error, and I don't know why being there is only 1 running

http://prntscr.com/17lst8

Title: Re: 502 Gatway error Every 2 days or so
Post by: DJFire_CFR on May 31, 2013, 02:07:02 pm
It could be something else other than more than 1 crond running.

Might I suggest that you contact Centova via Ticket support, and have one of them take a gander at your server.
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on June 01, 2013, 05:13:22 am
I have sent in a Few tickets to Centova, and they are firm that it is not their software.

If you can read this: https://secure.centova.com/pages/helpdesk/ticket/view/id/ZR1-MOG8-423


also I'm looking in the log and I would like to know what this is.

http://prntscr.com/17ptt6
Title: Re: 502 Gatway error Every 2 days or so
Post by: DJFire_CFR on June 01, 2013, 10:37:00 am
by the looks of it you need to create a user / group  centovacast

If it cant find / get the uid, then that user doesnt exist.

Maybe tryin doin a google to create user / groups on linux.


And sorry, only you can view your support tickets ;)
Title: Re: 502 Gatway error Every 2 days or so
Post by: My Auto DJ on June 03, 2013, 12:13:59 pm
I got this error while syncing the playlist manually, under options button in media library, manual library update while on the phone with a client, we both got the Gateway timeout and were not able to access web panel for about 2 minutes, the music kept playing on both our ends, after a couple of refreshes it cleared up
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on June 03, 2013, 05:37:58 pm
got the Gateway timeout and were not able to access web panel for about 2 minutes, the music kept playing on both our ends, after a couple of refreshes it cleared up

this is the same thing that happenes to me, the music is okay and everyone can stream just fine but anything pertaining to the web panel is Dead.
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on June 06, 2013, 05:46:37 pm
Today the stream will go down at 2:15 AM so i did a check on it and was wondering which one should i kill of the Cron Jobs noted here?

http://prntscr.com/18nb77

One is Root User and the other is the login user.

for now I'm going to kill the Root Crond for now and see what happenes

and now:

[ds5950]$ sudo kill -9 21830
[ds5950]$ sudo ps aux | grep cron
asapcpu1  6224  0.0  0.0 117624   844 pts/0    SN+  17:44   0:00 grep cron
[ds5950]$ sudo /usr/local/centovacast/sbin/fixperms
chown: invalid user: `root.ccuser'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `ccuser'
chgrp: invalid group: `ccuser'
chown: invalid user: `root.ccuser'
chown: invalid user: `ccuser.ccuser'
chown: invalid user: `ccuser.ccuser'
chown: invalid user: `ccuser.ccuser'
chown: invalid user: `ccuser.ccuser'
chown: invalid user: `ccuser.ccuser'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chgrp: invalid group: `centovacast'
chown: invalid user: `ccuser:nogroup'
chown: invalid group: `nobody:ccuser'
chown: invalid user: `ccuser.ccuser'
chown: invalid user: `root.centovacast'
chown: invalid user: `centovacast.centovacast'
chown: invalid user: `centovacast.centovacast'
[ds5950]$


And this was working okay just yesterday.
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on June 07, 2013, 01:03:59 pm
okay new error,

http://prntscr.com/18rpm3

any ideas?
Title: Re: 502 Gatway error Every 2 days or so
Post by: asapcpu on June 12, 2013, 01:05:01 pm
UPDATE:

I have found a way to prevent the system from crashing but it makes NO SENSE to me at all!

Firstly I login to the system and i get an error

http://prntscr.com/17hmnf

Then I log in threw SSL and i Run this command:

sudo /usr/local/centovacast/bin/ccmanage cronjob all

And I get an error on every Stream:

Error:  Could not execute query
File:   /usr/local/centovacast/system/class_LogProcessor.php:235
Query:  SELECT *,INET_NTOA(ipaddress) AS ipaddress FROM visitorstats_sessions WHERE accountid=202 AND resumedata<>'' ORDER BY starttime ASC LIMIT 0,109998.9
Reason: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '109998.9' at line 1
Call:   $SQL->select_query()


After that is done I can run the same command again and I get this:

[ds5950]$ sudo /usr/local/centovacast/bin/ccmanage cronjob all
[INF] Cron job startup at 2013-06-12 12:57:09
[INF] Starting job: checkprocesses
[INF] Checking for crashed applications...
[INF] Completed job: checkprocesses
Result: OK Complete

And the server does not Crash. in 2 days this process will start all over again and if i keep on it the server will not crash and the system does not need to be re-installed each time.

I have submited a ticket to Centova But so far it's not going anywhere!

Any and all help is appreciated and Many thanks for further assistance.