my site went down

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

my site went down

Tapas
Hi,
 I was using

eduCommons-3.2.1-1.x86_64.rpm
on CentOS 5.5
Today morning I got a call saying that site went down.
I do not have any clue of it as why it might have happened.I did
/etc/init.d/educommons restart
but still it could not be seen on Lan.
http://<IP of server>:8080/eduCommons
what should I check for it?

I restarted every thing rebooted the server.

Then checked http://<IP of server>:8080/eduCommons
did not worked then

/etc/init.d/educommons restart
Shutting down eduCommons Production Server:
daemon manager not running
daemon process stopped
Starting eduCommons Production Server:
. daemon process started, pid=2474
Client1 already running: 2153


even then it is not accessible.

Then I tried to check
ps -el | grep eduCommons
no output
ps -el | grep educommons
no output.

Checked

ps -el | grep 2474
4 S     0  2474  2473  0  78   0 - 42347 stext  ?        00:00:00 python2.4

but still nothing is accessible on
http://<IP of server>:8080/eduCommons

where are the logs saved.
Reply | Threaded
Open this post in threaded view
|

Re: my site went down

Àlex Magaz
Hi Tapas,

The logs are saved in var/log under your eduCommons installation directory. If you installed it through the RPM I think it gets installed in /opt/eduCommons-3.2.1.

You may have to kill the old process with PID 2153 before starting the eduCommons service.

Hope this helps.

Àlex
Reply | Threaded
Open this post in threaded view
|

Re: my site went down

Tapas
Àlex Magaz wrote
Hi Tapas,

The logs are saved in var/log under your eduCommons installation directory. If you installed it through the RPM I think it gets installed in /opt/eduCommons-3.2.1.

You may have to kill the old process with PID 2153 before starting the eduCommons service.

Hope this helps.

Àlex
Thanks Alex for the reply.
Actually I checked /var/log there was no file named as eduCommons or educommons either.
I did install from rpm but I do not know any thing as where can it have the logs.

I checked one more log about error in /var/log/httpd/ folder and I get this

[Thu May 27 11:23:20 2010] [error] (111)Connection refused: proxy:HTTP: attempt to connect to 127.0.0.1:8080 (*) failed
Reply | Threaded
Open this post in threaded view
|

Re: my site went down

Àlex Magaz
Sorry, I didn't explain myself very well. You should find eduCommons' log files under /opt/eduCommons-3.2.1/var/log, where /opt/eduCommons-3.2.1 is the installation directory. To be sure you can run the following command to get all files installed by the RPM:

# rpm -ql eduCommons

The error from Apache is because it can't access the eduCommons server.

Cheers,
Àlex
Reply | Threaded
Open this post in threaded view
|

Re: my site went down

Tapas
Àlex Magaz wrote
Sorry, I didn't explain myself very well. You should find eduCommons' log files under /opt/eduCommons-3.2.1/var/log, where /opt/eduCommons-3.2.1 is the installation directory. To be sure you can run the following command to get all files installed by the RPM:

# rpm -ql eduCommons

The error from Apache is because it can't access the eduCommons server.

Cheers,
Àlex
Ok thanks I checked and following are the entries in a file instance1.log

Does that give any clue

2010-05-25T19:27:27 INFO ZServer HTTP server started at Tue May 25 19:27:27 2010
        Hostname: 0.0.0.0
        Port: 8080
