Problems after Scalix restore

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

peter5898
Posts: 30
Joined: Fri Aug 04, 2006 8:10 am
Location: UK

Problems after Scalix restore

Postby peter5898 » Mon Sep 04, 2006 5:30 am

I have recently had to restore my Scalix fedora 4 system by copying /var/opt/scalix over to the new box-

Everything worked fine but I have now found that sometimes when I try to log into Scalix web access I get the error "There was a problem connecting to the mail server. Please try again later" But if I log on as the admin user it works fine - and if I leave logging in for several hours and try and log in later it works I have checked the account isn't locked and I have also tried to change the password.

One thing I did have to do when I did the restore was to preserve permissions by running the following 2 commands.

omcheck -i -s > /tmp/omcheck ; sh /tmp/omcheck
omcheck -d -s > /tmp/omcheck ; sh /tmp/omcheck

Any help would be greatly appreciated as I’m not sure what I have done wrong - thanks
:D

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Sep 05, 2006 1:28 pm

Are you seeing anything in the /var/opt/scalix/logs/fatal log or the swa logs in /opt/scalix-tomcat/logs that correspond to the log on failure.

After the restore did you restart tomcat? Make sure you don't have any stale imap.d processes from before the restore.

Thanks,
Don

peter5898
Posts: 30
Joined: Fri Aug 04, 2006 8:10 am
Location: UK

Postby peter5898 » Sat Sep 09, 2006 2:19 pm

Thanks Don - you were right there are alot of errors in the /var/opt/scalix/logs/fatal log


this is what was ni the error log for /var/opt/scalix/logs/fatal log

==========
SERIOUS ERROR IMAP Server Da(IMAP Server Pr) Mon Sep 4 10:21:14 2006
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 16928
Procedure trace follows:
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
Pid of logging process: 16928


