Path For DNS Zone File In Plesk
Jul 20, 2007What is the path for DNS zone files located in plesk system?
View 4 RepliesWhat is the path for DNS zone files located in plesk system?
View 4 Replies/var/log/spam_log
Code:
Sat Apr 21 12:49:09 CEST 2007 - / - drweb x 111 10002 Dr.Web daemon account /var/drweb /sbin/nologin
Sat Apr 21 13:07:36 CEST 2007 - /home/httpd/vhosts/hollanta.nl/httpdocs/html - apache x 48 48 Apache /var/www /sbin/nologin
Sat Apr 21 13:19:09 CEST 2007 - / - drweb x 111 10002 Dr.Web daemon account /var/drweb /sbin/nologin
Sat Apr 21 13:19:25 CEST 2007 - /home/httpd/vhosts/brabant.nl/httpdocs/forum - apache x 48 48 Apache /var/www /sbin/nologin
Sat Apr 21 13:21:14 CEST 2007 - /home/httpd/vhosts/brabant.nl/httpdocs/forum - apache x 48 48 Apache /var/www /sbin/nologin
Sat Apr 21 13:22:23 CEST 2007 - /home/httpd/vhosts/flevo.nl/httpdocs/myred - apache x 48 48 Apache /var/www /sbin/nologin
Sat Apr 21 13:23:33 CEST 2007 - /home/httpd/vhosts/brabant.nl/httpdocs/forum - apache x 48 48 Apache /var/www /sbin/nologin
Sat Apr 21 13:36:31 CEST 2007 - /home/httpd/vhosts/brabant.nl/httpdocs/forum - apache x 48 48 Apache /var/www /sbin/nologin
Sat Apr 21 13:43:42 CEST 2007 - /home/httpd/vhosts/brabant.nl/httpdocs/forum - apache x 48 48 Apache /var/www /sbin/nologin
Sat Apr 21 14:19:12 CEST 2007 - / - drweb x 111 10002 Dr.Web daemon account /var/drweb /sbin/nologin
Sat Apr 21 14:37:20 CEST 2007 - /home/httpd/vhosts/brabant.nl/httpdocs/forum - apache x 48 48 Apache /var/www /sbin/nologin
Sat Apr 21 14:49:09 CEST 2007 - / - drweb x 111 10002 Dr.Web daemon account /var/drweb /sbin/nologin
Sat Apr 21 15:19:43 CEST 2007 - /home/httpd/vhosts/brabant.nl/httpdocs/forum - apache x 48 48 Apache /var/www /sbin/nologin
Sat Apr 21 15:49:09 CEST 2007 - / - drweb x 111 10002 Dr.Web daemon account /var/drweb /sbin/nologin
Did anybody got this working including the path to the actual file?
I would like:
Code:
Sat Apr 21 15:19:43 CEST 2007 - /home/httpd/vhosts/brabant.nl/httpdocs/forum/spammer.php - apache x 48 48 Apache /var/www /sbin/nologin
Rather than:
Code:
Sat Apr 21 15:19:43 CEST 2007 - /home/httpd/vhosts/brabant.nl/httpdocs/forum - apache x 48 48 Apache /var/www /sbin/nologin
Thanks in advance.
Refering to this HOWTO: [url]
application which can show me click paths for different IPs through log files,
Addition but optional requirement
An open source application it will be additional help as I will be able to add my needed features too. I am also very comfartable in PHP compare to any other language (because of all the open classes I know).
Two projects:
proj: site.loc
proj2.0: newsite.loc
They are located in different places on the file system. And i need to redirect from one project to another internally, so url for site.loc is preserved.
E.g. requesting site.loc/hey/there i need apache to serve files form proj2.0.
First, i know that on the .htaccess level we cannot use RewriteRule to file-system path (for security reasons).
Okay, an Alias is a workaround. Say I add an Alias to virtual host as following:
Code: Alias /newsite /some/path/to/proj2.0
Then if i'll add the rule to proj's .htaccess:
Code: RewriteRule ^hey/there /newsite
This will work.
But, the webroot does not work:
Code: RewriteRule ^$ /newsite
Is it i'm doing something wrong or there is some quirk about the webroot?
I want to select a specific file by its path using .htaccess to allow access to it.
View 1 Replies View RelatedWhen I view my servers hostname on dnsreport I get the following errors:
Quote:
WARN
MX records are not CNAMEs
WARNING: When I looked up your MX record, your DNS server returned a CNAME. This is an unusual situation, and I can't handle it -- the following MX tests may not work properly. The problem is:
mail.fishsense.co.uk.->fishsense.co.uk.
Quote:
FAIL
MX A lookups have no CNAMEs
WARNING: One or more of your MX records points to a CNAME. CNAMEs are prohibited in MX records, according to RFC974, RFC1034 3.6.2, RFC1912 2.4, and RFC2181 10.3. The problem MX record(s) are:
mail.fishsense.co.uk.->fishsense.co.uk.->67.18.217.170
Quote:
WARN
Mail server host name in greeting
WARNING: One or more of your mailservers is claiming to be a host other than what it really is (the SMTP greeting should be a 3-digit code, followed by a space or a dash, then the host name). If your mailserver sends out E-mail using this domain in its EHLO or HELO, your E-mail might get blocked by anti-spam software. This is also a technical violation of RFC821 4.3 (and RFC2821 4.3.1). Note that the hostname given in the SMTP greeting should have an A record pointing back to the same server. Note that this one test may use a cached DNS record.
fishsense.co.uk claims to be non-existent host server.fishsense.co.uk:
220-server.fishsense.co.uk ESMTP Exim 4.63 #1 Fri, 12 Jan 2007 08:10:24 +0000 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
The contents of the zone file are:
Code:
; Zone File for fishsense.co.uk
$TTL 14400
@ 86400 IN SOA ns1.fishsense.co.uk. myemail.domain.com (
2007011204
7200
7200
2417200
86400
)
fishsense.co.uk. 86400 IN NS ns1.fishsense.co.uk.
fishsense.co.uk. 86400 IN NS ns2.fishsense.co.uk.
fishsense.co.uk. 14400 IN A 67.18.217.170
localhost.fishsense.co.uk. 14400 IN A 127.0.0.1
fishsense.co.uk. 14400 IN MX 0 mail.fishsense.co.uk.
ns1.fishsense.co.uk. 14400 IN A 67.18.217.170
ns2.fishsense.co.uk. 14400 IN A 67.18.217.171
fishsense.co.uk. 14400 IN TXT "v=spf1 a mx ~all"
www 14400 IN CNAME fishsense.co.uk.
mail 14400 IN CNAME fishsense.co.uk.
ftp 14400 IN A 67.18.217.170
server.fishsense.co.uk 14400 IN A 67.18.217.170
Can someone explain to me in laymans terms (aka as simple as possible) on how I can fix the above errors.
i have 2 ips to run a nameserver for my domain.
say if i have a zone file like this...
How to synchronize DNS zone file from back end means form ssh shell prompt.
View 4 Replies View RelatedI have been using Site5 hosting and its pretty easy to edit DNS Zone file .. Now I have some sites hosted with HostGator and they have cPanel.
I am wondering how to edit dns zone file in cPanel? I don't have WHM with my account.
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 RelatedWhat would be the full path to the user's directory?
Cpanel's is:
/home/user/public_html
Have the following error message:
ProtDir_IIS::update() failed: Add Protected Directory failed: columns siteId, path are not unique (Error code 1)
Where can I define the $PATH in chroot permanent ?
If i use "export PATH=$PATH:/usr/libexec" in the shell - its ok for this session, but in a new Session the modified $PATH-Variable ist reset to:
"echo $PATH"
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
I changed Machine Name but myLittleAdmin Object Path shows my old machine name.How can update this name?
View 3 Replies View RelatedI have installed the Wordpress application. The wordpress url is "server.com/wordpress", but I want to change it to something like "server.com/myblog".
In Plesk, the installation path cannot be changed (at least, it is not under "Change Settings").
Changing the Wordpress installation itself is not that difficult (renaming the folder in httpdocs and changing the siteurl and home parameter in the database), however, in Plesk still the old installation path is shown, and the Plesk interface to Wordpress obviously does not work any more.
How can I change the Wordpress installation path in Plesk?
Version Parallels Plesk v12.0.18_build1200140606.15 os_Ubuntu 12.04
OS Ubuntu 12.04.5 LTS
On server are many Wordpress installations after scan all these were added however about 90% have this tool-tip message "A WordPress installation was previously detected at this path, but it is not operating properly now." How to correct and manage these installations
View 4 Replies View RelatedNot sure what is going on with Plesk.. I've modified and saved a specific service plan with the session.save_path to have a location by default to be /tmp/ and for some reason it isn't changing all customers accounts with the modified settings of the location to be /tmp/. In order to resolve the issue, I'd have to manually change the "default" option on each websites php settings session.save_path to /tmp/ instead of Plesk syncing the correct settings based on the modification. Because of so, I am receiving the following error below on a customers website below:
Warning: Unknown: open(/var/lib/php/session/sess_f9bffgv0ddrjo9geb6frhut5d7, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
After making changes, I've tried the following in command line:
service php-fpm restart
service httpd restart
service psa restart
None which have resolved the issue.
When a PHP script is sending a mail, there is added an return path in mail header. How to change that mail address in return path?
We are using Postfix and CentOS 6.5
Plesk is setting the mail address of the owner of the hosting account. When changing the owners mail address in Plesk, the return path is still the same and is not updated...
I am having problems with two accounts, I get the following errors:
Code:
Failed to copy files storage to destination path. stderr: filemng: Cannot open destination file '/var/www/vhosts/domain.tld/httpdocs/index.html.Chn3rn' System error 122: Disk quota exceeded stdout: filemng: Cannot open destination file '/var/www/vhosts/domain.tld/httpdocs/index.html.Chn3rn' System error 122: Disk quota exceeded
I have run the command
Code:
quotacheck -avugfm
And the output from the command
Code:
df -i
is:
Code:
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/vzfs 20000000 1542375 18457625 8% /
/dev/simfs 20000000 1542375 18457625 8% /tmp
/dev/simfs 20000000 1542375 18457625 8% /var/tmp
none 1415577 113 1415464 1% /dev
I am at a loss, I don't know what else to try.
How can we stop Plesk resetting the file permissions on a dll file that is found in
C:Program Files (x86)
??
Specifically,
we have a file, jmail.dll,
here
C:Program Files (x86)Dimacw3JMail
By default Plesk permissions are set to DENY for PSACLN.
But the JMail plugin cannot work with these permissions !
We change this to be ALLOW for READ & EXECUTE and DENY for WRITE.
And everything works fine.
But every time Plesk does an update it reverts it back !
This means that a number of our customers contact forms stop working !
We have too many DNS servers such as BIND, PowerDNS, NSD on different platform.I need transfer all zones to Plsek server.Is there a ready-made solution import dns zones using axfr?
View 3 Replies View RelatedI've setup Bind 9.10.1 on a windows server as a slave DNS server. I've installed the Slave DNS Manager on Plesk 12 for Linux and setup configuration.
New zones are added ok so authentication en communication is working perfectly. But when I delete a zone in Plesk, the zoneconfig file doesn't get deleted on the windows server. I can see the windows eventlog saying "received control channel command 'delzone <domain>'" where <domain> is the zone I deleted. But after that noting. And I see errors after a while because of bind trying to transfer the deleted zone again. The zonefile isn't deleted from c: amedzones...
I'm experiencing the situation with zone transfer to PDNS slaves.
Spoiler: Bind master options
// $Id: named.conf,v 1.1.1.1 2001/10/15 07:44:36 kap Exp $
// -- THE FOLLOWING LINES WERE GENERATED BY PLESK. IF YOU MODIFY THEM, THEY WILL BE OVERWRITTEN WHEN THESE SETTINGS ARE MANAGED IN PLESK UI. --
options {
allow-recursion {
localnets;
};
notify yes;
also-notify {
SLAVE_IP_1;
SLAVE_IP_2;
[Code] ....
PDNS have slave=yes enabled and works great with PDNS master server I also have.
But, as written by PDNS community:
For example, if you use ns1.solcon.nl as primary NS-record you need to have ‘ns1.solcon.nl’ as the nameserver-record in de supermasters-table.Click to expand...
I have a VPS running Plesk 11.x and yesterdady I tried adding a new domain to my subscription and received this error:
Error: Unable to update domain data: Unable to restore the DNS zone: an error occurred while adding the DOMAINNAME IN A DOMAINNAME record: Incorrect DNS record values were specified.
I have one subscription and under that a few domains. I've not had any DNS issues before so I'm a little stumped as to where to start looking. I suspect DNS template issues but I'm not that au fait with the DNS template so I don't want to start fiddling. My service provider suggested I look at [URL] ... which doesn't appear to be related as I have no duplicate domains under my subscription.
Following on from this the VPS is my personal server and I host a few sites for friends consequently I only have the one subscription. I've been advised that I should have one subscription per domain. Is that correct information?
I've run into a problem with my Plesk install with Amazon Route 53. I have the latest extension installed (version 1.2 release 2) on Parallels Plesk v12.0.18_build1200140811.16 os_CentOS 7.
The extension has been working perfectly well for me for months. I was adding new domains to Plesk and discovered that as I was making changes to DNS records that a new zone file was created on Route 53 instead of updating the original one.
I did notice that this started happening when I surpassed the 100 domain limit and seems to only happen on domains created at #101 and on. (in other words, I can edit a domain that was created before I got to domain #100 [ie domain #1] and it does not create a duplicate zone file).
I turned on debug mode for plesk and am seeing the json calls with the correct commands coming through.
Redacted sample of an update of Domain #104
[2015-06-10 16:42:43] INFO [panel] The domain alias <b>mydomain.test</b> was created.
[2015-06-10 16:42:43] DEBUG [util_exec] [5578bd6355bc3] Starting: dnsmng /usr/local/psa/admin/bin/dnsmng '--update' 'mydomain.test'
[2015-06-10 16:42:43] DEBUG [util_exec] [5578bd6355bc3] Finished in 0.06322s, Result: TRUE
[Code] .....
So from what I can see the domain +100 is re-creating the domain whereas domain 1 is not - it's just updating it, even though both json commands show the update statement coming through.
I have setup Slave DNS using plesk 12. But it is not creating the zone in slave server. I could see log in /var/log/messages of slave server. But DNS zone is not creating. I have followed the KB "[URL] ...." for setup.
Nov 4 13:31:25 li456-187 named[16905]: received control channel command 'addzone testnith.com { type slave; file "testnith.com"; masters { 108.161.131.59; }; };'
Nov 4 13:31:25 li456-187 named[16905]: received control channel command 'refresh testnith.com'
Nov 4 13:31:25 li456-187 named[16905]: received control channel command 'addzone testnith.com { type slave; file "testnith.com"; masters { 108.161.131.59; }; };'
Say I have 2 websites and they all use file.php which is located on mainserver.com/file.php.
I want to use the file like this:
website1.com/file.php
website2.com/file.php
Where would the my.cnf file be kept for Plesk?
I found one in /etc, but the max_allowed_packet option was there.
Where are log files located for plesk? I have email problem with plesk and I need to check the log file. I did check /var/log/maillog file and couldn't fidn anything.
How to check horde issues?
SSH language, just know the commands that i use often.
my hoster, as he said did upgrade 2 days ago, [had an upgrade to apache 2], and some SSH command that i use before this, now don't work
for example, i had php script, which i run from ssh
[php go.php]
which don't work now ... got an error:
Code:
-bash: php: command not found
so my question is how to find php right path ?
Code:
$ whereis php
output:
Code:
Code:
php: /usr/src/php-5.2.0/php5.spec /usr/src/php-5.2.0/php.ini-dist /usr/src/php-5.2.0/php.ini-recommended /usr/src/php-5.2.0/php.gif /usr/local/bin/php /usr/local/lib/php.ini /usr/local/lib/php
as i understand, path is /usr/local/lib/php
after this try to type
Code:
/usr/local/lib/php go.php
output
Code:
/usr/local/lib/php: is a directory
btw
when i type
echo $PATH
get
Code:
/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/home/MYUSERNAME/bin
I'm trying to transfer a cms from 1 site to another and I don't know the full ftp path.. I'm looking for the "/public_html/username/blank/blank/sitefolder" or something similar.. How do I figure this out?
View 2 Replies View Related