I did a password reset on a 4.0.4 system (via shell script). After logging into sipxconfig (was not presented with a "set PIN page), resetting the superadmin password failed with the following errors...
"2010-08-23T09:28:19.613000Z":755:JAVA:WARNING:sipx.sipdomain.com:P1-16:00000000:RequestExceptionReporter:"Unable to process client request: Exception invoking listener method onApply of component user/EditUser/formActions: Exception invoking listener method commit of component user/EditUser: Failure invoking listener method 'public void org.sipfoundry.sipxconfig.site.user.EditUser.commit()' on $edituser...@3c1[user/EditUser]: java.io.FileNotFoundException: /var/sipxdata/mediaserver/data/mailstore/superadmin/savemessage.vxml (Permission denied)" org.apache.tapestry.BindingException: Exception invoking listener method onApply of component user/EditUser/formActions: Exception invoking listener method commit of component user/EditUser: Failure invoking listener method 'public void org.sipfoundry.sipxconfig.site.user.EditUser.commit()' on $edituser...@3c1[user/EditUser]: java.io.FileNotFoundException: /var/sipxdata/mediaserver/data/mailstore/superadmin/savemessage.vxml (Permission denied) [context:/WEB-INF/common/FormActions.jwc, line 24, column 57] at org.apache.tapestry.binding.ListenerMethodBinding.actionTriggered(ListenerMethodBinding.java:93) at org.apache.tapestry.listener.ListenerInvokerTerminator.invokeListener(ListenerInvokerTerminator.java:50) at org.sipfoundry.sipxconfig.components.UserExceptionFilter.invokeListener(Unknown Source) at $ListenerInvokerFilter_1296f7c7b77.invokeListener($ListenerInvokerFilter_1296f7c7b77.java) at $ListenerInvoker_1296f7c7b79.invokeListener($ListenerInvoker_1296f7c7b79.java) at $ListenerInvoker_1296f7c79df.invokeListener($ListenerInvoker_1296f7c79df.java) at org.apache.tapestry.form.AbstractSubmit.handleClick(AbstractSubmit.java:98) at org.apache.tapestry.form.AbstractSubmit.rewindFormComponent(AbstractSubmit.java:63) at org.apache.tapestry.form.AbstractFormComponent.renderComponent(AbstractFormComponent.java:90) at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187) at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:538) at org.apache.tapestry.components.IfBean.renderComponent(IfBean.java:94) at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187) at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107) at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187) at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:538) at org.apache.tapestry.form.FormSupportImpl.rewind(FormSupportImpl.java:624) at org.apache.tapestry.form.Form.renderComponent(Form.java:196) at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187) at org.apache.tapestry.form.Form.rewind(Form.java:269) at org.apache.tapestry.engine.RequestCycle.rewindForm(RequestCycle.java:469) at org.apache.tapestry.form.Form.trigger(Form.java:280) at org.apache.tapestry.engine.DirectService.triggerComponent(DirectService.java:166) at org.apache.tapestry.engine.DirectService.service(DirectService.java:142) at $IEngineService_1296f7c7a67.service($IEngineService_1296f7c7a67.java) at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:72) at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:241) at org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:54) at $WebRequestServicer_1296f7c7a31.service($WebRequestServicer_1296f7c7a31.java) at org.sipfoundry.sipxconfig.site.DiscardSessionFilter.service(Unknown Source) at $WebRequestServicerFilter_1296f7c7a2f.service($WebRequestServicerFilter_1296f7c7a2f.java) at $WebRequestServicer_1296f7c7a33.service($WebRequestServicer_1296f7c7a33.java) at $WebRequestServicer_1296f7c7a2b.service($WebRequestServicer_1296f7c7a2b.java) at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:61) at $ServletRequestServicer_1296f7c7a11.service($ServletRequestServicer_1296f7c7a11.java) at org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55) at $ServletRequestServicerFilter_1296f7c7a0d.service($ServletRequestServicerFilter_1296f7c7a0d.java) at $ServletRequestServicer_1296f7c7a13.service($ServletRequestServicer_1296f7c7a13.java) at org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52) at $ServletRequestServicerFilter_1296f7c7a0b.service($ServletRequestServicerFilter_1296f7c7a0b.java) at $ServletRequestServicer_1296f7c7a13.service($ServletRequestServicer_1296f7c7a13.java) at org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53) at $ServletRequestServicerFilter_1296f7c7a0f.service($ServletRequestServicerFilter_1296f7c7a0f.java) at $ServletRequestServicer_1296f7c7a13.service($ServletRequestServicer_1296f7c7a13.java) at $ServletRequestServicer_1296f7c7a05.service($ServletRequestServicer_1296f7c7a05.java) at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:126) at org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:171) at javax.servlet.http.HttpServlet.service(HttpServlet.java:616) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:832) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:167) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:120) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:814) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Caused by: org.apache.tapestry.BindingException: Exception invoking listener method commit of component user/EditUser: Failure invoking listener method 'public void org.sipfoundry.sipxconfig.site.user.EditUser.commit()' on $edituser...@3c1[user/EditUser]: java.io.FileNotFoundException: /var/sipxdata/mediaserver/data/mailstore/superadmin/savemessage.vxml (Permission denied) [context:/WEB-INF/user/EditUser.page, line 17, column 55] at org.apache.tapestry.binding.ListenerMethodBinding.actionTriggered(ListenerMethodBinding.java:93) at org.apache.tapestry.listener.ListenerInvokerTerminator.invokeListener(ListenerInvokerTerminator.java:50) at org.sipfoundry.sipxconfig.components.UserExceptionFilter.invokeListener(Unknown Source) at $ListenerInvokerFilter_1296f7c7b77.invokeListener($ListenerInvokerFilter_1296f7c7b77.java) at $ListenerInvoker_1296f7c7b79.invokeListener($ListenerInvoker_1296f7c7b79.java) at $ListenerInvoker_1296f7c79df.invokeListener($ListenerInvoker_1296f7c79df.java) at org.sipfoundry.sipxconfig.components.FormActions.apply(Unknown Source) at org.sipfoundry.sipxconfig.components.FormActions.onApply(Unknown Source) at sun.reflect.GeneratedMethodAccessor1235.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeTargetMethod(ListenerMethodInvokerImpl.java:276) at org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:221) at org.apache.tapestry.listener.ListenerMethodInvokerImpl.searchAndInvoke(ListenerMethodInvokerImpl.java:157) at org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:80) at org.apache.tapestry.listener.SyntheticListener.actionTriggered(SyntheticListener.java:52) at org.apache.tapestry.binding.ListenerMethodBinding.actionTriggered(ListenerMethodBinding.java:77) ... 69 more Caused by: org.apache.hivemind.ApplicationRuntimeException: Failure invoking listener method 'public void org.sipfoundry.sipxconfig.site.user.EditUser.commit()' on $edituser...@3c1[user/EditUser]: java.io.FileNotFoundException: /var/sipxdata/mediaserver/data/mailstore/superadmin/savemessage.vxml (Permission denied) [context:/WEB-INF/user/EditUser.page, line 4, column 74] at org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:230) at org.apache.tapestry.listener.ListenerMethodInvokerImpl.searchAndInvoke(ListenerMethodInvokerImpl.java:157) at org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:80) at org.apache.tapestry.listener.SyntheticListener.actionTriggered(SyntheticListener.java:52) at org.apache.tapestry.binding.ListenerMethodBinding.actionTriggered(ListenerMethodBinding.java:77) ... 85 more Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /var/sipxdata/mediaserver/data/mailstore/superadmin/savemessage.vxml (Permission denied) at org.sipfoundry.sipxconfig.device.FileSystemProfileLocation.getOutput(Unknown Source) at org.sipfoundry.sipxconfig.device.AbstractProfileGenerator.generate(Unknown Source) at org.sipfoundry.sipxconfig.vm.attendant.PersonalAttendant.generateProfile(Unknown Source) at org.sipfoundry.sipxconfig.vm.attendant.PersonalAttendantWriter.write(Unknown Source) at org.sipfoundry.sipxconfig.vm.MailboxManagerImpl.writePersonalAttendant(Unknown Source) at org.sipfoundry.sipxconfig.vm.MailboxManagerImpl.storePersonalAttendant(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:104) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) at $Proxy26.storePersonalAttendant(Unknown Source) at org.sipfoundry.sipxconfig.common.event.PersonalAttendantSettingListener.updatePersonalAttendantForUser(Unknown Source) at org.sipfoundry.sipxconfig.common.event.PersonalAttendantSettingListener.onSaveGroup(Unknown Source) at org.sipfoundry.sipxconfig.common.event.PersonalAttendantSettingListener.onSave(Unknown Source) at org.sipfoundry.sipxconfig.common.event.DaoEventPublisherImpl.publishSave(Unknown Source) at org.sipfoundry.sipxconfig.common.event.DaoEventDispatcher.invoke(Unknown Source) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:104) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) at $Proxy10.saveGroup(Unknown Source) at org.sipfoundry.sipxconfig.site.setting.EditGroup.saveGroups(Unknown Source) at org.sipfoundry.sipxconfig.site.user.EditUser.commit(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeTargetMethod(ListenerMethodInvokerImpl.java:276) at org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:221) ... 89 more Caused by: java.io.FileNotFoundException: /var/sipxdata/mediaserver/data/mailstore/superadmin/savemessage.vxml (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) ... 124 more "2010-08-23T09:28:25.453000Z":756:JAVA:INFO:sipx.sipdomain.com:Replication worker thread:00000000:SipxReplicationContextImpl:"Start replication: Data replication: permission" "2010-08-23T09:28:25.597000Z":757:JAVA:INFO:sipx.sipdomain.com:Replication worker thread:00000000:XmlRpcClientInterceptor:"XML/RPC ImdbTable.replace with [sipx.sipdomain.com, permission, [{permission=Internati...] on https://sipx.sipdomain.com:8092/RPC2" "2010-08-23T09:28:25.754000Z":758:JAVA:INFO:sipx.sipdomain.com:Replication worker thread:00000000:SipxReplicationContextImpl:"Start replication: Data replication: userlocation" "2010-08-23T09:28:25.828000Z":759:JAVA:INFO:sipx.sipdomain.com:Replication worker thread:00000000:XmlRpcClientInterceptor:"XML/RPC ImdbTable.replace with [sipx.sipdomain.com, userlocation, [{location=PC650, iden...] on https://sipx.sipdomain.com:8092/RPC2" "2010-08-23T09:28:25.870000Z":760:JAVA:INFO:sipx.sipdomain.com:Replication worker thread:00000000:SipxReplicationContextImpl:"Start replication: Data replication: caller-alias" "2010-08-23T09:28:25.988000Z":761:JAVA:INFO:sipx.sipdomain.com:Replication worker thread:00000000:XmlRpcClientInterceptor:"XML/RPC ImdbTable.replace with [sipx.sipdomain.com, caller-alias, [{alias=sip:1434975266...] on https://sipx.sipdomain.com:8092/RPC2" Upon looking at: /var/sipxdata/mediaserver/data/mailstore/superadmin/savemessage.vxml The directory and file are owned by user:group root:root. After manually changing this to sipxchange:sipxchange, I was able to set the superadmin assword from inside the sipxconfig interface. I am assuming that once the system is in use, there will not be a "set pin" page if the superadmin password is not yet set (in this case, just cleared). I don't see this as in issue in 4.2 since the file permissions are set for sipxchange:sipxchange. I'm not sure I would call this a bug, but thought this would help if someone else ran across this in 4.0.4. -- ====================== Tony Graziano, Manager Telephone: 434.984.8430 sip: tgrazi...@voice.myitdepartment.net Fax: 434.984.8431 Email: tgrazi...@myitdepartment.net LAN/Telephony/Security and Control Systems Helpdesk: Telephone: 434.984.8426 sip: helpd...@voice.myitdepartment.net Fax: 434.984.8427 Helpdesk Contract Customers: http://www.myitdepartment.net/gethelp/ Why do mathematicians always confuse Halloween and Christmas? Because 31 Oct = 25 Dec.
_______________________________________________ sipx-users mailing list sipx-users@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipx-users/