SERIOUS ERROR IMAP Server Da(IMAP Server Pr) Mon Sep 4 10:21:14 2006
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xb6)[0x859e76]
/opt/scalix/lib/libom_er.so[0x85a162]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0x85a31f]
[0x762420]
/opt/scalix/lib/libom_da.so(da_GetNamedAttValue+0x8b)[0x22d2f6]
/opt/scalix/lib/libom_dr.so[0x13c913]
[0x68746966]
�[�##�o
Pid of logging process: 16928


SERIOUS ERROR IMAP Server Da(IMAP Server Pr) Mon Sep 4 10:21:14 2006
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 16929
Procedure trace follows:
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
Pid of logging process: 16929


SERIOUS ERROR IMAP Server Da(IMAP Server Pr) Mon Sep 4 10:21:14 2006
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xb6)[0x859e76]
/opt/scalix/lib/libom_er.so[0x85a162]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0x85a31f]
[0x762420]
/opt/scalix/lib/libom_da.so(da_GetNamedAttValue+0x8b)[0x22d2f6]
/opt/scalix/lib/libom_dr.so[0x13c913]
[0x68746966]
�[�##�o
Pid of logging process: 16929


SERIOUS ERROR Browser (Mime_Browser ) Sat Sep 9 14:29:33 2006
[SYS 13] Permission denied
File Name: /var/opt/scalix/temp/0000afo.mim
Pid of logging process: 4076
Current errno value: 13
=========================
this is what was ni the error log for //opt/scalix-tomcat/logs -scalix-swa_log.2006-09-09
at com.oddpost.server.filter.HttpConfFilter.doFilter(HttpConfFilter.java:182)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
... skipping the last 25 lines as irrelevant...

2006-09-09 16:13:21 StandardContext[/webmail]ip: xxx.xxx.xx.xxx; username: Mick.Cartledge; message: JavaMailHelper.openFolder(): waiting to be able to open folder Sent Items
2006-09-09 16:13:21 StandardContext[/webmail]ip: xxx.xxx.xx.xxx; username: Mick.Cartledge; message: 10: waiting to be able to open folder

javax.mail.MessagingException: A53 NO cannot SELECT that mailbox;
nested exception is:
com.sun.mail.iap.CommandFailedException: A53 NO cannot SELECT that mailbox
at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:754)
at com.oddpost.mail.JavaMailHelper.openFolder(JavaMailHelper.java:309)
at com.oddpost.mail.JavaMailHelper.connectToMailbox(JavaMailHelper.java:123)
at com.oddpost.mail.JavaMailHelper.openFolder(JavaMailHelper.java:135)
at com.oddpost.mail.JavaMailHelper.openFolderReadWrite(JavaMailHelper.java:150)
at com.oddpost.server.mail.MailFolder.<init>(MailFolder.java:82)
at com.oddpost.server.mail.MailFolderTree.get(MailFolderTree.java:139)
at com.oddpost.server.module.SoapMail.status(SoapMail.java:155)
at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.oddpost.soap.SoapModule.invokeMethod(SoapModule.java:238)
at com.oddpost.soap.SoapRequestImpl.execute(SoapRequestImpl.java:139)
at com.oddpost.server.HttpRequestHandler.handleRequest(HttpRequestHandler.java:222)
at com.oddpost.server.SoapServlet.doPost(SoapServlet.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.oddpost.server.filter.HttpConfFilter.doFilter(HttpConfFilter.java:182)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
... skipping the last 25 lines as irrelevant...

2006-09-09 16:13:21 StandardContext[/webmail]ip: xxx.xxx.xx.xxx; username: Mick.Cartledge; message: JavaMailHelper.openFolder(): waiting to be able to open folder Sent Items


=======================

I hope you can advise me of what i should do

thanks

Pete
:D

peter5898
Posts: 30
Joined: Fri Aug 04, 2006 8:10 am
Location: UK

Postby peter5898 » Thu Sep 14, 2006 6:49 pm

Ive now found that i can't login to my email at all now when i try to log into webmail i get the error "scalix appears to down" if i try the command omshut i get the following response:-

omoff : [OM 4835] Subsystem Service Router is already off.
omoff : [OM 4835] Subsystem Local Delivery is already off.
omoff : [OM 4835] Subsystem Internet Mail Gateway is already off.
omoff : [OM 4835] Subsystem Local Client Interface is already off.
omoff : [OM 4838] Cannot shut down subsystem Remote Client Interface,
there is already a shut down in progress.
omoff : [OM 4835] Subsystem Test Server is already off.
omoff : [OM 4835] Subsystem Request Server is already off.
omoff : [OM 4835] Subsystem Print Server is already off.
omoff : [OM 4835] Subsystem Bulletin Board Server is already off.
omoff : [OM 4835] Subsystem Background Search Service is already off.
omoff : [OM 4835] Subsystem CDA Server is already off.
omoff : [OM 4835] Subsystem Application Link Server is already off.
omoff : [OM 4835] Subsystem POP3 interface is already off.
omoff : [OM 4835] Subsystem Omscan Server is already off.
omoff : [OM 4835] Subsystem Archiver is already off.

Any help would be greatly appreciated - i have tried to reboot the system but it doesn't fix it - thanks

jorgen3048
Posts: 25
Joined: Wed Feb 15, 2006 10:30 am
Location: Sweden
Contact:

Postby jorgen3048 » Fri Sep 15, 2006 6:29 am

peter5898 wrote:Ive now found that i can't login to my email at all now when i try to log into webmail i get the error "scalix appears to down" if i try the command omshut i get the following response:-

omoff : [OM 4835] Subsystem Service Router is already off.
omoff : [OM 4835] Subsystem Local Delivery is already off.
omoff : [OM 4835] Subsystem Internet Mail Gateway is already off.
omoff : [OM 4835] Subsystem Local Client Interface is already off.
omoff : [OM 4838] Cannot shut down subsystem Remote Client Interface,
there is already a shut down in progress.
omoff : [OM 4835] Subsystem Test Server is already off.
omoff : [OM 4835] Subsystem Request Server is already off.
omoff : [OM 4835] Subsystem Print Server is already off.
omoff : [OM 4835] Subsystem Bulletin Board Server is already off.
omoff : [OM 4835] Subsystem Background Search Service is already off.
omoff : [OM 4835] Subsystem CDA Server is already off.
omoff : [OM 4835] Subsystem Application Link Server is already off.
omoff : [OM 4835] Subsystem POP3 interface is already off.
omoff : [OM 4835] Subsystem Omscan Server is already off.
omoff : [OM 4835] Subsystem Archiver is already off.

Any help would be greatly appreciated - i have tried to reboot the system but it doesn't fix it - thanks


Try omreset on the affected service

peter5898
Posts: 30
Joined: Fri Aug 04, 2006 8:10 am
Location: UK

Postby peter5898 » Fri Sep 15, 2006 7:16 am

thanks a million spot on run the command omreset -o off all to shut Scalix down and then omrc to start it backup.

worked first time i can now log in fine no problems - and to think i was thinking about formatting it and losing all my data.

again thanks your a star

Pete

:lol:

peter5898
Posts: 30
Joined: Fri Aug 04, 2006 8:10 am
Location: UK

Postby peter5898 » Mon Sep 18, 2006 4:08 am

My Scalix box is working fine as i can now access my email fine but when i try to logon as the Scalix administrator i get the following error:-

Could not fetch configuration information possible problem with administration server



Are there any logs i should check - again thanks in advance :)

ssiekmann

Postby ssiekmann » Tue Sep 19, 2006 1:14 am

Please make sure your /etc/hosts contains an entry for your Scalix server in the form

ip address fqdn.domain.com shortname

Restart Tomcat after making any changes.

Cheers,

Sascha.

peter5898
Posts: 30
Joined: Fri Aug 04, 2006 8:10 am
Location: UK

Postby peter5898 » Tue Sep 19, 2006 10:48 am

Thanks - i have checked and my host file is the following - i think its o.k is there anything else i could check as i can log in via webmail and access my emails fine :-




===========================
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.16.22 scalix.ae-itmail.com scalix

Thanks

Peter :D


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest