Plesk 12.x / Linux :: Restarting Sw-cp-server Never Works

Jan 2, 2015

For a while now I've noticed that on Plesk 12 the sw-cp-server init scripts can never restart the sw-cp-server properly. I have to manually kill the master process then restart it:

Code:

# /etc/init.d/sw-cp-server restart
Stopping sw-cp-serverd: [FAILED]
Starting sw-cp-serverd: nginx: [emerg] bind() to 0.0.0.0:6308 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8880 failed (98: Address already in use)

[Code] .....

View 2 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Nginx Not Restarting / Reloading On Domain Changes

Nov 4, 2014

I have a Plesk 12.0.18 (Update #22) running on CentOS 6.6 (Final) and I have a very irritating issue with nginx.

Anytime a customer creates a domain and/or subdomain everything is registered and going wel except that nginx is not restarted/reloaded to reflect the changes and I have to restart nginx manually.

I cannot find anything that causes this, no obvious errors in the logs and or errors in the UI.

View 5 Replies View Related

Plesk 11.x / Linux :: Backup Works Only Local - No FTP

Jun 16, 2013

My server works fine like expected, but isn't uploaded to ftp. It was in 11.0.9, same after upgrading to 11.5.29.

The ftp repository in plesk shows a manually done older backup, so ftp connection seems to be ok.

In ftp repository settings I get an error, if I try to safe anything, ftp server, user and password are correct, manual ftp connection is working fine.

The error is:

Code:

Fehler: FTP-Verbindung fehlgeschlagen. Bitte überprüfen Sie Ihre FTP-Einstellungen.
drwx---r-x 2 b088598 cust 4096 Jun 17 06:01 .
drwxr-xr-x 3 b088598 cust 4096 Jun 17 06:01 ..
drwx---r-x 2 b088598 cust 4096 Jun 17 06:01 .
drwxr-xr-x 3 b088598 cust 4096 Jun 17 06:01 ..

Repository error: created file not present in directory listing

View 19 Replies View Related

Plesk 11.x / Linux :: How Internal Php Version Update Works

Nov 7, 2014

i notice in the release notes for 11.0.9 update #63 that the 'internal php version is updated to 5.3.29'.i have been using php 5.4 for some time now (installed outside of plesk since php 5.4 it's over 3 yrs old now and php current versions are 5.7 now...).

IF i would install this update #63, is it going to DOWNgrade my php in use on the server for all of my sites? then i'll have to re-upgrade after installing #63. and if yes, when i install #64, #65, etc... do i have to do that from now on? how this automated update works under the covers so i can get the security updates without downgrading my php version in the future unintentionally.

View 1 Replies View Related

Plesk 12.x / Linux :: Personal FTP Repository Fails But Active FTP Works

Oct 21, 2014

I'm using Plesk 12.0.18 on a virtual container powered by Parallels Virtuozzo Containers, and I cannot get the FTP (personal repository) working.In my settings, I've unchecked Passive mode (as the VPS is configured with the Virtuozzo firewall) yet Plesk still seems to test the connection with passive mode, which I know will fail. However active FTP on the command-line works fine.

My settings:
Host: ftp.hidrive.strato.com
Directory: /users/xxx/plesk_backups
FTP username: xxx
Password: xxx
Passive mode: UNCHECKED
FTPS: UNCHECKED

Saving the repository fails with (after a hang): Transport error: unable to list directory: Curl error: Couldn't connect to server
If the "directory" doesn't exist on the FTP server it fails immediately, so the connection is working, and it seems to be on the "dir/ls" command that it fails - which is a symptom it's using Passive mode.

According to the Panel log file, Plesk issues the below command:

[21-Oct-2014 02:53:55 America/Chicago] PleskUtilException: '/usr/local/psa/admin/bin/pmm-ras' '--check-repository' '--dump-storage=ftp://xxx@ftp.hidrive.strato.com/users/xxx/plesk_backups' '--use-ftp-passive-mode' failed with code 125.

Note the "--use-ftp-passive-mode" even though "passive mode" is UNCHECKED in the UI.

From a terminal:

# ftp ftp.hidrive.strato.com
Connected to ftp.hidrive.strato.com (85.214.3.73).
220 Another visitor. Stay a while...
Name (ftp.hidrive.strato.com:root): xxx
331 FTP login okay, send password.
Password:
230 User logged in, proceed.

[code].....

View 1 Replies View Related

Lighttpd / Apache - Restarting The Server

May 30, 2009

We've been thinking about writing our own hosting control panel for our own
"tight" hosting setup, so that can alter the panel just to our needs without relying on updates from anybody else.

To read new configurations in Lighttpd or Apache, as far as I know, requires the software to be restarted (for example service apache restart). Are there any negative effects of this, I'm assuming that whilst being restarted there is a small amount of time during which the software is "down" and websites can't be accessed during that period (probably <1 second). Am I correct?

What is the best way to reload configurations into these http servers without service interruption? I notice that DirectAdmin seems to just restart Apache on any function that alters the configuration file - for example adding a new user.

View 4 Replies View Related

Apache :: Server Restarting Automatically

Jan 16, 2015

Apache Version: 2.2.29
OS Version: Windows 2012 R2 64 bit OS

Restart of apache is happening continuously .... below is snippet of the same.....

Fri Jan 16 11:22:53 2015] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Fri Jan 16 11:22:53 2015] [notice] Apache/2.2.29 (Win32) configured -- resuming normal operations
[Fri Jan 16 11:22:53 2015] [notice] Server built: Sep 10 2014 11:38:25
[Fri Jan 16 11:22:53 2015] [notice] Parent: Created child process 11440
[Fri Jan 16 11:22:53 2015] [notice] Child 11440: Child process is running
[Fri Jan 16 11:22:53 2015] [notice] Oracle WebLogic plugin build date/time: Feb 9 2011 11:49:26. Change Number: 1386101
[Fri Jan 16 11:22:53 2015] [notice] Child 11440: Acquired the start mutex.
[Fri Jan 16 11:22:53 2015] [notice] Child 11440: Starting 64 worker threads.
[Fri Jan 16 11:22:53 2015] [notice] Child 11440: Starting thread to listen on port 80.
[Fri Jan 16 11:22:53 2015] [notice] Child 11440: Starting thread to listen on port 80.
[Fri Jan 16 11:22:54 2015] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Fri Jan 16 11:22:54 2015] [notice] Apache/2.2.29 (Win32) configured -- resuming normal operations

