Posts

Showing posts from December, 2022

directadmin ssl

  Via SSH, change SSL=OFF to SSL=ON in the .conf file. If disabled for the user, change in file /usr/local/directadmin/data/users/USER/user.conf If disabled for the domain, change in file /usr/local/directadmin/data/users/USER/domains/DOMAIN.TLD.conf

wrong password on multi server directadmin

 first save > then test

How to configure WDS function on the MERCUSYS Wireless N Router?

  A Wireless Distribution System (WDS) is a system that enables the wireless interconnection of access points in an IEEE 802.11 network. It allows a wireless network to be expanded using multiple access points without the need for a wired backbone to link them, as is traditionally required. For more information about WDS, please refer to  Wikipedia . The instruction below is a solution for SOHO WDS connection. Note:   1. LAN IP of extended router should be different but in the same subnet of the root router; 2. The DHCP Server on extended router should be disabled; 3. WDS bridging only requires the WDS setting on either the root router or the extended router. go to advnaced > network > DHCP server > disable DHCP > to see wds

Flush the exim mail queue

 use exim -qff I have the exim mail server running on one of my customer’s webservers. Their internal mail server hadn’t been accepting mail overnight so they hadn’t got a whole bunch of important emails from the webserver and I needed to flush the exim mail queue. A quick read of the exim man page answered my question about how to do this and I thought I’d write a quick post to show how to flush the exim mail queue. Command to flush the exim queue There are two ways to flush the exim mail queue: runq or exim -q This will then process the mail queue. I had a look at the exim log file and the mail queue itself (I’ll be posting how to view what’s in the exim mail queue on Tuesday) after flushing the queue and the emails were still stuck there. Additional flags to force mail send Another quick look at the exim man page and I discovered the following options:   -qf  = If one f flag is present, a delivery attempt is forced for each non-frozen message, whereas without f only those non-frozen

how do i verify mysqld is running in safe mode or normal mode

mysql> SHOW VARIABLES LIKE "sql_safe_updates"; +------------------+-------+ | Variable_name    | Value | +------------------+-------+ | sql_safe_updates | OFF   | +------------------+-------+ 1 row in set (0.01 sec)

value missing from address for sent mail

 change name to something else

Migrate emails from Google GSuite to Zimbra

  Migrate individual email accounts Prepare Zimbra Server for email migrataion Login to your Administraton interface (By default port 7071, username admin) and go to Configuration -> Global Settings -> IMAP and enable "Enable clear text login." Change maximum size of upload file at Configuration -> Global Settings -> General Information with option "Maximum size of an uploaded file for Briefcase, Email messages, Calendar appointments and Tasks" to 25600 KB. This is required as Gmail might have emails of size 25MB which is not allowed by Zimbra by-default. Prepare G Suite for email migration In G Suite admin dashboard, Enable/Enforce access to less secure apps for all users by Admin console -> Security -> Basic settings. Select "Enforce access to less secure apps for all users" Install ImapSync on CentOS 7 Install EPEL repository yum install -y epel-release Install ImapSync yum install -y imapsync ImapSync test run to check whether passwor

configure gmail account in zimbra

 zimbrakirch Posts: 1 Joined: Sun Sep 23, 2018 8:57 pm Re: Configuring Gmail account Postby zimbrakirch » Sun Sep 23, 2018 9:35 pm You need to create a Google "App password" 1. Go to https://myaccount.google.com/security 2. Find this section on the page: Signing in to Google Password & sign-in method: Password 2-Step Verification App Passwords 3. Click on App passwords: https://myaccount.google.com/apppasswords 4. You'll be asked to log in to your Google Account again 5. Create a new "App Password" 6. Write down the new "App password" they give you (mine was 16 lowercase letters) 7. In the Zimbra Desktop configuration of your GMail account, use THIS new "App password" instead of your regular GMail password.

airtel fiber

Image
1st trick  bridge mode getting two different IPs  2nd trick you can use a load balancer two merge both speeds I load balance the bridge and original PPPoE OpenWrt router I have a TP-Link c6u (European version) 100mpps plan getting speed 260 Mbps 3rd first, connect with ipv6 then again create an ipv4 profile and connect Getting both ipv4 and ipv6  first, configure static IP and then configure ipv6 and don not configure static IP in multiple times Number of simultaneous PPPoE sessions Currently I am getting three separate public IPs through three simultaneous PPPoE sessions connected through three bridged ports of the  ONT . All sessions have individual maximum bandwidth of 40mbps (my plan speed). I think I can get one more public IP through the fourth port which I have kept aside in route mode for access to the ONT. However, I have not tried that for two reasons - 1) I don't need four IPs for my setup, 2) Don't want to draw unnecessary attention of Airtel's backend. Just out

