terminal – How do I reset the $PATH on macOS High Sierra?

I am running into issues when I try running programs from the Terminal window and previously had troubles downloading python packages too.

When I type echo $PATH in Terminal I get:

enter image description here

It’s very messy and I first downloaded anaconda navigator to code before downloading IDLE. I can run code with downloaded packages perfectly fine on Jupyter Notebook.

enter image description here

Can I reset my $PATH to get something like the example above so everything can work fine?

macbook pro – Can’t find AirpPlay on macOS High Sierra

I have a mid 2010 MacBook Pro with macOS High Sierra 10.13.6 installed.

I have just found out that my Smart LG TV with webOS has AirPlay incorporated so, I would like to mirror my MacBook Pro screen on my TV.

However I can’t find AirPlay on my MacBook. Already searched for some solutions on Google but the only option that I found was to go to Screen Settings on System Preferences and turn on “Show mirroring options in the menu bar when available” which it is. However the AirPlay icon doesn’t appear in the Menu Bar.

Does anyone know how to solve this? Is my MacBook too old to support AirPlay?

macos – Mysql 8 for mac OS high Sierra 10.13.6 error : Access denied for user ‘root’@’localhost’

After installing Mysql server I have problem accessing mysql> prompt due to restrictions on root user
Here are the steps

  1. Mysql installation for mac OS

view img installation

  1. Enter password

view img installation password

  1. The installation went well, the server is started

view img consol Mysql on mac

  1. when you want to know the version of mysql and check that it works, an error message is displayed

bash-3.2# mysql -v

ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)

More, the server can no longer stop even by clicking on stop MySQL server

Even forcing the stop, it doesn’t work :

bash-3.2# mysqladmin -u root -p shutdown

Enter password:
mysqladmin: connect to server at ‘localhost’ failed
error: ‘Access denied for user ‘root’@’localhost’ (using password: YES)’

I went to visit the result pages but the solutions are not satisfactory. I always fall back on the same problem

Thanks for your help

high sierra – Apps downloaded from Mac App Store won’t start due to invalid signature

I’m currently trying to resurrect my 2010 MacBook Pro 15″ while my 2015 is away for repairs. The latest it can run is macOS 10.13.6.

After installing all the latest OS updates and security patches, I’m facing a strange issue: every app that I’ve installed from the App Store fails to start due to a signing error. Sometimes they also crash on startup, rather than just failing to start.

Uninstalling and reinstalling the apps doesn’t help. Apps installed from outside the app store, whether signed or not, work fine. In Security & Privacy system settings, “Allow apps installed from” is set to “Anywhere”.

Any idea why this would be happening, and how to fix it?

Sample Console output:

default 20:31:42.893857 +0000   kernel  mac_vnode_check_signature: /Applications/Yoink.app/Contents/MacOS/Yoink: code signature validation failed fatally: When validating /Applications/Yoink.app/Contents/MacOS/Yoink:
  Code has restricted entitlements, but the validation of its code signature failed.
Unsatisfied Entitlements:
default 20:31:42.893940 +0000   kernel  proc 6823: load code signature error 4 for file "Yoink"
default 20:31:42.893734 +0000   amfid   /Applications/Yoink.app/Contents/MacOS/Yoink signature not valid: -2147409652

Sample Crash Reporter output:

Process:               Pages (7034)
Path:                  /Applications/Pages.app/Contents/MacOS/Pages
Identifier:            com.apple.iWork.Pages
Version:               ???
Build Info:            Pages-5249000000000000~2
Code Type:             X86-64 (Native)
Parent Process:        ??? (1)
Responsible:           Pages (7034)
User ID:               115949

PlugIn Path:             (null)
PlugIn Identifier:       (null)
PlugIn Version:          ??? (551.5)

Date/Time:             2020-11-29 20:37:42.495 +0000
OS Version:            Mac OS X 10.13.6 (17G14042)
Report Version:        12
Anonymous UUID:        277B67CC-4E89-F7CC-FA7F-AE59417A41CC

Sleep/Wake UUID:       E63C0512-2451-43AF-8BF3-4227F90C05E0

Time Awake Since Boot: 9800 seconds
Time Since Wake:       480 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (Code Signature Invalid)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace CODESIGNING, Code 0x1

kernel messages:

VM Regions Near 0 (cr2):
    __TEXT                 0000000101167000-00000001051ed000 ( 64.5M) r-x/rwx SM=COW  > ()

Thread 0 Crashed:
0   ???                             0x0000000110be119c _dyld_start + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ffeeea98bf0
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x0000000110be119c  rfl: 0x0000000000000200  cr2: 0x0000000000000000
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0

Binary Images:
       0x101167000 -        0x1051ecff7 +??? (5249) <6DBF698C-C948-37A9-8ADF-CCDB742CD3AB> (null)
       0x110be0000 -        0x110c2aadf +??? (551.5) <CB9BFB56-4511-36F1-A546-891FF770C01C> (null)

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 7743
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=66.6M resident=0K(0%) swapped_out_or_unallocated=66.6M(100%)
Writable regions: Total=8848K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8848K(100%)
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        2 
Stack                             8192K        2 
__DATA                            13.6M        5 
__LINKEDIT                        1808K        4 
__TEXT                            64.8M        3 
shared memory                        8K        3 
===========                     =======  ======= 
TOTAL                            144.2M       13 

Model: MacBookPro6,2, BootROM, 2 processors, Intel Core i5, 2.53 GHz, 8 GB, SMC 1.58f17
Graphics: Intel HD Graphics, Intel HD Graphics, Built-In
Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x802C, 0x31364A53463531323634485A2D3147314431
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x802C, 0x31364A53463531323634485A2D3147314431
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (
Bluetooth: Version 6.0.7f22, 3 services, 27 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: Crucial_CT512M550SSD1, 512.11 GB
Serial ATA Device: MATSHITADVD-R   UJ-898
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Internal Memory Card Reader
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM2070 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: IR Receiver
USB Device: Built-in iSight
Thunderbolt Bus: 

macos – Internal SSD seen by Mojave Installer but not El Capitan or Sierra installers

The internal SSD is formatted to JHFS+ with the Mojave Installer disk utility. Previously, it had Mojave and later Catalina installed on it without a problem

Neither the El Capitan or Sierra installers see the internal SSD. Ditto for El Capitan Disk Utility and diskutil, El Capitan recovery mode diskutil. They simply don’t list any internal drive at all.

The Mojave installer continues to see the SSD that the others don’t. How to fix?



MacBook Air (13-inch, Early 2014) Model Identifier: MacBookAir6,2 8GB Ram

SSD: Sintech adapter card: https://www.amazon.com/dp/B01CWWAENG?ref_=pe_2640190_368227370_DDT_E_DDE_dt_1

XPG SX8200 Pro (2TB) https://www.amazon.com/XPG-SX8200-Gen3x4-3000MB-ASX8200PNP-2TT-C/dp/B07TY2TN64/ref=sr_1_2?crid=2CZKWWSKOGLJ4&dchild=1&keywords=xpg+sx8200+pro+2tb&qid=1606598480&s=electronics&sprefix=XPG+SX8200+Pro%2Celectronics%2C337&sr=1-2

high sierra – Where is opendirectory/accounts/login information stored on macos

I have encountered this problem of slow login (How can I debug an extremely slow login?), and have not found a solution. However, this phenomenon does not exist if I boot up into a fresh system. Since I have a backup of the system sometime ago that was working, I think that if I copy all the system files from that backup over, and then reinstall the system, the issue should be resolved. However, I don’t want to copy all system files, because some of them can be outdated, some of them can be databases that are regularly updated, etc. Hence, I wonder if I can just copy over the opendirectory folders over and see if things get better (I have backups so I’m not afraid of breaking the system), but I don’t know where is that information stored on disk. Where is the data files stored for opendirectory?

How to dual boot (Catalina – High Sierra) from a iMac 2020, 27″, T2?

Your sticking point is actually much simpler than that.

No Mac can boot to an OS older than itself.

There’s the occasional edge-case when a new Mac is released right on the cusp of a new OS, but otherwise, it’s simply not possible. There are no drivers for the hardware in the older OS, as the hardware hadn’t been invented yet, so Apple stops you from even trying.

Your only solution would be to run High Sierra in a Virtual Machine.

hard drive – High Sierra Install but Disk is Locked

I was up all night trying to install Sierra and it would almost complete and give me an error. I deleted the disk and spent another 3 hours trying to install Sierra and it wouldn’t do anything.

I wake up this morning and it looks like it’s going to install and the disk is locked. I don’t know how this happened. And through all this mess I had deleted the disk image from disk utility.

Now there it isn’t letting me do anything to the disk, I can’t erase or partition it. Does anyone know what I need to do?

high sierra – Spotlight not working properly – only shows new items

I have a MBP (2011) running High Sierra on an internal 2TB SSD. Lots of files, and spotlight worked fine for almost 10 years. Out of sudden, spotlight only listed a few results, it seemed that the index was not working any more.

So – in spotlight privacy tab, I added my local harddrive, and removed it from the list after reboot. Somehow there was indexing happening (but from the beginning the indexing status bar in spotlight was blue 100%). After some while the indexing was done, but – spotlight only showed new items (from today) in my harddrive. No apps, no old files, nothing.

So I stopped indexing with mdutil, wiped out the .Spotlight-VT100 directory in root, activated again and machine started indexing again. Also here the indexing status bar showed 100% from the beginning – very strange. Result: Spotlight directory is growing (after 24h it has nearly 20GB, which seems OK), but only new items are showing up in the search results.

I’m really clueless whats going on. I need a working spotlight on my machine.

What I tried:

  • Adding and removing local harddrive from spotlight privacy tab
  • mdutil -E
  • turn indexing off, removing /.Spotlight-VT100 directory, turn indexing on again
  • List item
  • launchctl unload / load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

So – Spotlight is working, indexing, but only shows results for items newer than index creation time. Whats going on? How to track down this issue?

Thanks for your help.
Mit freundlichen Grüßen

terminal – comando pkgutil –expand não tá sendo reconhecido no high sierra

Estou tentando instalar o imovie no mac via terminal pq via loja não dá pois minha versão é 10.13.6 high sierra e o comando pkgutil –expand não tá sendo reconhecido. o Caminho que estou fazendo é pkgutil –expand/Volumes/iMovie 9.0.9/iMovie9.0.9Update.pkg /Users/gibiavictor/Desktop/Imovie/Imovie

e o resultado: pkgutil: unrecognized option `–expand/Volumes/iMovie 9.0.9/iMovie9.0.9Update.pkg’

Será possível ter alterado a lista de comandos numa formatação?