vCenter 7: Catalina Logs filing up, tomcat-users.xml missing?

We were receiving errors on our vCenter servers that the log disk is getting low on disk space. According to VMWare KBs we checked what is consuming space. We found espiecially a lot of log files named “catalina_(DATE).log” with 11mb size, going back almost a year.

I checked the content of the log, and every 10 minutes it creates the same error message:

2021-04-12T23:59:53.056Z WARN org.apache.catalina.users.MemoryUserDatabase Failed to close (conf/tomcat-users.xml)
java.io.FileNotFoundException: /usr/lib/vmware-sso/vmware-sts/conf/tomcat-users.xml (No such file or directory)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:93)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
    at org.apache.catalina.users.MemoryUserDatabase.backgroundProcess(MemoryUserDatabase.java:700)
    at org.apache.catalina.realm.UserDatabaseRealm.backgroundProcess(UserDatabaseRealm.java:160)
    at org.apache.catalina.realm.CombinedRealm.backgroundProcess(CombinedRealm.java:308)
    at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1145)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1381)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1353)
    at java.lang.Thread.run(Thread.java:748)

Veeam simply tells me to delete the files and to enlarge my log disk, which I did. But it still bugged me what is going on, and so far I did not find anthing in the web related to vCenter.

Anyone has an idea what is going on here, and how to resolve this error? I know that there are many ways to ignore it, and maybe it is safe to ignore it, but I only want to know if the error itself can be fixed.

xcode – Installing cocoapods to macOS Catalina

In my mac mini I’ve running Catalina 10.15.7. I’ve also installed Xcode 12.4. Now as I’m using third party library I’m trying to install cocoapods in my mac.
So I used this –

sudo gem install cocoapods

which I got from official website.

But I’m getting this –

Password:
Fetching concurrent-ruby-1.1.8.gem
Fetching fuzzy_match-2.0.4.gem
Fetching i18n-1.8.10.gem
Fetching thread_safe-0.3.6.gem
Fetching tzinfo-1.2.9.gem
Fetching activesupport-5.2.5.gem
Fetching nap-1.1.0.gem
Fetching httpclient-2.8.3.gem
Fetching algoliasearch-1.27.5.gem
Fetching ffi-1.15.0.gem
Fetching ethon-0.12.0.gem
Fetching typhoeus-1.4.0.gem
Fetching netrc-0.11.0.gem
Fetching public_suffix-4.0.6.gem
Fetching addressable-2.7.0.gem
Fetching cocoapods-core-1.10.1.gem
Fetching claide-1.0.3.gem
Fetching cocoapods-deintegrate-1.0.4.gem
Fetching cocoapods-downloader-1.4.0.gem
Fetching cocoapods-plugins-1.0.0.gem
Fetching cocoapods-search-1.0.0.gem
Fetching cocoapods-trunk-1.5.0.gem
Fetching cocoapods-try-1.2.0.gem
Fetching molinillo-0.6.6.gem
Fetching atomos-0.1.3.gem
Fetching colored2-3.1.2.gem
Fetching nanaimo-0.3.0.gem
Fetching xcodeproj-1.19.0.gem
Fetching escape-0.0.4.gem
Fetching fourflusher-2.3.1.gem
Fetching gh_inspector-1.1.3.gem
Fetching ruby-macho-1.4.0.gem
Fetching cocoapods-1.10.1.gem
Successfully installed concurrent-ruby-1.1.8
Successfully installed i18n-1.8.10
Successfully installed thread_safe-0.3.6
Successfully installed tzinfo-1.2.9
Successfully installed activesupport-5.2.5
Successfully installed nap-1.1.0
Successfully installed fuzzy_match-2.0.4
Successfully installed httpclient-2.8.3
A new major version is available for Algolia! Please now use the https://rubygems.org/gems/algolia gem to get the latest features.
Successfully installed algoliasearch-1.27.5
Building native extensions. This could take a while...
ERROR:  Error installing cocoapods: 
        ERROR: Failed to build gem native extension.

current directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/ext/ffi_c/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r ./siteconf20210406-1384-1vtmk4p.rb extconf.rb
checking for ffi.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers.  Check the mkmf.log file for more details.  You may need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/$(RUBY_BASE_NAME)
    --with-ffi_c-dir
    --without-ffi_c-dir
    --with-ffi_c-include
    --without-ffi_c-include=${ffi_c-dir}/include
    --with-ffi_c-lib
    --without-ffi_c-lib=${ffi_c-dir}/lib
    --enable-system-libffi
    --disable-system-libffi
    --with-libffi-config
    --without-libffi-config
    --with-pkg-config
    --without-pkg-config
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:467:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:585:in `block in try_compile'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:534:in `with_werror'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:585:in `try_compile'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1109:in `block in have_header'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:959:in `block in checking_for'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block (2 levels) in postpone'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in `open'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block in postpone'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in `open'
    from 
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:357:in `postpone'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:958:in `checking_for'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1108:in `have_header'
from extconf.rb:10:in `system_libffi_usable?'
from extconf.rb:42:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

/Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/ffi-1.15.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0 for inspection.
Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/ffi-1.15.0/gem_make.out

I’ve seen this question but my ruby version is –

ruby 2.6.3p62 (2019-04-16 revision 67580) (universal.x86_64-darwin19)

I’ve also take a look in this but could not able to solve the problem.

Edit:
I’ve used this –

xcode-select --install

but got –
xcode-select: error: command line tools are already installed, use “Software Update” to install updates

So, Is there any ruby dependency I’ve to install first or I just missed something?

printing – “Add printer” (from network) fails silently (Catalina 10.15.7 (19H2))

When going through the usual steps, my network printer shows up via Bonjour Sharing, but when I double click it and it shows a progress bar, it completes but the list is still empty.

It’s an HP office jet 3830. What’s strange is when I add the device’s “Fax” driver, it works fine. Just the printer doesn’t work.

What could be wrong?

(it looks like the same issue as this which no one responded to: Install remote printer fails)

pc – Is there a PowerPC emulator for Catalina?

Mid-2012 MacBook Pro. Currently running SheepShaver 2.4 to enable using an old, old (1990) double entry accounting program called Business Sense 2.3. I’ve never found anything that comes close to its simplicity and ease of use; but I’m stuck in High Sierra because there seems to be no emulator that runs in anything higher. Also still occasionally use Adobe Creative Suite CS6, which I purchased, and really don’t want to pay for a subscription based version. So, an additional question would be is there a 32-bit emulator for Catalina.

terminal – macOS Catalina does not allow incoming connections from local network. Firewall is down

I starting facing this issue some days ago. Even when the firewall is down, I can’t reach my mac from my local network. Ping is not responding neither. Some test I’ve done:

From my console

nrossi@~$ netstat -an | grep 8080                                              
tcp46      0      0  *.8080                 *.*                    LISTEN 

nrossi@~$ sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
Firewall is disabled. (State = 0)

nrossi@~$ ifconfig | grep "inet " | grep -Fv 127.0.0.1 | awk '{print $2}' 
10.1.2.123

nrossi@~$ curl -I 10.1.2.123:8080                                              
HTTP/1.1 200 
Content-Type: text/html;charset=UTF-8
Transfer-Encoding: chunked
Date: Thu, 18 Mar 2021 13:06:46 GMT

From other computers

nrossi@~$ curl -I 10.1.2.123:8080
curl: (7) Failed to connect to 10.1.2.123 port 8080: Operation timed out

nrossi@~$ ping 10.1.2.123
PING 10.1.2.123 (10.1.2.123): 56 data bytes
Request timeout for icmp_seq 0

Any help ?

Certain apps on Mac OS Big Sur crash after upgrading from Catalina

After upgrading from Mac OS 10.15.x (Catalina), certain apps and audio plugins suddenly started crashing with memory allocation errors. Reinstalling the OS did nothing and my searches on the Internet didn’t seem to bring up anything useful. These crashes do not occur on other machines running Big Sur, only this particular one.
Below is a snippet of the log which shows the crashing thread. Interestingly enough, in all of the crashlogs, the libsystem_malloc.dylib, libsystem_c.dylib, libsystem_pthread.dylib, com.apple.quartzcore are mentioned.
I am at a loss what to do and where to look next.
Thanks for any help!

From Emacs 27.0.1 crashlog:

Thread 13 Crashed:
0   libsystem_kernel.dylib          0x00007fff20309002 __sigsuspend + 10
1   Emacs-x86_64-10_14              0x00000001003758a8 deliver_thread_signal + 120
2   Emacs-x86_64-10_14              0x0000000100374309 deliver_fatal_thread_signal + 9
3   libsystem_platform.dylib        0x00007fff2035fd7d _sigtramp + 29
4   ???                             0x403c000000000000 0 + 4628574517030027264
5   libsystem_c.dylib               0x00007fff2026e72f abort + 135
6   libsystem_malloc.dylib          0x00007fff2014f430 malloc_vreport + 548
7   libsystem_malloc.dylib          0x00007fff201524c8 malloc_report + 151
8   Emacs-x86_64-10_14              0x00000001002d4590 draw_glyphs + 16048
9   Emacs-x86_64-10_14              0x00000001002f447a expose_line + 666
10  Emacs-x86_64-10_14              0x00000001002dc37f expose_window + 1263
11  Emacs-x86_64-10_14              0x00000001002dbe5b expose_window_tree + 139
12  Emacs-x86_64-10_14              0x00000001002dbcd1 expose_frame + 113
13  Emacs-x86_64-10_14              0x000000010047e6e5 -(EmacsView drawRect:) + 133
14  com.apple.AppKit                0x00007fff22da1a13 _NSViewDrawRect + 139
15  com.apple.AppKit                0x00007fff234cd366 -(NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:) + 2115
16  com.apple.AppKit                0x00007fff22da1039 -(NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:) + 967
17  com.apple.QuartzCore            0x00007fff26bcff81 CABackingStoreUpdate_ + 190
18  com.apple.QuartzCore            0x00007fff26c35141 invocation function for block in CA::Layer::display_() + 53
19  com.apple.QuartzCore            0x00007fff26bcf4c4 -(CALayer _display) + 2183
20  com.apple.AppKit                0x00007fff22da0bb1 -(_NSBackingLayer display) + 475
21  com.apple.AppKit                0x00007fff22d0c0f5 -(_NSViewBackingLayer display) + 555
22  com.apple.QuartzCore            0x00007fff26bce4c8 CA::Layer::display_if_needed(CA::Transaction*) + 874
23  com.apple.QuartzCore            0x00007fff26d0e5fb CA::Context::commit_transaction(CA::Transaction*, double, double*) + 517
24  com.apple.QuartzCore            0x00007fff26bafe95 CA::Transaction::commit() + 783
25  com.apple.QuartzCore            0x00007fff26bcc046 CA::Transaction::release_thread(void*) + 206
26  libsystem_pthread.dylib         0x00007fff203199b8 _pthread_tsd_cleanup + 487
27  libsystem_pthread.dylib         0x00007fff2031bf99 _pthread_exit + 70
28  libsystem_pthread.dylib         0x00007fff2031b95b _pthread_start + 235
29  libsystem_pthread.dylib         0x00007fff2031747b thread_start + 15

Thread 13 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000004  rbx: 0x0000000100915e80  rcx: 0x000070000f7cff98  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000004  rbp: 0x000070000f7cffb0  rsp: 0x000070000f7cff98
   r8: 0x0000000000000000   r9: 0xe1b13abaab36786c  r10: 0x00007fff202ed462  r11: 0x0000000000000202
  r12: 0xe1b13abaab36786c  r13: 0x0000000000000050  r14: 0x000070000f7d0528  r15: 0x0000000000000006
  rip: 0x00007fff20309002  rfl: 0x0000000000000203  cr2: 0x00000001073b0000
  
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133

Unable to build Bitcoin on Mac Catalina

I keep getting this error message after running ‘make’ or ‘make check’:

Making check in src
  CXXLD    bitcoind
Undefined symbols for architecture x86_64:
  "__ZN2Db6verifyEPKcS1_PSoj", referenced from:
      __ZN16BerkeleyDatabase6VerifyER13bilingual_str in libbitcoin_wallet.a(libbitcoin_wallet_a-bdb.o)
  "__ZN5boost10filesystem4path5imbueERKSt6locale", referenced from:
      __Z16SetupEnvironmentv in libbitcoin_util.a(libbitcoin_util_a-system.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make(2): *** (bitcoind) Error 1
make(1): *** (check-recursive) Error 1
make: *** (check-recursive) Error 1

Any ideas on how to fix it?

programming – RLink fails in Mathematica 12.2.0 Mac OS Catalina

Thanks for contributing an answer to Mathematica Stack Exchange!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.

To learn more, see our tips on writing great answers.