Plesk 11.x / Linux :: Setting Up Cron Job For Domain User - No Such File Or Directory
Apr 20, 2014
Can't get it working, I want to set up a cron job for a domain user, but seems that there's a problem to find the php executable. The command is:
Code:
/usr/bin/php/ -f /var/www/vhosts/thedomain.com/httpdocs/test.php
But the report says
-: /usr/bin/php/: No such file or directoryClick to expand...
View 3 Replies
ADVERTISEMENT
Feb 10, 2015
I'm build Plesk Panel for Linux and Presence Builder, I don't want my user can upload their website to hosting via File Manager. How can I do it...
View 2 Replies
View Related
Jul 8, 2015
I'm trying to setting plesk backups to own ftp server.. My ftp server is listening by the port 31..
My conf:
Server: mydomain:31
Directory: vpsbkp
User and password...
Passive mode checked
Here the error display: "Transport error: unable to list directory: Curl error: Couldn't connect to server"
Where are the bkp ftp logs?
View 4 Replies
View Related
Feb 18, 2015
I'm trying to use libraries PDO on the server but continues to give me this error. "SQLSTATE [HY000] [2002] No such file or directory" ....
I plugged in Additional Guidelines, both extension = pdo.so that extension = pdo_mysql.so.
View 1 Replies
View Related
Jul 11, 2014
I need to place a file in the root of my server. How should I do?
I tried:
SSH connection
wget ......
but the file is not in the right place
Where should I place it?
View 2 Replies
View Related
Feb 25, 2015
Which protocol I should use for performing a backup of important server files and folders. I do make a snapshot but i found that's not enough.
My Centos 6.6 has ProFTPD configuration setup only for webhosts so no root access. I came across SCP, but don't know how to secure that like a Pro. I have also heard about SSHFS for linux.
View 1 Replies
View Related
Jan 19, 2015
We have a website under httpdocs/. We can change/delete files with a ftp user : "ftpold". All is ok. We must create another ftp access for another company which can access only to httpdocs directory (not to logs/, error_docs/...).
So we have create a ftp access in Plesk. But with this ftp connexion, we can not update/delete files ou update rights.
So we decide to change rights on the files/directories under httpdocs with the new ftp access :
httpdocs# chown -R ftpnewsacln *
The is no errors but the files:directories are always with the old ftp user :
httpdocs# ls -l
ftpold psacln ... libs/
ftpold pscln ... index.php
Why ? How can i create another ftp access ?
View 3 Replies
View Related
Jan 5, 2015
Since the update to #30 two separate installs on Ubuntu 14.04.1 LTS I'm getting the below error :
Internal error: The directory does not exist "admin"Click to expand...
View 4 Replies
View Related
Nov 14, 2014
I can get the service list by /usr/local/psa/bin/service –l
But when i try /usr/local/psa/bin/plesk –-status it show error : No such file or directory
View 5 Replies
View Related
Jul 6, 2014
When I am setting new directory for domain, the domain is served from old directory.
1. New directory has exactly the same file permissions as old one.
2. Restarting httpd service doesn't work
3. I am using Plesk 12
View 2 Replies
View Related
Sep 17, 2014
i have plesk 11.5.3 on Linux centOS 6, I created a ftp user on a domain folder, I need to deny this user to read a specific file .php, how can I do?
View 7 Replies
View Related
Oct 15, 2013
If a create a subscription on a plesk Server through the API don't know how to specify the preferred domain and it's always set to domain.tld. I would like to set it to none for all.
My xml request:
Code:
<packet version="1.6.3.0">
<webspace>
<add>
[Code].....
View 2 Replies
View Related
May 30, 2014
i'm running the latest version of Plesk 11 on a Ubuntu 12.04 system.
We have a customer with a domain and this customer added other domains to his account.
now, 2 domains are not working, he created the as usual, Plesk created the directories under /vhosts/domain.com/domain1.com and the vhosts.conf are also correct.
when i'm opening the domain in the browser, i get the following error message:
The requested URL /var/www/vhosts/domain.com/index.php was not found on this server.
View 3 Replies
View Related
Jul 14, 2014
Want to activate webDAV in a specific domain with a v_host conf file, but do not have a /conf directory in the domain path. How can I manage the this?
View 2 Replies
View Related
Sep 28, 2014
I'm setting up a SAAS service which is built on top of Laravel. To put it simply the service itself knows whether its being called from a sub.example.com or just example.com and serves a correct response accordingly. So going to sub.example.com will use the same index.php file as example.com but the routes and controllers within the application will provide a different response. sub.example.com will show a tenant login page where as example.com will show a new tenant subscription page or something else.
So when someone new subscribes I add a new entry to the database with a subdomain name for them and when a request comes from that subdomain and they are logged in it will show them their information. Easy right.
There is a problem though with setting it up with Plesk. When I add a wildcard subdomain, it will look for /subdomains/sub/ for the files which is a bit problematic since I want it to serve the files from the same place as the domain example.com.
Is there a way to configure that so that regardless of the subdomain it will try and serve the exact same content as my main domain?
View 2 Replies
View Related
May 6, 2014
I've got a situation in which I need to have a set of mail accounts that share a domain name with a domain that's already in use as a domain alias and because the domain is already in use, I'm unable to create a new account using that domain. I tried explicitly adding "www" to the domain alias so I could keep the www.domain.com address as an alias and reserve the "domain.com" name for use as a separate account, but Plesk won't allow for that.
How to address this? The idea I'm currently considering is to delete the domain alias and then create the new account and manually set the DOCUMENT ROOT of the new account to refer to the other domain's document root. I'm sure this could create some difficulty in Plesk so I'm looking for input before trying it. I'm actually not even sure exactly where I would be able to redefine the document root with Plesk allowing the change and not overwriting it later.
If all else fails, I can setup a new account on a different and unrelated Plesk server, but I'd prefer not to do that.
View 2 Replies
View Related
Apr 15, 2015
I have following Warning when creating a new Domain inside a Subscriptions:
I found this Article: [URL] .....
But in my case this does not solve the Problem.
1> All permissions are right.
2> When I type command '/usr/local/psa/bin/repair --restore-vhosts-permissions' i get the answer 'Directory permissions were successfully updated.'
3> The Order of Webuser and FTPUser (as described in the article) could also not be the problem, because in my case there is only one user (There is only Webuser and no FTP-User.)
4> When typing '/usr/local/psa/bin/repair --update-vhosts-structure' I get the following error 6 times each:
Code:
[2015-04-15 21:03:30] ERR [util_exec] proc_close() failed
Error: update-vhosts-structure failed: mkdir: cannot create directory `./webroot.kk-bits.com/logs': File exists
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/webroot.kk-bits.com/logs' is in invalid state.
Unable to update the structure of the home directory: an unexpected error has occurred.
update-vhosts-structure failed: mkdir: cannot create directory `./webroot.kk-bits.com/logs': File exists
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/webroot.kk-bits.com/logs' is in invalid state.
To get the error 6 times seems to mean, that i have this problem with 6 Domain.
View 1 Replies
View Related
Aug 19, 2014
I have a problem with on domain. The domain is the "main-domain" of the customer but it is not shown in the overview /smb/web/view
Not with the User logged in and not with the admin logged in.
But I can change setting, when I call the detail-page manually: /smb/web/overview/id/d:26
I tried to lock/unlock the domain/account, but nothing worked.
I could not see any mistakes in the database.
Deleting and adding the domain would be a trick, but because of having many domains/subdomains and dns-entries this is not my first choice.
View 2 Replies
View Related
May 7, 2015
When I specify log rotation settings for domain xyz.com in Plesk panel I expect them to be saved in /etc/logrotate.d/xyz.com file, at least this is the expected behaviour according to Plesk12 Admin Guide: [URL] ....
Apparently, it doesn't happen and I don't have xyz.com file in /etc/logrotate.d/
Log rotation doesn't seem to work either, at least it doesn't work for error.log
I read somewhere that log rotation feature has to be specially enabled in Plesk but I couldn't find specifics anywhere.
View 2 Replies
View Related
Feb 2, 2015
I recently needed to make some changes to the domain.conf file at the following path: /etc/nginx/plesk.conf.d/vhosts. When I try to edit the file it just has 3 lines at the top warning me that the changes made here would not persist, while other domain confs have full configs inside.
I am positive that the domain in question is set to use nginx, double checked this, so what gives? Why is the file blank?
View 4 Replies
View Related
Feb 12, 2015
For a particular domain I've got it set to:
Log rotation condition: By size (1024 KB)
Maximum number of log files: 5
Compress log files: Yes
...however the access_log.processed is at 20.4MB. Is this correct? I would have thought it could only get to 5MB in total?
How do I restrict the size of access_log.processed?
View 2 Replies
View Related
May 7, 2007
I thought I knew enough about my .htaccess stuff to do this, but I can't seem to work it out. What I want to do is if a user visits domain.com/folder, we check to see if the folder exists. If so, show as normal (IE domain.com/support)
If a user visits domain.com/dynamicusername (dynamicusername is not a physical folder), redirect to dynamicusername.domain.com
View 3 Replies
View Related
Jul 10, 2014
I don't know why, but only one server with Plesk 12 if i create additional ftp accounts not working. i receive error:
530 User cannot log in, home directory inaccessible.
If i use principal FTP account works fine.
View 5 Replies
View Related
Aug 12, 2012
1. I create my first domain aaa.com, plesk create c:intetpubvhostaaa.comhttpdocs,
2. now i create another domain bbb.com via plesk control panel, it creates both directory :
c:intetpubvhostaaa.combb.com
c:intetpubvhostbb.comhttpdocs
3.the issues here, after config DNS from domain provider, i access to domain bbb.com on the brower, plesk use the index file in c:intetpubvhostaaa.combb.com .
i want c:intetpubvhostbb.comhttpdocs is public directory folder for domain bbb.com
View 2 Replies
View Related
Aug 2, 2014
I am trying to create a new domain and I am getting this error
Error: vhostmng failed: Access is denied. (Error code 5) at retrieves attributes for file or directory D:PleskVHOSTS
s1.caboodledns.com
achaelwillment.com
(Error code 1)
I have done permission repairs via the plesk tool on the server but I still get this error. What user needs what permissions to fix this?
View 2 Replies
View Related
Apr 9, 2015
How to add Cron?
View 14 Replies
View Related
Dec 24, 2014
How I can set CronJobs? Have never to it before.
Here is what i have from developer:
Final Step: Setup Cron Tasks.
Number of cron (background) tasks to ensure redundant files are deleted, accounts are auto downgraded etc. Details of these are below.
0 0 * * * php /var/www/vhosts/MYDOMAIN/httpdocs/admin/tasks/auto_prune.cron.php >> /dev/null 2>&1
0 0 * * * php /var/www/vhosts/MYDOMAIN/httpdocs/admin/tasks/create_internal_notifications.cron.php >> /dev/null 2>&1
0 * * * * php /var/www/vhosts/MYDOMAIN/httpdocs/admin/tasks/delete_redundant_files.cron.php >> /dev/null 2>&1
0 0 * * * php /var/www/vhosts/MYDOMAIN/httpdocs/admin/tasks/downgrade_accounts.cron.php >> /dev/null 2>&1
*/5 * * * * php /var/www/vhosts/MYDOMAIN/httpdocs/admin/tasks/process_file_queue.cron.php >> /dev/null 2>&1
View 19 Replies
View Related
Dec 30, 2014
I have just recently moved to Plesk web admin from cpanel. I have been trying to get the cron to run for the past 48 hours but no luck. Bellow is the code i have been trying to execute via cron but It does not run.
"/usr/bin/php /var/www/ vhosts/mydomain. com /httpdocs/billing/index.php cron"
View 8 Replies
View Related
Jul 3, 2007
I am trying to setup a cron in SSH to use Ipanel with forced ads for a new free service im providing soon, I have tried but cant seem to figure out how i do it, im totally new to crons in SSH so i havent got a clue
View 4 Replies
View Related
Mar 6, 2008
Rapidly growing error logs showing the same message
$ug-non-zts-20020429/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429//usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*
root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*
Using cpanel 11 / centos 4
View 1 Replies
View Related