Server Deletes A Entry Every Day
Jul 26, 2008
I'm on a VPS and every day I get the following message if I loginto WHM:
The server was unable to lookup an an A entry for its hostname (vps.glse.net). This is generally because the entry was never added. However this could also be the result of your nameserver(s) being down. If you would like to attempt to automatically add the entry
After that I add the A entry, and setup the Resolver and restart BIND, after that it is usually working again until I have to do it again the next day.
The hostname (vps.xxxx.net) resolves to . It should resolve to 72.18.xxx.xxx. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain.
Some are all of these problems can be caused by
/etc/resolv.conf being setup incorrectly. Please check this file if you
believe everything else is correct.
my /etc/hosts
72.18.xxx.xcentos-cp--template
72.18.xxx.xxxvps.xxxx.net vps
72.18.xxx.xcentos-cp--template.xxx.com centos-cp--template
72.18.xxx.xxxvps
127.0.0.1localhost
my resolver.conf
nameserver xx.xxx.xx.xxx
=> I tried adding the nameservers from the server here but that didn't help so I had to use that of the hosting company
The A entry is empty, as stated in the mail,
View 9 Replies
ADVERTISEMENT
Dec 12, 2008
If i add a wildcard entry in forward lookup zone then Do i have to put a wildcard entry in reverse lookup zone?
View 0 Replies
View Related
May 30, 2008
What configurations are needed on a whm/cpanel vps hosting account in order to be used as a mail server for a domain being hosted on another server? The domain's mx entry have already been altered to point to the target mail server.
View 1 Replies
View Related
May 31, 2009
This is on a RHEL 4 Box.
I want to create a cron job that deletes backup files that are older than 5 days. I have created a shell script (/usr/local/src/runjob.sh) that runs successfully from the SSH command line:
Code:
#pwd
/usr/local/src
#./runjob.sh
Here is the script:
Code:
#!/bin/sh
#
#
find /usr/local/apache/sites/*/BACKUPS/ -maxdepth 1 -atime +5 -iname 'test*.txt' -exec rm {} ;
Script has 777 permissions and is owned by root.
I have the following entry in crontab:
Code:
10 12 * * * /bin/sh /usr/local/src/runjob.sh >/dev/null 2>&1
As shown in the cron log, the job does run, but it does not delete the files. And there are files older than 5 days in the directory that meet the find criteria.
View 12 Replies
View Related
Jan 15, 2008
I'm trying to create a script to archive logs for 7 days but still delete them from the domlogs daily. Has someone already done this? The ideal solution would be to modify the CPanel script that deletes them after stats run but I'm not sure if thats protected code by CPanel. The other option would be to disable the delete logs after stats run option and to create a script to copy the logs somewhere else via cron and call the script that CPanel uses to delete the logs without restarting apache. This script would also move the files through directories and eventually delete them, therfore preserving the logs for 7 days. Any ideas?
I have created an untested script which should do this but I just need to know how CPanel deletes the logs without restarting apache.
#!/bin/sh
mkdir /domlogbackup/
mkdir /domlogbackup/1/
mkdir /domlogbackup/2/
mkdir /domlogbackup/3/
mkdir /domlogbackup/4/
mkdir /domlogbackup/5/
mkdir /domlogbackup/6/
mkdir /domlogbackup/7/
mkdir /domlogbackup/8/
sleep 1
rm -rf /domlogbackup/8/*
sleep 5
mv /domlogbackup/7/* /domlogbackup/8/
mv /domlogbackup/6/* /domlogbackup/7/
mv /domlogbackup/5/* /domlogbackup/6/
mv /domlogbackup/4/* /domlogbackup/5/
mv /domlogbackup/3/* /domlogbackup/4/
mv /domlogbackup/2/* /domlogbackup/3/
mv /domlogbackup/1/* /domlogbackup/2/
sleep 5
cp /usr/local/apache/domlogs/* /domlogbackup/1/
sleep 0.1
# rotate domlogs
sleep 10
gzip /domlogbackup/1/*
View 2 Replies
View Related
Dec 24, 2007
Currently i am running my webhosting at server A and email hosting at server B.
Possible for me to make the email mx entry available on both server instead server B?
View 1 Replies
View Related
Jul 7, 2007
I recently setup a few new webservers, had everything working fine, I am giving each website a dedicated IP, I was trying to tweak the DNS output on dnsstuff.com, I was getting a warning for:
"Mail server host name in greeting"
So, I added a "a entry" under the particular domains DNS to point to the main server IP, that did take care of the "mail server host name" but come to find out that really screwed up alot of stuff..
For instance, the site that has the dedicated IP and the new "a entry" will not work now unless I change the sites IP in the WHM to point to the main host IP, If I change it back to the dedicated IP or any other dedicated IP, it just gives a list of "dir files" for that domain.
Is there anyway to get rid of this "a entry" that I have added for that domain to take it back to normal.
Also, if I take a domain name that is already in the system and working fine with its own dedicated IP, and try and move it to a new dedicated IP it messes that domain name up also, and then can only be accessible by changing it back to the main server IP..
View 6 Replies
View Related
Sep 4, 2007
I do not need more than 1go space / 250go bandwith. Do you think I can have this for about 20-25 $?
View 3 Replies
View Related
Feb 4, 2006
I apoligize in advance if this is the wrong place to post this thread.
I am trying to create a CNAME entry in my DNS tables and have no clue where to begin.
I have did a search but didnt find anything that gives reference on how to do it just how to fix errors.
Can anyone point me in the right direction to learning how to accomplish this task.
View 1 Replies
View Related
Jun 7, 2009
we are expanding to offer vps. i have seen diferent servers config. but am not sure what to choose in terms of hardware
View 14 Replies
View Related
Apr 8, 2008
I have often seen the entry mailnull in the mail logs of exim.
I don't understand it. What is meant by mailnull? where can i get information about it?
View 2 Replies
View Related
Dec 28, 2007
Google's mini search appliance:
[url]
hardware wise, it's just an out-dated supermicro's mini 1U setup (P8SCT in SC512L chassis, prescott 3G, 2G DDR2, 1x WD 250G) which can be easily upgraded to newer, greener configuration such as PDSMI+ or PDSBL-LN2 board with Conroe/Kentsfield CPU, 4G~8G RAM, even raptor 10k drive.
what do you guys think the market out there for this type of appliance? will updated hardware boots the performance by much?
View 8 Replies
View Related
Nov 4, 2014
I created a subdomain, delete all entries except the NS and A Records. I changed the NS records. Now i have to delete the Soa Record for this subdomain. I don't know, whether this was the correct way...
View 1 Replies
View Related
Apr 11, 2008
Many a times websites hosted on my Red Hat Linux server would not open even though Apache and everthing else is up and running. When i hit reload on browser 4-5 times the website would load or i have to restart Apache and everything starts working normally.
Today when this problem resurfaced i did not restart Apache and looked for in apache logs and saw this strange entry in apache Error Log;
[client my.ip.xx.xx] script '/my/website/httproot/mdqt.php' not found or unable to stat
The above was in apache Error Log, above is my ip address, and i never requested a file named mdqt.php, in fact no file by the name mdqt.php even exist on my entire server.
I then looked for mdqt.php in error logs and saw several requests made for this file and from various IP addresses.
i understand this is what causes my http to die.
View 9 Replies
View Related
Feb 10, 2015
When you try to change the password of the client to login the control panel gives an error: SQLSTATE [23000]: Integrity constraint violation: 1062 Duplicate entry '<login>' for key 'login'
The impression that instead of UPDATE done INSERT.
Parallel Plesk Version: 11.5
OS: Debian Squeeze
View 2 Replies
View Related
May 7, 2013
when im trying to enable spam filter for a particular email account i get this mysql error:
Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'xxxx@domain.com' for key 3 (mail id i hid it for security reasons xxxx@domain.com)..
i searchd in the psa database but could not find any duplication...
View 2 Replies
View Related
Jul 20, 2007
i enter my ip in dnsstuff.com for see spam my mail
because if i send one e-mail of my server to gmail go to spam
[url]
PTR MISSING! 111.1.1.1.1.1 has no reverse DNS entry; some mail servers may not accept your mail. 86400 seconds 0 ms
What means?
means my ip server is in blac list?
View 6 Replies
View Related
May 8, 2007
I've got a VPS which is serving as the main server for a number of sites. Web Server, SSH Server, and Mail Server.
What I've got running:
Apache2, PHP5, MySQL5, Dovecot, Postfix
One of the sites is a growing forum with a MASSIVE photo album. This is the site where I notice the most slowness.
Changing the server software is not an option - Only optimization.
Quote:
Originally Posted by httpd.conf
ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
StartServers 8
MinSpareServers 8
MaxSpareServers 13
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 50
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
Listen 80
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
Include conf.d/*.conf
User apache
Group apache
Quote:
Originally Posted by my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
View 8 Replies
View Related
Mar 7, 2009
I looked a lot - can not find solution ....
I want to transfer a file from [url]to [url]or [url]Without it will pass my localcomputer (slow upload)
It can be also a script i will install like this one - this is only for images
[url](remote)
View 7 Replies
View Related
Oct 16, 2013
I have Plesk 11.5 (service provider mode) on a Windows 2008 server IIS7.Most of my sites are developed in .asp and therefore i use a custom 500-100.asp error page that check s the IP of the visitor then displays either a friendly error, or if its my IP a full error of what has happened (it also emails me the error). This allows me to debug pages easily whilst developing and to keep an eye on anyone trying SQL Injection hacks on my sites (as the error and email also have session variables and IP address).I dont have root access to the server as it is a Webfusion dedicated server.I have following the Plesk documentation -
1) Switch on custom errors for the subscription
2) Look in virtual directories and navigate to error documents
3) Find the error in question (500:100) and change it to point at either a file or URL
FILE - I had the data centre add in the 500-100.asp error page in to the virtual template so that my page is available in the list of virtual files - this didn't work but that maybe because its not a static page??
URL - when i add the path it says its incorrect, if i add a fully qualified address, it accepts it but it doesn't work.give me a specific example of the URL that can be entered relative to the root as the format in the documentation isn't accepted. The last step is to restart IIS which is also an issue as i cant seem to do this from the Plesk panel..It is as if it isn't catching the 500:100 error, and only catching the general 500 error??
View 1 Replies
View Related
Nov 21, 2006
I am currently running Google Analytics/Urchin 5 (v5.7.02), on a server, the server has started to act up, (on its last legs etc) and now I am trying to transfer the Urchin Software to a new server, where it would work effectively.
However upon installing the urchin software on the new server and running it (localhost:9999), I am presented with An Action Items Page, and these following choices
Obtain Demo License
Buy License
Activate Pre-Purchased License
I choose ‘Activate Pre-Purchased License’ pop in the Serial number and complete the registration then…
---------------------------------------------------------
Urchin Licensing Center -- Error!
An error has occured during your transaction, please use the back button and correct the problem. The specific error message is:
• Unable to generate a license. Some possible reasons:
Your serial code is currently active <<< How do I disable it and use it on another server?
---------------------------------------------------------
So all I want to do is deactivate the serial and reactivate it on another server.
Does anyone have experience with this or a similar problem or have a solution to this problem. Any help be most appriciated.
Or even a Contact Number so that i can get some one over the phone!
View 2 Replies
View Related
Nov 7, 2009
This is the scenario, domain.com are setup on server1, however server2 also has the same profile of domain.com as we use ns3 and ns4 using domain.com. This works fine with the nameserver setup on server2.
However I encounter problems as the emails from server2 won't reach server1 as there are duplicate profile on server2.
My question is how do I setup the DNS in cpanel/whm from server2 so the emails from server2 will reach server1?
Server1 (www.domain.com)
ns1.domain.com
ns2.domain.com
Server2
ns3.domain.com
ns4.domain.com
View 6 Replies
View Related
Apr 22, 2009
I just want to use a server for file sharing, it will have nginx and that's it. I'm looking at centos, or freebsd, but I been using centos forever now and I'm not sure how to use freebsd, should I just stay with centos?
Do I tell my hosting provider to just install the OS and give me ssh action and that's it? Don't install any control panels or any other stuff? I want one domain and one subdomain on it though and ftp action.
View 8 Replies
View Related