|
POST
|
Thanks for the reply @JalesM - it's not the log message itself, that is fine. I get error messages all the time about the image services from this federated server site - request size exceeds, stuff like that - usually related to users in Pro or Map trying to make large plots with the image services. It's that after I removed the ArcMap runtime, these log files are being written to both the C:\ root directory and to the defined C:\arcgisserver\logs\ directory on each server. I can tell you that the log file name I listed above, now found at the C:\ root: .-20230505.100807-15284-10624.0.log is a truncated name of a log file like this: SC2022.ImageServer-20230505.102653-11952-4324.0.log that is found in the proper directory in C:\arcgisserver\logs\ at: C:\arcgisserver\logs\FullyQualifiedMachineName\services\ImageServices\SC2022.ImageServer That did not happen until the ArcMap runtime was removed. So again, it's the location at the C:\ root of a name-truncated log name.... @ChrisUnderwood
... View more
05-05-2023
08:42 AM
|
0
|
0
|
2773
|
|
POST
|
If I stop the ArcGIS Server service I can read and delete the files, but otherwise they are locked and access is denied.
... View more
05-05-2023
07:31 AM
|
0
|
0
|
2789
|
|
POST
|
Sure @ChrisUnderwood - they all are named similar to this: .-20230505.100807-15284-10624.0.log (date.time - some index number.log) and all seem to be related to the ImageServer role: <?xml version="1.0" encoding="utf-8" ?> <Msg time='2023-05-05T10:21:59,894' type='WARNING' code='80020' target='(null).(null)' methodName='ImageServerIP' machine='FullyQualifiedMachineName' process='16012' thread='7656' requestId='4ddde4e9-dc7a-4921-96ee-ece22a381a59'>Calling SOAP on REST service</Msg> <Msg time='2023-05-05T10:22:00,573' type='WARNING' code='80020' target='(null).(null)' methodName='ImageServerIP' machine='FullyQualifiedMachineName' process='16012' thread='7656' requestId='4ddde4e9-dc7a-4921-96ee-ece22a381a59'>Calling SOAP on REST service</Msg>
... View more
05-05-2023
07:28 AM
|
0
|
3
|
2791
|
|
POST
|
Hello - in prep for upgrade of our federated server site to 11.1 from 10.9.1, I removed the ArcMap based runtime after finally being able to remove my remaining ArcMap authored services. When I did this, like 30K + log files got dumped to the C:\ root. I deleted the log files, restarted arcgis server service, went into server admin, re-edited the log output location (even though this did not change) to C:\arcgisserver\logs\ Now, on both machines, I am seeing .log files being written to-added to the C:\ root Why is this happening? What can I do? There is nothing in this help step that says this will happen: https://enterprise.arcgis.com/en/server/10.9.1/administer/windows/disable-arcmap-runtime.htm @ChristopherCounsell @VinceAngelo Thanks, David
... View more
05-05-2023
06:44 AM
|
1
|
16
|
4297
|
|
POST
|
This is very helpful @GeoJosh - thanks very much for this. To me, this: "By default, only clients running on the same machine as the PostgreSQL database cluster can connect to it." is just not clear that 'clients' is referring to the Monitor Server. I also would have preferred to name the db differently as you have, but the help example names the db the same as the owner, which as a SQL Server admin I would never do. But I don't know/didn't know that/if Monitor Server is expecting the database to be named 'agm' - so it looks like it can be....
... View more
05-03-2023
05:56 AM
|
0
|
0
|
5300
|
|
POST
|
Hi @AndrewSakowicz , @Anonymous User - I was able to muddle my way through setting up postgreSQL version 14.6 (the latest version on MyEsri) and was able to create the 'agm' user database per the help doc above using the pgAdmin gui. However, do either of you have a practical example of steps 3 and 4? Configure the database to allow connections By default, only clients running on the same machine as the PostgreSQL database cluster can connect to it. To allow remote clients to connect to the database cluster, alter the PostgreSQL pg_hba.conf configuration file. The entries you place in the pg_hba.conf file vary depending on your security policies and configurations. Complete the following steps to allow remote connections from clients to the PostgreSQL server: Make a backup copy of the pg_hba.conf file before you alter it. Open the pg_hba.conf file in a text editor. Add the Monitor Server IP address, designate the database that it can connect to, and specify the authentication methods used for connections using the following example: # TYPE DATABASE USER ADDRESS METHOD
host <monitor_db> <db_user> <monitor_server_ip>/<ip/mask> <auth_method> For more information, refer to the PostgreSQL documentation. Reload server configuration settings using a PostgreSQL function such as pg_ctl reload or SELECT pg_reload_conf(). Thanks in advance for anything you can provide . . . David
... View more
05-02-2023
12:05 PM
|
0
|
6
|
5324
|
|
POST
|
Hi @KjellTimalm, @shikhar_deep - we are looking to proceed with ArcGIS Notebook Server Standard on Windows Server 2022 VM using Mirantis and Windows containers. At this time, 2 users will primarily use notebook server for content, item and user management, but do anticipate running some image analyst and deep learning notebooks, for say rooftop extraction from image services. Typically we spec out a new ArcGIS Server Advanced windows vm with 8 cores, 32Gb ram, and a standard 250 Gb C drive. Do either of you have any suggestion as to number of cores, memory or disk space different from what I listed here? Thanks in advance - David
... View more
05-02-2023
06:27 AM
|
0
|
1
|
2660
|
|
POST
|
Well, for me all I do is make sure my directory holding my .py files is shared and then I just have task scheduler run python.exe as the Action: C:\Users\yourname\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\python.exe and for the argument supply the python file using the UNC path \\MyComputerName\BatchDBTasksAE\SqlUnScripts\BatchSqlUN_SewerStructJunction.py. The python snippet above is configured for the IDLE, not Notebook, so you can just change the GIS param to match your portal and change the sd file location to your directory location and it will run no problem in the IDLE. When the above works for you, please mark it as correct thanks!
... View more
04-21-2023
11:36 AM
|
1
|
0
|
2369
|
|
IDEA
|
Agreed. I'd have to dig back into old geomatics class work to find my spherical trig, and it has been a while that is for sure. But, for those out there working in any east-west extent state plane coord systems, your algorithm works well. Only need to make the adjustments as you indicate. In the meantime @TomNeer , I'd say that you have done half of Esri's work for them (as far as state plane conversions go.
... View more
04-21-2023
09:30 AM
|
0
|
0
|
5541
|
|
POST
|
I would say that if you look at this: https://developers.arcgis.com/python/api-reference/arcgis.features.managers.html#arcgis.features.managers.FeatureLayerCollectionManager.overwrite In part, it reads "The data file used to overwrite should be of the same format and filename as the original that was used to publish the layer". So basically you need to create service definition file from your sde layer first. The feature layer is then created from that sd file, and when the sd file is overwritten, both the sd file and feature layer are updated. I prefer to use the sharing module in Pro to create the staging definition (sddraft) and service definition files (sd). Then, instead of jumping over to the api to do the overwrite, just continue to use sharing module in pro. However, it might look something like this from arcgis.gis import GIS from arcgis.features import FeatureLayerCollection gis = GIS("https://yourdomain/yourportal", "username_portal", "user_pw") try: portItems = gis.content.search(query="owner:username_portal", item_type="Feature Layer", sort_field="title", sort_order="asc", max_items=5000) #Service Definition Feature Layer for portItem in portItems: if (portItem.title == "YourFeatureLayer"): portFL = FeatureLayerCollection.fromitem(portItem) print (portItem.title) portFL.manager.overwrite('C:/ArcProProjects3x/YourSDFile.sd') #portFL.manager.refresh() print(portFL.properties) message = message + "\n" + (portItem.title) except Exception: # If an error occurred, print line number and error message import traceback, sys tb = sys.exc_info()[2] e = sys.exc_info()
... View more
04-21-2023
09:22 AM
|
1
|
2
|
2372
|
|
IDEA
|
Alas I thought this might be a more-straightforward task, but as State Plane Coordinate systems using a Transverse Mercator projection do not contain parameters for standard parallels (since they're not conformal projections and the false northing is always 0), it is not a simple adjustment to @TomNeer 's Arcade above....
... View more
04-14-2023
02:36 PM
|
0
|
0
|
5575
|
|
IDEA
|
Way to go @DavidWittmann - I'm STILL coming up (or trying to) with work-arounds from both a design and functionality perspective to combat this so thanks for wordsmithing that up!
... View more
04-13-2023
02:56 PM
|
0
|
0
|
6610
|
|
IDEA
|
Way to go @TomNeer - I am starting to recall from my geomatics days that the longitude conversion is a simpler calc. Thanks for posting this.... I'll parameterize for Florida State Plane West wkid 2882 and let you know how it goes....
... View more
04-13-2023
02:46 PM
|
0
|
0
|
5582
|
|
IDEA
|
This is great @TomNeer thanks for posting this - Forgive me for asking, but are you able to point me in the right direction to get build the same calculation for a state plane coordinate translation to longitude? Thanks--
... View more
04-12-2023
01:33 PM
|
0
|
0
|
10918
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 3 weeks ago | |
| 6 | 3 weeks ago | |
| 1 | a month ago | |
| 1 | 06-08-2026 08:37 AM |
| Online Status |
Online
|
| Date Last Visited |
3 hours ago
|