• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Chmod problem

V

VirginieL

Guest
Hello

When I install a web application (php script) on the server and that it must manage the creation of directory and / or file, I have a problem of access rights (chmod).

Caution: carefully following the installation procedure and changing the write permissions via FTP (via FileZilla). IT IS NOT A PROBLEM FOR INSTALLATION! But while running an application on the server (all domains).

For example, I just installed Vtiger CRM.
Installation is ok, the application works but when I want to install the French pack (which installs files in all directories almost impossible via FTP) it displays dozens of error messages like:

Warning: file_put_contents(modules/Accounts/language/fr_fr.lang.php) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/vhosts/domain.net/httpdocs/crm/vtlib/thirdparty/dUnzip2.inc.php on line 297

Warning: chmod() [function.chmod]: Unable to access modules/Accounts/language/fr_fr.lang.php in /var/www/vhosts/domain.net/httpdocs/crm/vtlib/thirdparty/dUnzip2.inc.php on line 225

Warning: chmod() [function.chmod]: stat failed for modules/Accounts/language/fr_fr.lang.php in /var/www/vhosts/domain.net/httpdocs/crm/vtlib/thirdparty/dUnzip2.inc.php on line 225
Copying file modules/Accounts/language/fr_fr.lang.php ... FAILED

I have the same type of problem in an application (Plogger) that manages the images and where directory creation problem ...

Etc..

Thank you for your help
Virgine
 
Thanks Lehel.

I tried your tutorial but this command does not work :
yum install mod_suphp
(Yum is installed on my server)

Messages :
Loading "fastestmirror" plugin
rpmdb: Lock table is out of available locker entries
rpmdb: Unknown locker ID: 34c2
error: db4 error(22) from db->close: Argument invalide
error: cannot open Packages index using db3 - Ne peut allouer de la mémoire (12)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 85, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 163, in getOptionsConfig
disabled_plugins=self.optparser._splitArg(opts.disableplugins))
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 164, in _getConfig
self._conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 685, in readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 755, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
 
1) Become superuser
2) Make sure no instances or 'rpm' or 'yum' are running
3) rm /var/lib/rpm/__db.*
4) rpm --rebuilddb
 
Back
Top