Centova Technologies Forum
		Centova Cast v3 => Bugs and issues => Topic started by: J.J. Draijer on August 08, 2012, 11:14:50 am
		
			
			- 
				After installing, the :2199 url is not working.
 
 In the messages log i see following:
 
 Aug  8 13:03:15 hostname acpid: client connected from 1533[68:68]
 Aug  8 13:03:15 hostname acpid: 1 client rule loaded
 Aug  8 13:03:16 hostname abrtd: Init complete, entering main loop
 Aug  8 13:03:16 hostname avahi-daemon[1461]: Server startup complete. Host name is hostname.local. Local service cookie is 2043420964.
 Aug  8 13:03:17 chostname avahi-daemon[1461]: Service "hostname" (/services/ssh.service) successfully established.
 Aug  8 13:09:31 hostname abrtd: Directory 'ccpp-2012-08-08-13:09:31-2511' creation detected
 Aug  8 13:09:31 hostname abrt[2551]: Saved core dump of pid 2511 (/usr/local/centovacast/sbin/cc-web) to /var/spool/abrt/ccpp-2012-08-08-13:09:31-2511 (5804032 bytes)
 Aug  8 13:09:31 hostname abrtd: Executable '/usr/local/centovacast/sbin/cc-web' doesn't belong to any package
 Aug  8 13:09:31 hostname abrtd: 'post-create' on '/var/spool/abrt/ccpp-2012-08-08-13:09:31-2511' exited with 1
 Aug  8 13:09:31 hostname abrtd: Corrupted or bad directory /var/spool/abrt/ccpp-2012-08-08-13:09:31-2511, deleting
 
 
 Any idea?
 
 OS: CentOS 6 (32 bit)
 Clean OS
 
 
- 
				I have no idea what you pasted there but based on the reference to a core dump I'm guessing cc-web (nginx) is somehow crashing.  Given the ubiquity and expected stability of nginx, that's rather odd.
 
 Does it crash immediately at startup or later, during regular operation?
 
 The diagnostic process for that would basically be specific to nginx.  First, edit /usr/local/centovacast/etc/cc-web.conf and make sure the error_log line says "error_log var/log/cc-web.log debug;" to turn on debug logging.
 
 Then try starting nginx again (/etc/init.d/centovacast start-web).  When it crashes, check the tail end of /usr/local/centovacast/var/log/cc-web.log and see if anything unusual is there.
 
 If that doesn't yield anything useful, it'd probably come down to running nginx under gdb and/or strace to see where it's crashing and why, but I'd start with the above as a first step.
 
- 
				I think it has to do with the licensing server again, as it does not work anymore again.
			
- 
				Hello,
 
 The web deamon is running.
 Although it says:
 
 
 Executable '/usr/local/centovacast/sbin/cc-web' doesn't belong to any package
 Aug  9 03:27:58  abrtd: 'post-create' on '/var/spool/abrt/ccpp-2012-08-09-03:27:58-27277' exited with 1
 Aug  9 03:27:58  abrtd: Corrupted or bad directory /var/spool/abrt/ccpp-2012-08-09-03:27:58-27277, deleting
 
 The log file you mentioned does not have fital information.
 
 2012/08/09 03:27:58 [notice] 27436#0: using the "epoll" event method
 2012/08/09 03:27:58 [notice] 27436#0: cc-web/0.7.69
 2012/08/09 03:27:58 [notice] 27436#0: built by gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
 2012/08/09 03:27:58 [notice] 27436#0: OS: Linux 2.6.32-279.el6.i686
 2012/08/09 03:27:58 [notice] 27436#0: getrlimit(RLIMIT_NOFILE): 1024:4096
 2012/08/09 03:27:58 [notice] 27437#0: start worker processes
 2012/08/09 03:27:58 [notice] 27437#0: start worker process 27438
 2012/08/09 03:27:58 [notice] 27437#0: start cache manager process 27439
 2012/08/09 03:27:58 [notice] 27437#0: start cache loader process 27440
 2012/08/09 03:28:58 [notice] 27440#0: http file cache: /usr/local/centovacast/var/webcache 0.000M, bsize: 4096
 2012/08/09 03:28:58 [notice] 27437#0: signal 17 (SIGCHLD) received
 2012/08/09 03:28:58 [notice] 27437#0: cache loader process 27440 exited with code 0
 2012/08/09 03:28:58 [notice] 27437#0: signal 29 (SIGIO) received