View 2 Replies View Related

After Restarting My Dedicated Server Named Fails To Load

Aug 22, 2007

After restarting my dedicated server named fails to load.

My email doesn't work due to this problem, please contact me on messenger > webmaster@kicken.com

View 6 Replies View Related

SSH Login Works From Another Linux Terminal, And Always Fails From My Windows Computer

Jul 31, 2009

1) If I'm logged into my {other VPS} with Putty, then
ssh root@67.xx.xx.xxx
successfully logs me into {new VPS}, after the password prompt, so I know the root password can login (some of the time)

2) ...but not my Windows computer, both Putty, and SFTP fail.
The SFTP error message is :
"ERROR:> [7/31/2009 9:48:08 AM] Can't connect to 67.xx.xx.xxx:22. SFTP21 error = #0."
Port 22 is correct, according to hosting support.

3a) Hosting support said...
"Based on the information you have provided to us, I am assuming that either your firewall or ISP is blocking the standard 22 SSH port. If you would like, we can change this to a custom port number."

3b) That response doesn't help, since I'm using port 22 for the {other VPS}

View 3 Replies View Related

Plesk 12.x / Windows :: Preview Works But When Open Site Nothing Shows?

Feb 8, 2015

I'm on plesk right now and I uploaded all my website's files, I wanted to see if it worked so I pressed preview. It worked. Then I pressed "Open" and nothing showed up at all?

View 1 Replies View Related

My Server Works Slow But It's Ok Of Memory

Nov 29, 2007

My server is hosted within a Virtuozzo VPS Server, and it runs very slow. Sometimes, when I type commands via shell, it takes 1-2 seconds to be echoed.

I've just checked free memory ('free -m') and it seems to be ok:

Code:
free -m
total used free shared buffers cached
Mem: 8104 7642 461 0 220 3979
-/+ buffers/cache: 3443 4661
Swap: 4094 0 4094
If I check "ps -ef" I don't see any weird process and with "top" the most memory-wasting process is 'mysqld' (0.8%).

Which extra parameters might I check?

View 4 Replies View Related

VPS Server My First I Dont Think Mod Rewrite Works

May 20, 2007

