Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index
  • Search

Search found 10 matches

Go to advanced search

Advanced search
Search found 10 matches • Page 1 of 1
by bobmeetin
Sat Mar 27, 2021 3:27 pm
Forum: Mail Server
Topic: How do you configure VestaCP to recognize pear and not return an open_basedir error?
Replies: 0
Views: 328

How do you configure VestaCP to recognize pear and not return an open_basedir error?

I have a CentOS VestaCP installation and have been trying to get SMTP mail to work so that it can be used with various forms. I checked and pear is installed under /usr/share/pear. I found a guide to check if pear is installed correctly, https://pear.php.net/manual/en/installation.checking.php, whic...
  • Jump to post
by bobmeetin
Thu Apr 02, 2020 1:31 pm
Forum: Mail Server
Topic: SMTP | Warning: require_once(): open_basedir restriction in effect. File(/usr/share/pear/System.php) is not within ...
Replies: 1
Views: 805

Re: SMTP | Warning: require_once(): open_basedir restriction in effect. File(/usr/share/pear/System.php) is not within .

I updated the php.ini file setting open_basedir as follows and restarting Apache: open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/ Warning: require_once(): open_basedir restriction in effect. File(/usr/share/pear/System.php) is not within the allowed path(s): (/home/testin...
  • Jump to post
by bobmeetin
Tue Mar 24, 2020 1:30 am
Forum: Mail Server
Topic: SMTP | Warning: require_once(): open_basedir restriction in effect. File(/usr/share/pear/System.php) is not within ...
Replies: 1
Views: 805

SMTP | Warning: require_once(): open_basedir restriction in effect. File(/usr/share/pear/System.php) is not within ...

I am a novice with SMTP, found some instructions to both install SMTP and PEAR. The install looks good. When I get around to testing to see if they work I have a short test script with these includes: require_once 'System.php'; var_dump(class_exists('System', false)); require_once "Mail.php"; System...
  • Jump to post
by bobmeetin
Sun Sep 29, 2019 10:24 pm
Forum: General Discussion
Topic: Add/remove IP address to firewall
Replies: 2
Views: 1973

Add/remove IP address to firewall

Either through the control panel or command line (cli?) or both, what are the procedures to add or remove an IP address in the firewall. Also to review what's currently there (as root) The default behavior seems to be to block an IP after several attempts then you have to wait an hour or so for it t...
  • Jump to post
by bobmeetin
Wed Jun 12, 2019 10:15 pm
Forum: DNS Server
Topic: DNS and restarting named
Replies: 1
Views: 1585

DNS and restarting named

There was a problem with my initial hostname and account resulting in having to rename the host and not being able to get DNS to work after. To rename the host I did this through VestaCP then as I was still seeing problems did the cli command and since still not working edited /etc/hosts and /etc/ho...
  • Jump to post
by bobmeetin
Wed Feb 13, 2019 4:45 pm
Forum: Web Interface
Topic: Block ip and country in vestacp firewall
Replies: 3
Views: 5764

Re: Block ip and country in vestacp firewall

I found the ban list by visiting: https://$ipaddress:8083/list/firewall/banlist/ It gives severall pulldown ban options - WEB for sure, but I'd rather ban it for all. How would you do that? The spammer IP address is: 93.179.68.108. What is the syntax for banning the subnet, not just the individual I...
  • Jump to post
by bobmeetin
Wed Dec 26, 2018 5:43 pm
Forum: General Discussion
Topic: Cannot SSH to account after 3 failed attempts
Replies: 1
Views: 476

Cannot SSH to account after 3 failed attempts

This happens occasionally due to sticky fingers or perhaps rushing when attempting to SSH. After I enter the password incorrectly several times (3?) it locks me out with an error like cannot connect (didn't write down the error). It appears to be specific to the IP address I am signing in from. To f...
  • Jump to post
by bobmeetin
Mon May 28, 2018 11:06 pm
Forum: Web Server
Topic: installed ckfinder, but get an error: Warning: is_writable(): open_basedir restriction in effect.
Replies: 5
Views: 2171

Re: installed ckfinder, but get an error: Warning: is_writable(): open_basedir restriction in effect.

Ah - okay I found the file. The line is set to:

php_admin_value open_basedir %docroot%:%home%/%user%/tmp

What does it need to be changed to, perhaps?

php_admin_value open_basedir %home%/%user%/tmp

Will this affect the operation of Vesta CP, for instance if it got messed up?
  • Jump to post
by bobmeetin
Mon May 28, 2018 9:56 pm
Forum: Web Server
Topic: installed ckfinder, but get an error: Warning: is_writable(): open_basedir restriction in effect.
Replies: 5
Views: 2171

Re: installed ckfinder, but get an error: Warning: is_writable(): open_basedir restriction in effect.

Please walk me through this. I opened VestaCP as root, signed into the account in question, $my_account, then as that user click on the WEB tab. There I select to edit '$my-domain.com'. Web template is set to default. There is a basedir option from the dropdown. If I switch to basedir and save I see...
  • Jump to post
by bobmeetin
Mon May 28, 2018 5:31 pm
Forum: Web Server
Topic: installed ckfinder, but get an error: Warning: is_writable(): open_basedir restriction in effect.
Replies: 5
Views: 2171

installed ckfinder, but get an error: Warning: is_writable(): open_basedir restriction in effect.

Installing ckfinder is easy. All you do is set a path for the install. However it is failing to start and the full error is like the following: Warning: is_writable(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/my_account/web/my-domain.com/public_html:/h...
  • Jump to post

Search found 10 matches • Page 1 of 1

Go to advanced search



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password