- 
				Some more logs. I don't get it.
 Nothing is working :s
 
 
 ==> appsrv-webintf-slow.log <==
 
 ==> cc-appserver.log <==
 [09-Aug-2012 03:22:42] NOTICE: fpm is running, pid 27222
 [09-Aug-2012 03:22:42] NOTICE: ready to handle connections
 [09-Aug-2012 03:27:58] NOTICE: Terminating ...
 [09-Aug-2012 03:27:58] NOTICE: exiting, bye-bye!
 [09-Aug-2012 03:27:58] NOTICE: fpm is running, pid 27433
 [09-Aug-2012 03:27:58] NOTICE: ready to handle connections
 [09-Aug-2012 06:37:55] NOTICE: Terminating ...
 [09-Aug-2012 06:37:55] NOTICE: exiting, bye-bye!
 [09-Aug-2012 06:37:55] NOTICE: fpm is running, pid 30637
 [09-Aug-2012 06:37:55] NOTICE: ready to handle connections
 
 ==> cc-web_access.log <==
 127.0.0.1 - - [08/Aug/2012:13:09:38 +0200] "POST /api.php HTTP/1.0" 200 141 "-" "Wget/1.12 (linux-gnu)"
 127.0.0.1 - - [08/Aug/2012:13:09:41 +0200] "POST /api.php HTTP/1.0" 200 141 "-" "Wget/1.12 (linux-gnu)"
 127.0.0.1 - - [08/Aug/2012:13:09:43 +0200] "POST /api.php HTTP/1.0" 200 141 "-" "Wget/1.12 (linux-gnu)"
 
 ==> cc-web.log <==
 bfcb2000-bfcc7000 rw-p 00000000 00:00 0          [stack]
 2012/08/09 06:37:55 [notice] 30640#0: using the "epoll" event method
 2012/08/09 06:37:55 [notice] 30640#0: cc-web/0.7.69
 2012/08/09 06:37:55 [notice] 30640#0: built by gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
 2012/08/09 06:37:55 [notice] 30640#0: OS: Linux 2.6.32-279.el6.i686
 2012/08/09 06:37:55 [notice] 30640#0: getrlimit(RLIMIT_NOFILE): 1024:4096
 2012/08/09 06:37:55 [notice] 30641#0: start worker processes
 2012/08/09 06:37:55 [notice] 30641#0: start worker process 30642
 2012/08/09 06:37:55 [notice] 30641#0: start cache manager process 30643
 2012/08/09 06:37:55 [notice] 30641#0: start cache loader process 30644
 
 ==> process_monitor.log <==
 [08/Aug/2012 18:20:02 +0200] Process cc-imaged is down, attempting restart
 [08/Aug/2012 18:20:02 +0200] Process cc-imaged restarted successfully
 [09/Aug/2012  3:25:01 +0200] Process cc-web is down, attempting restart
 [09/Aug/2012  3:25:01 +0200] Process cc-web restarted successfully
 [09/Aug/2012  3:25:01 +0200] Process cc-control is down, attempting restart
 [09/Aug/2012  3:25:01 +0200] Process cc-control restarted successfully
 [09/Aug/2012  3:25:01 +0200] Process cc-ftpd is down, attempting restart
 [09/Aug/2012  3:25:01 +0200] Process cc-ftpd restarted successfully
 [09/Aug/2012  3:25:01 +0200] Process cc-imaged is down, attempting restart
 [09/Aug/2012  3:25:01 +0200] Process cc-imaged restarted successfully
 
 ==> cc-web.log <==
 2012/08/09 06:38:55 [notice] 30644#0: http file cache: /usr/local/centovacast/var/webcache 0.000M, bsize: 4096
 2012/08/09 06:38:55 [notice] 30641#0: signal 17 (SIGCHLD) received
 2012/08/09 06:38:55 [notice] 30641#0: cache loader process 30644 exited with code 0
 2012/08/09 06:38:55 [notice] 30641#0: signal 29 (SIGIO) received
 
- 
				Problem exist because of firewall.
 Closed firewall and problem fixed.
 
 Up to the next problem :( Creating accounts fails.
 Let you know.