We upgraded our puppeteer to v97 and had a challenge with one application , the application show this error when i use the latest version. IDX21323: RequireNonce is ‘System.Boolean’. OpenIdConnectProtocolValidationContext.Nonce was null, OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce was not null. The nonce cannot be validated. If you don’t need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to ‘false’. Note if a ‘nonce’ is found it will be evaluated. It turned out Google chrome has a new flag to manage the cookies. it’s the “samesite” flag. I finaly fix by changing our chrome launch parameter, see the change i bold below: const browser = await puppeteer.launch({headless:false,ignoreHTTPSErrors: true,ignoreDefaultArgs: [“–disable-extensions”,”–enable-automation”], args:[‘–no-sandbox’,’load-extension=/config/chrome-ntlm-ext/’, ‘–disable-extensions-except=/config/chrome-ntlm-ext/’, ‘–disable-features=SameSiteByDefaultCookies’,Read More →

I have an old Mac Pro 2010. This machine does not have internet recovery. I replaced the hard drive, so i need a to boot from USB to start the installation. The process seems easily with the documentation from Apple: https://support.apple.com/en-us/HT201372 I followed the documentation, everything looks good no error. But when i press “Option” to select USB disk , my USB is not displayed, i tried with different working Mac OS, none of them show the USB as a bootable device. I finally found https://diskmakerx.com/ , it works perfectly.Read More →

Under each Splunk application there is a folder name d”README” … there are something behind it. It’s common sense that it’s just a documentation folder, it’s not critical, we can get rid of it. oh no, Splunk uses that folder to check the input parameters for your application. If you remove that folder, all your input modular will not work. Splunk does not show any error in the log. There are some files in this folder such as inputs.conf.spec. , Splunk read this file to know which script it should run when splunk starts. It took me 3 days to figure out this. one ofRead More →

When we upgraded to Splunk 8.2, this module is no longer working. Why ? Splunk 8.2 use python3 by default. This add-on is not compatible with python3 . How did we fix it? Logs ? it’s surprising that we don’t see any error in the log. After some research we found that: Splunk allows us to choose the python version by using the option python.version = python2 In our case we edit this file /opt/splunk/etc/apps/[our_emc_app_name]/default/inputs.conf as below Restart splunk will fix the issue. Note: Don’t change the python version at server.conf , if you change the version at server.conf , that version will apply toRead More →

When we connect to Oracle , beside the host/port , username/password , there is another important parameter is SID or Service_name . I’m not an Oracle expert but i think SID and Service_name , sometimes we are given a name but we are not sure if it’s SID or service_name This code below will use it as a SID: In the case below i believe a dns like this was created: dsn=cx_Oracle.makedsn(args.hostname, args.port, sevice_name=args.db_name) The code below will use it as an server_nameRead More →

www-data 4650 0.0 0.1 43428 4532 ? S 04:58 0:00 /usr/sbin/postdrop -r www-data 4855 0.0 0.1 43428 4528 ? S 05:02 0:00 /usr/sbin/postdrop -r www-data 6940 0.0 0.1 43428 4528 ? S 05:57 0:00 /usr/sbin/postdrop -r www-data 7251 0.0 0.1 43428 4528 ? S Nov09 0:00 /usr/sbin/postdrop -r www-data 14872 0.0 0.1 43428 4532 ? S 08:52 0:00 /usr/sbin/postdrop -r My challenge: I see a lot of error in apache error.log postdrop: warning: mail_queue_enter: create file maildrop/733089.31799: Permission denied postdrop: warning: mail_queue_enter: create file maildrop/240934.11141: Permission denied Let login as www-data: su -s /bin/bash /www Run it as www-data /usr/sbin/postdrop postdrop: warning: mail_queue_enter: create fileRead More →

We have some accounts such as postfix,apache .. these account has “nologin” shell, meaning you can’t sudo su – apache or “su – apache”. Sometimes we need to login to these account to run some commands to check some permission issues. The solution is: su -s /usr/bin/bash apache (as you can see in the command, we explicitly provide the shell instead of using the system default)Read More →