php install: pull-config does not work

getting:ADMIN3593: Unable to process config filesi have tried both in the command line and in the web gui.
[127 byte] By [karl.rossinga] at [2007-11-26 22:19:22]
# 1
When you start the instance you made the manual changes in stand alone mode, does it start correctly?
nseguraa at 2007-7-10 11:15:19 > top of Java-index,Web & Directory Servers,Web Servers...
# 2
I'm able to start the server manually without a problem
karl.rossinga at 2007-7-10 11:15:19 > top of Java-index,Web & Directory Servers,Web Servers...
# 3

Do you have a remote instance?

Doesn't matter.. run the admin-server, on whichever node your modified instance is residing, in 'finest' log-level..

run pull-config using wadm (don't use shell mode; directly invoke in command line).

After doing the above, please give me the following data:

1. Do you see any exception being logged in the admin-server (on whichever node your modified instance is residing)? If so, please provide the stack trace.

2. Provide the exit code of wadm.

123javahardcorea at 2007-7-10 11:15:19 > top of Java-index,Web & Directory Servers,Web Servers...
# 4

Here is the error generated from the web gui:

21/Mar/2007:06:54:49 info for host 192.168.0.3 trying to POST /admingui/admingui/j_security_check, service-j2ee reports: SEC5046: Audit: Authentication failed for [admin].

21/Mar/2007:06:57:26 info for host 192.168.0.3 trying to POST /admingui/admingui/instanceConfigPullDialog, service-j2ee reports: Exception : ADMIN3593: Unable to process config files

21/Mar/2007:06:57:26 info for host 192.168.0.3 trying to POST /admingui/admingui/instanceConfigPullDialog, service-j2ee reports: Exception : ADMIN3593: Unable to process config files

21/Mar/2007:06:57:26 info Click to view more details for this messagefor host 192.168.0.3 trying to POST /admingui/admingui/instanceConfigPullDialog, service-j2ee reports:

com.sun.web.admin.exceptions.AdminException:

com.sun.web.admin.mbeans.AgentMBean.copyInstanceConfiguration(AgentMBean.java:332)

com.sun.web.admin.mbeans.AgentMBean.getConfigFromInstance(AgentMBean.java:347)

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585)

com.sun.web.admin.mbeans.BaseAdminMBean.invoke(BaseAdminMBean.java:49)

com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)

com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)

com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)

com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)

com.sun.web.admin.server.LocalMBeanServerConnection.invoke(LocalMBeanServerConnection.java:136)

com.sun.web.admin.mbeans.NodeMBean.doAction(NodeMBean.java:1204)

com.sun.web.admin.mbeans.NodeMBean.doAction(NodeMBean.java:1194)

com.sun.web.admin.mbeans.NodeMBean.updateConfigFromInstanceInternal(NodeMBean.java:955)

com.sun.web.admin.mbeans.NodeMBean.updateConfigFromInstance(NodeMBean.java:945)

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585)

com.sun.web.admin.mbeans.BaseAdminMBean.invoke(BaseAdminMBean.java:49)

com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)

com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)

com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)

com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)

com.sun.web.admin.gui.util.MBeanUtil.invoke(MBeanUtil.java:139)

com.sun.web.admin.gui.util.MBeanUtil.invoke(MBeanUtil.java:39)

com.sun.web.admin.gui.handlers.CommonHandlers.invokeMBean(CommonHandlers.java:63)

sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585)

com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:938)

com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:875)

com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:841)

com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.execute(DescriptorViewHelper.java:313)

com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.execute(DescriptorViewBeanBase.java:210)

com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)

com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:802)

com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:740)

com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)

com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:571)

com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:957)

com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)

com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:205)

com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473) javax.servlet.http.HttpServlet.service(HttpServlet.java:816) javax.servlet.http.HttpServlet.service(HttpServlet.java:917)

org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:391)

org.apache.catalina.core.StandardWrapperVa

21/Mar/2007:06:57:26 info for host 192.168.0.3 trying to POST /admingui/admingui/instanceConfigPullDialog, service-j2ee reports: com.sun.enterprise.tools.guiframework.exception.FrameworkException: java.lang.reflect.InvocationTargetException while attempting to process a 'command' event for 'okButton'.

21/Mar/2007:06:57:26 info for host 192.168.0.3 trying to POST /admingui/admingui/instanceConfigPullDialog, service-j2ee reports: ADMIN3593: Unable to process config files

When i installed the web server, i used the system java (/usr/java) which is version 1.5.0_11 not the 1.5.0_09 that the webserver7 installer wanted to installl.

karl.rossinga at 2007-7-10 11:15:19 > top of Java-index,Web & Directory Servers,Web Servers...
# 5
Could you also provide me the version of the Web server that you have installed?I know it is WS 7.0, but I would like the version string (the first line during a server startup).Thanks.
123javahardcorea at 2007-7-10 11:15:19 > top of Java-index,Web & Directory Servers,Web Servers...
# 6
bash-3.00# /opt/sun/webserver7/bin/wadm --user=admin --port=8989 --commands-file=/tmp/command-filePlease enter admin-user-password>ADMIN3593: Unable to process config filesbash-3.00# echo $?9
karl.rossinga at 2007-7-10 11:15:19 > top of Java-index,Web & Directory Servers,Web Servers...
# 7
I downloaded it last week from sun.com/downloads20/Mar/2007:14:30:06 info CORE1116: Sun Java System Web Server 7.0 B12/04/2006 10:1520/Mar/2007:14:30:06 info CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_11] from [Sun Microsystems Inc.]
karl.rossinga at 2007-7-10 11:15:19 > top of Java-index,Web & Directory Servers,Web Servers...
# 8
The file name installed is sjsws-7_0-solaris-sparc.tar.gzI now see a sjsws-7_0u1-solaris-sparc.tar.gz available.
karl.rossinga at 2007-7-10 11:15:19 > top of Java-index,Web & Directory Servers,Web Servers...
# 9

You mention that the instance was manually changed.

Could you clarify what was changed?

I am guessing you never modified the config/* files in the instance.

Am I correct?

Along with the manual changes that you did try touching any file in config/ directory of the instance, before invoking the pull-config command.

Let me know the results of this experimentation.

123javahardcorea at 2007-7-10 11:15:19 > top of Java-index,Web & Directory Servers,Web Servers...
# 10

Disregard my previous post. I was mistaken.

Instead could you let me know the amout of space available in /tmp?

Check the available free swap space.

Also check the output of "df -k".

Kindly, paste the output of "top" (with the avail. free swap info.) and the output of "df -k".

Thanks.

123javahardcorea at 2007-7-10 11:15:19 > top of Java-index,Web & Directory Servers,Web Servers...
# 11

Filesystem sizeused avail capacity Mounted on

/dev/md/dsk/d10220G16G3.1G85%/

/devices0K0K0K0%/devices

ctfs 0K0K0K0%/system/contract

proc 0K0K0K0%/proc

mnttab0K0K0K0%/etc/mnttab

swap9.2G1.2M9.2G1%/etc/svc/volatile

objfs0K0K0K0%/system/object

fd0K0K0K0%/dev/fd

/dev/md/dsk/d30216G7.8G7.8G50%/var

swap9.2G7.0M9.2G1%/tmp

swap9.2G120K9.2G1%/var/run

/dev/md/dsk/d40220G6.2G13G32%/opt

/dev/dsk/c5t600A0B8000196A10000028AB4343D2D5d0s6

35G24G11G70%/export/home

/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1

20G16G3.1G85%/platform/sun4u-us3/lib/libc_psr.so.1

/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1

20G16G3.1G85%/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1

bash-3.00# swap -l

swapfile dev swaplo blocksfree

/dev/md/dsk/d20285,20216 16780208 16780208

bash-3.00# prtdiag -v

System Configuration: Sun Microsystems sun4u Sun Fire V240

System clock frequency: 167 MHZ

Memory size: 8GB

==================================== CPUs ====================================

E$ CPUCPU

CPU FreqSizeImplementation MaskStatusLocation

-- --- --

01503 MHz 1MB SUNW,UltraSPARC-IIIi3.4on-lineMB/P0

11503 MHz 1MB SUNW,UltraSPARC-IIIi3.4on-lineMB/P1

================================= IO Devices =================================

BusFreq Slot +Name +

TypeMHzStatusPath Model

- - - --

pci66MB pci108e,1648 (network)

okay/pci@1f,700000/network@2

pci66MB pci108e,1648 (network)

okay/pci@1f,700000/network

pci33MB isa/su (serial)

okay/pci@1e,600000/isa@7/serial@0,3f8

pci33MB isa/su (serial)

okay/pci@1e,600000/isa@7/serial

pci33MB isa/rmc-comm-rmc_comm (seria+

okay/pci@1e,600000/isa@7/rmc-comm@0,3e8

pci33MB pci10b9,5229 (ide)

okay/pci@1e,600000/ide

pci66MB scsi-pci1000,21 (scsi-2)

okay/pci@1c,600000/scsi@2

pci66MB scsi-pci1000,21 (scsi-2)

okay/pci@1c,600000/scsi

pci66MB pci108e,1648 (network)

okay/pci@1d,700000/network

pci66MB pci108e,1648 (network)

okay/pci@1d,700000/network

pci66PCI0SUNW,qlc-pci1077,2312 (scsi-+

okay/pci@1d,700000/SUNW,qlc@1

pci66PCI0SUNW,qlc-pci1077,2312 (scsi-+

okay/pci@1d,700000/SUNW,qlc@1,1

============================ Memory Configuration ============================

Segment Table:

--

Base AddressSizeInterleave Factor Contains

--

0x04GB16 BankIDs 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15

0x10000000004GB16 BankIDs 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31

Bank Table:

--

Physical Location

IDControllerID GroupIDSizeInterleave Way

--

00 0 256MB0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15

10 0 256MB

20 1 256MB

30 1 256MB

40 0 256MB

50 0 256MB

60 1 256MB

70 1 256MB

80 1 256MB

90 1 256MB

100 0 256MB

110 0 256MB

120 1 256MB

130 1 256MB

140 0 256MB

150 0 256MB

161 0 256MB0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15

171 0 256MB

181 1 256MB

191 1 256MB

201 0 256MB

211 0 256MB

221 1 256MB

231 1 256MB

241 1 256MB

251 1 256MB

261 0 256MB

271 0 256MB

281 1 256MB

291 1 256MB

301 0 256MB

311 0 256MB

Memory Module Groups:

--

ControllerIDGroupID Labels Status

--

0 0MB/P0/B0/D0

0 0MB/P0/B0/D1

0 1MB/P0/B1/D0

0 1MB/P0/B1/D1

1 0MB/P1/B0/D0

1 0MB/P1/B0/D1

1 1MB/P1/B1/D0

1 1MB/P1/B1/D1

============================ Environmental Status ============================

Fan Status:

-

Location Sensor Status

-

F0RS okay

F1RS okay

F2RS okay

MB/P0/F0 RS okay

MB/P0/F1 RS okay

MB/P1/F0 RS okay

MB/P1/F1 RS okay

PS0FF_FAN okay

PS1FF_FAN okay

Temperature sensors:

--

LocationSensor Status

--

MB/P0 T_CORE okay

MB/P1 T_CORE okay

MB T_ENCokay

PS0FF_OTokay

PS1FF_OTokay

Current sensors:

-

Location SensorStatus

-

MBFF_SCSIokay

PS0FF_OCokay

PS1FF_OCokay

Voltage sensors:

--

LocationSensorStatus

--

MB/P0 V_COREokay

MB/P1 V_COREokay

MB V_VTT okay

MB V_GBE_+2V5okay

MB V_GBE_COREokay

MB V_VCCTMokay

MB V_+2V5okay

MB V_+1V5okay

MB/BAT V_BAT okay

PS0P_PWR okay

PS0FF_POKokay

PS0FF_UV okay

PS0FF_OV okay

PS1P_PWR okay

PS1FF_POKokay

PS1FF_UV okay

PS1FF_OV okay

--

Keyswitch:

--

LocationKeyswitchState

--

MB SYSCTRLNORMAL

--

Led State:

--

LocationLedStateColor

--

MB ACTon green

MB SERVICEoff amber

MB LOCATEoff white

PS0ACTon green

PS0SERVICEoff amber

PS0OK2RMoff blue

PS1ACTon green

PS1SERVICEoff amber

PS1OK2RMoff blue

HDD0SERVICEoff amber

HDD0OK2RMoff blue

HDD1SERVICEoff amber

HDD1OK2RMoff blue

HDD2SERVICEoff amber

HDD2OK2RMoff blue

HDD3SERVICEoff amber

HDD3OK2RMoff blue

=========================== FRU Operational Status ===========================

Fru Operational Status:

LocationStatus

MB/SCokay

PS0 okay

HDD0present

HDD1present

PS1 okay

================================ HW Revisions ================================

ASIC Revisions:

-

PathDeviceStatus Revision

-

/pci@1f,700000 pci108e,a801okay4

/pci@1e,600000 pci108e,a801okay4

/pci@1c,600000 pci108e,a801okay4

/pci@1d,700000 pci108e,a801okay4

System PROM revisions:

-

OBP 4.22.23 2006/11/27 04:43 Sun Fire V210/V240,Netra 210/240

OBDIAG 4.22.23 2006/11/27 05:01

bash-3.00# fmadm faulty

STATE RESOURCE / UUID

-- -

karl.rossinga at 2007-7-10 11:15:19 > top of Java-index,Web & Directory Servers,Web Servers...
# 12

No top here...

S10

bash-3.00# vmstat 10 10

kthrmemorypagedisk faultscpu

r b wswap free re mf pi po fr de sr m1 m1 m1 m2insycs us sy id

0 0 0 10271392 2856664 213 282 1378 6 6 0 0 4 4 7 0 692 8100 2267 7 5 88

0 0 0 9596856 2260200 123 680 2 2 2 0 0 20 20 20 0 721 11044 2297 10 5 85

0 0 0 9597448 2260576 110 503 0 3 2 0 0 0 0 0 0 478 10522 2277 3 4 92

0 0 0 9597232 2265320 218 1150 269 1 1 0 0 0 0 0 0 560 31639 2318 12 20 68

0 0 0 9596712 2269872 182 678 826 3 2 0 0 9 9 10 0 703 10538 2413 10 7 83

0 0 0 9596296 2287904 369 1469 1235 1 1 0 0 0 0 0 0 620 33832 2470 20 21 59

0 0 0 9591696 2291408 32 234 1 1 1 0 0 0 0 0 0 766 7421 2444 3 6 91

0 0 0 9593480 2292120 40 254 0 2 2 0 0 7 7 7 0 574 5863 2305 10 4 86

0 0 0 9592728 2291824 111 569 13 1 1 0 0 1 1 2 0 461 10917 2305 5 5 90

0 0 0 9590904 2290408 122 680 2 1 1 0 0 0 0 0 0 478 11039 2316 5 6 89

karl.rossinga at 2007-7-10 11:15:19 > top of Java-index,Web & Directory Servers,Web Servers...
# 13
I got arround this by manually configring PHP in step 4 instead of step 3 in the config document http://docs.sun.com/source/820-1090/PHPReleaseNotes.htmlSo i'm all good now.
karl.rossinga at 2007-7-10 11:15:19 > top of Java-index,Web & Directory Servers,Web Servers...