Log4OM will not initialize unless run as Administrator

Post Reply
w9iyn
Novice Class
Posts: 5
Joined: 20 Feb 2024, 21:08

Log4OM will not initialize unless run as Administrator

Post by w9iyn »

Did my install - to a different directory where I keep my applications. Seemed to go OK. When I run it though, it indicates there is an error in initialization, and the country list is not populated, so I can't configure it (and one cannot save an incomplete configuration, either). I tried uninstalling it, and then installing it in the default location, but that made no difference.

I did NOT install OmniRig: I don't need it for my purposes.

I absolutely will not run this application in administrator mode.

The log indicates that it does not think it has Internet access, but the machine does. (I do have a pretty tight firewall running iptables on a separate machine, but I don't see any errors being logged there for this machine, so if it wants access and isn't getting it, it would have to be something on the PC running Log4OM).

The log reads as follows (there is more, but I expect that whatever the issue is, this should be enough.)
PC has Kaspersky AV on it.
Installation was done using "Run as Administrator" on the .exe that was in the .zip file.

Thoughts?

2024-02-20 21:05:49.6762 INFO: [LogWriter] : ######################################################################################
2024-02-20 21:05:49.6972 INFO: [LogWriter] : ############## LOG STARTED UI ##############
2024-02-20 21:05:49.6982 INFO: [LogWriter] : ######################################################################################
2024-02-20 21:05:49.6992 INFO: [dje_z2B2BB97N228AS2U94VRSW_ejd] : Log4OM Next Generation (V2) version: 2.31.0.0
2024-02-20 21:05:49.7003 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: Base File not found file C:\Users\jay\AppData\Roaming\Log4OM2\l4ong.status
2024-02-20 21:05:49.7076 INFO: [dje_z2B2BB97N228AS2U94VRSW_ejd] : Status file not found in config folder
2024-02-20 21:05:49.7089 INFO: [dje_z2B2BB97N228AS2U94VRSW_ejd] : *** INSTALLED MODE ***
2024-02-20 21:05:49.7151 INFO: [ConfigurationLogic] : Loading program configuration
2024-02-20 21:05:49.7151 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: Base File not found file C:\Users\jay\AppData\Roaming\Log4OM2\user\config.json
2024-02-20 21:05:49.7151 INFO: [ConfigurationLogic] : Program configuration not found (config.json). Returning new
2024-02-20 21:05:51.2061 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\user\layout_datagrid_cluster_Home_user.json and C:\Users\jay\AppData\Roaming\Log4OM2\layout\layout_datagrid_cluster_Home.json
2024-02-20 21:05:51.2174 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\user\layout_cluster_Home_user.json and C:\Users\jay\AppData\Roaming\Log4OM2\layout\layout_cluster_Home.json
2024-02-20 21:05:51.4406 INFO: [dje_z3XV5WCYD62DGMEGF72K8R_ejd] : Running with admin privileges: FALSE
2024-02-20 21:05:51.4599 INFO: [SplashScreen] : Setting log level...
2024-02-20 21:05:51.4621 INFO: [SplashScreen] : Registering events...
2024-02-20 21:05:51.4846 INFO: [dje_zMHQ5YURD7CK3N8NJV278R_ejd] : Starting Log4OM NG Initialization sequence
2024-02-20 21:05:51.4846 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\config_user.ini and C:\Users\jay\AppData\Roaming\Log4OM2\config.ini
2024-02-20 21:05:51.4899 INFO: [SplashScreen] : INI File not found
2024-02-20 21:05:51.4909 WARN: [dje_zMHQ5YURD7CK3N8NJV278R_ejd][MoveNext] : INI file not found in config folder


2024-02-20 21:05:51.4929 INFO: [SplashScreen] : Checking internet connection...
2024-02-20 21:05:51.5616 INFO: [FWWeb] : Internet connection is not available