------
2010-05-25T19:27:27 INFO Zope Set effective user to "educommons"
------
2010-05-25T19:27:32 INFO ZEO.ClientStorage (2548) ClientStorage (pid=2548) created RW/normal for storage: '1'
------
2010-05-25T19:27:32 INFO ZEO.cache created temporary cache file '<fdopen>'
------
2010-05-25T19:27:32 INFO ZEO.ClientStorage (2548) Testing connection <ManagedClientConnection ('127.0.0.1', 8100)>
------
2010-05-25T19:27:32 INFO ZEO.zrpc.Connection(C) (127.0.0.1:8100) received handshake 'Z303'
------
2010-05-25T19:27:32 INFO ZEO.ClientStorage (2548) Server authentication protocol None
------
2010-05-25T19:27:32 INFO ZEO.ClientStorage (2548) Connected to storage: ('ocw', 8100)
------
2010-05-25T19:27:32 INFO ZEO.ClientStorage (2548) Verifying cache
------
2010-05-25T19:27:32 INFO ZEO.ClientStorage (2548) endVerify finishing
------
2010-05-25T19:27:32 INFO ZEO.ClientStorage (2548) endVerify finished
------
2010-05-25T19:27:36 WARNING PlacelessTranslationService Error while compiling /opt/eduCommons-3.2.1/eggs/enpraxis.educommons-3.2.1_final-py2.4.egg/enpraxis/educommons/locales/en/LC_MESSAGES/._eduCommons.po

------
2010-05-25T19:27:43 WARNING PlacelessTranslationService Message Catalog has errors
/opt/eduCommons-3.2.1/eggs/enpraxis.educommons-3.2.1_final-py2.4.egg/enpraxis/educommons/i18n/._plone-de.po
------
2010-05-25T19:27:43 WARNING PlacelessTranslationService Message Catalog has errors
/opt/eduCommons-3.2.1/eggs/enpraxis.educommons-3.2.1_final-py2.4.egg/enpraxis/educommons/i18n/._plone-ca.po
------
2010-05-25T19:27:43 WARNING PlacelessTranslationService Message Catalog has errors
/opt/eduCommons-3.2.1/eggs/enpraxis.educommons-3.2.1_final-py2.4.egg/enpraxis/educommons/i18n/._plone-en.po
------
2010-05-25T19:27:43 WARNING PlacelessTranslationService Message Catalog has errors
fss.i18n-iw.fss-plone-fr.po
------
2010-05-25T19:27:49 WARNING PlacelessTranslationService Message Catalog has errors
CMFSquidTool.i18n-squidtool-es.po
------
2010-05-25T19:27:49 WARNING PlacelessTranslationService Message Catalog has errors
CMFSquidTool.i18n-squidtool-de.po
------
2010-05-25T19:27:49 WARNING PlacelessTranslationService Message Catalog has errors
CMFSquidTool.i18n-squidtool-zh.po
------
2010-05-25T19:27:52 INFO Zope Ready to handle requests
------
2010-05-25T19:34:03 INFO SignalHandler Caught signal SIGTERM
------
2010-05-25T19:34:03 INFO Z2 Shutting down fast
------
2010-05-25T19:34:03 INFO ZServer closing HTTP to new connections
------
2010-05-25T19:35:13 INFO ZServer HTTP server started at Tue May 25 19:35:13 2010
        Hostname: 0.0.0.0
        Port: 8080
------



2010-05-25T19:35:13 INFO Zope Set effective user to "educommons"
------
2010-05-25T19:35:19 INFO ZEO.ClientStorage (2153) ClientStorage (pid=2153) created RW/normal for storage: '1'
------
2010-05-25T19:35:19 INFO ZEO.cache created temporary cache file '<fdopen>'
------
2010-05-25T19:35:19 INFO ZEO.ClientStorage (2153) Testing connection <ManagedClientConnection ('127.0.0.1', 8100)>
------
2010-05-25T19:35:19 INFO ZEO.zrpc.Connection(C) (127.0.0.1:8100) received handshake 'Z303'
------
2010-05-25T19:35:19 INFO ZEO.ClientStorage (2153) Server authentication protocol None
------
2010-05-25T19:35:19 INFO ZEO.ClientStorage (2153) Connected to storage: ('ocw', 8100)
------
2010-05-25T19:35:19 INFO ZEO.ClientStorage (2153) Verifying cache
------
2010-05-25T19:35:19 INFO ZEO.ClientStorage (2153) endVerify finishing
------
2010-05-25T19:35:19 INFO ZEO.ClientStorage (2153) endVerify finished
------
2010-05-25T19:35:22 WARNING PlacelessTranslationService Error while compiling /opt/eduCommons-3.2.1/eggs/enpraxis.educommons-3.2.1_final-py2.4.egg/enpraxis/educommons/locales/en/LC_MESSAGES/._eduCommons.po

