Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
0
answers
32
views
On Plesk Obsidian 18 - How to update PHP open_basedir and/or httpd.conf server wide?
We have moved a server over from CentOS (finally) to Alma Linux, part of this move is going from WHM to Plesk. The server hosts around 50 websites. I have a lot of misgivings about Plesk, but regardless of that, there is a critical issue I can't resolve and would like to know how: We have a bunch of...
We have moved a server over from CentOS (finally) to Alma Linux, part of this move is going from WHM to Plesk. The server hosts around 50 websites.
I have a lot of misgivings about Plesk, but regardless of that, there is a critical issue I can't resolve and would like to know how:
We have a bunch of common PHP classes that are used server wide across many domains and accounts. To this end the classes are stored outside the account/domain scope; typically in
/usr/local/lib/php/
But, on Plesk, none of these are working, because according to the PHP error log:
[15-Apr-2025 12:01:42 Europe/London] PHP Warning: include(): Failed opening 'class.file.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/vhosts/website.co.uk/public_html/index.php on line 2
[15-Apr-2025 12:01:42 Europe/London] PHP Fatal error: Uncaught Error: Class "ClassName" not found in /var/www/vhosts/website.co.uk/public_html/index.php:6
This above error was caused by the
open_basedir
not also containing the same folder.
However, the PHP.ini file (edited via Plesk interface) correctly sets:
include_path = ".:/usr/local/lib/php"
...
open_basedir = /var/www/vhosts/website.co.uk/:/tmp/:/usr/local/lib/php/
Yet despite the restarts the phpInfo()
for the domain still fails to show changes to permit access to the required directory.
Digging into this it appears that I may need to update the httpd.conf
file in Apache to permit the non-default open_basedir=
server wide .
So:
1) How could I set Plesk to permit a certain folder on the server to be accessible to all accounts?
2) How do I customise open_basedir
and include_path
for across ALL accounts/domains in Plesk?
- I believe this is via httpd.conf ; How would I do this to avoid any updates being overwritten by Plesk?
- I DO NOT want to update httpd.conf for each domain, I need to update it centrally for all server domains.
# How can I do this?
Many thanks for being more helpful than Plesk Support.
Martin
(143 rep)
Apr 16, 2025, 08:49 AM
0
votes
0
answers
117
views
Plesk Firewall blocking internet access for WireGuard clients
I'm currently facing an issue I can not fix myself. The initial idea was to setup WireGuard on my server running Plesk. I've searched a bit the internet and found this really nice [tutorial][1]. It really helped me to set up everything on my server and configuring new clients. The only thing I've ch...
I'm currently facing an issue I can not fix myself. The initial idea was to setup WireGuard on my server running Plesk. I've searched a bit the internet and found this really nice tutorial . It really helped me to set up everything on my server and configuring new clients. The only thing I've changed a bit inside the configuration is the PostUp and PostDown script to fit my network interface:
PostUp:
iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o enp2s0 -j MASQUERADE
PostDown: iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o enp2s0 -j MASQUERADE
I've checked everything, enabled all services, restarted my server (just to be sure) and configured my iPhone by using the provided QR code.
I was really happy to see that the handshake worked and I can see my internal pages hiding inside Plesk using:
Require ip 10.252.1.0/24
But then I found something out: I have no internet access.
I've spent a lot of time going back through the settings, checking my IP forwarding and everything, but was unable to find the issue. So I've opened Plesk again and checked for the Firewall and turned it off for a minute. To my surprise, I was able to get internet on my iPhone. So I've added some rules to the Firewall:
1) Allow incoming traffic on port 51820/udp (done during install already)
2) Allow incoming traffic from 10.252.1.0/24 on all ports
3) Allow outgoing traffic from 10.252.1.0/24 on all ports
I've saved the rules and turned the Firewall back on but found out that the internet access was gone again. I've checked the IP tables and everything, but I'm stuck.
I would be glad for any advice I can get to get the internet access working for my VPN clients!
Mr. Jo
(203 rep)
Sep 23, 2024, 03:20 PM
0
votes
1
answers
75
views
SSHing to a CentOS server switches to a different user
I've started managing a CentOS 7 server for a new client that is managed via Plesk. I'm not familiar with either Centos or Plesk. If I SSH to the server like: ```ssh workspaceuser@1.2.3.4```, immediately upon connecting I see that I'm a different user. Ie ```whoami``` shows a completely different us...
I've started managing a CentOS 7 server for a new client that is managed via Plesk. I'm not familiar with either Centos or Plesk.
If I SSH to the server like:
workspaceuser@1.2.3.4
, immediately upon connecting I see that I'm a different user. Ie
shows a completely different user.
Are there any places I can look either via Plesk or on the server to figure how/why it's changing user?
Thanks!
EDIT: Contents of /etc/passwd :
differentuser:x:10000:1003::/var/www/vhosts/example.com:/bin/false
workspaceuser:x:10000:1003::/var/www/vhosts/example.com:/bin/bash
acme-john:x:10000:1003::/var/www/vhosts/example.com/httpdocs:/bin/false
acme_admin:x:10000:1003::/var/www/vhosts/example.com/home.example.com:/bin/false
Sherri
(101 rep)
Feb 14, 2024, 05:06 PM
• Last activity: Feb 15, 2024, 02:26 PM
0
votes
2
answers
491
views
Broke file permissions and can no longer load webpages on server
I noticed an unusually large number of SSH attempts on my server so disabled the root login for SSH, created a new sudo user and confirmed I was able to log in without issues and elevate myself to the sudo user and root I've since discovered that Plesk is unable to load the data from the server, the...
I noticed an unusually large number of SSH attempts on my server so disabled the root login for SSH, created a new sudo user and confirmed I was able to log in without issues and elevate myself to the sudo user and root
I've since discovered that Plesk is unable to load the data from the server, the file permissions show as
:psaserv
and even after updating it to :psaserv
the servers files are still unavaliable. How can I undo this, is there a trick to setting the correct file permissions for Plesk?
I used the Plesk file privelages repair tool but it wanted to change it to :psaserv
which is the user I created as a sudo user, but it does not make a difference. Please let me know if any logs or command output is needed to help resolve this
Since the issue started I restored the root user and can SSH as root without issue, still the above continues
Enviroment is CentOS7
Alex
(61 rep)
Jan 18, 2022, 10:10 PM
• Last activity: Jan 27, 2022, 10:21 AM
0
votes
0
answers
264
views
Mattermost Websocket handshake fails when using apache as proxy
I'm not making any progress with my Mattermost installation on my server. I've installed everything without any problems. After that I've enabled the apache mod `proxy_wstunnel` and added the following directives in my Plesk domain for additional directives (it like ` ` or ` `): **HTTP:** ErrorLog $...
I'm not making any progress with my Mattermost installation on my server. I've installed everything without any problems.
After that I've enabled the apache mod
In the network tab the response is empty....
proxy_wstunnel
and added the following directives in my Plesk domain for additional directives (it like ` or
`):
**HTTP:**
ErrorLog ${APACHE_LOG_DIR}/mattermost-error.log
CustomLog ${APACHE_LOG_DIR}/mattermost-access.log combined
# Enforce HTTPS:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
**HTTPS:**
ServerName mattermost.xxx.de
ProxyPreserveHost On
# Set web sockets
ProxyRequests Off
RemoteIPHeader CF-Connecting-IP
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/api/v[0-9]+/(users/)?websocket [NC,OR]
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC,OR]
RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
RewriteRule .* ws://127.0.0.1:8065%{REQUEST_URI} [P,QSA,L]
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule .* http://127.0.0.1:8065%{REQUEST_URI} [P,QSA,L]
RequestHeader set X-Forwarded-Proto "https"
[0-9]+)/(?users/)?websocket">
Require all granted
ProxyPass ws://127.0.0.1:8065/api/v%{env:MATCH_APIVERSION}/%{env:MATCH_APIUSERS}websocket
ProxyPassReverse ws://127.0.0.1:8065/api/v%{env:MATCH_APIVERSION}/%{env:MATCH_APIUSERS}websocket
ProxyPassReverseCookieDomain 127.0.0.1 mattermost.xxx.de
Require all granted
ProxyPass http://127.0.0.1:8065/
ProxyPassReverse http://127.0.0.1:8065/
ProxyPassReverseCookieDomain 127.0.0.1 mattermost.xxx.de
But when I save this, restart apache and go back to Mattermost, I'm still getting the Websocket error:

Mr. Jo
(203 rep)
Jan 30, 2021, 01:43 PM
0
votes
1
answers
596
views
Getting error when installing bufferutil npm package
I've a problem install my application on my server. Locally everything works fine. The versions of node and npm are the same but I'm still getting this error during my install on the server: 91 verbose stack Error: bufferutil@4.0.1 install: `node-gyp-build` 91 verbose stack spawn ENOENT 91 verbose s...
I've a problem install my application on my server. Locally everything works fine. The versions of node and npm are the same but I'm still getting this error during my install on the server:
91 verbose stack Error: bufferutil@4.0.1 install:
node-gyp-build
91 verbose stack spawn ENOENT
91 verbose stack at ChildProcess. (/opt/plesk/node/12/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
91 verbose stack at ChildProcess.emit (events.js:200:13)
91 verbose stack at maybeClose (internal/child_process.js:1021:16)
91 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
What can I do? Does someone has an idea?
Installed is node 12.4.0
.
Mr. Jo
(203 rep)
Apr 3, 2020, 09:29 PM
• Last activity: Nov 22, 2020, 10:43 AM
0
votes
1
answers
1628
views
Host symfony app on plesk obsidian
Anyone was able to successfully run symfony application on the plesk environment already? I'm new to management of plesk, until now i was configuring vhosts by my self, with use Apache / Nginx. I just moved most of my Wordpress Websites to the plesk without an issue, i was able to run also Laravel 5...
Anyone was able to successfully run symfony application on the plesk environment already?
I'm new to management of plesk, until now i was configuring vhosts by my self, with use Apache / Nginx. I just moved most of my Wordpress Websites to the plesk without an issue, i was able to run also Laravel 5.7 Project, without a single problem. But somehow symfony project is causing me some troubles.
I've read about that symfony 4 requires PHP 7.1. I've tried to run it on every single possible PHP version from 7.0 to 7.4 (fpm / cgi). I am using Plesk 18 Obsidian.
I just unpacked the project files in the home directory of my domain inside of folder named Symfony and made an symbolic link to the PUBLIC folder as httpdocs, but it doesn't worked, it always show 403 page.
Edit:
I also tried to unpack it directly in httpdocs folder, and in the hosting settings change root directory to /httpdocs/public, but then it keeps asking me about username in password, like it was pasword protected area.
Sharminte
(1 rep)
Feb 10, 2020, 06:27 PM
• Last activity: Nov 20, 2020, 08:28 AM
0
votes
1
answers
339
views
Mail processing with custom script on Postfix and Plesk (plesk_virtual)
I'd like to parse incoming mail with custom script. Something which would be easily done with [man aliases(5)](http://www.postfix.org/aliases.5.html) for real users or with [`procmail`](https://unix.stackexchange.com/questions/145771/mail-filtering-with-procmail-in-a-postfix-dovecot-system-with-virt...
I'd like to parse incoming mail with custom script. Something which would be easily done with
[man aliases(5)](http://www.postfix.org/aliases.5.html) for real users or with [
procmail
](https://unix.stackexchange.com/questions/145771/mail-filtering-with-procmail-in-a-postfix-dovecot-system-with-virtual-users/148095#148095) [for vitual users](https://unix.stackexchange.com/questions/79046/extracting-attachments-from-mail-that-is-coming-to-my-postfix-inbox) .
But on my system is is plesk
and setup is: virtual_transport = plesk_virtual
, thus I cannot put configure it as virtual_transport = procmail
.
What is plesk_virtual
anyway, where are the configuration files, documentation? ("plesk_virtual" site:https://docs.plesk.com/
finds nothing, [Mail doc](https://docs.plesk.com/en-US/obsidian/advanced-administration-guide-linux/services-management/mail-service.68762/) neither).
pevik
(1587 rep)
Nov 2, 2020, 09:48 PM
• Last activity: Nov 4, 2020, 11:13 PM
-4
votes
1
answers
1312
views
mkdir not working, only with mkdir -p in rootserver with plesk
I just ordered a new root server 18.04 Ubuntu with Plesk. I log in as root and want to create a folder for example: mkdir /usr/local/myfolder/hello I get the error: mkdir: cannot create directory ‘/usr/local/myfolder/hello’: No such file or directory It only works, when I use `mkdir -p`. I can only...
I just ordered a new root server 18.04 Ubuntu with Plesk.
I log in as root and want to create a folder for example:
mkdir /usr/local/myfolder/hello
I get the error:
mkdir: cannot create directory ‘/usr/local/myfolder/hello’: No such file or directory
It only works, when I use
mkdir -p
.
I can only create 1 folder ahead, when I am in the directory, not a path.
For me this is not normal, how can I fix this? Also my scripts dont run because of this.
Thanks
zer02
(95 rep)
Sep 2, 2020, 10:02 AM
• Last activity: Sep 2, 2020, 10:28 AM
1
votes
0
answers
680
views
Connecting to docker bridged container on CentOS 7 gives: Connection reset by peer
As the title says I have a docker image which runs fine on my development machine in docker using network bridged to an another port (`-p 8080:5000`). But as soon as I am deploying this on my server connections fail. -> Ruling out not hosting the application on 0.0.0.0:5000 IP's. When using `--netwo...
As the title says I have a docker image which runs fine on my development machine in docker using network bridged to an another port (
-p 8080:5000
). But as soon as I am deploying this on my server connections fail.
-> Ruling out not hosting the application on 0.0.0.0:5000 IP's.
When using --network host
the images do run fine.
I would like to use the Plesk docker extension. The only supported behaviour in here is using the docker bridge network.
This server is running
- Plesk => docker extension
- CentOS 7
I did have some issues with the firewall settings (There are 2 active firewalls: firewalld and the Plesk Firewall). But the issue persists when both are disabled.
-> Ruling out firewall zone trust issues.
The last answer which came up while searching is a collision in network interface IP ranges..? But I have a simple setup with a single interface eth0 (public IP), local loopback and docker0.
What could be wrong here? Any ideas how to troubleshoot this further? I am out after many hours spent researching this issue.
Thanks!
> docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8c3d3f32b8ef savahdevelopment/savah_api "dotnet savah_api.dll" 11 minutes ago Up 11 minutes 0.0.0.0:8888->5000/tcp sharp_lamarr
b355e8fef0ec savahdevelopment/savah_api "dotnet savah_api.dll" 7 hours ago Up 14 minutes savah_api_prod
e38e1b01b039 savahdevelopment/savah_api "dotnet savah_api.dll" 7 hours ago Up 14 minutes savah_api_dev
> curl http://something.hostbeter.nl:5000/admin/test
YUUUUUUUUUUUUUUP!!
> curl http://something.hostbeter.nl:5100/admin/test
YUUUUUUUUUUUUUUP!!
> curl http://something.hostbeter.nl:8888/admin/test
curl: (56) Recv failure: Connection reset by peer
Some extra info:
netstat -tulp
tells me the working containers did bind to the IPv6 addresses only. But connecting externally with the IPv4 works fine? So it seems to be something network related?
Remco
(61 rep)
Jul 18, 2020, 08:49 PM
• Last activity: Jul 21, 2020, 07:35 AM
0
votes
1
answers
41
views
VirtualBox ping OK but browse NOK
I install plesk on my virtualbox as describe here https://docs.plesk.com/fr-FR/obsidian/deployment-guide/78020/ I create a virtual box ethernet adapter, and activate it for my pleskVM . On the host (windows) ipconfig show well the ethernet card VirtualBoxon 192.168.240.1 (see file attached) ping is...
I install plesk on my virtualbox as describe here
https://docs.plesk.com/fr-FR/obsidian/deployment-guide/78020/
I create a virtual box ethernet adapter, and activate it for my pleskVM .
On the host (windows) ipconfig show well the ethernet card VirtualBoxon 192.168.240.1 (see file attached) ping is ok
On the VM, ifconfig show the 127.0.0.1 and 10.0.2.15 (see file attached) ping is OK
And when I try to browse 192.168.240.1:8443 it doesn't work...
And don't have anything in logs...


LexaGC
(1 rep)
Mar 26, 2020, 04:58 PM
• Last activity: Mar 26, 2020, 05:10 PM
0
votes
0
answers
55
views
Can't get cookie free domain working for my WordPress page
I'm trying hard to get my cookie free domain working for my WordPress installation. I've followed a lot of tutorials but I still get no content over the new cookie free subdomain. These are my steps: 1. I've created a new subdomain `static.my-page.de` in my Plesk panel and set my `wp-content` folder...
I'm trying hard to get my cookie free domain working for my WordPress installation. I've followed a lot of tutorials but I still get no content over the new cookie free subdomain. These are my steps:
1. I've created a new subdomain
static.my-page.de
in my Plesk panel and set my wp-content
folder as document root for this subdomain
2. I've logged in into my domain provider account, added a subdomain under my domain my-page.de
and created an A-Record to my Plesk server (entered the IP like for all other subdomains)
3. After this I've enabled SSL for the new subdomain and selected my wildcard certificate
After this I've did the needed changes in my WordPress wp-config.php
file:
define( 'WP_CONTENT_URL', 'https://static.my-page.de ' );
define( 'COOKIE_DOMAIN', 'https://www.my-page.de ' );
Finally I've changed all my post_content
entries in my DB to my new static subdomain.
Normally I should get all my wp-content
folder content via my static non-cookie subdomain but the page design is completely broken and the console full of errors like this:
(index):1830 GET https://static.my-page.de/plugins/ultimate-member/assets/js/um-members.min.js net::ERR_NAME_NOT_RESOLVED
What did I do wrong? I've gone over everything 100 times and no luck...
Mr. Jo
(203 rep)
Jan 31, 2020, 08:48 PM
-1
votes
1
answers
944
views
Updating extensions after PHP upgrade on CentOS 5.6
I'm completely new to pecl, yum, rpm, packages and all the stuff required to get this done, so I'm hoping some of you smarter more experienced people can help me out. I only have a vague notion of what I'm doing. I upgraded PHP 5.3.3-26.el5_11 to 5.4.45-3.el5.remi based on this article: https://kb.o...
I'm completely new to pecl, yum, rpm, packages and all the stuff required to get this done, so I'm hoping some of you smarter more experienced people can help me out. I only have a vague notion of what I'm doing.
I upgraded PHP 5.3.3-26.el5_11 to 5.4.45-3.el5.remi based on this article: https://kb.odin.com/en/115833
After upgrading, I'm getting PHP warnings:
Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
Unable to load dynamic library
undefined symbol: php_checkuid in Unknown on line 0
The solutions described in another thread are to reinstall or update the extensions.
Searching around, I have tried commands like:
$pecl install ldap
No releases available for package "pecl.php.net/ldap”
install failed
$ pecl upgrade ldap
No releases available for package "pecl.php.net/ldap"
install failed
$ yum update php-mcrypt
Package(s) php-mcrypt available, but not installed.
No Packages marked for Update
I'm at a loss here, and I don't want to keep running commands as root when I don't know what I'm doing, or even what directory I'm supposed to be in. Can someone provide detail on how to do this please?
Here are the full warnings I'm getting:
PHP Warning: PHP Startup: ldap: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match in Unknown on line 0
PHP Warning: PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/odbc.so' - /usr/lib64/php/modules/odbc.so:
undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: PDO_ODBC: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match in Unknown on line 0
PHP Warning: PHP Startup: snmp: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match in Unknown on line 0
PHP Warning: PHP Startup: xmlrpc: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match in Unknown on line 0
Krush
(1 rep)
Jan 30, 2016, 10:03 PM
• Last activity: Apr 5, 2019, 10:49 PM
2
votes
1
answers
2935
views
Run Java in a chrooted jail
I'm on a CentOS 6.5 machine with Plesk Panel which I used to create a chrooted environment for a user who can access it via ssh. I managed to let him use some basic non chroot standard command like chmod or ps. NOW what I need to do to let him use java to run his own compiled jar inside his new shin...
I'm on a CentOS 6.5 machine with Plesk Panel which I used to create a chrooted environment for a user who can access it via ssh.
I managed to let him use some basic non chroot standard command like chmod or ps.
NOW what I need to do to let him use java to run his own compiled jar inside his new shiny jail?
Leonardo Gandini
(123 rep)
Mar 5, 2014, 09:56 PM
• Last activity: Mar 18, 2019, 03:07 AM
2
votes
1
answers
1078
views
Can't get iso-8859-1 to work for 'umlauts' (Debian / Plesk)
I think I have configured ISO-8859-1 at all necessary locations, but still, my pages are displaying black '?' instead of German umlauts! My server runs Plesk 17.8.11 / Debian 8 / Apache 2 / PHP 7.1 (FPM). Plesk > Websites & Domains > mysite.com > PHP Settings: Additional configuration directives: de...
I think I have configured ISO-8859-1 at all necessary locations, but still, my pages are displaying black '?' instead of German umlauts!
My server runs Plesk 17.8.11 / Debian 8 / Apache 2 / PHP 7.1 (FPM).
Plesk > Websites & Domains > mysite.com > PHP Settings:
Additional configuration directives:
default_charset = "iso-8859-1"
Plesk > Websites & Domains > mysite.com > Apache & nginx Settings:
Additional directives for HTTP:
AddDefaultCharset ISO-8859-1
Additional directives for HTTPS:
AddDefaultCharset ISO-8859-1
Additional nginx directives:
charset iso-8859-1;
/etc/apache2/apache2.conf:
AddDefaultCharset iso-8859-1
/etc/php5/fpm/php.ini:
default_charset = "iso-8859-1"
/etc/php5/apache2/php.ini:
default_charset = "iso-8859-1"
.htaccess in the root directory of the affected domain contains:
AddDefaultCharset ISO-8859-1
I hope it is okay to reference one of the affected URLs here to allow checking the source and encoding of the page:
https://www.psychotherapiepraxis.at/gute_therapie.phtml
All page content is saved in .html files, so the pages' html code isn't retrieved from a database.
Any idea what might be the culprit?
richey
(121 rep)
Sep 9, 2018, 12:38 AM
• Last activity: Sep 15, 2018, 04:00 PM
1
votes
1
answers
544
views
Increase space on part/lvm or mount
So, long story short, got a server(EC2) with 2 EBS pointed to it. (100G & 200G). Upon investigation, I come across that the /var/www mount has only 50GB assigned. My requirement is to increase this 50GB's to 100GB if possible. The structure of the disk is as the below image.[
lsblk
command.
Below is what it seems to be running on.
CentOS release 6.10 (Final)
17.8.11 cos6.build1708180301.19
This also has Plesk installed. I am open to installing a plugin.
-----PVS,VGS,LVS
PVS Output
PV VG Fmt Attr PSize PFree
/dev/xvdj1 data lvm2 a--u 50.00g 0
VGS Output
VG #PV #LV #SN Attr VSize VFree
data 1 1 0 wz--n- 50.00g 0
LVS Output
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
www data -wi-ao---- 50.00g
Ela Buwa
(123 rep)
Sep 11, 2018, 01:21 AM
• Last activity: Sep 11, 2018, 08:17 PM
2
votes
1
answers
270
views
Can't open transferred website from old server to new server
I have 2 dedicated servers both running CentOS 5.3/Plesk 10. I've transferred a website (domain) from old server to a new one via Plesk migration manager and the website (domain) shows in the domain list on Plesk, and it's files are in `/var/www/vhosts/domain.com/httpdocs/` I tried to open the websi...
I have 2 dedicated servers both running CentOS 5.3/Plesk 10. I've transferred a website (domain) from old server to a new one via Plesk migration manager and the website (domain) shows in the domain list on Plesk, and it's files are in
/var/www/vhosts/domain.com/httpdocs/
I tried to open the website like this: http://xx.xx.xx.xx/example.com
where xx.xx.xx.xx
is a shared IP that I've assigned to the domain on a new server during transfer and example.com
is website's domain name. Instead of website loading I get a 404 error. How can I open the website and see if everything is ok? Essentially, what is the path (using IP) to the website until it gets DNS sorted out?
The apache error_log
file shows:
[Tue Aug 23 11:05:15 2011] [error] [client xx.xx.xx.xx] File does not exist: /var/www/vhosts/default/htdocs/example.com
This is where the problem exists, I've expected it to follow path like this:
/var/www/vhosts/example.com/htdocs/
and instead the server apparently tries this:
/var/www/vhosts/default/httpdocs/example.com
Note the difference - htdocs
and httpdocs
, which is the actual folder on the server.
I need to know that the website is running ok, otherwise I cannot assign DNS to make it live.
I am able to access the website if I edit hosts file on my PC with something like that:
192.0.2.4 example.com
So how come I can't load it like this: http://192.0.2.4/example.com/
?
Caballero
(438 rep)
Aug 23, 2011, 12:08 PM
• Last activity: Sep 9, 2018, 06:09 PM
1
votes
0
answers
39
views
plesk mysql reporting different version in cli to a version query
I'm trying to upgrade a Plesk server running Ubuntu (12.04.2 LTS) and when doing a query check on apt-cache: apt-cache policy mysql-server ... it reports that I have the latest 5.5. branch already installed. which is 5.5.52 However when I do a mysql version query command it reports a much earlier ve...
I'm trying to upgrade a Plesk server running Ubuntu (12.04.2 LTS) and when doing a query check on apt-cache:
apt-cache policy mysql-server
... it reports that I have the latest 5.5. branch already installed. which is 5.5.52
However when I do a mysql version query command it reports a much earlier version of mysql.
How could I have a difference in versions, is there more than one copy installed and if so how do I update the version on my actual domain which seems to be out of date.
AdamJones
(129 rep)
Oct 13, 2016, 02:05 AM
0
votes
1
answers
696
views
rm -rf on vhosts directory, what should I do?
I was tired and unfortunately I did: rm -rf * /var/www/vhosts repertory on my CentOS 6.3 running with Parallel Plesk. I lost many websites, but worst: I've lost `chroot`, `default`, `fs` and `fs-passwd`. What were these folders? What did they do? What should I do now...? I have backups, but only for...
I was tired and unfortunately I did:
rm -rf * /var/www/vhosts repertory
on my CentOS 6.3 running with Parallel Plesk.
I lost many websites, but worst: I've lost
chroot
, default
, fs
and fs-passwd
.
What were these folders?
What did they do?
What should I do now...?
I have backups, but only for my websites. I miss every file and folder that were in the vhosts
directory (chroot
, default
, fs
and fs-passwd
).
Guillaume Pierre
(1 rep)
Nov 4, 2013, 12:01 AM
• Last activity: Jun 20, 2016, 05:01 PM
1
votes
0
answers
755
views
How to change the default site hosted by the ip address of a linux plesk server?
I have a Plesk Ubunutu VPS that had until recently one domain setup. If I accessed the IP address of the server I see the site setup on the domain. The problem is that I've now added a second domain and website and want that to appear when the IP is also accessed in a browser. To change this I've al...
I have a Plesk Ubunutu VPS that had until recently one domain setup. If I accessed the IP address of the server I see the site setup on the domain.
The problem is that I've now added a second domain and website and want that to appear when the IP is also accessed in a browser.
To change this I've already done the obvious thing by going into the "IP Settings" area of the Plesk configuration website and changing the default to the new domain I've created. This doesn't help unfortunately and the site hosted when I access the ip number is constantly the first site created.
AdamJones
(129 rep)
Sep 23, 2014, 04:15 PM
• Last activity: Jun 20, 2016, 04:57 PM
Showing page 1 of 20 total questions