2024-02-20 21:05:51.5677 INFO: [SplashScreen] : Loading countries...
2024-02-20 21:05:51.5717 INFO: [SplashScreen] : Loading Awards...
2024-02-20 21:05:51.5763 INFO: [dje_zKA8SFSL26QPC7KDJ6Q6E8QWL5FQN6UYG2Q_ejd] : [COUNTRY] Loading countries...
2024-02-20 21:05:51.5786 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: Base File not found file C:\Users\jay\AppData\Roaming\Log4OM2\country.xml
2024-02-20 21:05:51.5843 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: Base File not found file C:\Users\jay\AppData\Roaming\Log4OM2\country.xml
2024-02-20 21:05:51.5856 WARN: [dje_zMJJCPX7W8S3H33V78SZPXQ7LCQPA_ejd][MoveNext] : Country file not loaded
2024-02-20 21:05:51.5936 INFO: [AwardsDatabase] : Loading Awards list from database
2024-02-20 21:05:51.6996 ERROR: * [AwardsDatabase][LoadAwards][106 ms] : [EXCEPTION] SQL logic error
no such table: Awards code = Error (1), message = System.Data.SQLite.SQLiteException (0x87AF001F): SQL logic error
no such table: Awards
at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, SQLiteCommand command, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteReader()
at L4ONG.DAL.AWARDS.AwardsDatabase.LoadAwards(Boolean dje_zKX6DERZ68VWVMMQ_ejd, Boolean dje_zR63Y49YR_ejd)
2024-02-20 21:05:51.7203 INFO: [SplashScreen] : Loading bands...
2024-02-20 21:05:51.7212 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\bandlist_user.txt and C:\Users\jay\AppData\Roaming\Log4OM2\bandlist.txt
2024-02-20 21:05:51.7212 ERROR: [ConfigurationLogic][LoadBands] : [EXCEPTION] LoadBands: file bandlist.txt not found. Please reinstall System.IO.FileNotFoundException: LoadBands: file bandlist.txt not found. Please reinstall
at L4ONG.BL.ConfigurationLogic.LoadBands()
2024-02-20 21:05:51.7212 WARN: [dje_zMHQ5YURD7CK3N8NJV278R_ejd][MoveNext] : No bands found
2024-02-20 21:05:51.7243 INFO: [SplashScreen] : Loading cluster ignore list...
2024-02-20 21:05:51.7243 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\clusterKnownWords_user.txt and C:\Users\jay\AppData\Roaming\Log4OM2\clusterKnownWords.txt
2024-02-20 21:05:51.7253 WARN: [FwFile][LoadFileAsList] : LoadFileAsList: No text file found
2024-02-20 21:05:51.7275 INFO: [SplashScreen] : Loading modes...
2024-02-20 21:05:51.7280 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\modelist_user.csv and C:\Users\jay\AppData\Roaming\Log4OM2\modelist.csv
2024-02-20 21:05:51.7292 ERROR: [ConfigurationLogic][LoadModes] : [EXCEPTION] LoadModes: file modelist.csv not found. Please reinstall System.Exception: LoadModes: file modelist.csv not found. Please reinstall
at L4ONG.BL.ConfigurationLogic.LoadModes(ModeConversions& dje_zKFM9Z458_ejd)
2024-02-20 21:05:51.7292 WARN: [dje_zMHQ5YURD7CK3N8NJV278R_ejd][MoveNext] : No modes found
2024-02-20 21:05:51.7306 INFO: [SplashScreen] : Loading flags...
2024-02-20 21:05:51.7316 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: Base File not found file C:\Users\jay\AppData\Roaming\Log4OM2\Flags.csv
2024-02-20 21:05:51.7316 ERROR: [ConfigurationLogic][LoadFlagsList] : [EXCEPTION] LoadFlagsList file flags.csv not found in config folder. Please reinstall System.Exception: LoadFlagsList file flags.csv not found in config folder. Please reinstall
at L4ONG.BL.ConfigurationLogic.LoadFlagsList()
2024-02-20 21:05:51.7326 WARN: [dje_zMHQ5YURD7CK3N8NJV278R_ejd][MoveNext] : No DXCC Flags found
2024-02-20 21:05:51.7335 INFO: [SplashScreen] : Loading bandplan...
2024-02-20 21:05:51.7356 ERROR: [ConfigurationLogic][LoadBandPlans] : [EXCEPTION] Could not find a part of the path 'C:\Users\jay\AppData\Roaming\Log4OM2\bandplan'. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\jay\AppData\Roaming\Log4OM2\bandplan'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.EnumerateFiles(String path, String searchPattern, SearchOption searchOption)
at L4ONG.BL.ConfigurationLogic.LoadBandPlans()
2024-02-20 21:05:51.7356 WARN: [dje_zMHQ5YURD7CK3N8NJV278R_ejd][MoveNext] : No BandPlan found
2024-02-20 21:05:51.7407 INFO: [SplashScreen] : Loading non standard callsign...
2024-02-20 21:05:51.7417 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\NonStandardCallsign_user.txt and C:\Users\jay\AppData\Roaming\Log4OM2\NonStandardCallsign.txt
2024-02-20 21:05:51.7417 INFO: [ConfigurationLogic] : Non Standard callsign begin load from file
2024-02-20 21:05:51.7424 ERROR: [ConfigurationLogic][LoadNonStandardCallsign] : Non Standard callsign load file error
[EXCEPTION] Archive file not found System.Exception: Archive file not found
at L4ONG.BL.ConfigurationLogic.LoadNonStandardCallsign(String dje_zRNN4FRZA_ejd)
2024-02-20 21:05:51.7449 INFO: [dje_zUX4GDTX59475CMQ8DWGNKJWKG7EA_ejd] : [LOAD CTY FILE] Unable to download CTY file. Not connected
2024-02-20 21:05:51.7472 INFO: [SplashScreen] : Loading WAS database...
2024-02-20 21:05:51.7482 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\states_user.csv and C:\Users\jay\AppData\Roaming\Log4OM2\states.csv
2024-02-20 21:05:51.7482 INFO: [SplashScreen] : Loading LOTW database...
2024-02-20 21:05:51.7492 WARN: [dje_zMHQ5YURD7CK3N8NJV278R_ejd][MoveNext] : No States found in file
2024-02-20 21:05:51.7512 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: Base File not found file C:\Users\jay\AppData\Roaming\Log4OM2\lotw.txt
2024-02-20 21:05:51.7512 INFO: [SplashScreen] : Loading ITU-IARU list...
2024-02-20 21:05:51.7522 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\ITU_IARU_user.csv and C:\Users\jay\AppData\Roaming\Log4OM2\ITU_IARU.csv
2024-02-20 21:05:51.7532 ERROR: [ConfigurationLogic][LoadITU_IARU] : Error loading ITU-IARU references
[EXCEPTION] LoadITU_IARU: file ITU_IARU.csv not found. Please reinstall System.IO.FileNotFoundException: LoadITU_IARU: file ITU_IARU.csv not found. Please reinstall
at L4ONG.BL.ConfigurationLogic.LoadITU_IARU()
2024-02-20 21:05:51.7532 WARN: [dje_zMHQ5YURD7CK3N8NJV278R_ejd][MoveNext] : No ITU-IARU relations found loaded
2024-02-20 21:05:51.7553 INFO: [SplashScreen] : Loading clublog [async]...
2024-02-20 21:05:51.7563 INFO: [SplashScreen] : Loading RST list...
2024-02-20 21:05:51.7573 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\rst_user.xml and C:\Users\jay\AppData\Roaming\Log4OM2\rst.xml
2024-02-20 21:05:51.7579 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: Base File not found file C:\Users\jay\AppData\Roaming\Log4OM2\ranking.csv
2024-02-20 21:05:51.7579 WARN: [dje_zMHQ5YURD7CK3N8NJV278R_ejd][MoveNext] : No RST found in file
2024-02-20 21:05:51.7590 INFO: [SplashScreen] : Loading maps...
2024-02-20 21:05:51.7600 INFO: [dje_zKECU7TLSNBTZT2H5B3M9N8LV9W3Q_ejd] : [UPDATE CLUBLOG RANKING] canceled: not connected to internet
2024-02-20 21:05:51.7612 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: Base File not found file C:\Users\jay\AppData\Roaming\Log4OM2\clublog.xml
2024-02-20 21:05:51.7619 INFO: [dje_zEJVSWWTLK4BUW8FCYXDT5NQVCMG7579DQZ_ejd] : [LOAD CLUBLOG] Database not found. Downloading from network
2024-02-20 21:05:51.7669 INFO: [dje_z2KPHQ9D8GXPHLU2QEUBPWAG66RCATYCTL2_ejd] : [UPDATE CLUBLOG] Unable to update clublog data. Check internet connection
2024-02-20 21:05:51.8233 INFO: [SplashScreen] : Initializing scheduler...
2024-02-20 21:05:51.8244 ERROR: [ProgramScheduler][LoadScheduler] : [EXCEPTION] File required has not been found System.IO.FileNotFoundException: File required has not been found
at L4ONG.Framework.FwFile.DeserializeObject(Type dje_z4AHQ6RCY_ejd, String dje_zMP25MTZZ_ejd)
at L4ONG.BL.ProgramScheduler.LoadScheduler(Boolean dje_z2TG66GNB_ejd)
2024-02-20 21:05:51.8244 WARN: [dje_zMHQ5YURD7CK3N8NJV278R_ejd][MoveNext] : No default scheduler loaded
2024-02-20 21:05:51.8278 INFO: [ProgramScheduler] : Starting program scheduler...
2024-02-20 21:05:51.8298 INFO: [SplashScreen] : [WARNING] Initialization WITH ERRORS
2024-02-20 21:05:51.8298 INFO: * [dje_zMHQ5YURD7CK3N8NJV278R_ejd][345 ms] : Initialization completed without errors: False
2024-02-20 21:05:51.8308 INFO: [dje_zVY662ANDW2HHDQPCAANS4_ejd] : Executing scheduler for OnStart
2024-02-20 21:05:51.8343 INFO: [SplashScreen] : Loading user profile...
2024-02-20 21:05:52.2402 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\clublist_user.txt and C:\Users\jay\AppData\Roaming\Log4OM2\clublist.txt
2024-02-20 21:05:52.2428 WARN: [FwFile][LoadFileAsList] : LoadFileAsList: No text file found
2024-02-20 21:05:52.2603 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\propagation_user.csv and C:\Users\jay\AppData\Roaming\Log4OM2\propagation.csv
2024-02-20 21:05:52.2624 WARN: [FwFile][LoadFileAsList] : LoadFileAsList: No text file found
2024-02-20 21:05:52.2624 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\antpath_user.csv and C:\Users\jay\AppData\Roaming\Log4OM2\antpath.csv
2024-02-20 21:05:52.2640 WARN: [FwFile][LoadFileAsList] : LoadFileAsList: No text file found
2024-02-20 21:05:52.2640 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\satellites_user.csv and C:\Users\jay\AppData\Roaming\Log4OM2\satellites.csv
2024-02-20 21:05:52.2921 WARN: [FwFile][LoadFileAsList] : LoadFileAsList: No text file found
2024-02-20 21:05:52.2934 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\satmodelist_user.txt and C:\Users\jay\AppData\Roaming\Log4OM2\satmodelist.txt
2024-02-20 21:05:52.2947 WARN: [FwFile][LoadFileAsList] : LoadFileAsList: No text file found
2024-02-20 21:24:45.8415 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\clublist_user.txt and C:\Users\jay\AppData\Roaming\Log4OM2\clublist.txt
2024-02-20 21:24:45.8443 WARN: [FwFile][LoadFileAsList] : LoadFileAsList: No text file found
2024-02-20 21:24:46.0001 WARN: [FwFile][ComposeFilename] : ComposeUserFilename [load]: User File not found in C:\Users\jay\AppData\Roaming\Log4OM2\clublist_user.txt and C:\Users\jay\AppData\Roaming\Log4OM2\clublist.txt
2024-02-20 21:24:46.0011 WARN: [FwFile][LoadFileAsList] : LoadFileAsList: No text file found
2024-02-20 21:24:46.0016 ERROR: [LOTWManagement][ReadLOTWStationData] : [EXCEPTION] Value cannot be null.
Parameter name: path2 System.ArgumentNullException: Value cannot be null.
Parameter name: path2
at System.IO.Path.Combine(String path1, String path2)
at L4ONG.BL.ExternalSources.LOTWManagement.ReadLOTWStationData(String dje_zRNN4FRZA_ejd)
User avatar
G4POP
Log4OM Alpha Team
Posts: 10817
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Log4OM will not initialize unless run as Administrator

