Changing Time On Server?
Apr 9, 2008how can i change the server's time?
lets say the current time is with L.A and i want it to change to Tehran-IRAN.
how can i change the server's time?
lets say the current time is with L.A and i want it to change to Tehran-IRAN.
If I had to give the number one reason I haven't changed hosts, for me I would have to say it is the cost and time. For example, I got a reseller account on Site5 about 4 years ago, and loaded it up with domains. Since you have to request backups, and have no access to an instant cpanel backup, it makes the process time consuming, especially when working with sites that have constantly changing data. And because I had over 50 sites there, it made changing hosts a major time commitment. Also, to pay someone to move everything would be equal to the cost of a couple of years of hosting (or similar).
View 14 Replies View RelatedThis is a rare issue i have on a RHEL 5.2 + cPanel server.
Server time is:
Tue Nov 11 17:02:51 CST 2008
Squirrelmail time show:
Code:
Last Refresh:
Tue, 5:02 pm
So, that is correct too..
But email arrives with -4 hours time, example:
webmaster@xxx.com 1:03 pm testing email
I already rebooted httpd, exim, and imap server, and the server itself too.. and problem stills.
I can't get access to a certain site. I always get the page with:
network time out - server at *** takes to long to respons. More people have noticed this and apparently it only happens to people with certain specific providers. And not all the time. Some times they DO get access eventy to they belong to the same ISP. So I guess an ISP isn't blocking access to it otherwise it would be permenantly/The site administrator insists that certain ISP's are blocking his site. He's hosting it on his own server. The domain belongs is registered at namecheap.com.
If an ISP is blocking this site (if that's possible?), that would lead to that 'network timeout' page wouldn't it?
What is the most likely reason for getting a timeout page anyway?
The server is going down from time to time, every 12 days or so the site hosted there is no longer accesible, everything starts with the site slowing don and down and then is not longer reachable, what we do is to request a power cycle, and with this we start all over again till next power cycle, so on so on, of course, here are my server details and more info on this:
- MySQL - 5.1.41-3ubuntu12.10
- Apache - 2.2.14-5ubuntu8.4
- PHP - 5.3.2-1ubuntu4.9
- operating system: Ubuntu Server 10.04 LTS
After some time emailing the support guys to barely check about what's going on, we received an email with a few things:
1.- found a few errors that likely would cause issues with Apache. The first error is:
[Mon Feb 04 05:03:10 2013] [error] mod_fcgid: fcgid process manager died, restarting the server and the next error is:
[Mon Feb 04 14:32:34 2013] [error] server reached MaxClients setting, consider raising the MaxClients setting ...
Both these errors seem to indicate that you have a process that is running out of control on your server. We were unable to determine what script on your site is running caused your connections to be maxed out however it does appear that before these errors were generated there was a WordPress plugin referenced in your access logs...
2.- Additionally during our review we did find that your error log for mercadodedinerousa.com is 45 GB's which is excessively large and can cause problems when Apache is trying to write a such a large file.
3.- The majority of the errors being logged are:
[Wed Feb 06 12:12:31 2013] [error] [client 200.76.90.5] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/mercadodedinerousa.com/httpdocs/index.pl, referer: [URL]
to change my dedicated server IP, for certain reason. Besides changing nameserver, can anyone guide me to do it via SSH? I've no CP.
View 4 Replies View Relatedto change my linux server time zone, i found that there is "-9" hrs between my server timezone and my country timezone
View 1 Replies View RelatedI just wanted to know if there's any way I could speed up the process of moving my clients domains from our old server to our new server.
All my clients are currently on server1 and I want to move them all to server2.
I know I can go in and change the name servers for each domain to the new server (NS) but just wanted to know if theres a quicker way such as changing the Ip Adresses in the SOA records to point to the IP address of the new server.
Then if they're already loading off the new servers ip address, I can then change the domains name servers afterwards.
I have a dedicated server with around 8 clients on it running CentOS and WHM/Cpanel.
Server is currently named server.oldname.com with 2 ns records ns1.oldname.com and ns2.oldname.com which are assigned the first two IP's of my block of 8 available to me through the datacenter.
I have purchased a new domain name and have changed the name of my company. I am wondering the easiest way to go about changing server.oldname.com to server.newname.com and to create new glue records to replace ns1.oldname.com and ns2.oldname.com with the ns1.newname.com and ns2.newname.com
Are there any guides or detailed steps in this? Since my business so far has been local, I have the username and passwords to manage many peoples registrar records. I don't mind having to update theirs to the new ns's manually.
Is it possible to have ns1.oldname.com ns2.oldname.com and ns1.newname.com and ns2.newname.com at the same time? So, I could essentially change people over gradually. Would their be any things to worry about in all of this?
is there a way to change your server so that if you're trying to link to site.com/a/page.html through a link on site.com/b/page.html you can simply put /a/page.html instead of having to put ../a/page.html? I've noticed that some sites don't use the .. and was wondering how I could do the same.
View 1 Replies View RelatedI have an existing server running cpanel that I would like to change the hostname on. What I am curious about, is the effects on the rest of the server if I go and change it. From what I can tell, the current host name is being used all over the place, and I don't know if cpanel updates everything on it's own, or if I would need to manually update everything after I change the name.
View 2 Replies View RelatedI'm using cPanel, and I'd like to change the IP address of all domains hosted on my server. When I click the "Edit DNS Zone" link in WHM, the IP address of all accounts is wrong. Do I have to change it manually for all of them?
View 4 Replies View RelatedI got report from webceo that I have some issues. May someone help me fix this?
DNS Lookup: 0.22 sec
Connect time: 0.33 sec
Host ping: 0.10 sec
That mean too slow with the other sites!
I have big problem, In my HyperVM i've change time to EUROPA/Sarajevo but in WHM still going 24 hours in forward. Please help me to resolve this. This is very important...
View 5 Replies View Relatedi have 1 decent server hosted by netriver, managed by PSM, for the past 3 weeks, my server down every night at the same time, during the day the load was really low ( below 1 ) and suddenly just before 3 oclock in the morning it goes up upto 2000 and the system crash, and need to reboot, then it will back to normal again, PSM doesnt know what causing it and just advised me to install PRM ( which i tried before and really give me headache ), what you guys think causing it ?
View 6 Replies View Relatedwith the ssh command to change my server time from Virginia, USA to the Pacific Northwest where I live.
View 5 Replies View RelatedAfter being with KnownHost for a while, I decided to make the jump to a real Dedicated Server. KnownHost does offer a Hybrid Server -- but it isn't a real Dedicated Server. So I gave up my Hybrid at KH to experience the real thing.
After much research, I selected ManageMyBox (MMB)-- their current special is awesome with a managed Dual Core AMD with lots of disk space and generous bandwidth. My only concern about MMB was some of the discussion threads about their support, but if you read long enough, you will find the same support issues at all hosting companies.
I just wanted to let you guys know that so far in day two with MMB, I'm ecstatic to report that my server was set up correctly from the very beginning in less than the 24-48 hours they advertise (mine was less than 24 , and I have alrerady opened a support ticket to get another software installed -- and within 30 minutes, the software was installed and the ticket closed. This all happened tonight -- a Saturday night.
I'm not getting paid to post this -- but I do believe in giving credit where credit is due. I will report followups if things do take a turn for the worse, but so far, its not just good -- it's GREAT!
Week ago I decided to rent another dedicated box , install CentOS 5 64Bit and use LiteSpeed as a web server. What seemed to be trivial at start became nightmare later.
I was unable to compile PHP 5 with --with-litespeed and --with-curl directives. If I removed one of them it was ok but together it didn't work.
Tried to search forums but nothing helped, so I decided to go back to Centos 5 32bit and try there. It compiled OK.
So I'm in trouble now. I wanted to have server with 64bit OS + LiteSpeed because of its speed, system resources consumption and good DOS protection.
I asked several questions about advantages of 64bit over 32bit OS and the most important thing was how much issues can I expect on 64bit OS (libraries availability). Almost every reply said that it's without issues to go with 64bit OS. My experiences say it's not as easy as I expected.
I didn't find any good protection against DOS for Apache so far, mod_evasive doesn't work as I expected. What do you recommend ? Should I stay with apache on Centos 64bit + apache with everything installed via yum (should work OK) or go with CentOS 5 32bit + LiteSpeed there ? LiteSpeed I'm talking about is Enterprise edition.
i have a reseller package with a small company for like almost a year but now is full so decide to get a 2 servers from The Planet and now i all ready have 2 servers one is for sell hosting and my other is for install a script like youtube for a site videos .
Ok now im new with servers and i need to setup my domain with the server now can you guys tell me step by step how i can get it work because i all ready try to do it and don't work im very frustrate
First i get the domain from godaddy now lets work with this example domain [ mydomain.com ] how i can add this domain to setup my servers
i have 2 servers
server1 this is for star selling hosting
server2 this is for my video script
Now how i can setup this 2 server with my domain and the dns step by step and this things so i can star selling hosting
In WHM I'm trying to sync the server time with the time server. It displays the new time but it doesn't actually apply the new time to the server.
Also via ssh when I run
rdate -s rdate.cpanel.net
it says
rdate: rdate: could not set system time: Operation not permitted
I'm on a virtuozzo VPS.
I have to reboot this server each day. It seems to crash (or freeze if you call it) around 11:55 pm server time (central US). How do I trace the cause of this? I installed CSF / LFD in replacement of APF/BFD.
This is a centos 3.9 / cpanel 11 box.
crontab -e shows nothing out of the default ordinary
/var/log/messages shows this
Nov 23 19:14:00 server sshd(pam_unix)[29523]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com
Nov 23 19:14:02 server sshd(pam_unix)[29533]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=gopher
Nov 23 19:14:02 server sshd(pam_unix)[29541]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=gopher
Nov 23 19:14:02 server sshd(pam_unix)[29553]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=gopher
Nov 23 19:14:02 server sshd(pam_unix)[29570]: check pass; user unknown
Nov 23 19:14:02 server sshd(pam_unix)[29570]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com
Nov 23 19:14:05 server sshd(pam_unix)[29580]: check pass; user unknown
Nov 23 19:14:05 server sshd(pam_unix)[29580]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com
Nov 23 19:14:08 server sshd(pam_unix)[29584]: check pass; user unknown
Nov 23 19:14:08 server sshd(pam_unix)[29584]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com
Nov 23 19:14:11 server sshd(pam_unix)[29588]: check pass; user unknown
Nov 23 19:14:11 server sshd(pam_unix)[29588]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com
Nov 23 19:14:13 server sshd(pam_unix)[29592]: check pass; user unknown
Nov 23 19:14:13 server sshd(pam_unix)[29592]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com
Nov 23 19:14:16 server sshd(pam_unix)[29596]: check pass; user unknown
Nov 23 19:14:16 server sshd(pam_unix)[29596]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com
Nov 23 19:14:19 server sshd(pam_unix)[29600]: check pass; user unknown
Nov 23 19:14:19 server sshd(pam_unix)[29600]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com
Nov 23 19:14:22 server sshd(pam_unix)[29605]: check pass; user unknown
Nov 23 19:14:22 server sshd(pam_unix)[29605]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com
Nov 23 19:14:25 server sshd(pam_unix)[29614]: check pass; user unknown
Nov 23 19:14:25 server sshd(pam_unix)[29614]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com
Nov 23 19:14:27 server sshd(pam_unix)[29618]: check pass; user unknown
Nov 23 19:14:27 server sshd(pam_unix)[29618]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com
Nov 23 19:14:30 server sshd(pam_unix)[29622]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=mailnull
Nov 23 19:14:33 server sshd(pam_unix)[29631]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=nfsnobody
Nov 23 19:14:36 server sshd(pam_unix)[29635]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=rpcuser
Nov 23 19:14:38 server sshd(pam_unix)[29639]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=rpc
Nov 23 19:14:41 server sshd(pam_unix)[29643]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=gopher
How can we know that how long it takes our server to respond, in terms of Microseconds. Is it take long time while processing an Ms Access database or SQL Server, Sending flash movies to client.
For example, I can accomplish a task while reading data from server database , also I can accomplish it using an image or flash movie.
Which way should be efficient for my visitors, I am using a paid hosting plan.
Also I have another question.
How could I know that a web hosting provider company's server is a fast machine than other company. I have options like "WebHost Company1" & "WebHost Company2"
I host the same website on both servers, while I request some page in a client machine, How could I measure the efficency & speed of the server, I am sure both servers will not send content to client with same speed.
due to any reasons, may be 1 server has more traffic, has slow hardware, has longer route.
Also which technology is faster, ASP, ASP.Net, PHP, coldfusion. Is there some way to measure these facts about a webserver.
In these cases, how could I choose best server. How to made decession about that.
I have a dedicated server specs: AMD 3500+ 64 Bit CPU, 1 GB Ram, 160 GB Sata Drive. For 1 month, CPU load average reaches 40-50 value. This happens about 5-6 times in a day. When I stop httpd service for 30 seconds everything goes normal. I think this is not a DoS attack because it comes systematic, I dont believe no one makes this regularly except bots.
Maybe its a system service or a cronjob but it stops when I turn off httpd service?
How can I be sure about what's making this regularly load?
I also did set up a script which mail me when load average of system goes crazy and restart httpd service. But instant restart is not working to stop load increase.
We've always used open source linux servers up until now. For a variety of reasons we're contemplating adding one windows box.
Is there much practical difference for the average small business between 2003 and 2008?
What's the difference between "authenticated" and "unauthenticated" windows servers?
How is most administration and regular tasks done? I'm used to sshing into my linux servers-- I'm assuming for windows this is gui based? What's the standard software used for this?
Thought of sharing this with all.
Issue:
Php function was returning wrong time. There was a difference of 1 hour between the server time and the php time. Due to this ,most of the functions on the site were not working properly.
Fix :
For checking the php time, put the following code in a file, say time.php
Code:
<?php
$time = time();
$result = date(”Y-m-d (D) H:i:s”,$time);
echo “Current date and local time on server = $result “;
?>
Execute the php script.
Code:
[root@localhost ~]# php -a time.php
Interactive mode enabled
Current date and local time on server = 2017-01-30 (Mon) 18:04:25
To get the server time , issue the following command :
Code:
[root@localhost ~]# date
Mon Jan 30 17:04:25 IST 2017
You can see the difference of one hour between the server time and the php time.
For fixing this, you need to install the PECL timezonedb module.
Code:
[root@localhost ~]# pecl install timezonedb
At the end , you might see the following message :
==========================
Build process completed successfully
Installing ‘/usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.s o’
install ok: channel://pecl.php.net/timezonedb-2009.6
configuration option “php_ini” is not set to php.ini location
You should add “extension=timezonedb.so” to php.ini
==========================
So , add the line ” extension=timezonedb.so” to the php.ini file and restart apache.
There shouldn’t be any mismatch in time now.
Is there anyone here who is with server.lu dedicated servers.
I have submitted some ticket via my.server.lu - and have not got any respons since 26.03.2009 - 20.59.
Is that normal?
Would then like to say, that I in no way, is dissatisfied with the services provided. It is only the response time I ask for.
I have a dedicated server that I am renting that appears to randomly respond very slowly for some reason (pings are between 90-4000ms with about 75% packet loss).
This has been happening lately (about once a week for the past 4 weeks) and I thought I had originally found the cause of the problem but it appears I haven't.
Originally, when this problem was happening we were getting an abnormally high about of traffic but a reboot always fixed the issue. I've checked every where I can think of but I cannot find anything out of the ordinary.
ight now we're averaging less than 2Mbps in traffic, the CPU load is less than 0.75, the memory usage is at 55% with no swap being used, Apache connections are normal, no active SSH, FTP, or mail connections, I've restarted all services which had no impact, I've checked the access and error logs but can't see anything out of the ordinary.
I have a ticket open with the data center but I'm trying to figure this out on my own to fix whatever is causing this so I can move my data over to a new server we just got setup over the weekend in a local data center.