
KrasniyRus
- Total activity 25
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 5
Activity overview
Latest activity by KrasniyRus-
KrasniyRus created a post,
Hiding JSON output
Yes, this is correct! @not displayed in the console output? According to the cPanel UAPI docs at: I have tried to hide the information but nothing worked. Once again any help will be highly a...
-
KrasniyRus commented,
It occur that the following piece of code: --user="$i" Is not needed when the database is created via user. The cPanel support assist with this and now the script works properly! Thank you!
-
KrasniyRus commented,
Hello Michael, Hello, Could you let us know the contents of the /etc/sudoers file on this system? Thank you. Yes, of course! The content of the file in question is: root@xxx [~]# cat /etc/sudo...
-
KrasniyRus commented,
Hey, I have actually reviewed the following documentation: CloudLinux Documentation However the script is not executing if, I wrap the whole code inside "/bin/su - $USERNAME -c" per their docume...
-
KrasniyRus commented,
Another problem occur! When the script is executed as root the same works perfectly. However I have created a shortcut of the script at: /usr/local/sbin/ and named the script db, so it can be tri...
-
KrasniyRus commented,
Hey, I have reviewed the script more and it occur that the variable i from the for loop is not transferred to the code below. I have simply moved the "done" part of the for loop in the end of the s...
-
KrasniyRus commented,
Hey 24x7server, Thank you for the advice, I have double checked the whole script and noticed a vital mistake: uapi --user="$1" --output=json Mysql create_database name="$db" uapi --user="$1" --ou...
-
KrasniyRus created a post,
Creating database from shell script
Hello, I am trying to create database, user and grant all privileges to the user over the database from command line via Shell script, my script code is below: #!/bin/bash for i in `stat -c "%U"...
-
KrasniyRus commented,
It occur that the missing Apache module_version is missing, I have installed the same via next command: yum install ea-apache24-mod_version And the issue is resolved.
-
KrasniyRus created a post,
Invalid command magento error
Hello, I have installed Magento 2.2.2 version via Softaculous and instantly when the website is accessed "Internal Server Error" message occur. I have checked the Apache error log and noticed the ...