Plesk 11.x / Linux :: Script To Test Integrity Of DNS - SOA Records?
May 20, 2014
I wrote a script to test the integrity of my DNS and run it from time to time on my server...
I just ran it today and it discovered I suddenly have 5 domains with SOA-records that doesn't point to itself. They point to the secondary nameserver.
They are records that exist for years and were for sure correct before (I know this because of that script).
If I do a "restore defaults" it isn't corrected and if I switch to slave and then back to master it doesn't change either...
The file /var/named/run-root/var/obfuscated.com is updated, but the slave-DNS stays in that file...
The only way I'm able to correct it is by deleting the NS-record with the slave DNS and adding it again.
I assume there's some mechanism that scans the NS-records and then decides to make that one the SOA. This has always worked fine... also on this server.
View 6 Replies
ADVERTISEMENT
Dec 30, 2014
When I am syncing plans with subscription, it shows
Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '16-servicePlanId' for key 'PRIMARY'
Which table should I check for the problem in mysql database?
View 2 Replies
View Related
May 25, 2014
I'm looking for a way to create DNS records on a Plesk Panel account at the 'customer' level.
View 5 Replies
View Related
Jul 5, 2015
I have a new server centos 7 with plesk 12. I want to add dkim records to my domains, how I can get dkim records from plesk, as we do in WHM?
View 1 Replies
View Related
Oct 8, 2014
I have Parallels Plesk 12.0.18 with CentOS 6.5 (Final)
WAF is On, with Atomic Basic ModSecurity rule set.
I was wondering if my sites were protected and I went to the Atomic wiki.
When I run a test from a non-whitelisted system following these instructions (STEP 10) [URL].... I always receive 404 error with all of my sites.
I also tested with:
[URL]...
Results: The sites load normally. (the call not even appears in the logs)
I've unistalled and reinstalled mod_security several times with the same results.
Is there any "official" way to check if WAF is protecting Plesk 12?
I asked same question in Atomic forum and they said:
you'd need to ask parallels about this, we made the ruleset available to them, but they implemented it using their own design. They might not be using 403 error codes like we do.
View 13 Replies
View Related
Sep 26, 2014
where do I find the setting to change dns records in plesk 11.5 ver ? I do not see it, it is missing in settings of domain under tab: "Websites and Domain"
View 1 Replies
View Related
Apr 10, 2015
I want to change SOA Settings from defaults to these: When I press OK button shows that is saved but when I test with [URL] .... and [URL] .... shows that settings still is defaults.How to change these settings??
View 1 Replies
View Related
Apr 22, 2015
I have a PPP12.0 hosted on ubuntu 12.04, and several websites and domains, mail service active using postfix.
Lets take for example two domains :
www.domainA.com
www.domainB.com
DomainA uses postfix
DomainB uses an external mail service , MX records are duly entered in the DNS zone of DomainB
If i send a mail from an adress of DomainA, lets say contact@domainA.com to any email of domainB lets say info@domainB.com, the server does not take into account the MX records, and i receive an answer from the server : 550 5.1.1 <info@domainB.com>: Recipient address rejected: User unknown in virtual alias table
But, if i send an email using any other external mail service (gmail, hotmail...), the mail is correctly forwarded to the mail server entered in the MX record of domainB.
View 2 Replies
View Related
Jan 17, 2015
I have Plesk installed on the master nameserver ns1.example.com, the dns slave manager extension installed, a working slave ns2.example.com and Plesk installed with working WHMCS autocreation of customers and subscriptions on a shared hosting server web1.example.com. I feel there's probably something obvious that I'm missing, but I can't figure out how to autocreate DNS records on ns1.example.com for customers on web1.example.com when new accounts are created.
View 2 Replies
View Related
Feb 23, 2015
My server is a debian 7 64 bits with plesk 12 last update.
A customer installed drupal 7.4 from plesk panel successful. However from Drupal/Configuration admin panel can not enable "Clean url". Clean test url failed too:
"The clean URL test failed"
.htaccess was ok .
I tried set domain vhost.con with (https://www.drupal.org/getting-started/clean-urls#enabling-7):
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^ index.php [L]
</IfModule>
But it not worked (IApache have module rewrite loaded.)
I think maybe issue y for nginx. But I don't know how set this -> [URL] .... in nginx.conf of domain in plesk.
How to set clean url of Drupal in Plesk 12?
View 6 Replies
View Related
Jun 10, 2015
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.
View 4 Replies
View Related
Jun 4, 2014
I have just moved away from Kloxo Hosting, and I am a bit confused as to how I go about setting Client domains to use the (Already Registered) Nameserver Records I have created on the server.
You see, when I create a customer, the template adds the domain with it's own nameservers, ex: (ns.customerdomain.com -> 0.0.0.0) I don't want this to be the case.
What I would like to achieve, is for all my client's to have their NS records pointing at the NS records I already have registered on the server.
The reason for this is, when I submit the registration document to my local registrar, I have to specify the nameserver address for the domain, however, I only have 2 IP's on the server. I cannot glue every customer's domain FQDN to an IP.
View 3 Replies
View Related
Jun 17, 2015
I'm just moved from VPS OVH to KIMSUFI DEDI and got question about DNS records because isn't clear at all for me...
Domain: xxx
New DNS should be:
ns.kimsufi.com
ns3006711.ip-151-80-42.eu
My DNS records looks like that: E-mail didn't work properly as well...
View 1 Replies
View Related
Jul 8, 2014
My plesk 12 is working, but one subscription doest show, or any of the domains.
Doing some digging got to this:
[root@server src]# /usr/local/psa/bin/sw-engine-pleskrun check_db_integrity-beta.php
PHP Notice: Undefined variable: PLESK_DB_HOST in /usr/local/src/check_db_integrity-beta.php on line 240
List of records in [psa.domains.cl_id] that miss a matching record in [psa.clients.id]
0
List of records in [psa.dom_level_usrs.dom_id] that miss a matching record in [psa.domains.id]
27, 32, 36, 43, 61, 83, 86
[Code] ....
ERROR: Table "smb_apsImportedResources" is not found in database "psa"!
ERROR: Table "smb_apsImportedResources" is not found in database "psa"!
List of records in [psa.domains.webspace_id, cl_id WHERE webspace_id<>0] that miss a matching record in [psa.domains.id, cl_id WHERE webspace_id=0]
20:1, 52:1, 52:1, 52:1, 68:1
View 1 Replies
View Related
May 7, 2015
I freshly installed Plesk 12.0 on Ubuntu 14.04. Everything works accept the MySQL database creation.
When I try to create one, i get this error :
error: the test connection to the database server has failed because of network problems: connection refused...
View 1 Replies
View Related
Oct 7, 2009
Anyone have a good download test in chicago other then FDC's?
I was told i was upgraded to a 1GBPS port for free by my host(from a 10mbit) which is sort of weird, i want to confirm. at this time FDC's 100MB file takes me about 3 seconds to download and downloads at 44.7M/s.
the file is too small for me to try and pull 1gbit, by that speed i have a 500mbit line odviosely but i want to test against something outside of FDC.
View 9 Replies
View Related
Aug 4, 2008
I use tripwire for a long time on my FreeBSD servers
one thing that's bugging me is that it takes like 20 minutes to check the system with the default config:
so I'd like to know:
1) is there currently some other tool that does tripwire job better?
2) anyone has a list of "probably changed files when a server is hacked", or something like that?
I mean, I'll be happy if tests can take 2 minutes instead of 20 and I detect intrusion 99% of the times instead of 99,9%
so "key files/dirs" would probably be enough instead of checking a lot of dirs with recursion
View 9 Replies
View Related
Jan 15, 2008
Are the following file from Cpanel? Cpanel just update itself (set to automatic update to stable release) and got the following file integrity check.
/usr/bin/chattr: FAILED
/usr/bin/encode_keychange: FAILED
/usr/bin/gdb: FAILED
/usr/bin/gdbserver: FAILED
/usr/bin/gdbtui: FAILED
/usr/bin/lsattr: FAILED
/usr/bin/snmpbulkget: FAILED
/usr/bin/snmpbulkwalk: FAILED
/usr/bin/snmpdelta: FAILED
/usr/bin/snmpdf: FAILED
/usr/bin/snmpget: FAILED
/usr/bin/snmpgetnext: FAILED
/usr/bin/snmpinform: FAILED
/usr/bin/snmpnetstat: FAILED
/usr/bin/snmpset: FAILED
/usr/bin/snmpstatus: FAILED
/usr/bin/snmptable: FAILED
/usr/bin/snmptest: FAILED
/usr/bin/snmptranslate: FAILED
/usr/bin/snmptrap: FAILED
/usr/bin/snmpusm: FAILED
/usr/bin/snmpvacm: FAILED
/usr/bin/snmpwalk: FAILED
/usr/bin/uuidgen: FAILED
/usr/bin/wbemexec: FAILED
/usr/bin/xmlcatalog: FAILED
/usr/bin/xmllint: FAILED
/usr/sbin/ext2online: FAILED
/usr/sbin/filefrag: FAILED
/usr/sbin/mklost+found: FAILED
/usr/sbin/snmpd: FAILED
/sbin/badblocks: FAILED
/sbin/blkid: FAILED
/sbin/debugfs: FAILED
/sbin/dumpe2fs: FAILED
/sbin/e2fsck: FAILED
/sbin/e2image: FAILED
/sbin/e2label: FAILED
/sbin/findfs: FAILED
/sbin/fsck: FAILED
/sbin/fsck.ext2: FAILED
/sbin/fsck.ext3: FAILED
/sbin/logsave: FAILED
/sbin/mke2fs: FAILED
/sbin/mkfs.ext2: FAILED
/sbin/mkfs.ext3: FAILED
/sbin/resize2fs: FAILED
/sbin/tune2fs: FAILED
View 5 Replies
View Related
May 29, 2007
I installed system integrity monitor problem
It says:
[05/29/07 21:35:15]: HTTP service is online.
[05/29/07 21:35:15]: HTTP url request failed, assuming offline.
[05/29/07 21:35:15]: HTTP offline, restart limit exceeded.
How do i increase this so called restart limit?
System integrity monitor on server.dealsreferals.com has taken action in responce to an event. Recent event logs are enclosed below for your inspection. There has been 23 events today, if an average of 1000 events is reached, e-mail alerts will be terminated for the duration of the day.
- Events Summary:
Total event count: 23
Average event count: 2
- Service Summary:
FTP [online - 0 events]
HTTP [offline - 11 events]
DNS [online - 1
1 events]
SSH [restarted - 1 events]
MYSQL [restart failed - 1 events]
XINET [restarted - 1 events]
- System Summary:
LOAD [25.71 - status good - 17 events]
NETWORK [eth0 - online - 0 events]
- SIM Log:
[05/29/07 21:30:12]: XINET service is online.
[05/29/07 21:35:15]: LOAD 25.71 (status good)
[05/29/07 21:35:15]: NETWORK is online.
[05/29/07 21:35:15]: FTP service is online.
[05/29/07 21:35:15]: Error in http.chk, $LPATH_NT not found.
[05/29/07 21:35:15]: HTTP service is online.
[05/29/07 21:35:15]: HTTP url request failed, assuming offline.
[05/29/07 21:35:15]: HTTP offline, restart limit exceeded.
[05/29/07 21:35:15]: DNS service is online.
[05/29/07 21:35:15]: SSH service is offline.
[05/29/07 21:35:15]: Restarted SSH service (1 SSH events today).
[05/29/07 21:35:15]: MYSQL service is offline.
[05/29/07 21:35:15]: MYSQL restart failed, could not find /etc/init.d/mysqld.
[05/29/07 21:35:15]: XINET service is offline.
[05/29/07 21:35:15]: Restarted XINET service (1 XINET events today).
- System Log:
May 29 21:35:48 server smartd[2510]: smartd received signal 15: Terminated May 29 21:35:49 server smartd: smartd shutdown failed May 29 21:35:54 server xinetd[14167]: Exiting...
May 29 21:35:54 server xinetd: xinetd shutdown succeeded May 29 21:35:54 server bandmin: Shutting down bandmin:
May 29 21:36:01 server bandmin: [60G
May 29 21:36:01 server bandmin:
May 29 21:36:01 server rc: Stopping bandmin: succeeded May 29 21:36:05 server sshd: Stopping sshd failed May 29 21:36:06 server acpid: acpid shutdown succeeded May 29 21:36:07 server crond: crond shutdown succeeded May 29 21:36:07 server autofs: Stopping automount:
May 29 21:36:08 server sshd: succeeded
May 29 21:36:12 server xinetd: xinetd shutdown failed May 29 21:36:16 server xinetd: xinetd startup succeeded
===============================================================================
SIM 2.5-3 <sim@r-fx.org> 05/29/07 21:35:15
View 5 Replies
View Related
Apr 11, 2015
I just noticed that in our first zone, every record has a TTL of 900. All three nameservers in our system are handing out the same incorrect TTLs (easily visible via AXFR, and expected since two are slaves). Operations > Customers > Customer > Domains > domain shows every record in this zone has a TTL of 42300. The DNS resource's Activation Parameters and zone's SOA are set as follows:
Refresh 43200
Retry 600
Expire 2419200
Min TTL 900
Default TTL 43200 (for the resource; not editable for the zone)
PPA seems to be silently using the Min TTL to override the zone records that it shows with the desired TTL on screen. Changing the Min TTL in the SOA for a zone changes the TTL of all records.
This zone has both template-generated and manual records.
View 2 Replies
View Related
Mar 8, 2015
I have installed Parallels Plesk 12.0.18 installed on my Windows Server. I have found issues with my DNS and SOA records having issues it says I have not configured my DNS and SOA records when I do a DNS diagnosis.
setup my configure the records for me correctly so that my domains issues could be solved. You can see a link below to know the errors I have for my domain name. I have hosted multiple domain names on the same server with Plesk.
[URL]
View 1 Replies
View Related
Aug 15, 2008
I have used e2fsck on linux server hard disk (CentOS 5.0) and the result :
=================================
Warning! /dev/sda2 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
/dev/sda2 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 19137773 has zero dtime. Fix? no
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -(16332803--16332804) -(16332823--16332826) +(16345421--16345424) +16347209
Fix? no
Free blocks count wrong for group #498 (25950, counted=25949).
Fix? no
Free blocks count wrong (37023218, counted=37023216).
Fix? no
Inode bitmap differences: -19137773
Fix? no
Free inodes count wrong (19162546, counted=19162545).
Fix? no
/dev/sda2: ********** WARNING: Filesystem still has errors **********
/dev/sda2: 137806/19300352 files (2.3% non-contiguous), 1556879/38580097 blocks
=================================
I don't know the exact meaning of the displayed result , does it mean bad sectors? How much the e2fsck is reliable? Is there any better Linux utility to check bad sectors on Western Digital HDD?
View 12 Replies
View Related
Jul 29, 2008
If I have a company watching my integral services, do I need SIM? Are there benefits to keeping it and having outsourced monitoring alongside it?
View 5 Replies
View Related
Apr 16, 2015
It seems that changing the IP of a web site (which I can't get to work) reactivates records from the default DNS template that have been deactivated...for example the default TXT records are activated, so now the domain may have two SPF records, only one of which is correct. Having multiple A or other records is potentially worse, if, say, "mail." now points to the wrong server.
View 2 Replies
View Related
Jul 15, 2015
It seems I am not getting any emails from plesk, like scheduled event notifications, ect.
What function of plesk can I run to force it to send an email so I can troubleshoot why I am not getting emails from plesk?
View 4 Replies
View Related
Jul 17, 2014
This is a new test install of PPA 11.5.5 with currently 8 nodes: CP, Apache, IIS, MySQL, Mail, 2 BIND, and Webmail. Installation and adding nodes went pretty much without a hitch so I'm testing account creation, subscription settings, etc. but I'm not getting very far. Anytime I try to add a subscription (any subscription) to an account I get the error: "Owner with external ID = '211' does not exist in Plesk database" The actual ID number varies depending on which account I'm trying to add a subscription to, but otherwise it's always the same error. I've tried the built-in default subscriptions, I've tried creating my own...same results either way.
View 2 Replies
View Related
Jan 6, 2009
I have 35 clients hosting on my dedicated server.
I am going to be ending my service as a host provider, and I need to transfer all of my clients to a new host.
Many of my clients sites were written 3-4 years ago in php while global vars was still off, and so many of the sites might not function correctly if I just pop them to a new host.
My first solution would be to bypass the php .ini file with a public_html/ based ini that would override any newer server settings.
Does anyone know of a good host that could take my clients? And also support the php version locally to the shared account?
I need a host that is reliable, and honest.
Am I going about this the right way?
I am open to any suggestions or advice on this.
I should probably add, all of my clients pay on an annual basis from $89-$140. None of my clients run video sites or any heavy media stuff.
View 11 Replies
View Related
Feb 3, 2015
WINDOWS SERVER Plesk Panel version 12.0.18
Error: Test the database server connection failed:
mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file
View 1 Replies
View Related
Jul 30, 2006
Dedicated server has 2 HDD but I am not going to pay another $25/month for the hardware RAID solution (already stretched too far).
My plan is to install FreeBSD 6 and use Gmirror to establish a raid-1 "soft" mirror.
Advantages: Entire drive is mirrored including the OS. Drives can be remotely inserted or removed from the mirror set using a console command so its possible to uncouple the mirror and perform software updates on a single drive then re-establish the mirror only after the updates have proved successful.
Disadvantages: Lower I/O than hardware solution (not a problem for me) others???
I rarely see people consider software raid for a tight-budget server and I am wondering why? Could it be that other OS's dont have a solution as good as gmirror? Or is it just that crappy soft-raid in the past has left a bitter taste in admins mouths? Or perhaps admins need the extra I/O of hardware?
View 3 Replies
View Related
Jul 6, 2014
We are currently using Parallel Plesk 11.0 version and there is one requirement from microsoft provider to add the exact same values in SRV Records.
Priority of Service = 100
Weight of Service = 1
but these values are not available in the dropdownlist. attached are the screenshots.
View 9 Replies
View Related