Search found 48 matches

by Elizine
Thu Oct 20, 2016 6:47 am
Forum: Web Server
Topic: How to automatically restart httpd when overloaded
Replies: 3
Views: 978

Re: How to automatically restart httpd when overloaded

Usually once httpd is stopped, the load drops down within 60/100 seconds so there is hardly anytime down time, but it does give you time to investigate where the issue is, especially if it happens all the time. To install, run the following in ssh and this will pull the file from my server over to y...
by Elizine
Wed Oct 12, 2016 5:03 am
Forum: Web Server
Topic: phpMyAdmin bug with nginx + php-fpm
Replies: 2
Views: 735

Re: phpMyAdmin bug with nginx + php-fpm

Check the ownership and permissions on this directory: ls -ld /var/lib/php/session Compare these to the user and group ID under which php-fpm is running. These will be found in the user = and group = declarations in PHP-FPM's pool configuration in /etc/php-fpm.conf or files in the /etc/php-fpm.d/ di...
by Elizine
Wed Oct 12, 2016 3:22 am
Forum: General Discussion
Topic: Possibilities to limit some resources?
Replies: 1
Views: 645

Re: Possibilities to limit some resources?

You can limit hdd disk (quota) and bandwidth, but there is no limits for memory and cpu (yet, may be this will be in paid version - reseller module, dunno). You can try limit users with limits.conf or scripts like cpulimit, but I think it's not good idea.
by Elizine
Mon Sep 19, 2016 11:17 am
Forum: General Discussion
Topic: Problem with network after installed vestacp.
Replies: 1
Views: 767

Re: Problem with network after installed vestacp.

1. Ensure the nameserver IPs in /etc/resolv.conf file are pinging from your machine. 2. If not try using a reliable name server like the Google's 8.8.8.8 and 8.8.4.4. 3. Try putting the nameserver IP found in resolv.conf in your /etc/network/interfaces file as nameserver <IP of the DNS server> and r...
by Elizine
Fri Sep 09, 2016 7:34 am
Forum: General Discussion
Topic: Restoring Multiple acccounts Topic is solved
Replies: 1
Views: 1264

Re: Restoring Multiple acccounts Topic is solved

You can create a bash script something like this: #!/bin/bash DATE=$(date +%F) FILES=$(find /home/backup -name "*$DATE.tar") for f in $FILES do FILE=$(basename $f) USER=$(echo $FILE | cut -f1 -d".") echo "v-restore-user $USER $FILE" #v-restore-user $USER $FILE done exit...
by Elizine
Thu Sep 08, 2016 10:47 am
Forum: FTP Server
Topic: ProFTPD cannot create directory
Replies: 1
Views: 1324

Re: ProFTPD cannot create directory

Add the commands XRMD and XMKD to those allowed by the user. They are described as X-Variants of the commands RMD and MKD and are apparently "often missing from a thorough configuration" according to http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-Limit.html So perhaps some...
by Elizine
Thu Sep 08, 2016 6:09 am
Forum: General Discussion
Topic: Problem with v-onsuspend-user
Replies: 3
Views: 658

Re: Problem with v-onsuspend-user

Check for the password if it's correct or maybe too long.
by Elizine
Tue Aug 16, 2016 11:06 am
Forum: Web Server
Topic: How to add permissions to webroot
Replies: 1
Views: 750

Re: How to add permissions to webroot

sudo chown -R :www-data /var/www # make sure the folder is owned by group www-data sudo chmod g+w /var/www # grant write permission to group www-data on /var/www sudo adduser NEWUSER www-data # add NEWUSER to group www-data with write permissions in /var/www Make sure any new folders you create ins...
by Elizine
Tue Aug 09, 2016 11:29 am
Forum: Web Server
Topic: Domain redirect to ip: port
Replies: 1
Views: 831

Re: Domain redirect to ip: port

Try using mod_proxy - <VirtualHost *:80> ServerAdmin me@mydomain.com ServerName dev.mydomain.com ProxyPreserveHost On # setup the proxy <Proxy *> Order allow,deny Allow from all </Proxy> ProxyPass / http://localhost:8888/ ProxyPassReverse / http://localhost:8888/ </VirtualHost>
by Elizine
Tue Aug 09, 2016 11:25 am
Forum: Web Server
Topic: nginx 500 internal server error
Replies: 3
Views: 1284

Re: nginx 500 internal server error

Remove the line where you are assigning a different log file so he uses the standard one at /var/log/nginx/error.log Also the socket thing is a recommendation and some people can recommend you to use tcp, but still should not be related to your error if you phpinfo.php is working. Does this Yii requ...

Go to advanced search