I finally bought a VPS after not being able to pay for a dedicated server so I bought one from VPSbyte.com as they came highly recomended $39.95 server with Cpanel not the cheapest I gathered but I wanted reliable servers

now I moved my forum over to the server all was ok after I got the massive database sent over but when I tried to view a thread or category I could not it came back with No Valid input or something like that

I went into admin and disabled zoints SEO mod and the forum works fine BTW its a VB forum.

would it be due to mod rewrite that the forum does not work with zoints? and is it possible to get it to work?

View 8 Replies View Related

Apache :: Local Server Works Once And Then Won't Again

Oct 3, 2013

I found a socket available other than 80 which would not allow me to use. I set it in the conf file as 1800 and then go to apache/bin directory and load httpd.exe. When I go to the browser, I have to type in http://localhost:1800 for it to work once. If I close the browser and try again, or I try a php file, it says it can't find localhost. I have to stop httpd.exe and reload, then it will work once.

Do I have to find a way to use socket 80 for it to work?

View 2 Replies View Related

Www Does Not Works Http:// Works

Jan 9, 2008

I can access my web domain by typing...

[url]

But i get no server found error when i type....

www.mysite.com or [url]

I am using LxAdmin Panel, and have added (A) record for www

www A Server IP

View 7 Replies View Related

Server Works But Sites Wont Load

Oct 10, 2009

So this is a new problem for me, and I have no idea what could be broken?

My server works, but none of the sites load.

Server ip is 69.162.121.170, one of the sites is bloghost.cl

Where should I start looking? When you try to visit the site it just tells you it cant establish a connection. All I did was restart the server today, and now nothing works

View 3 Replies View Related

Virtual Private Server As A GameServer WORKS GREAT

Apr 22, 2009

I ordered a vps from knownhost the other day for $50/mo w/ cpanel

I have been using it for:

hosting of my own websites and 5 other clients (15 websites total)

installed a counter-strike source 11slot 100tick 500fps server w/ srctv on it and it RUNS GREAT!! solid 500fps, no lag/choke, wonderful registration!

cpu load maxes at around 60% and ram usage is about 80%

after being with nearly ever game server provider out there my team has agreed that this is the best server we've ever had.

so to all of you people wondering about it, YES, you can run a gameserver on a vps, and I reccommend it to everyone. Not only will it save you money, but you will be able host all your websites and run even a ventrilo server if you want.

View 11 Replies View Related

Restarting Apache

Oct 6, 2007

Im having trouble restarting apache. I have a program which executes command lines and it runs as a system service (on windows). when i tell it to restart it loads apache up (i see another httpd.exe appear in task manager) but it doesnt restart it. the command line i used is "httpd.exe -k restart" i have added an environment variable but i have also tried the full path to the exe and still no luck.

If i run the exact same line from a batch file as local admin then it works fine. I also tried getting my program to run that batch file but again it didnt work.

Is there a reason why this would happen? Can only Admin restart it and not SYSTEM? Is there another command i should be using?

View 0 Replies View Related

Restarting Apache2

Apr 4, 2009

Ive had this problem numerous times (website failed to connect error) before and the web management team tell me that apache2 needs to be restarted, seeing as they are not replying to my emails im gona try and do it myself.

i open up putty, login as root user, then what?

View 2 Replies View Related

Error On Restarting Csf+ldf On WHM

Jul 26, 2009

I have installed CSF on a VPS with WHM and when i try to restart i get this:

Code:
Restarting csf...

Flushing chain `INPUT'Flushing chain `FORWARD'Flushing chain `OUTPUT'Flushing chain `acctboth'Deleting chain `acctboth'Restarting bandmin acctboth chains for cPanelDROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:67 DROP udp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 udp dpt:67 DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:68 DROP udp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 udp dpt:68 DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:111 DROP udp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 udp dpt:111 DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:113 DROP udp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 udp dpt:113 DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpts:135:139 DROP udp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 udp dpts:135:139 DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:445 DROP udp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 udp dpt:445 DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:513 DROP udp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 udp dpt:513 DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:520 DROP udp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 udp dpt:520 iptables: Unknown error 4294967295LOG tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *TCP_IN Blocked* ' Error: iptables command [/sbin/iptables -v -A LOGDROPIN -p tcp -m limit --limit 30/m --limit-burst 5 -j LOG --log-prefix 'Firewall: *TCP_IN Blocked* '] failed, at line 280
...Done.
Restarting lfd...