dovecot imap ssl - not working connection to storage server failed

  ok i've got it. It was no firewall thing. Its an automatic installation of the kolab-premium-mail extension, which i dont want, but its automatic activated - strange. this article is the solution: Unable to log in to webmail with enabled Plesk Premium Email: Could not connect to localhost:143: Connection refused to check this, the netstat command give the right information Code: netstat -plutn | grep 143 tcp 0 0 127.0.0.1:9143 0.0.0.0:* LISTEN 6263/dovecot Code: netstat -plutn | grep 993 tcp 0 0 127.0.0.1:9993 0.0.0.0:* LISTEN 6263/dovecot removing the "Plesk Premium Email, powered by Kolab" extension via panel, dovecot works on the normal ports: Code: netstat -plutn | grep 993 tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 14523/dovecot

airtel nokia router wifi channel

 airtel nokia router  connect to specific wifi channel only through config <Channel dv="0" max="255" min="0" rw="RW" t="unsignedInt" v="36"></Channel> <AutoChannelEnable dv="true" rw="RW" t="boolean" v="False"></AutoChannelEnable> <PossibleChannels dv="" ml="1024" rw="R" t="string" v="36,40,44,48,52,56,60,64,149,153,157,161,165;36,40,44,48,52,56,60,64,149,153,157,161;36,40,44,48,52,56,60,64,149,153,157,161"></PossibleChannels>

db name too long

 GRANT USAGE ON *.* TO 'da_admin'@localhost IDENTIFIED BY '2Bwd2TeeBxx444'; GRANT ALL PRIVILEGES ON *.* TO 'da_admin'@localhost IDENTIFIED BY '2Bwd2TeeBxx444'; /usr/local/mysql/bin/mysql_upgrade --defaults-extra-file=/usr/local/directadmin/conf/my.cnf --skip-version-check Unable to add user tallysafe_db1. Access denied for user 'da_admin'@'localhost' to database 'tallysafe\_db1' GRANT ALL PRIVILEGES ON  *.* to 'da_admin'@'localhost' WITH GRANT OPTION;

Ghost CMS

 1.wrong nodejs detection was because of globally nodejs installation which was fixed after removing complete nodejs  2.mysql database root password should not be empty for setup 3. same site appearing for both domains fixed by adding proper nginx conf for the domain download ghost-cli from github webho8542@server:~/Ghost-CLI-main/bin$ pwd /home/webhostingcloud.in/Ghost-CLI-main/bin webho8542@server:~/Ghost-CLI-main/bin$ cd .. webho8542@server:~/Ghost-CLI-main$ ls bin  CHANGELOG.md  extensions  lib  LICENSE  node_modules  package.json  package-lock.json  README.md  renovate.json  SECURITY.md  test  yarn.lock webho8542@server:~/Ghost-CLI-main$ cd .. webho8542@server:~$ ls Ghost-CLI-main  logs  main.zip  public_html webho8542@server:~$ cd public_html/ webho8542@server:~/public_html$ ls webho8542@server:~/public_html$ /home/webhostingcloud.in/Ghost-CLI-main/bin/ghost install Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time. https://careers.ghost.org ✔ Checkin

Uninstall Cyberpanel

  There is no script to uninstall CyberPanel. You will have to remove individual technologies: # # remove openlitespeed systemctl stop lsws && apt-get remove openlitespeed || yum uninstall openlitespeed && rm -rf /usr/local/lsws # # remove power dns $ systemctl stop pdns && apt-get remove pdns-server pdns-backend-mysql || yum uninstall pdns pdns-backend-mysql # # remove pure-ftpd $ yum remove pure-ftpd || apt-get remove pure-ftpd # # remove firewalld $ service firewalld stop || systemctl stop firewalld && yum remove firewalld || apt-get remove firewalld # # remove modsecurity $ bash imav-deploy.sh --uninstall && yum -y remove imunify-antivirus* && yum erase mod_security # # remove imunify360 $ bash i360deploy.sh --uninstall && rm -rf /etc/sysconfig/imunify360/ && /usr/sbin/cagefsctl --force-update && /usr/sbin/cagefsctl --remount-all # # remove mariadb $ systemctl stop mysql && apt-get purg

enable php extension directadmin

 /etc/php/8.1/cli# in php.ini extension=sodium extension=mbstring extension=exif 

How to manage DKIM records on cPanel?

  You can easily enable DKIM on cPanel by going to Email Deliverability, located in the Email section: korb.co.in TXT _dmarc v=DMARC1; p=quarantine; sp=none; rua=mailto:Inkjet@korb.Co.in" DKIM TEXT default._domainkey v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqKWYi2dNLgmkWFrS+FY2MGgS4uornvAjwuggp4QLJ1SLBgNbK61T0y+3LRVidccJc6LhnTDU72AkIYGKDwdbZAL6n0FAtU4+Rw9ePmwZxYe8gelSoKlV77y2giKLIi3DF0WbXHiTvQg8c5vn0as4WXuzDrnIqmEpmy/JQY/4rbbyP0q18uxNhe72fR61dN3ZHCzGQ4tXY5h5Hv3NHjEjFon5stPQfGJwByBHT3Ngvi5BYwTQcRCpNAWwPPEoH9hSOkx1vCgZr7s9w3H5+Tbm1fyvQ443/2E8bKqChkHEV49iIIpRMU41mERBQUQgl+NqgEggpGjC8uaDSR+fpeBUtQIDAQAB;

Compile MariaDB errors occur (could not find GnuTLS, but it installed)

  Try installing   gnutls-dev   with the command: sudo apt - get install gnutls - dev

TypeError: Cannot read properties of null (reading 'map')

 > Build error occurred TypeError: Cannot read properties of null (reading 'map')     at getStaticPaths (/home/workdaytraining.top/public_html/stax-with-strapi/stax/build/server/pages/blog/[slug].js:165:24) check Api url is not running or working

x Identifier cannot follow number builder.init

 error - ./pages/bum2.js Error:   x Identifier cannot follow number     ,----  10 | builder.init(6c3ad97ad20b4f4aae6bb8729fb2378f);     :               ^     `---- Caused by:     0: failed to process input file     1: Syntax Error error - Error: Cannot find module '/home/workdaytraining.top/public_html/stax-with-strapi/stax/build/server/pages/bum2.js' put ''  10 | builder.init('6c3ad97ad20b4f4aae6bb8729fb2378f');

opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],

   opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],   library: 'digital envelope routines',   reason: 'unsupported',   code: 'ERR_OSSL_EVP_UNSUPPORTED' } Node.js v18.12.1 workd2674@vmi728455:~/public_html/tozi-api$ export NODE_OPTIONS=--openssl-legacy-provider workd2674@vmi728455:~/public_html/tozi-api$ npm run develop

NAT64 DNS

Image
nat64dns allows to access ipv4 websites also in only IPv6 IP internet  https://nat64.xyz/ 2602:fc23:18::7 2a01:4f8:c2c:123f::1

Postgreslq service active but stopped

  Postgreslq service active but stopped Use  sudo systemctl status 'postgresql*'  to see the status of all PostgreSQL services. root@server:~# sudo systemctl status 'postgresql*' ● postgresql@15-main.service - PostgreSQL Cluster 15-main      Loaded: loaded (/lib/systemd/system/postgresql@.service; enabled-runtime; vendor preset: enabled)      Active: failed (Result: exit-code) since Sat 2022-12-03 09:05:57 CET; 1h 32min ago     Process: 564654 ExecStart=/usr/bin/pg_ctlcluster --skip-systemctl-redirect 15-main start (code=exited, status=0/SUC>    Process: 574148 ExecStop=/usr/bin/pg_ctlcluster --skip-systemctl-redirect -m fast 15-main stop (code=exited, status>   Main PID: 564678 (code=exited, status=0/SUCCESS) Dec 03 09:05:57 server.cloudhostingus.com crontab[574088]: (postgres) LIST (postgres) Dec 03 09:05:57 server.cloudhostingus.com crontab[574091]: (postgres) LIST (postgres) Dec 03 09:05:57 server.cloudhostingus.com crontab[574094]: (postgres) LIST (postgres)

“Create new collection type” does not appear in production mode

 if you want to create then run strapi using : npm run develop not npm run start

change port for next-js

 vi package.json "scripts" : { "dev" : "next -p 8020" , "nuxt" : "next" , "build" : "next build" , "start" : "next start -p 8020" , { "scripts" : { "dev" : "nuxt" , "nuxt" : "nuxt" , "build" : "nuxt build" , "start" : "nuxt start -p 8020" , "generate" : "nuxt generate" , "build:local" : "cross-env-shell APP_ENV=local nuxt build" , "build:dev" : "cross-env-shell APP_ENV=dev nuxt build" , "build:prod" : "cross-env-shell APP_ENV=prod nuxt build" , "deploy:local" : "yarn build:local && pm2 startOrRestart pm2.local.config.js --env local" , "deploy:dev" :