Plesk 12.x / Linux :: Cannot Remove PTR Record With DNS Command
Mar 10, 2015
i have to delete all PTR records in over 80 domains in a Plesk 12 panel, when i tried to run the dns command to remove the PTR record from a domain, i got the error :
Code: Unable del record in DNS server: unable find DNS record ...
There is a KB article about this specific problem : [URL] .... , but it refers to older Plesk versions (8.x-10.x). I gave it a shot by copying the fix file from all 3 different versions to /usr/local/psa/admin/plib/api-common/ and i got the following PHP errors:
Code:
PHP Warning: include_once(class.PHostingManager.php): failed to open stream: No such file or directory; File: /usr/local/psa/admin/plib/api-common/cuDns.php, Line: 4
PHP Warning: include_once(): Failed opening 'class.PHostingManager.php' for inclusion (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/externals'); File: /usr/local/psa/admin/plib/api-common/cuDns.php, Line: 4
[URL] ......
Is there any workaround this PTR issue? Also, is Parallels going to update the article and provide solution for Plesk 12?
View 4 Replies
ADVERTISEMENT
Jan 17, 2015
Is there a command line way of removing Plesk backups?
I'm looking for the command line equivalent of these steps: Log into Plesk as the server admin > "Tools & Settings" > "Tools & Resources" > "Backup Manager" > check a backup and click "Remove".
We have a script that copies the contents of "/var/lib/psa/dumps/" to Amazon S3 for long-term storage of backups. It runs nightly after a scheduled Plesk backup. Once that script completes successfully, we'd like to delete the Plesk backup to free up disk space. We have Plesk's "Maximum number of backups in the repository" set to 1.
But Plesk appears to keep that backup around while creating a new backup (which makes some sense). This is causing us trouble because the server does not have enough disk space for two backups. As a temporary solution, I'm manually deleting the backup each day through the Plesk admin, but would like to automate it if possible. If automation is overly complex/risky, we'll look at upping our disk space instead.
View 4 Replies
View Related
Apr 7, 2015
Although running
>>
/usr/local/psa/bin/dns --info dev.sname.c002.aname.domain.com
>>
shows the 'ecz1' TXT record exists for "dev.sname.c002.aname.domain.com" :
...
ecz1.dev.sname.c002.aname.domain.com. TXT ecz1
[Code] ....
The issue can be caused by extra spaces in the TXT record:
Code:
[root@a10-52-143-28 ~]# /usr/local/psa/bin/dns --add dev.sname.c002.aname.domain.com -txt 'ecz1 ' -domain ecz1
SUCCESS: Creation of DNS record in Domain 'dev.sname.c002.aname.domain.com' complete.
[root@a10-52-143-28 ~]# /usr/local/psa/bin/dns --del dev.sname.c002.aname.domain.com -txt 'ecz1' -domain ecz1
Unable to del record in DNS server: unable to find DNS record
In the following example I have 3 such TXT records with 3, 5, 7 extra spaces and remove record with 3 spaces:
Code:
[root@a10-52-143-28 ~]# mysql -u admin -p`cat /etc/psa/.psa.shadow` psa -e "select host, val, (length(val) - length(rtrim(val))) as extraspaces from dns_recs where host='ecz1.dev.sname.c002.aname.domain.com.' and val like 'ecz1%'"
+---------------------------------------+-------------+-------------+
| host | val | extraspaces |
+---------------------------------------+-------------+-------------+
| ecz1.dev.sname.c002.aname.domain.com. | ecz1 | 5 |
| ecz1.dev.sname.c002.aname.domain.com. | ecz1 | 3 |
[Code] ...
Click to expand...
Click for original message
View 12 Replies
View Related
Jul 10, 2008
somehow plesk is not listing a domain record I added recently, that I have to remove. so, I can't select it and delete it through the interface.
is there a way to remove a dns record manually, perhaps from the command line?
View 3 Replies
View Related
Jul 29, 2008
I had some issues with PHP compilation seems to be issue with zlib. So I decided to remove it. What happened then is something like nightmare...
The command yum remove zlib removed zlib + all dependencies without asking me what to remove. So it removed majority of packages including yum itself.
How can I force yum to not remove dependencies when I uninstall some package?
View 5 Replies
View Related
Jun 26, 2007
I have had multiple websites hacked and need to do a cleanup. I need to run a command that will log all files (including path to that file) that contain <!-- ~ --> to a text file from the /home/* directory.
So far I have recieved 2 different ways to do it but none of them have worked
View 5 Replies
View Related
Nov 25, 2008
Is there any way so that i can remove a specific command from history.
628 ll
629 cat bash.sh
630 man mail
631 exit
632 history
You see my history command displays output as this. I need to remove the 630 th command.
Is this possible ?
I can use history -r but, it will remove all the commands executed in the session.
I need a command to remove a specific thing from history.
View 10 Replies
View Related
May 20, 2014
How can i add dmarc record with plesk panel?
DKIM and SPF records is looks ok.. And i need to add dmarc for my mails.
View 1 Replies
View Related
Mar 19, 2015
According to [URL] .... The SOA-record is set to the first NS-record set in Plesk.
I have noticed that new domains get my secondary DNS set as SOA.
I checked the DNS-template and there the correct nameserver is on top. Maybe the NS-record order is random or always swapped. I just noticed this.
If it's always swapped then I could give the authorative NS last in my template...
But why isn't it giving itself as authorative?
If Plesk is configured as master it also implies this, or am I missing something there? It could at least make sure it puts itself first.
View 19 Replies
View Related
Jan 1, 2007
I have edited /var/spool/cron/root file
and I've added this line:
*/1 * * * * rm -f /tmp/*.pl
and I have created file lol.pl
and after 10 minute file is still there, why?
View 4 Replies
View Related
Jun 5, 2015
Using Plesk 12 on CentOS, I'm unable to remove an old expired SSL certificate from one of my domains. It's not actually associated with any other domains either, although the Plesk value of 'Used' is > 1.
Please see this screenshot:
The 'retail' certificate above 'retail 2015' it isn't actually on any other domains - I've checked. So how can I remove it? I can see the 'psa' mysql table, is it safe to remove from there?
View 1 Replies
View Related
Sep 26, 2014
I installed a new ssl certificate, changed it to be default and secure Plesk, switched the IP to use it. Now I wanted to remove the old one but it shows me that there is still one usage of this cert and I can't remove it. But how can I find what is using it?
View 5 Replies
View Related
Nov 3, 2014
I tried to remove the ssl certificate but although I have removed it from the IP I'm getting an error that it is still assigned to it. The solution in [URL] .... didn't work cause the Certificate field is grey out in my case.
View 1 Replies
View Related
Jan 2, 2015
A customer wanted me to install the Google Apps MX records. However, it seems that they are not being created in Route53, at all.
Also if I delete the existing MX reccord the change does not reflect to Route53. Try to replicate?
Fact is that you've put this module in the catalog and would get in touch with you guys to tweak it to perfection as I think it can be a real USP for small hosters like me as this utilises the power of Amazons giant network yet you only have one server to take care of for all your regular hosting.
View 2 Replies
View Related
May 24, 2015
Plesk: 12.0.18
OS: CentOS 6.5 (Final)
Impossible to delete my PTR record (DNS) on a domain name. Message error: Impossible de restaurer la zone DNS : une erreur s'est produite en ajoutant l'enregistrement (IPv6 du serveur) IN none mondomaine.fr. : Des valeurs incorrectes ont été indiquées pour l'enregistrement DNS.
View 1 Replies
View Related
Jan 24, 2015
How to remove PHP Selector & Resource Usage? Refer image
View 4 Replies
View Related
Feb 20, 2015
I'm having the following issue:
Whenever I click on the Plesk panel link "Add or Remove Components" he will open a new browser window and runs into a timeout.
Browser: "Error code: ERR_TIMED_OUT"
I can't see any error messages in the panel.log and everything else from the panel is working fine.
System is running CentOS 5.11 with Plesk 12.0.18 Update #35
View 3 Replies
View Related
Jun 10, 2015
Plesk 12 will not do it and if you reinstall it you get errors after installation. Maybe a bug but seems nobody is interested in answering my question before.
I tried to remove by
apt-get remove --purge sw-nginx
dpkg -r sw-ningx
Both of them display that is removed but after a new installation are the folders not created and maybe old files not overwritten if not deleted.
View 1 Replies
View Related
Oct 9, 2014
I had forwaded a domain
say mydomain.com
to yourdomain.com
Which works fine and no issues
Now I wish to remove the forwarders and make the website active and visible
I am attaching the snap shots to show what I tried
View 3 Replies
View Related
Jan 25, 2015
How do I remove psa-proftpd on my Server? or make config by proftpd-basic?I have problems with Game Panel Easy-Wi..or is there a tutorial about this problem with Plesk and Easy-Wi?
View 6 Replies
View Related
Nov 11, 2014
I want to create a webpage where users can make a SRV record. I thought this is possible with the Plesk API but i dont have any expierance with the API. How to create it?
View 3 Replies
View Related
Jun 23, 2014
I have a PTR record and RDNS works for me but when i want sending email to this server : 62.152.169.25 error occurs and mail undelivery received.
qmail: 1403506829.587606 delivery 2978: failure: 62.152.169.25_does_not_like_recipient./Remote_host_said:_550_Invalid_RDNS_entry_for_144.76.245.38/Giving_up_on_62.152.169.25./
View 3 Replies
View Related
Oct 24, 2014
How to get plesk (12) to set the SOA record properly on existing domains?
Let me explain the issue first. We use PowerDNS supermaster mode as slave servers. The way this works is we configure PowerDNS so that it sees the plesk server as a so called supermaster.
When a so called supermaster notifies the slave servers on a zone update, if it doesn't exist it just adds the zone and pulls it in. This works very nice and without any scripting required (there's only the issue of removing them, I just have a script that deletes all domains that haven't been able to update in 2 weeks every day from the database).
The only issue here is that BIND does *NOT* ever notify the nameserver listed in the SOA. The nameserver listed in the SOA should be the master (and hence - thus plesk itself) and it being a master it should be where the changes occur and notifying it isn't necessary thus, which is why BIND doesn't do that.
Unfortunately plesk doesn't seem to grasp this concept. It will happily put any nameserver in the SOA record. Have adjusted the template and it seems to work ok for new domains now (not sure how reliably though), but it's a major pain for the existing ones. It's very hard to update them properly.
Reapplying template -> no change to master NS/SOA
Switching mode to slave and back to master -> no change to master NS/SOA
Resetting to default -> no change to master NS/SOA
The only way I've found so far is to delete the records manually, add them again and hope it doesn't change the order (yes it does this a lot, you'll have the correct order listed, click apply and the order just changes. Some times it adds them to the bottom of the list, some times to the top - not confusing at all).
Plesk really should be taught that if it's master, it should be the one in the SOA. Whilst my issue is larger due to the supermaster and slaves not creating the zone (and hence my slave not functioning), it is an issue in any setup because a slave listed as SOA will not be notified and doesn't pick up on the changes right away. Depending on the refresh times it might take quite some time for the slave to pick up the change then, which isn't desirable either as it will leave you with a slave that still returns incorrect records.
View 6 Replies
View Related
Apr 15, 2015
I am using Plesk 12 on Centos 6.
The Add and Remove Product Components panel lists various options to install.
There are options to add PHP 5.6, PHP 5.5, PHP 5.4, PHP 5.3 and 5.2 support. None of these are installed.
At the same time under a heading Web hosting features there is a PHP5 support that is installed.
What is the difference between these two references for same PHP5?
Does the panel allow installing PHP5 from two places?
View 1 Replies
View Related
Jan 23, 2015
Is it possible to completely remove the WordPress Toolkit.
Or at least to remove the button from the Basemenü at "Server Management"->"WordPress" ....
View 2 Replies
View Related
Aug 30, 2014
Yesterday I tried to install Fail2Ban on centos 6.5.
Set up for 30 seconds due to, I don't have much domains on plesk.
Fail2Ban stopped working and failed really bad, and it stopped working.
Later on we tried to uninstall Fail2Ban through Add/remove components and we were stack on logging. (about 20 hours same thing)
Right now, add/remove components comes with an error message (Can't connect to backend. No such file or directory)...
View 3 Replies
View Related
Sep 10, 2014
We can't install or remove any extension after upgrade to Plesk 12.0.8 from 11.5. When we go to Extensions Management > Add Extension for uploading a new extension, we are only allowed to use .deb and .zip. Before we had rpm and zip. This upgrade has been done on a Linux Server with CentOS installed (rpm based). How can we change the allowed extension for uploading an rpm file?
View 5 Replies
View Related
Jun 1, 2014
I know now how to install the integrated Help Desk funktion. But how do I remove the Link "Install Help Desk" when I remove the Applications osTicket?
View 1 Replies
View Related
Aug 19, 2014
I want to use the Panel as a Master DNS Server.
1: Obtain two Nameservers. ns1.maindomain.com, ns2.maindomain.com. (Completed)
2: Glue the Nameservers to the server's IP addresses. 1.1.1.1 -> ns1.maindomain.com / 2.2.2.2 -> ns2.maindomain.com (Completed)
3: Successfully register domain and make sure it's pointing to the correct server. (Completed)
4: Register new domain (client.com) to server using ns1.maindomain.com & ns2.maindomain.com as it's nameservers. (Problem)
Reason: Can't edit the template correctly due to a suffix .<domain> that I cannot get rid of.
In order for me to use (ns1.maindomain.com) and (ns2.maindomain.com) as the namerservers for client.com, I'll need to be able to edit those fields entirely. I don't want Plesk to append the client's domain name to the NS record.
This may be a very simple thing to remove, but I give up.
View 3 Replies
View Related
Sep 19, 2014
In Tools & Settings --> IP Adresses I got two IP Adresses:
192.168.1.10 (primary, bold)
89.104.83.139
Since the first IP adress is just the internal IP adress, I'd like to remove it, but I get the message that it's not allowed because it would be the primary IP.
Plesk has no option to just switch the primary IP adress, so what's the way to do it with plesk12?
View 1 Replies
View Related