This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS 7 Problems / Help Needed; Unable to download backup from centos server
« on: August 27, 2018, 04:25:17 PM »
i am getting repeated error like this
2018-08-27 16:03:23 (0.00 B/s) - Connection closed at byte 268419072. Retrying.
2% [+ ] 268,419,072 --.-K/s in 0s
2018-08-27 16:03:28 (0.00 B/s) - Connection closed at byte 268419072. Retrying.
file is 8 gb size
can download only 2%(268,419,072)
Keep Alive is on on the server
2018-08-27 16:03:23 (0.00 B/s) - Connection closed at byte 268419072. Retrying.
2% [+ ] 268,419,072 --.-K/s in 0s
2018-08-27 16:03:28 (0.00 B/s) - Connection closed at byte 268419072. Retrying.
file is 8 gb size
can download only 2%(268,419,072)
Keep Alive is on on the server
2
Apache / Change website directory
« on: June 22, 2018, 06:08:32 AM »
hi, i have 50 gb ssd as mail directory and 150gb as attachment. My all websites are hosted in the 50gb disk . i want to change directory of few websites to 150gb disk . so i transferred the files and changed apache config virtual host and nginx host file config
files i changed are
nginx host file and ssl file and apache host file ( changed root directory to- /mnt/data/vajiramandravi.tk)
# Virtual host file starts here
server {
listen 10.8.98.197:80;
access_log /var/log/nginx/access.vajiramandravi.tk.log;
error_log /var/log/nginx/error.vajiramandravi.tk.log;
server_name vajiramandravi.tk www.vajiramandravi.tk;
root /mnt/data/vajiramandravi.tk;
location / {
location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso|woff|ttf|svg|eot|sh)\$ {
expires 7d; #Comment this out if you are using the apache backend cache-control/expires headers.
try_files \$uri \@backend;
}
error_page 405 = \@backend;
error_page 500 = \@custom;
add_header X-Cache "HIT from Backend";
proxy_pass http://10.8.98.197:82;
include proxy.inc;
}
location \@backend {
internal;
proxy_pass http://10.8.98.197:82;
include proxy.inc;
}
location \@custom {
internal;
proxy_pass http://10.8.98.197:82;
include proxy.inc;
}
location ~ .*\.(php|jsp|cgi|pl|py)?\$ {
proxy_pass http://10.8.98.197:82;
include proxy.inc;
}
location ~ /\.ht {
deny all;
}
}
# Virtual host file ends here
# vhost_start vajiramandravi.tk
<VirtualHost 10.8.98.197:8181>
ServerName vajiramandravi.tk
ServerAlias www.vajiramandravi.tk
ServerAdmin webmaster@vajiramandravi.tk
DocumentRoot /mnt/data/vajiramandravi.tk
UseCanonicalName Off
ScriptAlias /cgi-bin/ /home/orthoboa/public_html/vajiramandravi.tk/cgi-bin/
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/orthoboa/vajiramandravi.tk/*.conf
<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled orthoboa
</IfModule>
<IfModule mod_suexec.c>
SuexecUserGroup orthoboa orthoboa
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup orthoboa orthoboa
suPHP_ConfigPath /home/orthoboa
</IfModule>
<Directory "/mnt/data/vajiramandravi.tk">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end vajiramandravi.tk
now i am getting an error- Internal Server Error
\\
i have restarted both services after making changes
also fixed permissions
Do i need to do anything else?
What all should be done to change website directory ?
thanks
files i changed are
nginx host file and ssl file and apache host file ( changed root directory to- /mnt/data/vajiramandravi.tk)
# Virtual host file starts here
server {
listen 10.8.98.197:80;
access_log /var/log/nginx/access.vajiramandravi.tk.log;
error_log /var/log/nginx/error.vajiramandravi.tk.log;
server_name vajiramandravi.tk www.vajiramandravi.tk;
root /mnt/data/vajiramandravi.tk;
location / {
location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso|woff|ttf|svg|eot|sh)\$ {
expires 7d; #Comment this out if you are using the apache backend cache-control/expires headers.
try_files \$uri \@backend;
}
error_page 405 = \@backend;
error_page 500 = \@custom;
add_header X-Cache "HIT from Backend";
proxy_pass http://10.8.98.197:82;
include proxy.inc;
}
location \@backend {
internal;
proxy_pass http://10.8.98.197:82;
include proxy.inc;
}
location \@custom {
internal;
proxy_pass http://10.8.98.197:82;
include proxy.inc;
}
location ~ .*\.(php|jsp|cgi|pl|py)?\$ {
proxy_pass http://10.8.98.197:82;
include proxy.inc;
}
location ~ /\.ht {
deny all;
}
}
# Virtual host file ends here
# vhost_start vajiramandravi.tk
<VirtualHost 10.8.98.197:8181>
ServerName vajiramandravi.tk
ServerAlias www.vajiramandravi.tk
ServerAdmin webmaster@vajiramandravi.tk
DocumentRoot /mnt/data/vajiramandravi.tk
UseCanonicalName Off
ScriptAlias /cgi-bin/ /home/orthoboa/public_html/vajiramandravi.tk/cgi-bin/
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/orthoboa/vajiramandravi.tk/*.conf
<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled orthoboa
</IfModule>
<IfModule mod_suexec.c>
SuexecUserGroup orthoboa orthoboa
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup orthoboa orthoboa
suPHP_ConfigPath /home/orthoboa
</IfModule>
<Directory "/mnt/data/vajiramandravi.tk">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end vajiramandravi.tk
now i am getting an error- Internal Server Error
\\
i have restarted both services after making changes
also fixed permissions
Do i need to do anything else?
What all should be done to change website directory ?
thanks
3
E-Mail / help needed setting up email server -
« on: June 11, 2018, 05:40:41 PM »
my public ip is different from server ip . CWP recognises private ip as server ip. hence reverse dns values of private ip are resolved instead of my public ip whose rdns is configured correctly . hence i am unable to setup mail server . any help is much appreciated
4
Migration from other control panels / CWP TO CWP - no files and databases migrated . user account details migrated
« on: June 04, 2018, 02:30:39 AM »
CWP TO CWP - no files and databases migrated . user account details migrated
can any one pls help
error log
2018-06-04 01:51:24
2018-06-04 01:51:25 start copy of mysql orthoboa
2018-06-04 01:51:25 Generating Database Backup
*****
2018-06-04 01:51:43 Copying Files orthoboa
2018-06-04 01:51:43 Successfully migrated account orthoboa
2018-06-04 01:51:43 Creating user and mysql permissions on the remote machine orthoboa
2018-06-04 01:51:44 Successfully migrated account orthoboa
2018-06-04 01:51:44 END
log files not showing any error
databases cant be seen in destination server . domain folder are generated but no files
can any one pls help
error log
2018-06-04 01:51:24
2018-06-04 01:51:25 start copy of mysql orthoboa
2018-06-04 01:51:25 Generating Database Backup
*****
2018-06-04 01:51:43 Copying Files orthoboa
2018-06-04 01:51:43 Successfully migrated account orthoboa
2018-06-04 01:51:43 Creating user and mysql permissions on the remote machine orthoboa
2018-06-04 01:51:44 Successfully migrated account orthoboa
2018-06-04 01:51:44 END
log files not showing any error
databases cant be seen in destination server . domain folder are generated but no files
Pages: [1]