Post by G4POP »

Uninstall Log4OM including deleting or renaming the C:\............\Appdata/roaming/LogOM2 folder

Temporarily turn of all firewalls and antivirus

Reinstal in the default directories using 'Run as an administrator' shouldnt really need to be run as an administrator and you can dispence with that once installed.

Once set up to your liking re-establish firewalls and antivirus making exceptions for Log4OM as neccessary
73 Terry G4POP
w9iyn
Novice Class
Posts: 5
Joined: 20 Feb 2024, 21:08

Re: Log4OM will not initialize unless run as Administrator

Post by w9iyn »

If you look at my post, I had already tried installing it in the default directory. I also tried removing that folder in Appdata s well - none of it made any difference at all.

The INSTALL RAN JUST FINE, with the normal warnings about unknown software and providing the admin password for the installer to run. There have not been any anti-virus alerts. It is when the application itself tries to run that I get this error. How would I know what exceptions to make? Turning of A/V to run a program is NOT something I am willing to do.

Exceptions I am willing to make, if I know what they need to be IN ADVANCE. If a program is a "bad actor", running it with my firewall and/or antivirus turned off would give it the "keys to the kingdom" and I am NOT willing to do that.

Why does it think it does not have internet access? What ports is it trying to communicate out on? THAT may be all that I need the answer to. Where does it get the country list from? Does it download it? Is it installed somewhere it can't find?

If the developer(s) or user(s) cannot provide an answer to these relatively simple questions, then I will move on to a different log program, guessing that this software has something dubious it is doing -- or very poorly written.
User avatar
G4POP
Log4OM Alpha Team
Posts: 10817
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Log4OM will not initialize unless run as Administrator

Post by G4POP »

I suggested turning off firewalls and antivirus to be sure that there was no blocking of the install, final choice is yours of course.

The country files are included with the download but can be refreshed from the settings/update resources menu

Try turning on Trace mode in the help/log level menu this may identify what is preventing the local internet access in the resulting log file.

We occassionally have someone experience local issues like this but 99% of our 40K plus users find the program works fine.

As for the program being badly written, I am sorry that you feel that way, but we have done our best to serve the ham radio community for the last 14 years and we are still here so perhaps were not all bad, we can however strongly reccomend DXLabs suite which is masterfully designed by Dave Bernstein AA6YQ.

Have a great evening, goodnight from the UK
73 Terry G4POP
w9iyn
Novice Class
Posts: 5
Joined: 20 Feb 2024, 21:08

Re: Log4OM will not initialize unless run as Administrator

Post by w9iyn »

As I mentioned before, and again, there were no errors flagged during the install, and I did run the installed application once, briefly, in administrator mode, and the problems did not occur. So the install worked fine.

How can I change the configuration in the help menu when the program won't even start properly, and won't let me save a configuration?

All I am asking is to be told HOW the program determines that it does, or does not, have internet access -- what exactly is it trying to do?

Update: (I got the main window at one point by cancelling the initialization, and tried settings/update resources to load the country file. It did not do anything. What kind of connection does it attempt to make to do that?)

73 JRJ W9IYN
User avatar
G4POP
Log4OM Alpha Team
Posts: 10817
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Log4OM will not initialize unless run as Administrator

Post by G4POP »

Comments from Lele.

"You have an incomplete installation of log4om as the main config files are not found.

If they're there the problem is windows that is preventing log4om accessing the folder.

I suggest to remove log4om and reinstall eventually without admin privileges. It works always that way"

Or perhaps you skipped completing the station information form at initial start up?
73 Terry G4POP
w9iyn
Novice Class
Posts: 5
Joined: 20 Feb 2024, 21:08

Re: Log4OM will not initialize unless run as Administrator

Post by w9iyn »

I did an uninstall, removed the C:\Users\jay\Appdata\Roaming\Log4OM directory (for the umpteenth time), and did a re-install (w/o selecting run as administrator when I ran the installer exe.) Made no difference at all.

I CAN'T complete the station setup, because the country list is EMPTY, so I can't complete the dialog and save a config.

But I *MIGHT* have spotted the issue. Windows (or perhaps Kaspersky A/V - would have to dig to find out) may have identified Log4OM as a "restricted application". The ACLs for the program directory (not the Appdata folder) have an entry for "RESTRICTED APPLICATIONS" that limits access - and also limits my access.

I am out of time for today, but tomorrow I'll try opening up the ACLs for the program directory (C:\Program Fiels (x86)\...etc...\ and see if that helps, though I thought I had already tried that.

73 W9IYN JRJ
User avatar
G4POP
Log4OM Alpha Team
Posts: 10817
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Log4OM will not initialize unless run as Administrator

Post by G4POP »

I *MIGHT* have spotted the issue. Windows (or perhaps Kaspersky A/V - would have to dig to find out) may have identified Log4OM as a "restricted application". The ACLs for the program directory (not the Appdata folder) have an entry for "RESTRICTED APPLICATIONS" that limits access - and also limits my access.
You rejected my suggestion to temporariliy disable antivirus and firewalls during installation in your earlier post but now it seems your having second thoughts!
73 Terry G4POP
w9iyn
Novice Class
Posts: 5
Joined: 20 Feb 2024, 21:08

Re: Log4OM will not initialize unless run as Administrator

Post by w9iyn »

No, NOT AT ALL. I am trying to actually troubleshoot the issue with focused tools, rather than a sledgehammer. It turns out that those two entries in the ACL are from Windows itself, as Group Policy objects, automatically generated, not from the antivirus software. The ACLs are INHERITED from C:\Program Files (x86), and are there universally (on all Windows 10 machines). I don't (yet) know how an application is classified as ALL APPLICATIONS or ALL RESTRICTED APPLICATIONS, but I don't think it matters.

NO WAY I am having second thoughts. This application that is having issues doing what would seem to be a simple thing, when none of the other applications I have installed on this machine (both ham related, and not) have had such problems. That makes me even MORE hesitant to turn of A/V or the firewall (and why the **** would it need to have the *firewall* turned off during installation - what is it trying to do on the network where that might help. Also, since the program does run OK when run in administrator mode, implies that the install itself was just FINE. Its some other kind of permissions / access issue.)

I recognize the suggestion to try turning off A/V and firewalls as the typical "boilerplate" suggestion as something support people often do. But I'd much rather someone look at the log, identify what the program is unhappy with, and then suggest a more precise action rather than hitting my computer over the head with a sledgehammer. Not going to do that - I would go with a different program first.

Looking at the ACL, it had Administrators as Full Access to folder IW3HMH, but only has read and execute access to ordinary users. So I tried giving users full control access to that installation folder and its sub-folders - and used the windows file explorer security tab to confirm "effective" access was full control. Unfortunately it made no difference. This makes it seem unlikely it is a file access issue. My *guess* is that it needs to download some stuff during first time initialization, and *that* is failing.

I would be helpful if someone could simply tell me how the program determines it does or does not have Internet access, and what ports it is trying to use for access to whatever it needs -- because that is clearly not getting the right answer. And does that mean that the thing can't do its first time initialization without internet access? It would seem so. The fact that running it as administrator works also tells me that it isn't an issue on my Linux based Internet firewall - it does not know or care what Windows user is running the program.

73 W9IYN JRJ
Post Reply