------
2010-05-25T19:35:27 WARNING PlacelessTranslationService Message Catalog has errors
/opt/eduCommons-3.2.1/eggs/enpraxis.educommons-3.2.1_final-py2.4.egg/enpraxis/educommons/i18n/._plone-de.po
------
2010-05-25T19:35:27 WARNING PlacelessTranslationService Message Catalog has errors
/opt/eduCommons-3.2.1/eggs/enpraxis.educommons-3.2.1_final-py2.4.egg/enpraxis/educommons/i18n/._plone-ca.po
------
2010-05-25T19:35:27 WARNING PlacelessTranslationService Message Catalog has errors
/opt/eduCommons-3.2.1/eggs/enpraxis.educommons-3.2.1_final-py2.4.egg/enpraxis/educommons/i18n/._plone-en.po
------
2010-05-25T19:35:31 INFO Zope Ready to handle requests


------
2010-05-25T20:22:18 INFO CMFFormController /opt/eduCommons-3.2.1/eggs/enpraxis.educommons-3.2.1_final-py2.4.egg/enpraxis/educommons/skins/eduCommons/change_copyright.cpt: No default validators specified for content type ANY.  Users of IE can submit pages using the return key, resulting in no button in the REQUEST.  Please specify default validators for this case.

------
2010-05-25T20:22:18 INFO CMFFormController /opt/eduCommons-3.2.1/eggs/enpraxis.educommons-3.2.1_final-py2.4.egg/enpraxis/educommons/skins/eduCommons/change_copyright.cpt: No default validators specified for content type ANY.  Users of IE can submit pages using the return key, resulting in no button in the REQUEST.  Please specify default validators for this case.

------
2010-05-25T20:22:18 INFO CMFFormController /opt/eduCommons-3.2.1/eggs/enpraxis.educommons-3.2.1_final-py2.4.egg/enpraxis/educommons/skins/eduCommons/change_accessibility.cpt: No default validators specified for content type ANY.  Users of IE can submit pages using the return key, resulting in no button in the REQUEST.  Please specify default validators for this case.

------
2010-05-25T20:22:18 INFO CMFFormController /opt/eduCommons-3.2.1/eggs/enpraxis.educommons-3.2.1_final-py2.4.egg/enpraxis/educommons/skins/eduCommons/change_accessibility.cpt: No default validators specified for content type ANY.  Users of IE can submit pages using the return key, resulting in no button in the REQUEST.  Please specify default validators for this case.
Reply | Threaded
Open this post in threaded view
|

Re: my site went down

Àlex Magaz
I don't see anything wrong in the logs. Have you tried killing all eduCommons processes and starting it again?
Reply | Threaded
Open this post in threaded view
|

Re: my site went down

Tapas
Yes Alex I have done what you said.Many times but it did not helped.
In fact when I do


ps -el | grep educommons
no output

then if I do
ps -el | grep eduCommons
no output

so I have to remember the pid which is 3360
and ps -el | grep 3360 gives me

4 S     0  3360  3359  0  78   0 - 42347 stext  ?        00:00:00 python2.4
 
I did then kill -9 3360
and

/etc/init.d/educommons start
Starting eduCommons Production Server:
daemon process already running; pid=3438
Client1 already running: 3439



Some one suggested me that it is running a plone server and eduCommons is not able to connect to it.
I do not know whether it is right or wrong just posting here if it gives you any clue.
I googled and came across Zope is educommons using that.If yes then how to restart that.
What more should I check.
Reply | Threaded
Open this post in threaded view
|

Re: my site went down

Tapas
This is one more file  zeorserver.log
I noticed things not working from 27th May but it might have gone wrong from 26th itself so see if in this file which is zeoserver.log any thing is wrong.