Stopping lfd:[ OK ][ OK ]Starting lfd:Error: You have an unresolved error when starting csf. You need to restart csf successfully before starting lfd[ OK ]
...Done.

dont know where is the error on the iptables, i didn't change any config on iptables.How can I config iptables for CSF?

View 14 Replies View Related

HTTPd Keeps Restarting

Oct 31, 2009

How can I prevent the httpd from timeout so much? the server recovers which is prefectly fine but there seems to be a problem some where.

httpd failed @ Sat Oct 31 17:47:53 2009. A restart was attempted automagically.
Service Check Method: [tcp connect]

Failure Reason: Timeout while trying to get data from service

View 14 Replies View Related

Restarting Service On VPS

Aug 29, 2008

i have one site on vps host with 256 ram burst untill 768 ram...

every day i watch my site it alwasy consume CPU usage avareage 60%++ consume ..for daily usage its average 60% - 80% ..sometime its get 99% ...

if this situation happend to high..i used to restart service for the bind, apache, mysql and more serivice..i use cpanel and whm,,,..

my question is :

is there bad effect if i run the restart serivice everyday?

View 5 Replies View Related

Apache :: 2.2 Not Starting After Restarting PC

Jul 20, 2013

I can't start the server with my php enabled 5.2.I've the following error reports.

The Apache2.2 service terminated with service-specific error 1 (0x1).

[Reviewed at the event viewer]

[Sat Jul 20 20:25:52 2013] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

[Reviewed the error log file of Apache 2.2]

I resolved this problem earlier by re-installing both php and apache and configuring them all over again.But when i restart my pc ,i get the same error....

View 3 Replies View Related

Multiple Problems With Restarting Services

Nov 8, 2009

I thought everything was fine after setting up my new VPS with WHM/cPanel - however it turns out I was very, very wrong. I was trying to work out why email wasn't able to send or receive - so I tried to restart the mail service from WHM. This is where the problems started.

I tried to restart different services (all of them) some worked fine - some failed (the ones which are in red below are the ones which failed). The results are below. If anyone has any information or wouldn't mind helping me to resolve this I would appreciate it.

DNS Server (BIND/NSD):
Waiting for named to restart..............finished.

named (/usr/sbin/named -u named) running as named with PID 25824

named started ok

--------------------------------------------------------------
FTP Server (ProFTPd/PureFTPd):
Waiting for ftpserver to restart..............finished.

pure-authd (/usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth) running as root with PID 30596

ftpserver started ok

--------------------------------------------------------------
HTTP Server (Apache):
Waiting for httpd to restart..............finished.

httpd (/usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd) running as root with PID 3145
httpd (/usr/local/apache/bin/httpd -k start -DSSL) running as root with PID 3171
httpd (/usr/local/apache/bin/httpd -k start -DSSL) running as root with PID 3177

httpd started ok
--------------------------------------------------------------
IMAP Server (Courier/Dovecot):
Waiting for imap to restart..............finished.

authdaemond (/usr/sbin/courierlogger -pid=/var/spool/authdaemon/pid -facility=mail -start /usr/libexec/courier-authlib/authdaemond) running as root with PID 7668
authdaemond (/usr/libexec/courier-authlib/authdaemond) running as root with PID 7669
authdaemond (/usr/libexec/courier-authlib/authdaemond) running as root with PID 7670
authdaemond (/usr/libexec/courier-authlib/authdaemond) running as root with PID 7671

imap has failed, please contact the sysadmin (result was "couriertcpd is not running").
--------------------------------------------------------------
Mail Server (Exim):
Waiting for exim to restart..............finished.


exim: [ != 220]
exim has failed, please contact the sysadmin.
--------------------------------------------------------------
POP3 Server (cPPOP):
Waiting for cppop to restart..............finished.

authdaemond (/usr/sbin/courierlogger -pid=/var/spool/authdaemon/pid -facility=mail -start /usr/libexec/courier-authlib/authdaemond) running as root with PID 11869
authdaemond (/usr/libexec/courier-authlib/authdaemond) running as root with PID 11870
authdaemond (/usr/libexec/courier-authlib/authdaemond) running as root with PID 11871
authdaemond (/usr/libexec/courier-authlib/authdaemond) running as root with PID 11872

cppop started ok
--------------------------------------------------------------
SQL Server (MySQL):
Waiting for mysql to restart..............finished.

mysqld_safe (/bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/server.rawpromo.com.pid) running as root with PID 15401
mysqld (/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/server.rawpromo.com.pid --skip-external-locking) running as mysql with PID 15435

mysql has failed, please contact the sysadmin (result was "mysql has failed").
--------------------------------------------------------------
SSH Server (OpenSSH):
Waiting for sshd to restart..............finished.

sshd (/usr/local/cpanel/whostmgr/bin/whostmgr ./ressshd) running as root with PID 19921
sshd (/usr/sbin/sshd) running as root with PID 19949

sshd started ok
--------------------------------------------------------------

View 4 Replies View Related

Errror When Restarting Httpd Mod_evasive

May 5, 2008

Installing mod_evasive after serveral attacks on our server.

but when restarting httpd I get this error,

httpd: Syntax error on line 36 of /usr/local/apache/conf/httpd.conf: API module structure 'evasive20_module' in file /usr/lib/httpd/modules/mod_evasive20.so is garbled - expected signature 41503232 but saw 41503230 - perhaps this is not an Apache module DSO, or was compiled for a different Apache version?


Running apache 2.2.8

View 1 Replies View Related

Restarting Mysql/named If They Drop

Dec 22, 2007

way to restart mysql and named if they drop. I'm on cpanel.

I've searched and found the following:

For mysql:

Code:
NUMBER=`ps --no-heading --user mysql | wc -l`;
[ $NUMBER -eq 0 ] && service mysql restart;
For named:

Code:
NUMBER=`ps --no-heading --user named | wc -l`;
[ $NUMBER -eq 0 ] && service named restart;
I have these set to run every 5 minutes, just to check if mysql/named are running. I found out that it doesn't work: I woke up to a whole bunch of sql errors and realized that mysql dropped while I was asleep... I type in "service mysql restart" manually and it restarts as usual, so I know that the command to restart sql works fine, but the restarts aren't triggering in the first place.

View 2 Replies View Related

Mysql & Courier Imap Restarting Every 10 Mins?

Oct 6, 2008

yesterday i setup my first vps system and now its hosting 2 forums of my. Thing is in evry 10 mints Mysql & courier-imap are restarting..? I know this from the lxadmin alert email. So is it normal or is it a problem in my configuration..? Im running cent os 5 now. And i also check the log.. there is entry like below in it..

Oct 6 13:43:07 vps_10013 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 6 13:43:07 vps_10013 xinetd[8020]: EXIT: ftp status=255 pid=21638 duration=0(sec)
Oct 6 13:43:13 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=21637 duration=6(sec)
Oct 6 13:43:48 vps_10013 xinetd[8020]: START: smtp pid=21679 from=63.247.94.194
Oct 6 13:43:49 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=21679 duration=1(sec)
Oct 6 13:44:48 vps_10013 xinetd[8020]: START: smtp pid=21901 from=63.247.94.194
Oct 6 13:44:49 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=21901 duration=1(sec)
Oct 6 13:45:49 vps_10013 xinetd[8020]: START: smtp pid=22163 from=63.247.94.194
Oct 6 13:45:50 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=22163 duration=1(sec)
Oct 6 13:46:49 vps_10013 xinetd[8020]: START: smtp pid=22499 from=63.247.94.194
Oct 6 13:46:50 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=22499 duration=1(sec)
Oct 6 13:47:49 vps_10013 xinetd[8020]: START: smtp pid=23668 from=63.247.94.194
Oct 6 13:47:50 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=23668 duration=1(sec)
Oct 6 13:48:49 vps_10013 xinetd[8020]: START: smtp pid=23920 from=63.247.94.194
Oct 6 13:48:52 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=23920 duration=3(sec)
Oct 6 13:49:49 vps_10013 xinetd[8020]: START: smtp pid=24173 from=63.247.94.194
Oct 6 13:49:53 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=24173 duration=4(sec)
Oct 6 13:50:49 vps_10013 xinetd[8020]: START: smtp pid=26117 from=63.247.94.194
Oct 6 13:50:53 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=26117 duration=4(sec)

View 7 Replies View Related

Q: Prevent DDoS Attacks With Restarting Httpd?

Jan 12, 2008

Can you restart the httpd to get the server online again while you are under an DDoS attack?

The reason for asking is that I was told that when restarting the httpd it should start to work again instantly, and so it seems.

But why? doesnt the attack "continue" after the restart?

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved