Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







Cron Jobs Failing


I have jobs that fail every now and then. I get this email:

Looking up www.xxxx.com
www.xxxx.com
Making HTTP connection to www.xxxx.com
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Unexpected network read error; connection aborted.
Can't Access [url]
Alert!: Unable to access document.

lynx: Can't access startfile


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Per Second Cron Jobs?
Hey everyone, my friend's dad is looking for a web host that will allow his cron jobs to run every second. Most hosts apparently dont allow cron jobs faster than 5 seconds apart.

How often a host can run cron jobs isn't really advertised on their sites so I'm having a bit of trouble finding a host. I've resorted to just sending emails to sales addresses asking about it.

Does anyone know how I can find a host like this?

View Replies!   View Related
How To Schedual Cron Jobs
I have a number of PHP scripts that I would like to automatically run daily at midnight. I am currently running a VPS server but have no idea how to achieve this. I do have webmin on my sever but am unsure of what command I need to run.

View Replies!   View Related
Cron Jobs Not Running
I have a machine, that for some reason stopped running it's cron jobs for some reason, and I can figure out how to get them working again.

My /etc/crontab file is as follows.

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
Here are the contents of a sample user cron file.

MAILTO="USER"
10 4 * * * php -q -f /home/USER/public_html/tools/updtransfers.php /home/USER/public_html >/dev/null 2>&1
10 5 * * * php -q -f /home/USER/public_html/tools/updateexp.php /home/USER/public_html >/dev/null 2>&1
10 5 * * * php -q -f /home/USER/public_html/tools/invoice_cron.php /home/USER/public_html >/dev/null 2>&1
and another

*/5 * * * * /usr/local/bin/php -c /home/USER/php.ini /home/USER/public_html/poller.php > /dev/null 2>&1
I've checked my logs, and I can find no errors anywhere. When I run the commands manually via SSH, they work perfectly, they simply are not being run automatically the way they are supposed to be.

I have checked, and the crond service is running. I have tried restarting it, but it seams to have no affect. I really have no idea what the issue is. The only thing I seam to have found at one point, was the possibility that the files within the /etc/cron.d directory might be CHMOD'ed wrong, but I haven't found anything to confirm this either way.

[root@server cron.d]# ls -all
total 60
drwxr-xr-x 2 root root 4096 Dec 17 03:07 .
drwx--x--x 94 root root 12288 Jan 3 09:28 ..
-rw-r--r-- 1 root root 61 Jun 22 2007 csf_update
-rw-r--r-- 1 root root 81 Apr 11 2007 lsm
-rw-r--r-- 1 root root 79 Jun 22 2007 prm
-rw------- 1 root root 366 Feb 23 2007 sa-update
-rw-r--r-- 1 root root 82 Jun 22 2007 spri
-rw-r--r-- 1 root root 188 Nov 16 23:14 sysstat
[root@server cron.d]#

View Replies!   View Related
Software To Control Cron Jobs?
Is there any software which would control cron jobs? I've a problem with cpu load where some customers are running more than enough of them at the same time.

Is there any software which would be able to:

If there are more than x crons running at the same time, put others in queue and execute after there are no more than x-1 are running?

View Replies!   View Related
How To Schedule Cron Jobs In Windows
how to set cron jobs in window....

View Replies!   View Related
Free Hosting With Access To Cron Jobs?
I need a reliable, free host where I can run wget on a URL (less than 1k) every 10 minutes via a cron job.

Can anyone reccommend anything?

View Replies!   View Related
Cron Jobs And Time Zone Differences
I have a customer billing system.

I would like crons to run at midnight so that the invoices are on schedule and have the right dates etc.

My server is overseas and my time is plus 14 hrs here.

I have set my software up to plus 14 hrs time difference also.

What should I set my crons to?

View Replies!   View Related
Determine What Cron Jobs Are Killing Server And When
We're running on Linux/Apache/MySQL/RoR and have a number of cron jobs that run throughout the day on our server. We've been noticing lately that at certain times of the day the site becomes really slow. When I'm online with my engineers I can mention this to them and they can check and see and say "Oh yeah, it's job XYZ that's spiking the server load."

That's great but much of the time when I notice the sluggishness my developers are offline (we're in different time zones). I'm wondering if there's a fairly easy way to track this when they're not online so we can say "Yup, last night at 10 PM your time when you noticed that it was job ABC." There has to be something that allows you to do this right?

View Replies!   View Related
Variable Filenames By Date In Cron Jobs
How do you insert variables in cron jobs? e.g. the current date.

Let's say I want to back up a file and append the date to it.

0 0 * * * cp /some/file.txt /some/outputfile_[DATE].txt >/dev/null
(note that I'm not sure the cp will actually work like that, it's just an example)

Where outputfile_[DATE].txt has the date in it.

Are there variables cron can use for date, hour, minute, etc.?

View Replies!   View Related
Cron Jobs Not Executing PHP Files
I have a new dedicated server and am trying to set up a cron job via CPanel on on of my accounts (we'll call it "abc" account).

In the Cron job area, where it asks for the command to run, I enter this:

/home/abc/public_html/forum/class/sendnotice.php

But when the job runs, it doesn't seem to be executing the .php file. Instead, I get stuff like this via email:

/home/acb/public_html/forum/class/sendnotice.php: line 1: ?php: No such file or directory
/home/abc/public_html/forum/class/sendnotice.php: line 2: ////////////////////////////: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 3: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 4: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 5: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 6: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 7: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 8: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 9: //: is a directory

So it is as if the cron job is reading each line of the .php file instead of just running it. Am I doing something wrong in setting up the cron job to run that file or could it be a configuration issue with the new server?

View Replies!   View Related
Check What Cron Jobs Have Been Added On The Server?
i find on the certain time,

the mysql of server will run a lot of query,

and the io and load will become very high,

after the time point,

all the io and load with be smoth,

so,i wonder if any Cron job has been add (by certain account) to run something,

View Replies!   View Related
Yum Is Failing
Is there a reason why yum is failing for me? Its a brand new server!

Quote:

[root@194 yum.repos.d]# yum update
Repository base is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Setting up Update Process
Setting up repositories
not using ftp, http[s], or file for repos, skipping - Null is not a valid release or hasnt been released yet
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update

View Replies!   View Related
Httpd Keeps Failing
for the past 4 days i have being having problems with my Apache server. on day one i noticed it was going down irregularly over day 2/3 it got progressively worse by last night httpd would only work after i restarted it then 5minutes later it failed again. now it wont start at all every time i tried restarting from whm it just says 'httpd failed' ive also tried restarting from shell but no joy. ive tried rebuilding apache from whm that hasn't helped either. one error i was getting was 'invalid user name' of a user who i terminated yesturday.

View Replies!   View Related
Is This Drive Failing
Just got this server setup, getting some smart errors. Here's a copy of the trouble ticket I posted to the host, they said "If you read through the documentation for smartd you will find that from the results you pasted, your hard disk passed every test. We can give you another hard disk if you want but we will have to charge you 3 credits for the reinstall of the operating system." I could be wrong, maybe everything's fine, but the fact that there are unreadable sectors reported has me a little worried.

Quote:

What is the nature of the problem?

New server, hard drive failing smart tests

What is the error message?

Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, found in smartd database.
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, is SMART capable. Adding to "monitor" list.
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Monitoring 1 ATA and 0 SCSI devices
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, 2 Currently unreadable (pending) sectors
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Sending warning via mail to root ...
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Warning via mail to root: successful
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, 2 Offline uncorrectable sectors
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Sending warning via mail to root ...
Sep 12 17:51:44 sls-db8p19 smartd[3312]: Warning via mail to root: successful

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 066 062 006 Pre-fail Always - 78282665
3 Spin_Up_Time 0x0003 098 097 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 19
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 2
7 Seek_Error_Rate 0x000f 075 060 030 Pre-fail Always - 29797813
9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 1175
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 27
194 Temperature_Celsius 0x0022 030 048 000 Old_age Always - 30
195 Hardware_ECC_Recovered 0x001a 066 062 000 Old_age Always - 78282665
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 2
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 2
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 TA_Increase_Count 0x0032 100 253 000 Old_age Always - 0

Was it working before?

No, brand new server

If it was working before, did you do anything before this error occurred?

N/A

Have you done anything after this error occurred?

View Replies!   View Related
Assp2 Failing
Does anyone know any reasons why this process would be failing?

I installed ASSP X onto my cPanel VPS, assp2 seems to be failing every so often.

View Replies!   View Related
Httpd Keeps Failing
Before I used to get around 5-6 a day emails saying that httpd has failed and a restart has been attempted automatically.

After I increased the max clients in the httpd.conf the number reduced 1-2 emails a day.

I am not sure what the problem exactly is

Is it because my sites are using up high bandwidth?

View Replies!   View Related
Bind Keeps Failing
For some reason BIND keeps failing on my cPanel server every couple of days. There are no error logs in the /var/logs/messages file concerning the crash but when I manually restart bind then it logs messages just fine and I can see them. Does BIND keep any other error logs?

Today it seemed to coincide with a big movement in system memory, here my munin graph:

[url]

I have ran the “fixeverything” script which attempts to correct any errors in the bind config file but it still crashes. I couldn’t see anything wrong with it ayway.

View Replies!   View Related
Failing Controller Or Drive
one of my servers has 2x250gb hard drives in hardware RAID 0 using a 3ware controller, but ive now got the following error message 3 times prior to 3 server crashes, my server supplier beleves it one of the drives failing (i have backups on a non raid drive so rthats fine) but i suspect the controller, whats everyone else think...

Code:
Mar 28 22:41:46 server kernel: sd 2:0:0:0: WARNING: Command (0x2a)
timed out, resetting card.
Mar 28 22:42:39 server kernel: 3w-xxxx: scsi2: Command failed: status
= 0xc7, flags = 0x1b, unit #0.
Mar 28 22:43:08 server kernel: 3w-xxxx: scsi2: Command failed: status
= 0xc7, flags = 0x1b, unit #0.
Mar 28 22:43:12 server kernel: 3w-xxxx: scsi2: AEN: WARNING: ATA port
timeout: Port #1.

View Replies!   View Related
@mac.com Email Failing
All emails from my server to any email @ mac.com are failing.

View Replies!   View Related
HTTPD Failing .. Troubleshooting
I noticed all of my sites were down earlier.. so I tried restarting apache via WHM.. and that didn't work, said the following:

Waiting for httpd to restart.... . . . . . . . . . . finished.

httpd status
root 8103 0.5 0.8 30892 29264 ? S 12:28 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd

httpd has failed, please contact the sysadmin.

I tried rebooting.. same issue.

how to troubleshoot this? This is very bad!

View Replies!   View Related
CentOS Update Failing
I'm having a problem with my CentOS 5 box. for some reason the update will not work.

I run yum update, The update starts, then when it gets too downloading the packages I get the following error for every single RPM.

[url]: [Errno 4] IOError: <urlopen error (114, 'Operation already in progress')> Trying other mirror.

The RPM's can be downloaded just fine if I copy and past that URL in my browser. I don't understand why the server can't open that URL

Does anyone know of a fix for this? Or is anyone else at iWeb having the same problem.

View Replies!   View Related
AmeriHost Failing Me For 8 Weeks Now...
The second week of July AmeriHosting moved my VPS to a new server or something and changed my IP addresses. No big deal, except the move failed miserably. My sites were down for a week. Shortly thereafter, email was down also for a week. What had worked on the old VPS did not work reliably on the new VPS. Messages sent to support went unanswered, or were given inadequate responses. They also could not go back to the old VPS which was working acceptably (and had for 2 years); I do not know why. No backup was made or else they could have gone back. That's what I think anyway. On the new VPS they did not have the same version of PHP or PHP modules. This broke some of the sites; and asking them to correct the problems as they were discovered took several days up to a week. Now the first week of September, and problems persist. This time I cannot issue a backup in Virtuozzo. This has been going on for 2 weeks. I get a response every couple of days about this is being looked into and they will respond, but no one ever does.

I've been told on several occasions the past week that they were going to move me to a new VPS but keep my IP addresses; this has not yet happened and it has been a week.

Twice I was told it would take only a few minutes to do this and it would be done that day. It has not yet been done. To add to the matter, I prepaid for a year, and I have 6 months hosting left with them. So I feel pretty damn screwed. My largest hosting customer has just moved sites from my service to another service this past week, so I am clearly losing revenue from this ordeal. Phone calls have gone unanswered (during the freakin' day!). Messages to billing and support get absolutely no response. Tonight I left a message that I wanted the name of the president or owner and his phone number so that I might enlighten him about the problems his customers are having and the dire straits his business is in.

At one time I would have recommended AmeriHosting.

Not now. Not ever. Don't even consider AmeriHosting. They'll **** you good at some point and harm YOUR business and YOUR CUSTOMERS' businesses, too.

View Replies!   View Related
Spamd Is Constantly Failing
I have been using my Server for a decent while, All of a sudden of the last month it has decided that it wants to play a game.

"Spamd" keeps failing and automagically restarts.

It restarts and works, But then Fails once again a few hours later. One morning I woke up to 7 error messages with the same service.
By Restarting Exim it resolves the issue but it happens hours later.
I have tried mostly of what I can think of.

Does anyone have any other thoughts on this issue and how it can be resolved?

View Replies!   View Related
Apache Mail Failing
On my website, which is hosted on Godaddy's VPS, I have a tell-a-friend script and a few email forms in which my visitors can contact me. They have all worked perfectly for months on my VPS (and for over a year on shared hosting before that) until a few weeks ago, when I started to notice that mail would not come through unless I rebooted the server. I contacted Godaddy's support, but all they told me was that "mail might me stuck in the queue". I don't know what to do. Should I upgrade my RAM? I think the process that does the mailing is called Apache Mail if that helps.

View Replies!   View Related
RAID 1 Array Failing
I have a server with a Dell Perc4e Hardware RAID Controller and 2 Maxtor Atlas 15K2 U320 SCSI. I´m currently having a problem with one of the HD´s. For the second time in about 2 - 3 months, it failed. I reconsctruct the array and everything goes online and healthy. Does this mean this specific HD may not be in the best condition? Shouldn´t it fail and never go back online again, in this case? Is there any chance that the problem is the SCSI cable (i´m not using hot swap cradle, but cable + adapter)?

View Replies!   View Related
Mysql Is Failing Every 9 Minutes.
This just started a few hours ago. This is in my inbox:

06:54:01 PM cpanel@server.mydomain mysql on server.mydomain failed
06:45:11 PM cpanel@server.mydomain mysql on server.mydomain failed
06:36:25 PM cpanel@server.mydomain mysql on server.mydomain failed
06:27:34 PM cpanel@server.mydomain mysql on server.mydomain failed
06:18:46 PM cpanel@server.mydomain mysql on server.mydomain failed
06:09:57 PM cpanel@server.mydomain mysql on server.mydomain failed
06:01:05 PM cpanel@server.mydomain mysql on server.mydomain failed
05:51:46 PM cpanel@server.mydomain mysql on server.mydomain failed
05:42:58 PM cpanel@server.mydomain mysql on server.mydomain failed
05:34:08 PM cpanel@server.mydomain mysql on server.mydomain failed
05:25:19 PM cpanel@server.mydomain mysql on server.mydomain failed
05:16:31 PM cpanel@server.mydomain mysql on server.mydomain failed
05:07:43 PM cpanel@server.mydomain mysql on server.mydomain failed
04:58:53 PM cpanel@server.mydomain mysql on server.mydomain failed
04:50:05 PM cpanel@server.mydomain mysql on server.mydomain failed
04:41:09 PM cpanel@server.mydomain mysql on server.mydomain failed
04:32:15 PM cpanel@server.mydomain mysql on server.mydomain failed
04:23:28 PM cpanel@server.mydomain mysql on server.mydomain failed
04:14:36 PM cpanel@server.mydomain mysql on server.mydomain failed
04:05:48 PM cpanel@server.mydomain mysql on server.mydomain failed
03:56:57 PM cpanel@server.mydomain mysql on server.mydomain failed
03:48:09 PM cpanel@server.mydomain mysql on server.mydomain failed

And they're still arriving to my inbox. When you look at the time stamps, it's failing every 9 minutes. I looked in the crontab and there is nothing running every 9 minutes. Not even close. But there's something happening every 9 minutes. Where do I look?

View Replies!   View Related
Recompile Kernel Failing On VMWare
I have installed centos 4.4 and tried to recompile kernel, but it keeps failing during boot...

is there any special setting on kernel config to recompile kernel and boot it?

View Replies!   View Related
Cannot SSH Into The Server Since Sshd Keeps Failing
/dev/sda1 is mounted to / on my dedicated server, however, it is 100% full and cPanel is having problems with it. Is there a way I can clean out some files?

Additionally, I cannot SSH into the server since sshd keeps failing. Anyone know what I can do?

I'm sure /dev/sda1 isn't usually mounted to / but who knows.

View Replies!   View Related
Connecting To Remote MySQL Failing
I'm facing some odd issues with 2 servers located in the same datacenter.

One server is the HTTP server, and every 5 minutes it works, then for 5 minutes Server One and Server Two (MySQL) hate each other and refuse to talk to each other. Not only can neither not connect to each others MySQL, but also neither can ping each other.

The odd thing is, Server Three can however connect to the Server Two MySQL with no problems during this period. It seems to be just the communication between Server One and Server Two that keeps getting halted.

I've tried "service iptables stop" to disable the firewall, and changing SELinux to disabled, but neither have fixed it.

View Replies!   View Related
Cpsrvd & MySQL Is Failing
I using PSM (for MGT) & Cyberwurx (hosting) and we're having a heck of time getting our server up and running.

HISTORY:
Our server ran fine for years. Cyberswurx was very responsive and PSM solved every issue. Last week, a hacker accessed our server through an "calender" script and was able to deface the index.html pages of all the accounts and setup redirects.

We had Cyberwurx reinstall WHM/CPANEL and had the server cleaned of all corrupt files. PSM restored all the accounts on WHM.

PROBLEM:

1. CPSRVD is constantly failing.
2. When we restart MYSQL server, the server become overloaded.
3. Then it goes offline.

Cyberwurx will reboot the server. Then we start over again...

Platinum Server Mgt has worked on this since last Wed. We are constantly going back and forth between PSM & Cyberwurx.

View Replies!   View Related
Cpsrvd & Exim Failing
Does anybody know why my cpsrvd & exim keep failing?

It usually fails and slows the entire speed of my website.

View Replies!   View Related
I Run A Heavy Site, And Httpd Always Failing
I run a heavy site, and httpd always failing...

I have a server with these specs:

Q6600
8GB RAM
500 GB SATA HD
Cpanel/WHM

I run a filehosting site actually and there are alot of people downloading at the same time which i think the server goes down and then httpd restarts itself and all the people downloading the files, their files get currupted.

How can i make it so it stays stable?

View Replies!   View Related
Sick Of SoftLayers Failing Reboot System
Numerous times when we need to reboot our server SoftLayer's remote reboot system fails. It works roughly around 50% of the time. I click reboot and after that it just displays:

Pinging server x 200
"Maximum amount of pings sent, server will be up shortly".

For my other server with them, if I go to click reboot, this error message displays:

Length provided for 'errors' is too long. Provided with length of '540676', maximum length is '400000'.

So when I have to reboot my server I have to issue a ticket. My server has been down 1 hour as I type, and there has been no response to the ticket what so ever.

Sorry Softlayer, you've let me and my members down. Combine that with other problems, such as bandwidth graphs never loading despite you saying it will be fixed, etc. You used to be a reliable company, but these past months I've been through hell.

Perhaps this may be due to todays network downtime, but then again that's the cherry on the cake.

I've sent in my cancellation request for all servers. Does anyone know of a provider who offers dual quads for similar prices, and perhaps with working features and fast responses?

Goodbye SoftLayer.

View Replies!   View Related
Clone Centos Failing Hard Drive
Is it possible to clone centos 4.6.x + cpanel 11 hard drive to brand new disk with same capacity? just like we clone hard drives in windows with noton ghost ?.

I have a server with failing hard drive (smart errors) and drive must be replaced soon but i feel lazy to restore everything from backup hard drive and was thinking it will be smart to just copy mirror of primary hard drive from original hard drive to knew one. Is this possible?

I do have 2 backup copies, so don't worry about that .

Btw, i found this link which says its possible but i am not sure. Please suggest.

[url]

View Replies!   View Related
Cpanel Services Failing And Being Restarted, How Do I Determine Cause
Cpanel installed on Centos 5.2 on a dedicated server.

This morning, I received multiple emails about services being restarted. About 20 minutes apart, with nothing that I coudl see going on with the server, I had multiple services fail and restart.

How do I trouble shoot this to see if there is a problem?

At 6:21 The following services failed:
httpd
lfd
httpd
cpsrvd
lfd
and I received emailed messages similar to these (obviously the port and service name were didfferent in each email).
cpsrvd failed @ Sat Nov 15 06:21:29 2008. A restart was attempted automagically.
Failure Reason: Unable to connect to port 2086
Then, at 6:42 The following services failed:
cpsrvd
cpsrvd
httpd
lfd
httpd
lfd
and I received emailed messages similar to these (obviously the port and service name were didfferent in each email).
cpsrvd failed @ Sat Nov 15 06:21:29 2008. A restart was attempted automagically.

View Replies!   View Related
Hard Drive Failing, To Move A Account
I had a smart error emailed to me by the server, so I had Savvis do a hard drive test on my server. They told me my main drive has some bad blocks and is failing. I have a new drive in the tower as a slave already. I went into WHM and clicked in list accounts, the change partition button for a smaller account. That worked moving it from /home to /home2. However when I tried it with a larger account, it seemed to time out. I have all the clients moved accept one, who has a site with about 14 gigs of data.

I think the command would be: mv /home/admin /home2/admin

Is this correct, or is there a better way to do this?

Also if I move it in SSH, will WHM list accounts auto update itself, or will I need to do something for that as well?

View Replies!   View Related
How To Repace A Failing Hdd In A 3ware RAID 1
we use 3Ware's 8006-2LP sata raid controller in each of our servers for RAID1. Our servers are all Supermicro boxes with hot-swap driver carriers (ie. the 2 raided drives are in them)

One of the drives appears to be starting to crap itself as smartd is reporting issues (although tw_cli c0 shows the raid to be OK) incl. multi zone errors.

Anyway, I'd like to replace the failing drive before it becomes a real issue so i've bought a replacement (74gb raptor, just like the original) drive.

Now I've never had to replace a failing drive in any of our servers before and I used to think it would be a simple matter of simply popping out the failing drive's carrier, put the new drive in the carrier and stick it back in the server... and the raid controller would do the rest.

Yes a little naive I know but i've never had to do it before so never paid much attention .. Anyway, I've just read and re-read the 3ware docs for my controller and their instructions are VERY VAGUE ... however I do get the feeling that the process is move involved ie. I need to tell the controller (via cli or 3dm) to first 'remove' the failing drive from the raid ..and then add a new drive and then rebuild

However there is one catch .. 3dmd/3dm2 has NEVER worked on our (centos 4) servers - 3dmd crashes regularly and 3dm2 never worked. So yes I am stuck with the 3ware cli ... which I don't mind as long as someone can tell me the sequency of commands I need to issue

As this point I'm thinking what I need to do via cli is

1) tell raid controlloer to remove the failing drive on port 0

2) eject the drive carrier with the drive in question

3) insert new drive in carrier and re-insert into server

4) using tw_cli tell the controller to add the new drive to the array and to rebuild the array

Am I anywhere close to being correct? I'm sure there are some of you out there who've done this countless times before with the 3ware controllers and hotswap drive carriers ..

View Replies!   View Related
Exim Mail Server Failing To Send Email
Just started to have problems sending emails out but no problem receiving.

Seems to be a exim problem.. tried updating it but the problem still exist but everytime I restart exim then it works for a few hours before the problem comes back.

View Replies!   View Related
DNS Lookups Against Domains On My Server Are Suddenly Failing
DNS lookups against domains on my server are suddenly failing. The /etc/resolv.conf shows 3 entries for uplink DNS servers at my provider (theplanet). Bind is running, too.

What else could cause this? All sites are accessible via IP, but not by name anymore.

Cpanel/WHM server

View Replies!   View Related
Plesk: DNS Server (BIND) / SpamAssassin [FAILING]
I've had a VPS for a little over a month now, like with anything I guess hiccups are always apparent. But the VPS does starnge things even when I haven't changed anything...

For example I received an email from Watchdog, and noticed that DNS Server (BIND) and SpamAssassin is lways up and down... Thought people might have an idea as to why? Or if anyone has had these problems before?

Quote:

Events:
[Feb 3, 2007 10:46 PM] 'Plesk SpamAssassin' service started.
[Feb 3, 2007 10:41 PM] 'Plesk SpamAssassin' service stopped.
[Feb 3, 2007 10:11 PM] The 'Plesk Web Server' service was released from monitoring because it failed frequently.
[Feb 3, 2007 10:01 PM] The 'DNS Server (BIND)' service was released from monitoring because it failed frequently.
[Feb 3, 2007 09:46 PM] 'DNS Server (BIND)' service stopped.
[Feb 3, 2007 09:46 PM] 'DNS Server (BIND)' service stopped.
[Feb 3, 2007 09:46 PM] 'Plesk Web Server' service stopped.
[Feb 2, 2007 09:00 PM] The 'Plesk Web Server' service was released from monitoring because it failed frequently.
[Feb 2, 2007 08:50 PM] The 'DNS Server (BIND)' service was released from monitoring because it failed frequently.
[Feb 2, 2007 08:35 PM] 'DNS Server (BIND)' service stopped.
[Feb 2, 2007 08:35 PM] 'DNS Server (BIND)' service stopped.
[Feb 2, 2007 08:35 PM] 'Plesk Web Server' service stopped.
[Feb 2, 2007 07:49 PM] 'Plesk SpamAssassin' service started.
[Feb 2, 2007 07:44 PM] 'Plesk SpamAssassin' service stopped.
[Jan 29, 2007 01:00 AM] Security scanning report is in the file /usr/local/psa/var/modules/watchdog/report/security_2007-01-29.

View Replies!   View Related
"yum Update" Failing On CentOS 5
I'm not sure if this is todo with the imminent release of 5.2, but I'm getting the following messages when running "yum update":

Code:
# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package yum.noarch 0:3.2.8-9.el5.centos.2.1 set to be updated
--> Running transaction check
--> Processing Dependency: yum-metadata-parser >= 1.1.0 for package: yum
--> Processing Dependency: yum-fastestmirror for package: yum
--> Processing Dependency: python-iniparse for package: yum
--> Processing Dependency: yum = 3.0.5-1.el5.centos.5 for package: yum-updatesd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package yum-fastestmirror.noarch 0:1.0.4-3.el5.centos.2 set to be updated
--> Running transaction check
--> Processing Dependency: yum-metadata-parser >= 1.1.0 for package: yum
--> Processing Dependency: python-iniparse for package: yum
--> Processing Dependency: yum = 3.0.5-1.el5.centos.5 for package: yum-updatesd
--> Finished Dependency Resolution
Error: Missing Dependency: yum-metadata-parser >= 1.1.0 is needed by package yum
Error: Missing Dependency: python-iniparse is needed by package yum
Error: Missing Dependency: yum = 3.0.5-1.el5.centos.5 is needed by package yum-updatesd
Anyone else having problems or know how to resolve this? yum is only using the standard CentOS-Base repositories. Searching for yum-metadata-parse gives:

Code:
#yum search yum-metadata-parser
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files

yum-metadata-parser.i386 1.0-8.fc6 base
Matched from:
yum-metadata-parser

yum-metadata-parser.i386 1.0-8.fc6 installed
Matched from:
yum-metadata-parser

View Replies!   View Related
Cron
I have root access to a server. Is it possible to create a cron that would restart my ftp and http server every so often. Like once a week or somthing. If so how would i do it?

View Replies!   View Related
Cron: First Of The Month
Anyone know how I'd run a cron job on the begining (first day)of every month?

View Replies!   View Related
Does Cron Timeout?
Simply wondering, does cron timeout?

I have heard mixed reports and can't find any good info. Personally i've run a cronjob for up to 6 minutes, but as my best method was sending myself emails through php, its not exactly a highly accurate testing method.

On the same note, what would happen if one cronjob is running a php script for over 10 minutes, then another cron job starts on the same script, before the first one has finished?

View Replies!   View Related
Rsync And Cron
I have a bit of a strange problem, I have an rsync command setup in the servers crontab and from the cron log it show it ran the command but the files don't copy to the backup server. If I take the rsync syntax and run it manually all the files copy across with no errors, but I can't figure out why the cronjob doesn't work properly.

View Replies!   View Related
Remote Cron
I've just noticed that many people may have a free remote cron facility without realising it.

If you have any domains registered with Godaddy, you get free web space that includes a cron facility. It only runs every half hour, but you could set six jobs at 5 min intervals to get an effective 5-minute poll, which is good enough for many purposes. You could use it to check uptime on another site, for example. Has anyone tried this?

View Replies!   View Related
Cron Job
PHP Code:

* */1 * * *

But I didnt understand the difference from

PHP Code:

* * * * *

time property? Why is there a need for /1?

View Replies!   View Related
Cron Commands
I've been reading through tutorials for setting up cron commands via cPanel, but everything I have tried does not work. What I need to do is simple - I just want to run a php file on my server once every 15 minutes.

View Replies!   View Related
Error In Cron
Got this from the daily.cron email:

/etc/cron.daily/chkrootkit.sh:

/proc/18927/fd: No such file or directory

really weird, when I run that command manually, it doesn't show that error.

View Replies!   View Related
Cron Daemon
Im getting daily 100 of emails from Cron Daemon Cron

which having following information any body let me know what is cron daemon and how can i disable these email

Code:
/bin/sh: /usr/local/etc/logcheck.sh: No such file or directory

View Replies!   View Related
Cron Job
in order to backup db automatically i want to use cron job. So i set cron job at 00 AM

suppose that : my infos
db name : db
db user : zode
db pass : 123

the command i use is following

PHP Code:

mysqldump -u zode -p123 of -K -c -f --compatible=mysql40 --default-character-set=utf8 db > backup/db_`date +%d%m%y`.sql 

in good time i am looking into backup directory db is in it or not

but there is nothing in it

View Replies!   View Related
Cron / WGet
My crontab uses Wget to access a PHP file. It works just fine; however, the only problem is that each time the crontab is run it creates a file in the root of my site called filename.php.10XX

filename is the name of the file that Wget runs and 10xx is just the number of times the tab has been run.

How can I prevent these files from being created?

View Replies!   View Related
Cron Job
I run A Centos 4.xx latest kernel server and Ive got a problem with Cron Job reporting.

The Cron Jobs themselves are working fine but I keep getting this message, on the hour, every hour

Quote:

Originally Posted by Email from the Cron Daemon

Not a directory: /etc/cron.hourly

The folder etc/cron.hourly DOES EXIST! and I cannot work out what could be causing this?

Does anyone hgave any ideas what could be causing it

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved