long story short, I just upgraded from kubuntu dapper to feisty, and after the lengthy process was done (not without troubles such as archive.ubuntu.com going slow/not responding, and other upgrade interruptions) I rebooted the server.
This is when init became weird. First of all, it took like 20% of CPU, which is abnormal. Startup processes aren't starting. Manual input commands for background processes are also killed shortly after it ran. Shutdowns are also not working:
root@host:/# shutdown -r now shutdown: Unable to send message: Connection refused root@host:/# reboot shutdown: Unable to send message: Connection refused root@host:/#
It seems like init is killing off/refusing/ignoring processes.
This has got to do with the ubuntu upgrade... Is there any way to fix this? Or is reinstalling everything again/the OS is the only way to go?
i would just like to vocalise my utter disbelief at how incompetent and dishonest Absolute Design Barnsley aka Smart Merchant aka Absolutewebdesign.co.uk have been.
Our company signed up just over a year ago to their Absolute Design Smart Merchant shopping cart website system.
To overview, this is a pay-monthly service where they host the site and we add products to the CMS style website that Absolute Design have produced.
Being a small family business we opted for this kind of pay monthly service as it would (we hoped) give us some level of support from Absolute Design Barnsley to help with the running of the site.
At first they were helpful at getting the site setup initially but months down the line and after phonecalls or online chats with Absolute Design , the result has been no action being taken as requested.
Simple things like removing the option for other currencies... I phoned in August of 2008 and was asked to email the request to Absolute Design Barnsley , which i did. Did the other currencies get removed? Nope! I phoned and emailed many times.
This year due to the economic climate we have had many price changes to do, so i phoned Absolute Design Barnsley and asked for a holding page to be put up while i changed all the prices.
I was told this would be done within the hour.
I had my doubts that this would actually happen due to past experience, and indeed a WEEK later and the holding page STILL was not up.
During this week we had several people try and buy things at the old prices and we had to cancel orders. This is obviously frustrating for us and the customers.
Due to Absolute Design 's Smart Merchant poor system i since found out i was unable to 'turn off' the shop in any way except for basically deleting the entire payment gateway setup.
Products were also still viewable at old prices via google, even if i disabled them in the CMS itself. BAD Smart Merchant !
Also in this time i managed to decide and almost fully populate a new website for our shop, it seem's Absolute Design Barnsley cannot even produce a holding page in that same space of time.
Now, you may think why didnt i just leave? Well, after that week i rang up and asked to cancel, i was asked why and i CALMLY stated my reasons, which were basically poor support.
This resulted in Andy Clegg from Absolute Design Barnsley saying to email my request to leave and he slammed down the phone.
I emailed my request to change our Domain IPS tag and contact details and within a few minutes our website had been deleted BUT Absolute Design Barnsley decided to delete the IPSTAG for the domain, basically rendering the domain useless, including our email which we use on a daily basis.
I spoke Absolute Design again on the webchat (on a friday) and asked them to change the IPStag again, they said ok, but it probably wont get done till Monday.
I was obviously doubtful as it didnt take them long to delete the IPSTAG....
Monday comes and Absolute Design still haven't changed the IPSTAG. We are shut on mondays so i rang on Tuesday and spoke to Craig. He seemed more reasonable and said he would change it shortly. Several hours later and Absolute Design Barnsley still had'nt changed our IPSTAG and were still basically holding our domain hostage.
I ring up AGAIN, speak to craig, he says hold on for a moment, about a minute later they just hung up the phone again. I ring once more and noone answers...
Instead of swift switchover to the new site, Absolute Design Barnsley have forced us to take action with Nominet to recover our domain.
This just seems ridiculous, I'm guessing Absolute Design Barnsley must be losing alot of customers but to act the way they have is just childish.
What is the point of causing so much agro just because someone wants to cancel?
I hope this post reaches anyone else who is considering taking up services with Absolute Design Barnsley aka Absolute Web Design aka Absolute Web Hosting aka Absolute Shopping Cart aka Smart Merchant and urge you to think twice!
1) #> nano /var/spool/cron/root Then type in the cron entry and save it #> service crond restart It cannot work if have not restart crond
2) #> crontab -e Then type in the cron entry and save it
3) #> nano /etc/crontab type in the cron entry and save it
I can use above three method without any problem.
However I cannot use crontab [filepath] method
4) #> crontab /home/admin/domain.com/www/testing/crontab.dat *crontab.dat is a cron entry. after type in this line, I use crontab -l and see cron entry has been added to /var/spool/cron/root However, the cron job will not run even I restart crond.
A few days ago, all cron jobs stopped working, probably because of a certain setting that my host changed. I contacted my host, and he replied that the format i'm using for the commands was not proper, and he gave me the proper command as:
I tried it, but it didnt work....
I googled the problem and got tens of commands... i simply wanna run a PHP file (the file itseld is functional if i browse it) every now and then, so what is the command i should be using?
also,i m looking for a specific cron right now (xbt_cron).once i find it ,what command do i use to run it manually.its supposed to run by itself..i just moved to a new server last week and now its stopped working.
Anyone can explain what are the purpose for these command, and should I make any changes to these to standardize them all (the time)
Secondly, one of my server doesn't set any automatic CPanel updates, so I set automatic updates for CPanel packages and Security packages. Is it suppose to add "/scripts/upcp" into my crontab? Most of them are also at different time.
I assume this command is to inform me whenever my user make a new domain add-on? /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
Also can anyone tell me what are the purpose of these? /usr/local/bandmin/bandmin /usr/local/bandmin/ipaddrmap /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1 /scripts/exim_tidydb > /dev/null 2>&1 /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
I set up a cron to run every minute & I'm running a PHP script by way of cron like
Now does each request of Cron is a seperate HTTP Request or what? Say my script takes more than 1 minute to execute completely but before its completed, its called again. So, will that effect the PHP script running because of previous HTTP Request or will it create a new HTTP Request & let the previous request finish its operation? Technically, it shouldn't block/affect the previous request, but I'm not sure!!
I noticed on my new servers users doesnt have crontab permission.On my first server they have access.So what i need to do to enable users crontab permission automaticly on new servers?I have whm/cpanel there but it seems there is nothing about it there.
I am trying to edit crontab using crontab -e, I seem to get to it okay but I am unable to edit anything in there, at the end of the file there are ~ in there, and I cant even delete them. Its like the file is locked.
I am trying to setup a cronjob but cPanel, (Linux Centos 5), tells me that user/bin/crontab permissions are incorrect and need to be changed to 4755 - I try to change permissions in WinSCP [Properties] but it doesn't 'take'.
how to force a change of permissions with SSH (Putty)
I have root ssh access to a server and we notice when doing a bash ./mysq-backup script to dump the data from the web site's databases into .sql and .tgz them that httpd goes down sometimes. That, and sometimes it seems that httpd goes down in other situations. All fine, we will figure out why. But ..
It would be nice to run a crontab to check every 15 minutes if httpd is running, if not, to restart it.
Right now I when I notice the site is down I log into the ssh as root and type: service httpd restart. If it is up it will then first stop it, and restart it. I can look at the screen and see it happen, so I feel pretty safe doing this. One of my concerns is that when I am not at the screen and it stays down .. I do not notice this and downtime increases. And we don't want to just crontab service httpd restart, so a bash script to check for the pid and restart if it down .. would be nice.
I thought this would work: (chmod 755 httpdcheck)
Code: delta:~ root# cat httpdcheck #!/bin/bash
if [ ! "$(pidof httpd)" ] then echo "Could not find pid of httpd - restarting" service httpd restart else echo "Found pid of httpd - NO need to restart" fi delta:~ root# And I have this crontab entry:
Code: delta:~ root# crontab -l */5 * * * * /root/httpdcheck | mail my@email delta:~ root# When testing, I did service httpd stop and waited 5 minutes and I received the email : could not find it, restarting. But when I go to the web site in browser it remains down. I have to login to ssh and do service httpd start manually to really load it.
Manually loading btw .. shows it works as bash script just fine, so I dont't know why it won't work when run from cron?
Code: delta:~ root# ./httpdcheck Could not find pid of httpd - restarting Stopping httpd: [FAILED] Starting httpd: [ OK ] delta:~ root#
So .. when is it going wrong? Am I forgetting something?