Comments (7)
Hi @jhevenor,
Are you able to send the dsc run logs? Let's check the C:\Software\ArcGIS\Server\framework\etc\hostname.properties
file to see if it was updated with the correct ip. Also check if the arcgis server service is started in services.msc and are you able to browse to https://1.2.3.32:6443/arcgis/admin in the web browser?
Thanks,
Cameron K.
from arcgis-powershell-dsc.
Thanks @cameronkroeker.
DSC logs attached. I had to rerun and I've tried to propagate the unnecessary obfuscation above, but note 10.155.1.219=1.2.3.32 if you come across it.
hostname.properties
contains hostname=1.2.3.32
, so correct?
The link to /arcgis/admin
does not load.
from arcgis-powershell-dsc.
Thanks @jhevenor. I am not seeing any issues within the dsc logs. Perhaps there are some clues within the logs of the following 2 directories?
C:\Software\ArcGIS\\Server\framework\runtime\tomcat\logs
C:\Software\ArcGIS\Server\framework\etc\service\logs
from arcgis-powershell-dsc.
Hi @cameronkroeker, I redeployed this morning for fresh logs. See attached zip.
from arcgis-powershell-dsc.
Thanks @jhevenor.
The only thing that jumps out at me is within the tomcat logs:
Feb 09, 2024 2:32:28 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Could not contact [localhost:6006] (base port [6006] and offset [0]). Tomcat may not be running.
Feb 09, 2024 2:32:28 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Error stopping Catalina
java.net.ConnectException: Connection refused: connect
at java.base/java.net.PlainSocketImpl.connect0(Native Method)
at java.base/java.net.PlainSocketImpl.socketConnect(Unknown Source)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
at java.base/java.net.Socket.connect(Unknown Source)
at java.base/java.net.Socket.connect(Unknown Source)
at java.base/java.net.Socket.<init>(Unknown Source)
at java.base/java.net.Socket.<init>(Unknown Source)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:667)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:391)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:481)
Is there another process or application using port 6006? I don't think this is new though at 11.x because I also see the same port is used in 10.9.x/10.8.x:
and
Thanks,
Cameron K.
from arcgis-powershell-dsc.
@cameronkroeker I think I figured out what's happening. My latest images I created a local windows user with the same username that I eventually use in my later automations. But, the password changes when the new VMs are rolled out. I think some of the checks for the current state see that ArcGIS Server is installed and Windows Services exist, but the password change breaks something along the way.
I've made new image using a different username and my truncated automations run smoothly.
So, I'm not sure what you can do with that information, but at least you're aware. I'm happy to collaborate on rooting out and remediating this specific quirk, but for now I'll close this ticket and move on. Thanks for your time.
from arcgis-powershell-dsc.
@cameronkroeker I think I figured out what's happening. My latest images I created a local windows user with the same username that I eventually use in my later automations. But, the password changes when the new VMs are rolled out. I think some of the checks for the current state see that ArcGIS Server is installed and Windows Services exist, but the password change breaks something along the way.
I've made new image using a different username and my truncated automations run smoothly.
So, I'm not sure what you can do with that information, but at least you're aware. I'm happy to collaborate on rooting out and remediating this specific quirk, but for now I'll close this ticket and move on. Thanks for your time.
Glad you were able to find the culprit and get it resolved! The module does do a username comparison but not password comparison for the service account. Since the username's matched it skipped updating the service. However, to workaround this though you can set ConfigData.Credentials.ServiceAccount.ForceUpdate
attribute in your json config to true.
"Credentials": {
"ServiceAccount": {
"Password": "xxxx",
"UserName": "svcuser",
"IsDomainAccount": false,
"IsMSAAccount": false,
"ForceUpdate": true
}
Thanks,
Cameron K.
from arcgis-powershell-dsc.
Related Issues (20)
- Enterprise 11.1 - Error creating site when using Azure Storage accounts. HOT 8
- Enterprise 11.2 - Insights 2023.3 HOT 1
- Web Adaptor fails to install with exit code 1642 HOT 2
- WebAdaptor fails to install with error SendConfigurationApply function did not succeed HOT 6
- [ArcGISLicense] ArcGIS Pro Single licensing not working. HOT 1
- Multiple WA settings HOT 4
- Server installation error when defining WebAdaptor in role HOT 1
- ArcGIS Enterprise Upgrade From 11.1 to 11.2 Failed to Install Portal HOT 6
- ArcGIS Pro Patches not Downloaded/Installed HOT 5
- WebAdaptors fails to install in a base deployment with error SendConfigurationApply function did not succeed HOT 9
- Upgrade Base Deployment from 11.2 to 11.3 HOT 4
- Invalid MOF definition for node error when installing 11.3 HOT 1
- Enterprise 11.1 Install ODBC Driver 18.1.2.1 fails if already installed HOT 1
- Powershell Error on Install 4.3.0 HOT 9
- Trace-DSCJob Errors HOT 3
- Getting a portal token error while federating a general purpose server HOT 5
- Multi-Install exe files HOT 1
- 11.3 Installation failed: The specified executable is not a valid application for this OS platform HOT 2
- Several issues encountered upgrade 11.1 to 11.3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcgis-powershell-dsc.