Posts

adobe photoshop

 for glow effect use brush  opacity 20% hardness 0 then circle should be big to slowly small How do u paste in the same layer? You can't. Pasting will automatically happen in a new layer. What you could do is paste it, position the content where you want it, then select both layers in the layer palette and merge them (Ctrl-E on PC, Cmd-E on Mac). nah this dude nailed it ( drag it while holding alt)

nagios with php-fpm

/etc/httpd/conf vi httpd.conf IncludeOptional conf.d/*.conf [root@sm56 conf.d]# cat nagios.conf [root@sm56 conf.d]# cat nagios.conf # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER # # This file contains examples of entries that need # to be incorporated into your Apache web server # configuration file.  Customize the paths, etc. as # needed to fit your system. ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" <Directory "/usr/local/nagios/sbin"> <FilesMatch "\.(inc|php|phtml|phps)$">                         <IfVersion = /^2.4.6[012]$/>                                 ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "%{unescape:%{SCRIPT_FILENAME}}"                         </IfVersion>                         A...

roundcube webmail

 [Fri Feb 28 17:48:23.846025 2025] [proxy_fcgi:error] [pid 500474:tid 500676] [remote 59.144.167.12:57129] AH01071: Got error 'PHP message: PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /home/drushtiin/domains/drushti.in/public_html/webmail/functions/strings.php on line 557', referer: https://webmail.drushti.in/roundcube/ [root@sm56 html]# ll total 1068 -rw-r--r--.  1 root root      47 Feb 22 05:15 index.html -rw-r--r--   1 root root 1075759 Feb 26 13:40 named.txt lrwxrwxrwx.  1 root root      21 Feb 22 05:21 phpMyAdmin -> phpMyAdmin-5.2.2-oCp8 drwxr-xr-x. 14 root root    4096 Feb 26 19:31 phpMyAdmin-5.2.2-oCp8 -rwxr-xr-x.  1 root root      68 Feb 22 05:13 redirect.php lrwxrwxrwx   1 root root      19 Feb 27 19:15 roundcube -> roundcubemail-1.6.9 drwxrwxr-x. 13 root root    4096 Feb 27 19:15 roundcubemail...

php was not working

 chmod 755 /home/* permission issue php code was displaying instead of interpreting 

Internal Error - Failed to load databases list

  hi  @Abdhesh , when you receive internal server error, DA will log real error into the error log. You can check it with SSH access using commands: Last 200 log entries: Code: journalctl -u directadmin -n 200 Live log watching (use Ctrl+C to terminate): Code: journalctl -u directadmin -f mysql_upgrade -u da_admin -p --force this fixxxed the issue

ERROR 1050 (42S01) at line 59733: Table 'user' already exists

 MariaDB [mysql]> DROP TABLE IF EXISTS `mysql`.`global_priv`; Query OK, 0 rows affected (0.002 sec) MariaDB [mysql]> DROP VIEW IF EXISTS `mysql`.`user`; Query OK, 0 rows affected (0.001 sec) [root@sm56 src]# mysql -u da_admin -p --force < all-databases-20250225.sql Enter password: [root@sm56 src]#

chroot failed

 [mnt]         path = /mnt/         comment = An Example         auth users = root         secrets file = /etc/rsyncd.secrets         read only = no         uid = root         gid = root         use chroot = yes chroot like this won't work [mnt]         path = /mnt/data         comment = An Example         auth users = root         secrets file = /etc/rsyncd.secrets         read only = no         uid = root         gid = root         use chroot = yes path should be single directory or path not  subfolder