2009-10-20T20:09:33 daemonizing the process
2009-10-20T20:09:33 set current directory: '/home/brent/rpms/SOURCES/eduCommons-3.2.1-final/parts/zeoserver'
2009-10-20T20:09:33 daemon manager started
2009-10-20T20:09:33 spawned process pid=17397
2009-10-20T20:09:33 (17397) created PID file '/home/brent/rpms/SOURCES/eduCommons-3.2.1-final/var/zeoserver.pid'
2009-10-20T20:09:33 (17397) opening storage '1' using FileStorage
2009-10-20T20:09:33 (17397) StorageServer created RW with storages: 1:RW:/home/brent/rpms/SOURCES/eduCommons-3.2.1-final/var/filestorage/Data.fs
2009-10-20T20:09:33 (17397) listening on ('127.0.0.1', 8100)
2009-10-20T20:09:52 (17397) new connection ('127.0.0.1', 50127): <ManagedServerConnection ('127.0.0.1', 50127)>
2009-10-20T20:09:52 (127.0.0.1:50127) received handshake 'Z303'
2009-10-20T20:09:52 (127.0.0.1:50127) loadEx() raised exception: 0x00
Traceback (most recent call last):
  File "/home/brent/rpms/SOURCES/eduCommons-3.2.1-final/parts/zope2/lib/python/ZEO/zrpc/connection.py", line 535, in handle_request
    ret = meth(*args)
  File "/home/brent/rpms/SOURCES/eduCommons-3.2.1-final/parts/zope2/lib/python/ZEO/StorageServer.py", line 254, in loadEx
    return self.storage.loadEx(oid, version)
  File "/home/brent/rpms/SOURCES/eduCommons-3.2.1-final/parts/zope2/lib/python/ZODB/FileStorage/FileStorage.py", line 523, in loadEx
    pos = self._lookup_pos(oid)
  File "/home/brent/rpms/SOURCES/eduCommons-3.2.1-final/parts/zope2/lib/python/ZODB/FileStorage/FileStorage.py", line 514, in _lookup_pos
    raise POSKeyError(oid)
POSKeyError: 0x00
2009-10-20T20:11:47 (17397/127.0.0.1:50127) disconnected
2009-10-20T20:11:48 (17397) terminated by SIGTERM
2009-10-20T20:11:48 (17397) closing storage '1'
2009-10-20T20:11:48 (17397) removed PID file '/home/brent/rpms/SOURCES/eduCommons-3.2.1-final/var/zeoserver.pid'
2009-10-20T20:11:48 pid 17397: exit status 0
2009-10-20T20:11:48 Exiting
2010-05-25T19:27:22 daemonizing the process
2010-05-25T19:27:22 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-25T19:27:22 daemon manager started
2010-05-25T19:27:22 spawned process pid=2542
2010-05-25T19:27:22 (2542) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-25T19:27:22 (2542) opening storage '1' using FileStorage
2010-05-25T19:27:22 (2542) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-25T19:27:22 (2542) listening on ('127.0.0.1', 8100)
2010-05-25T19:27:32 (2542) new connection ('127.0.0.1', 46505): <ManagedServerConnection ('127.0.0.1', 46505)>
2010-05-25T19:27:32 (127.0.0.1:46505) received handshake 'Z303'
2010-05-25T19:34:03 daemon manager killed by SIGTERM
2010-05-25T19:34:03 (2542) terminated by SIGTERM
2010-05-25T19:34:03 (2542) closing storage '1'
2010-05-25T19:34:03 (2542) removed PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-25T19:35:09 daemonizing the process
2010-05-25T19:35:09 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-25T19:35:09 daemon manager started
2010-05-25T19:35:09 spawned process pid=2145
2010-05-25T19:35:09 (2145) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-25T19:35:09 (2145) opening storage '1' using FileStorage
2010-05-25T19:35:09 (2145) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-25T19:35:09 (2145) listening on ('127.0.0.1', 8100)
2010-05-25T19:35:19 (2145) new connection ('127.0.0.1', 51546): <ManagedServerConnection ('127.0.0.1', 51546)>
2010-05-25T19:35:19 (127.0.0.1:51546) received handshake 'Z303'
2010-05-27T11:16:55 Unlinking stale socket /opt/eduCommons-3.2.1/var/zeo.zdsock; sleep 1
2010-05-27T11:16:56 daemonizing the process
2010-05-27T11:16:56 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-27T11:16:56 daemon manager started
2010-05-27T11:16:56 spawned process pid=2171
2010-05-27T11:16:56 (2171) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:16:56 (2171) opening storage '1' using FileStorage
2010-05-27T11:16:56 (2171) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T11:16:56 (2171) listening on ('127.0.0.1', 8100)
2010-05-27T11:21:42 (2171) terminated by SIGTERM
2010-05-27T11:21:42 (2171) closing storage '1'
2010-05-27T11:21:42 (2171) removed PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:21:42 pid 2171: exit status 0
2010-05-27T11:21:42 Exiting
2010-05-27T11:21:43 daemonizing the process
2010-05-27T11:21:43 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-27T11:21:43 daemon manager started
2010-05-27T11:21:43 spawned process pid=2336
2010-05-27T11:21:44 (2336) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:21:44 (2336) opening storage '1' using FileStorage
2010-05-27T11:21:44 (2336) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T11:21:44 (2336) listening on ('127.0.0.1', 8100)
2010-05-27T11:22:21 (2336) terminated by SIGTERM
2010-05-27T11:22:21 (2336) closing storage '1'
2010-05-27T11:22:21 (2336) removed PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:22:21 pid 2336: exit status 0
2010-05-27T11:22:21 Exiting
2010-05-27T11:22:22 daemonizing the process
2010-05-27T11:22:22 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-27T11:22:22 daemon manager started
2010-05-27T11:22:22 spawned process pid=2349
2010-05-27T11:22:22 (2349) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:22:22 (2349) opening storage '1' using FileStorage
2010-05-27T11:22:22 (2349) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T11:22:22 (2349) listening on ('127.0.0.1', 8100)
2010-05-27T11:22:43 (2349) terminated by SIGTERM
2010-05-27T11:22:43 (2349) closing storage '1'
2010-05-27T11:22:43 (2349) removed PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:22:43 pid 2349: exit status 0
2010-05-27T11:22:43 Exiting
2010-05-27T11:22:50 daemonizing the process
2010-05-27T11:22:50 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-27T11:22:50 daemon manager started
2010-05-27T11:22:50 spawned process pid=2363
2010-05-27T11:22:50 (2363) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:22:50 (2363) opening storage '1' using FileStorage
2010-05-27T11:22:50 (2363) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T11:22:50 (2363) listening on ('127.0.0.1', 8100)
2010-05-27T11:23:44 daemon manager killed by SIGTERM
2010-05-27T11:23:44 (2363) terminated by SIGTERM
2010-05-27T11:23:44 (2363) closing storage '1'
2010-05-27T11:23:44 (2363) removed PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:24:47 daemonizing the process
2010-05-27T11:24:47 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-27T11:24:47 daemon manager started
2010-05-27T11:24:47 spawned process pid=2116
2010-05-27T11:24:47 (2116) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:24:47 (2116) opening storage '1' using FileStorage
2010-05-27T11:24:48 (2116) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T11:24:48 (2116) listening on ('127.0.0.1', 8100)
2010-05-27T11:27:52 (2116) terminated by SIGTERM
2010-05-27T11:27:52 (2116) closing storage '1'
2010-05-27T11:27:52 (2116) removed PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:27:52 pid 2116: exit status 0
2010-05-27T11:27:52 Exiting
2010-05-27T11:27:52 daemonizing the process
2010-05-27T11:27:52 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-27T11:27:52 daemon manager started
2010-05-27T11:27:52 spawned process pid=2292
2010-05-27T11:27:52 (2292) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:27:52 (2292) opening storage '1' using FileStorage
2010-05-27T11:27:52 (2292) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T11:27:52 (2292) listening on ('127.0.0.1', 8100)
2010-05-27T11:28:27 pid 2292: terminated by SIGKILL
2010-05-27T11:28:27 spawned process pid=2299
2010-05-27T11:28:27 (2299) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:28:27 (2299) opening storage '1' using FileStorage
2010-05-27T11:28:27 (2299) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T11:28:27 (2299) listening on ('127.0.0.1', 8100)
2010-05-27T11:28:32 (2299) terminated by SIGTERM
2010-05-27T11:28:32 (2299) closing storage '1'
2010-05-27T11:28:32 (2299) removed PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:28:32 pid 2299: exit status 0
2010-05-27T11:28:32 Exiting
2010-05-27T11:28:32 daemonizing the process
2010-05-27T11:28:32 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-27T11:28:32 daemon manager started
2010-05-27T11:28:32 spawned process pid=2309
2010-05-27T11:28:32 (2309) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:28:32 (2309) opening storage '1' using FileStorage
2010-05-27T11:28:32 (2309) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T11:28:32 (2309) listening on ('127.0.0.1', 8100)
2010-05-27T11:31:23 (2309) terminated by SIGTERM
2010-05-27T11:31:23 (2309) closing storage '1'
2010-05-27T11:31:23 (2309) removed PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:31:23 pid 2309: exit status 0
2010-05-27T11:31:23 Exiting
2010-05-27T11:31:23 daemonizing the process
2010-05-27T11:31:23 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-27T11:31:23 daemon manager started
2010-05-27T11:31:23 spawned process pid=2330
2010-05-27T11:31:23 (2330) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:31:23 (2330) opening storage '1' using FileStorage
2010-05-27T11:31:23 (2330) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T11:31:23 (2330) listening on ('127.0.0.1', 8100)
2010-05-27T11:55:57 (2330) terminated by SIGTERM
2010-05-27T11:55:57 (2330) closing storage '1'
2010-05-27T11:55:57 (2330) removed PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:55:57 pid 2330: exit status 0
2010-05-27T11:55:57 Exiting
2010-05-27T11:55:57 daemonizing the process
2010-05-27T11:55:57 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-27T11:55:57 daemon manager started
2010-05-27T11:55:57 spawned process pid=2438
2010-05-27T11:55:57 (2438) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T11:55:57 (2438) opening storage '1' using FileStorage
2010-05-27T11:55:57 (2438) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T11:55:57 (2438) listening on ('127.0.0.1', 8100)
2010-05-27T12:00:56 (2438) terminated by SIGTERM
2010-05-27T12:00:56 (2438) closing storage '1'
2010-05-27T12:00:56 (2438) removed PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T12:00:56 pid 2438: exit status 0
2010-05-27T12:00:56 Exiting
2010-05-27T12:00:56 daemonizing the process
2010-05-27T12:00:56 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-27T12:00:56 daemon manager started
2010-05-27T12:00:56 spawned process pid=2474
2010-05-27T12:00:56 (2474) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T12:00:56 (2474) opening storage '1' using FileStorage
2010-05-27T12:00:56 (2474) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T12:00:56 (2474) listening on ('127.0.0.1', 8100)
2010-05-27T12:05:32 (2474) terminated by SIGTERM
2010-05-27T12:05:32 (2474) closing storage '1'
2010-05-27T12:05:32 (2474) removed PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T12:05:32 pid 2474: exit status 0
2010-05-27T12:05:32 Exiting
2010-05-27T12:05:32 daemonizing the process
2010-05-27T12:05:32 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-27T12:05:32 daemon manager started
2010-05-27T12:05:32 spawned process pid=2514
2010-05-27T12:05:32 (2514) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T12:05:32 (2514) opening storage '1' using FileStorage
2010-05-27T12:05:32 (2514) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T12:05:32 (2514) listening on ('127.0.0.1', 8100)
2010-05-27T12:24:58 (2514) terminated by SIGTERM
2010-05-27T12:24:58 (2514) closing storage '1'
2010-05-27T12:24:58 (2514) removed PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T12:24:58 pid 2514: exit status 0
2010-05-27T12:24:58 Exiting
2010-05-27T12:24:58 daemonizing the process
2010-05-27T12:24:58 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-27T12:24:58 daemon manager started
2010-05-27T12:24:58 spawned process pid=2709
2010-05-27T12:24:58 (2709) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T12:24:58 (2709) opening storage '1' using FileStorage
2010-05-27T12:24:58 (2709) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T12:24:58 (2709) listening on ('127.0.0.1', 8100)
2010-05-27T12:41:16 (2709) terminated by SIGTERM
2010-05-27T12:41:16 (2709) closing storage '1'
2010-05-27T12:41:16 (2709) removed PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T12:41:16 pid 2709: exit status 0
2010-05-27T12:41:16 Exiting
2010-05-27T12:41:19 daemonizing the process
2010-05-27T12:41:19 set current directory: '/opt/eduCommons-3.2.1/parts/zeoserver'
2010-05-27T12:41:19 daemon manager started
2010-05-27T12:41:19 spawned process pid=2766
2010-05-27T12:41:19 (2766) created PID file '/opt/eduCommons-3.2.1/var/zeoserver.pid'
2010-05-27T12:41:19 (2766) opening storage '1' using FileStorage
2010-05-27T12:41:19 (2766) StorageServer created RW with storages: 1:RW:/opt/eduCommons-3.2.1/var/filestorage/Data.fs
2010-05-27T12:41:19 (2766) listening on ('127.0.0.1', 8100)
Reply | Threaded
Open this post in threaded view
|

Re: my site went down

Àlex Magaz
I'm not seeing anything wrong in this log either.

Ok, lets look first at trivial things. Check you haven't run out of disk space or memory. Disable also IPTables to be sure they aren't blocking anything useful:

# iptables -F

Check whether the processes are running. You should see something similar to this:

# ps axf
...
 1818 ?        Ts     0:00 /usr/bin/python2.4 /opt/eduCommons-3.2.1/parts/zope2/lib/python/zdaemon/zdrun.py -S
 1819 ?        Tl     0:04  \_ /usr/bin/python2.4 /opt/eduCommons-3.2.1/parts/zope2/lib/python/ZEO/runzeo.py -C
 1823 ?        Ts     0:00 /usr/bin/python2.4 /opt/eduCommons-3.2.1/parts/zope2/lib/python/zdaemon/zdrun.py -S
 1824 ?        Tl     5:22  \_ /usr/bin/python2.4 /opt/eduCommons-3.2.1/parts/zope2/lib/python/Zope2/Startup/run.py -C
...

The two first are from the database (I think). The other two are the application server. If you run strace against them, they should be most of the time stuck in a select() call (at least on my system).

Check also you don't have any zombie process lying around. They have a 'Z' in the third column.

You can also run nmap to see if port 8080 is open. Run it both from the server and from your machine, to ensure nothing in between is blocking the requests.

Sorry, it's not a lot of help, but I don't know much about how eduCommons works.
Reply | Threaded
Open this post in threaded view
|

Re: my site went down

Tapas
This post was updated on .
Hey Alex thanks for your reply.
I got my problem solved here


There was a stale PID file that the educommons
script seems to keep complaining about. After removing that file  educommons
started up just fine.

This is what we  got when we  started educommons:

[root@ocw run]# /etc/init.d/educommons start
Starting eduCommons Production Server:
. daemon process started, pid=5079
Client1 already running: 2153

if you note above message says client already running
but it was not running in fact so you need to delete where ever you have the lock.

If you read script /etc/init.d/educommons
you can see the line
CLIENT1_PID=$PROD_DIR/var/instance1.pid

So go to /opt/eduCommons-3.2.1/var/
and remove instance1.lock and instance1.pid

after this /etc/init.d/educommons start should work.


root@ocw var]# /etc/init.d/educommons start
Starting eduCommons Production Server:
. daemon process started, pid=5193
. Unlinking stale socket /opt/eduCommons-3.2.1/var/instance1/zopectlsock;
sleep 1
No handlers could be found for logger "root"
. daemon process started, pid=5198



I have shared this message hope this will help any one who comes across this thread.