Mailing List CGatePro@mail.stalker.com Message #95941
From: David Brookfield <david.brookfield@liquidthinking.co.uk>
Subject: Re: Server Crashing
Date: Wed, 03 Sep 2008 00:44:12 +0100
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
Right Nic I got to do the fsck this evening, it whisked through the fsck, it's not much data about 11gb but 90 secs seams pretty fast, I'm not that aware of what is fast or not on BSD so no idea if this a bad thing, 90 secs for 10gb seems a bit too fast, but I bow to any knowledge here.

Anyway before I do a re-install of CGP I want to check a couple of things, as I didn't do the initial install and it must be a good 2-3 years since it was installed (and TBH I've not looked at it other than log files etc etc, as it's been rock solid ince then (Until now that is).

I've rsynced all of /var for safeties sake,  so I guess all I need to do now is just run the tar?  I'm assuming that once I've run this all settings will be over written and I'll have to set it all up again manually? or is there an extract utility that will allow me to extract the settings first and then re-import, a bit like a firewall config file? Sorry this isn't an OS I work with so these maybe very stupid questions.

One thing other thing though, when I look at the crash log I get this, I notice you said it's possible a file could cause an issue what do you reckon?

03:42:53.57 0 SYSTEM server 5.0.13 started under FreeBSD, open files limit=11095
03:42:53.57 0 SYSTEM process data size limit=512M
03:42:54.06 0 DOMAIN(123) failed to process Domains/123/Settings/aliases.data. 1 duplicates unprocessed: becky.smith 
07:20:40.62 0 SYSTEM server 5.0.13 started under FreeBSD, open files limit=11095
07:20:40.62 0 SYSTEM process data size limit=512M
07:20:41.23 0 DOMAIN(123) failed to process Domains/123/Settings/aliases.data. 1 duplicates unprocessed: becky.smith 


I have an old domain that was renamed to 123 and there is one account there that cannot be removed, I saw somewhere about broken files can be the cause of this. Anyway if I try to do anything with this domain and the account inside it I get a "file not found" error. I wonder if I can increase the logging level, I had a look for logging levels I'm blind where CGP is concerned or is there a command line I can run that will output errors?

All help gratefully received.

David Brookfield




Nicolas Hatier wrote:
Do the fsck, then reinstall CGP just to be sure all CGP-related files are OK (/opt/Communigate).
This process will not modify the user files (/var/Communigate).

If one or more user files are corrupted, this may have adverse effects on the account to which the file(s) belong, but usually not on CGP or the other, not-corrupted, accounts.
- if a server settings file (/var/Communigate/Settings) is corrupted, this may prevent CGP to start
- if a domain settings file is corrupted, this may prevent this domain to be loaded at all.
- if an account settings file is corrupted, the account may not be loaded
- if a mailbox or mdir file is corrupted, the mailbox or the individual message will fail. This one if quite difficult to diagnose because it can be a rarely-accessed message and the problem will appear only in several weeks, months or years...

When you complete the fsck and reinstall, let know if you see other errors and I'm sure someone will advise.

Regards,
Nicolas Hatier

David Brookfield wrote:
Right did a non destructive fsck and it shows some errors in the region of where CGServer is, will do a proper fsck later. One thing on the assumption CummuniGate.exe is corrupt can I just replace it when the file system is sorted?



David Brookfield wrote:
We had to manually power off a while back, although to my knowledge this was after the problem started; however I could be wrong. We've not had any space issues either, we do have a domain we can't delete, but my understanding of this was that it is because of a file not deleting and so can't delete the domain as it's not empty.

I'll do the test later, thanks so far for this.

David

k@ellsworth.cl wrote:
Looks like a corrupted filesystem, do a forced fsck on the machine. Did the server had a power outage latelly? Or ran out of space?...

- original message -
Subject:    Server Crashing
From:    David Brookfield <david.brookfield@liquidthinking.co.uk>
Date:        27/08/2008 9:04 am

We've got CGP 5.0.13 server running on FreeBSD it's run like a dream for about 3 years, but in the last couple of days it just stops, if I attempt to restart [Communigate start] it won't, the only way to get it running again is a full reboot of the Server.

The crash log shows me this below, anyone able to help me as to where else I should be looking?


02:49:37.19 0 SYSTEM server 5.0.13 stopped under FreeBSD 03:02:08.42 0 SYSTEM server 5.0.13 started under FreeBSD, open files limit=11095 03:02:08.42 0 SYSTEM process data size limit=512M 03:02:08.53 0 DOMAIN(123) failed to process Domains/123/Settings/aliases.data. 1 duplicates unprocessed: becky.smith 03:02:08.55 0 TEMPFILE failed to write seqID on disk: Error Code=access denied 03:02:08.55 0 SYSTEM Abnormal termination initiated 03:02:08.56 0 TEMPFILE failed to write seqID on disk: Error Code=access denied 03:02:08.56 0 SYSTEM Abnormal termination initiated 03:02:08.56 0 TEMPFILE(9910001) failed to create the file Queue/9910001.tmp. Error Code=access denied 03:02:13.59 0 SYSTEM server 5.0.13 stopped under FreeBSD 03:11:29.69 0 SYSTEM server 5.0.13 started under FreeBSD, open files limit=11095 03:11:29.69 0 SYSTEM process data size limit=512M 03:11:30.84 0 DOMAIN(123) failed to process Domains/123/Settings/aliases.data. 1 duplicates unprocessed: becky.smith 07:19:06.51 0 SYSTEM server 5.0.13 started under FreeBSD, open files limit=11095 07:19:06.51 0 SYSTEM process data size limit=512M 07:19:07.09 0 DOMAIN(123) failed to process Domains/123/Settings/aliases.data. 1 duplicates unprocessed: becky.smith 08:43:16.42 0 SYSTEM server 5.0.13 started under FreeBSD, open files limit=11095 08:43:16.42 0 SYSTEM process data size limit=512M 08:43:17.53 0 DOMAIN(123) failed to process Domains/123/Settings/aliases.data. 1 duplicates unprocessed: becky.smith 09:32:10.02 0 SYSTEM server 5.0.13 started under FreeBSD, open files limit=11095 09:32:10.02 0 SYSTEM process data size limit=512M 09:32:11.14 0 DOMAIN(123) failed to process Domains/123/Settings/aliases.data. 1 duplicates unprocessed: becky.smith 09:48:34.57 0 SYSTEM server 5.0.13 started under FreeBSD, open files limit=11095 09:48:34.57 0 SYSTEM process data size limit=512M 09:48:35.72 0 DOMAIN(123) failed to process Domains/123/Settings/aliases.data. 1 duplicates unprocessed: becky.smith



Thanks in advance

David Brookfield

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro@mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off@mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest@mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index@mail.stalker.com>
Send administrative queries to  <CGatePro-request@mail.stalker.com>


#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro@mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off@mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest@mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index@mail.stalker.com>
Send administrative queries to  <CGatePro-request@mail.stalker.com>
 

#############################################################
This message is sent to you because you are subscribed to
 the mailing list <CGatePro@mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off@mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest@mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index@mail.stalker.com>
Send administrative queries to  <CGatePro-request@mail.stalker.com>

#############################################################
This message is sent to you because you are subscribed to
 the mailing list <CGatePro@mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off@mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest@mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index@mail.stalker.com>
Send administrative queries to  <CGatePro-request@mail.stalker.com>

--

Nicolas Hatier
Niversoft idées logicielles
http://www.niversoft.com


Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster