How To Restart Plesk Services Automatically
Is there any way to start plesk services automatically?
As my plesk control panel needs to be restarted every day..
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Howto: Automatically Verify Cron / Crond Is Running And Restart If Not
This one's pretty simple really, but given the fact that I'm constantly running into crond stops with CPanel servers (no clue why, or where, but it's happening), I'll post this here. If it helps someone, then great, if not, hey, no worries. Firstly, login as root to your server through ssh, however you usually do . Next, the script (we'll call it /bin/croncheck.sh). Use whatever editor you choose to create the file. #!/bin/bash .......
View Replies!
View Related
Software To Monitor And Restart Services
In the past i've read up on software capable of restarting services that go down. I was wondering what the best free option is right now. I've got three dedicated centos boxes that I need to monitor. I don't need to monitor them all from one place, but would like something that can identify processes such as httpd, mysql, and mydns, then restart them if necessary.
View Replies!
View Related
Cron Job Not Working, Restart Services
I'm having a bit of trouble with one cron job that doesn't seem to work. I have others scripts that run hourly fine. However this one does not. The script: restart_monitoring.sh Code: #!/bin/bash service iptables stop service iptables start /root/bandwidth_rules.sh /root/portforward_config.sh exit The two scripts at the end just load a lot of iptables rules back in. The cron job should run hourly (59th minute) The cron job entry Code: 59 * * * * /root/restart_monitoring.sh I have restart crond to enable the new job, still doesn't run. The job is to restart iptables, thus flushing all rules that I have running, then reloading them. I have figured out the problem to be with the "service iptables stop/start" command, it doesn't seem to like doing this...?
View Replies!
View Related
Best Platform For IMAP Mail (Cpanel, Plesk Linux Or Plesk Windows)
Best platform for IMAP mail (Cpanel, Plesk Linux or Plesk Windows) I need to setup 5 email accounts on my domain, each will use IMAP and store messages on server, so total space taken by each account will be 2-5 GB. I have decided to go with eurovps.com as I'm close to them and ping is fast. What is the best solution for IMAP and large email accounts: Linux Cpanel, Linux Plesk or Windows Plesk? Each account will be accessed by 2 people differently by Thunderbird and occasionally by webmail, so nice webmail is a plus.
View Replies!
View Related
Automatically Update AWStats?
I'm not 100% sure where to ask this, so feel free to move it to a more appropriate place if necessary. At present, my webhost provides me with some statistics about my website through "AWStats". The problem I have is that if I don't update the 'stats' everyday, then I lose that day's records and I have a gap in my statistics. is there a way I can automate the updating of the AWStats?
View Replies!
View Related
Why Does XINETD Keep Automatically Shutting Down
I use rfxnetworks.com/sim.php on my cpanel server and it all worked fine until the last week where each morning 6am GMT I get a status warning telling me that XINET was down and that it had to restart it. Has something changed? Is there now something weird about XINETD and cpanel? My cpanel is stable and set to automatically update. In fact it looks like something ALWAYS shuts it down and then SIM restarts it looking at a section of messages:- Jul 2 05:57:02 tkey-29dd xinetd: xinetd shutdown succeeded Jul 2 06:00:01 tkey-29dd xinetd: xinetd shutdown failed Jul 2 06:00:01 tkey-29dd xinetd: xinetd startup succeeded What is causing my server to shutdown xinetd in the first place?
View Replies!
View Related
Deleting Files Automatically
Is there a way to automatically remove files from a folder on a schedule, say daily, and move them to the Recycle Bin? Can the Recycle Bin files be deleted daily on a schedule? If so, how? I have Microsoft Office Professional 2007 running on a Windows 2003 Server.
View Replies!
View Related
Redirect To Backup Server Automatically
I have a server in a country (Location 1) and I have my company website on it and in this country the connection is very fast but not very stable so I have the same website on another server (Location 2) as a backup server so I want to do is as the following: - www.mywebsite.com > Website loads from my Server at Location 1. - Server at Location 1 is down. - www.mywebsite.com > Website loads from my Server at Location 2. - Server at Location 1 is back working. - www.mywebsite.com > Website loads from my server at Location 1. How can I do this in DNS options? Also Can you suggest an easy way to do realtime backup from the server at Location 1 to Location 2 so that any changes made on Location 1 are cloned on Location 2?
View Replies!
View Related
IUSR_computername User Getting Deleted Automatically
I am facing a problem with one of my Windows 2003 servers. The websites hosted on the server use IUSR_computername user for anonymous authentication for the websites. Please note that I have anonymous authentication disabled for FTP. The problem is that every night the IUSR_computername user gets deleted automatically and all the websites start asking for password as there is no user for the anonymous browsing of the websites. I checked the event log, but could not find anything. How do I find why the user is getting deleted automatically?
View Replies!
View Related
Automatically Starting Apps On Bootup
i just can't get this app to start up automatically. i've put a script with execute permissions into my /etc/init.d/ folder, and ln'ed it to my rc.d/rc5 directory as S50myscript. no go. and i don't even know where to look in the server logs to see what the issue is?
View Replies!
View Related
Apache Getting Restarted Automatically In 30 Secs
We are facing apache problem on one of our server. It is getting restarted automatically within 30 seconds. Below are the logs. Please let us know the solution if any asap. ================================================= Feb 14 04:57:00 server monit[5113]: 'apache' failed, cannot open a connection to INET[127.0.0.1:80] via TCP Feb 14 04:57:00 server monit[5113]: 'apache' trying to restart Feb 14 04:57:00 server monit[5113]: 'apache' stop: /etc/init.d/httpd Feb 14 04:57:01 server monit[5113]: 'apache' start: /etc/init.d/httpd ==================================================
View Replies!
View Related
DoS :: Block IP Address Automatically
I manage a website which runs on the cpanel/whm interface and was wondering if there was anything my host could do to prevent DoS attacks on the server...at the moment we are having huge DoS attacks on our website therefore taking the whole website down for quite long periods of time. My host just seems to be manually blocking the DoS'ers IP's manually but this is just too tedious and not efficient enough. Is there any program for example that he can install which will block andy ip which sends a certain amount of requests within a given time period?
View Replies!
View Related
Package System Can Not Be Repaired Automatically
I have dedicated server with cpanel/whm, Centos 5, today I got this error when I want to upgrade my Apache 2.0 to 2.2 I try to upgrading it and getting the flowing error. I have rebuild apache before 1 month and it was rebuild without any problem. Now I am getting this error. "If the browser window is closed or stopped the build will continue in the background. The build output should start shortly... Distilled successfully !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1227550312' !! !! Ouput from '/bin/sh -c "ulimit -a"': core file size (blocks, -c) 524288 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 32743 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) 524288 open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 32743 virtual memory (kbytes, -v) 524288 file locks (-x) unlimited !! !! Creating backup of working apache in '/usr/local/apache.backup'. !! !! Backup of working apache complete. !! Checking that all tarballs are present and up to date. Checking that all packages are present and up to date. !! Trying to auto repair package system !! Fetching http://httpupdate.cpanel.net/syspkgs...ntOS-Base.repo (0)....@74.2**.**.**......connected......receiving...100%......Done checkyum version 20.5 Fetching http://httpupdate.cpanel.net/syspkgs...ntOS-Base.repo (0)....@74.2**.**.**......connected......receiving...100%......Done checkyum version 20.5 checkyum version 20.5 !! !! !! Please visit http://www.cpanel.net/support/could_not_ensurepkgs.htm for help with this error. !! !! Restoring original working apache !! !! Executing '/scripts/initsslhttpd' !! !! Restarting 'httpd' ... !! !! 'httpd' restart complete. !! !! Executing '/scripts/initfpsuexec' !! !! Executing '/scripts/initsslhttpd' !! !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1227550312' !!"
View Replies!
View Related
Iptables List Automatically Deleted
I have a very strange problem concerning iptables. First I created some rules to accept INPUT to ssh for my home ip address. I also added rules for RELATED,ESTABLISHED (input chain) and NEW for chain output. When I enter iptables -L it shows the rules I just created. However, when I look again to the chains, the list was empty again with no rules showing, so seems like it deleted them automatically? How is that possible?
View Replies!
View Related
Automatically Creating A Subdomain For Each User
Here is a summary: One) allow users to register at the homepage. Then give them automatically a URL such as username mydomain com Two) A catch-all subdomain so that if someone browses to xxxx mydomain d0t com and xxxx is not registered by any user; then it is redirected to www mydomain com Three) All registered subusers details to be maintained in Mysql database (this seems to be easy) Four) If possible, impose individual quota on each registered user (not really critical). Which hosting plan should I go with for this? VPS? Shared hosting? Something else? any particular company? what's the best approach for automatically creating the subdomain for each user upon registering at the site?
View Replies!
View Related
Automatically Purge Backup Files Off Thumb Drive
we have a thumb drive attached to a CentOS (linux) box and mysql backups are automatically saved to the thumb drive. Is there a way an HOW to automatically purge backup files if they are older than say 15 days? I suppose I would need to write a script for this and place it in the cron scheduler. The format of the mysql dump files are: Backup_20070420_0015.sql
View Replies!
View Related
How To Change :: This Message Was Created Automatically By Mail Delivery Software ...
We carried out a major clean up on our server but when i send out mail i get this message: "This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: xxxxmydomain@aol.com The mail server could not deliver mail to xxxxmydomain@aol.com. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries." -- Would anyone know what i need to change, to have this working, just checking,
View Replies!
View Related
Create A Cron Job To Clear Your /tmp Folder Automatically?
how I can create a cron job that runs every 10minutes or so to clear my /tmp folder on one of my servers? Reason I ask is, it keeps getting filled up and doesn't delete the fiels in it and stops certain scripts from running. Also, again, I need step by step instructions, such as: 1) what, where the file is I need to place the cron job in 2) what line of code would I put in that file (what does the cron job line look like for every 10min every day) 3) do I need to restart anything, and if so, what command do I run in shell?
View Replies!
View Related
[mailconfigupdate] Unable To Automatically Update The Mailer Config On SERVER
I've added this: # Added for me hostlist privaterelay_hosts = lsearch;/etc/privaterelay And changed this: accept hosts = +relay_hosts Into this: accept hosts = +relay_hosts +privaterelay_hosts within the Exim Advanced configuration editor. Cause I wish to allow a relay without authentification. This morning, I've got this: cPanel was unable to automatically merge your Exim configuration with the new settings that shipped with the build you have installed (11.23.6-RELEASE_27698) because you have a custom ACL configuration which cannot be automatically configured. To avoid any mail downtime, we thought it was best to leave your previous configuration intact until the new configuration can be properly installed. In order to complete this configuration update, you will need to manually merge your configuration with the new configuration settings. Please follow the steps below to complete this update: 1. Enter the Advanced Configuration Editor 2. Notate any custom changes you have made in the ACL section. You may also which to make a copy of /etc/exim.conf.local and /etc/exim.conf.localopts as custom settings are contained in these files. 3. Click the 'Reset ACL Config to Defaults' button. 4. Reinstall your advanced custom settings. Until you manually complete this update, automatic spam filtering may have been rendered inoperable to prevent any mail loss. (This generally only applied is you were upgrading from cPanel 10.x) Current Config Version: unknown New Config Version: 4.900000 What can I do to prevent this ? Cause last time, all mail was receiving a 550 (SMTP Protocol Returned a Permanent Error 550 Sender verify failed) which is pretty bad...
View Replies!
View Related
Cpanel AddOn Domains With Subdomains Automatically From Main Domain
Lets say I have abcd.com as the main domain on cpanel. abcd.com has 10 subdomains. Basically what I want to do is when I do an addon domain or parked domain I want the subdomains to basically point to abcd.com automatically. Let's say the addon/parked domain is 1234.com For example I have sub.abcd.com as the main subdomain so when I type in sub.1234.com I want it pointed to sub.abcd.com internally meaning the script/files from there however in the browser show as if it were sub.1234.com
View Replies!
View Related
Plesk 8.0 > Plesk 8.3 Update Failure
i got plesk 8.0, and trying to update with the updater to more recent versions. updating fails. I tried with incremental updates (8.0 > 8.1 > 8.2 etc.), but it never works. I haven't really touched the configuration since I got the server. this is the error I'm getting: Code: ===> Set up monitrc_vz.tpl as template for monitrc ===> Registering module ===> Configuring module /tmp/monitrc.chk: No such file or directory Control file syntax OK Control file syntax OK Control file syntax OK Control file syntax OK Control file syntax OK Control file syntax OK Control file syntax OK Control file syntax OK Control file syntax OK ERROR: An error occurred during installation of packages. Attention! Your software might be inoperable.
View Replies!
View Related
Restart
One of my server's http daemon is restarting more often and it doesn't have any control panel. How can I checked the load or memory usage history?
View Replies!
View Related
Restart Apache
I have 8 apache servers that is sharing one httpd.conf file... When changes made in the httpd.conf, you have you restart httpd... How can I restart all 8 servers at the same time instead of logging into each server and do it manually?
View Replies!
View Related
How To Restart Lighthttpd
how to restart lighthttpd? I was asked to restart lighthttpd at my friend host, he has 6 sites running, and of the site is down, host has asked him to restart the server, as he is away, he wanted me to restart, but I have no clue how to restart lighthttpd, It will be really helpful if u can guide me for : if possible for the domain alone, else for the entire server current options available : lxadmin - hypervm ssh connection let me know the steps and code if any.
View Replies!
View Related
Can't Restart Apache
We are unable to restart apache on our server, as a result no sites are accessible in the browser. Our host states we need to clear out the following files: [root@server1 logs]# ls -lAh|grep -v ' 0 ' total 1.9G -rw-r--r-- 1 root root 92M Jul 17 07:55 access_log -rw-r----- 1 root root 463K Dec 9 2007 audit_log -rw-r--r-- 1 root root 1.2G Jul 17 07:57 error_log -rw-r--r-- 1 root root 6 Jul 17 07:42 httpd.pid -rw-r--r-- 1 root root 92K Feb 18 2008 ssl_engine_log -rw-r--r-- 1 root root 535M Jul 17 07:46 suexec_log -rw-r--r-- 1 root root 10 Jul 17 03:21 suexec_log.offset -rw------- 1 root nobody 5.6M Dec 10 2007 suphp_log Is it ok to simply delete these files? If so, will they recreate themselves?
View Replies!
View Related
Shoutcast Restart
after restarting my server i tried to start my shoutcast servers whicj right now its not working...i am getting an error when i am trying to start them again "error opening source socket! FATAL ERROR! Some other process is using this port!"
View Replies!
View Related
Mysqld Restart
I just bought new DS 3 days ago : Intel Core2Duo 2.33 GHz, 2GB DDR2 RAM , 250 GB. Today mysql automatic stop and not auto restart :| I checked cron job: has no cron job there. I have just only one site on this server. I check Check mysql error log: 081115 10:47:52 [Note] /usr/sbin/mysqld: Normal shutdown 081115 10:47:52 InnoDB: Starting shutdown... 081115 10:47:54 InnoDB: Shutdown completed; log sequence number 0 72782 081115 10:47:54 [Note] /usr/sbin/mysqld: Shutdown complete 081115 10:47:54 mysqld ended 081115 10:47:55 mysqld started /usr/sbin/mysqld: File '/var/log/mysql-slow-queries.log' not found (Errcode: 13) 081115 10:47:55 [ERROR] Could not use /var/log/mysql-slow-queries.log for logging (error 13). Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it. 081115 10:47:55 InnoDB: Started; log sequence number 0 72782 081115 10:47:56 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.0.51a-community-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition (GPL) my.cnf file ....
View Replies!
View Related
Restart Horde
when my clients log in into the webmail... they cant access Horde.. it just dont load.. if you go for squirrelmail it loads perfectly.. how can i restart horde from ssh(putty)?
View Replies!
View Related
Restart Httpd
[root@server1 /]# ps -aux |grep httpd Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ apache 26023 0.5 0.9 12064 8744 ? S 05:28 0:04 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf root 32333 0.7 2.5 24456 22772 ? S 05:39 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd root 32384 0.0 0.0 2152 524 pts/1 S+ 05:39 0:00 grep httpd i want removed "lighttpd" how may? i don`t want killed it
View Replies!
View Related
NFS Restart
I have directory shared by NFS on server1 this directory mounted at startup on server2. problem happened when twice servers restarted and server2 started before server1. directory not mounted I must mount it manually.
View Replies!
View Related
How To Restart Mysql
I'm on FreeBSD 6.2 dedicated server with root access control-panel Directadmin Today i check that i cann't login into directadmin. at the same time ftp and ssh access are live. try to do restart and after this mysql service is down too. all my attempts to do restart aren't successful. 1. don't have http access to DA 2. have ftp access, but cann't overwrite files 3. have ssh access 4. mysql service is stoped try to do mysql restart with this command /usr/local/etc/rc.d/mysql-server.sh stop but there isn't such file try to connect to mysql and get such output Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in
View Replies!
View Related
Iptables Restart
I have configured the iptables ruleset to fit my taste, however after I did a reboot, my server still loaded the old one, any steps did I missed ? What i did was : 1. edit rules 2. iptables-save > firewall.log 3. service iptables save 4. reboot
View Replies!
View Related
Apache Down - Can't Restart
I'm running Apache 2.0.52 on a CentOS 4.4 server. Running two static sites and one CMS. I have no trouble logging in through SSH Also no problem accessing webmin on port 10000 I've tried to restart Apache httpd And tried to reboot the server... Nothing. I recently did a Yum Update, also removed ISPconfig - it's probably the latter thats the problem, although I haven't used it - at all - just playing around setting up PHPmyadmin, Squirrelmail and a couple of email accounts. But the only error log output I get is that there are no virtual servers for 88.198.81.186:80 and 88.198.81.187:80 and Unable to open logs | unable to start piped log program Since the update and removal of ISPconfig 4-5 days ago there hasn't been any issues. I haven't done anything. Yet I do think might be some of the old ISPconfig settings acting up.
View Replies!
View Related
|