SSH Can Not Be Accessed And Restarted. CPanel/WHM

Apr 24, 2009

We are having this problem with ecatel, as they still have not helped us after 4 days of asking to help improve on the problems we are having right now with SSH.

Problem: SSH can not be accessed. It can not be restarted in WHM. Firewall has been disabled just incase it's the one blocking it.

Retarting SSH in cPanel returns the message

Restarting SSH Daemon
Waiting for sshd to restart..............finished.
sshd (/usr/local/cpanel/whostmgr/bin/whostmgr ./ressshd) running as root with PID 6537
sshd (/usr/sbin/sshd) running as root with PID 6567
Apr 24 08:14:15 server1 sshd[5778]: Received signal 15; terminating.
sshd has failed, please contact the sysadmin.

I tried running [url]It just brought me this message

Requesting script ... Done.
Executing script ...
Attempting to locate sshd binaries installed on the system ...
Located /usr/sbin/sshd
Done.
Killing exisiting sshd processes...
Stopping sshd: [ OK ]
Done.
configuring sshd to run on port 22
/usr/sbin/sshd successfully started!
root 5778 0.0 0.0 7132 1132 ? Rs 08:00 0:00 /usr/sbin/sshd -f /var/cpanel/safe_sshd
Done.

The message says it OK. But it isn't. When I access SSH, is still not accessible. Restarting it causes the same error message as above.

I updated cPanel, software and RPMs to latest stable. I know reinstalling "forcibly" SSH rpms could help, but cPanel 11 does not have that option.

View 14 Replies


ADVERTISEMENT

How Do I Rid Of The Generic Apache/cPanel Page When Subdomains Are Accessed

Aug 1, 2008

I just picked up a WiredTree VPS account, but have never really dabbled deep into server-related knowledge. I was wondering what one would do to rid of the "Great Success!

Apache is working on your cPanel® and WHM™ Server" pages when subdomains are accessed?

View 0 Replies View Related

Cpanel Services Failing And Being Restarted, How Do I Determine Cause

Nov 15, 2008

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 5 Replies View Related

PHP Cannot Include File Only When Accessed With Https

Nov 25, 2007

My PHP script has an include statement. All works fine when I access the script using http. HOWEVER, when I access the exact same page using https, PHP complains that it fails to open the include file. I've checked and the include_path lists the correct dirs in both cases.

View 4 Replies View Related

Mysql Gets Restarted Again And Again

Nov 2, 2008

We have CentOS 4.7 , WHM 11, Apache/2.2.9, Mysql 5.0.51 on the server.

Currently we are facing Mysql issue. Mysql server get restarted after every 9-10 minutes. I have even tried /scripts/fixmysql on server but that didn't help. I am checking Mysql status as follows:

- Login to root SSH

- Type mysql and you get login to Mysql prompt

- Then type status to check the uptime

Here I see mysql uptime never goes above 8-9 minutes.

View 7 Replies View Related

Apache :: Files In Server Can Be Accessed Only Once At A Time

Mar 17, 2013

I have a tiny "webpage" in an Apache server running on my computer. I've got for it this .htaccess file: URL...I have written it by googling,.(I don't really know very much about Apache HTTPD, but my Java suite requires this stuff, so here I am). Supposedly the first paragraph is to avoid Google Chrome from caching my files and the second part (the Order sentences) are to allow anyone to view only those kinds of files (which is otherwise let them see everything but folder roots.

And here is the httpd.conf, which I've modified almost only to change the listen port, the server name, and to replace the AllowOverride None into AllowOverride All so that .htaccess is actually used (I've deleted the comments for readability).URL....

I had never heard of something similar, "I can only load one instance of each file". In explanation, the only html file there's, runs from time to time a PHP script. Let's say I run it on localhost for example. Then everything is going fine. But I open a new tab, and load the same page (while the another one is yet open), and I'll get a 412 HTTP error. Similar thing happens if I try to load the webpage from another device. And, with my little experience with Apache HTTPD, I guess it's because of this .htaccess or httpd.conf files. Why does this happen or how can I solve it (either it be or not related to one of these files, I'll do whatever is needed)?

Apache 2.2.22 which can be found [link URL....]here[/link] in Windows 8 x86.

View 6 Replies View Related

Apache :: Allow Website To Be Accessed With Http And Https

Jun 7, 2015

I recently got a SSL-certificate for my website. Now the old links to my website (using only http) doesnt work, the visitors just getting redirected to my index page. How can I change my .htaccess so both http and https works, but keep https as the preferred? Or even better, redirect old http links to https? I'm not using www.

My current .htaccess:
RewriteCond %{HTTPS} off
RewriteRule (.*) https ://%{HTTP_HOST}%{REQUEST_URI}

View 2 Replies View Related

Apache Getting Restarted Automatically In 30 Secs

Feb 14, 2008

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 3 Replies View Related

Apache :: TCP Connections Getting Restarted (2.4.6-x86 Server)

Oct 29, 2013

Webserver is restarted all TCP connections randomly. we are not able to get any error into errorlog file.

Webserver close all TCP connection and start created new TCP connection for new request.

AcceptFilter http none
AcceptFilter https none

Also, conf file is saying that
Defaults Values are:
EnableMMAP On
EnableSendfile Off

Not sure what's wrong with server.

We have installed "Apache 2.4.6-x86 server" on Win 2008 R2 Standard server (64-Bit).

Also, we are using mod_jk module for connecting to tomcat server "tomcat-connectors-1.2.37-windows-i386-httpd-2.4.x.zip".

View 4 Replies View Related

Apache :: Modified Excel File In Docroot Not Showing If Its Accessed

Aug 7, 2014

We have few application which serve static information to the users like excel sheet.

We used to place the .xls file in the docroot and it will be accessed using URL

for example, I'll place a file named test.xls and access it through [URL]

Problem here is if i modified the file content and accesed it through [URL] , it is showing the old content. New content is not displaying.

But the same if i did with .txt file , it showing the updated content for .txt file

Dont know why only xls files are not reflecting.

View 2 Replies View Related

Apache :: Server Completely Freezes Until It Gets Restarted

Apr 21, 2014

We are using Apache 2.4.7 as Reverse Proxy & Using only for Single sign on. At random times our server crashes (every 1/2 weeks) in our environment.

Find the code that we put in httpd.conf file ....

View 1 Replies View Related

Plesk 11.x / Linux :: Upgrade BIND Must Be Restarted At Reboot To Work

May 20, 2014

Recently upgraded to Plesk 11.5 & upgraded to the latest CentOS kernel. Whenever I reboot the server DNS services do not work, can't view any websites hosted on the server etc.

Once I either restart BIND through Plesk Panel or

Code:
# service named restart

Everything works perfectly.

My var/log/boot.log shows named started [OK]

When I run

Code:
# service named status

Immediately after reboot everything looks normal, despite not resolving DNS until restarted.

I ran

Code:
# ceckconfig --list

And both httpd & named services are displaying all 'off' on every runlevel. But, obviously named service is starting automatically, maybe by psa?

Should httpd & named be listed as on, is this the problem?

View 1 Replies View Related

Apache Procs Constantly Rise, Until Apache Is Restarted

Jul 23, 2007

I've had this problem a long time now with my hosting network and decided to ask here hoping I get some good solutions, or if someone is willing to looking at this (I'll pay if they want).

Here's what I mean:
[url]

Problem is as you can see apache processes constantly rise infinitely, at least until I restart apache (/etc/init.d/httpd restart). The point of restart is shown in red lines.

And after restart, it goes down again for X amount of hours then eventually rises again infinitely until it's restarted again.

But the fact that after restart it remains down, it means it had the potential to be down all along.

So my question is: what could be causing this and does anyone have solution to keep them low at all times (as per graphs)?

View 14 Replies View Related

Died At /usr/local/cpanel/Cpanel/CpKeyClt.pm Line 132

Jul 10, 2009

got error with cpanel linces after force reboot

and when i try to set the licnse

i got this error

Code:
/usr/local/cpanel/cpkeyclt
Updating Internal cPanel Information.......Died at /usr/local/cpanel/Cpanel/CpKeyClt.pm line 132.
...propagated at /usr/local/cpanel/Cpanel/CpKeyClt.pm line 132.
.Done

View 5 Replies View Related

CPanel Horde Vulnerability Found - Update Your CPanel

Mar 7, 2008

An arbitrary file inclusion vulnerability has been discovered in the Horde
webmail application. At present, we can confirm that this security
vulnerability in question affects Horde 3.1.6 and earlier. Based on
incomplete information at this time, we also believe this affects Horde
Groupware 1.0.4 and earlier as well (cPanel does not use Horde Groupware
at this time).

cPanel customers should update their cPanel and WHM servers immediately to
prevent any chance of compromise. The patch will be available in builds
11.18.2 and greater (or 11.19.2 and greater for EDGE systems). The updated
builds will be available immediately to all fast update servers. The
builds will be available to all other update servers within one hour of
this posting.

To check which version of cPanel and WHM is on your server, simply log
into WebHost Manager (WHM) and look in the top right corner, or execute
the following command from the command line as root:

/usr/local/cpanel/cpanel -V

You can upgrade your server by navigating to 'cPanel' -> 'Upgrade to
Latest Version' in WebHost Manager or by executing the following from the
command line as root:

/scripts/upcp

It is recommended that all use of Horde 3.1.6 and earlier be stopped (on
cPanel and non-cPanel systems alike) until Horde updates can be applied.
You can disable Horde on your cPanel system by unchecking the box next to
'Server Configuration' -> 'Tweak Settings' -> 'Mail' -> 'Horde Webmail'
within WHM, and saving the page with the new settings.

View 14 Replies View Related

How To Use External CPanel Mysql In Another CPanel Server

Mar 14, 2007

I have 2 servers both have cpanel. I want to use 2nd server's mysql in my site which is on 1st server. I think thats not that hard. I don't wanna do clustering as this is temproary.

View 2 Replies View Related

Transferring Cpanel Emails To Another Cpanel

May 8, 2008

I am in the process of moving websites and emails to a new host. I am doing the transfer manually because we are gradually moving different part of the site at one time to allow developers to work on new parts.

I now want to migrate all of the email accounts off the old cpanel server to the new cpanel host. What files and settings do I need to move so settings are not lost, such as save mail and contacts?

View 3 Replies View Related

SSL With CPanel

May 11, 2009

I'm having big trouble trying to update an SSL certificate with cPanel.

I'm such a dummy that I've ended up buying 2 SSL certificates to see if that may fix it.

I now have 1 certificate for www.mydomainname.com and 1 for just mydomainname.com

I have logged into the account in cpanel and uploaded both certificates and when I view them in Security -> SSL/TLS manager -> Certificates They both display the correct host, correct issuer, and correct expire date.

But when I try to visit my site using https I get:

The certificate expired on 4/8/2008 7:59 PM.

(Error code: sec_error_unknown_issuer)

View 3 Replies View Related

Vps Or Rps With Cpanel And Whm..

Jan 21, 2009

can anybody make me offers on a vps or rps with cpanel and whm?

View 4 Replies View Related

Log Into CPanel Via WHM

Apr 17, 2009

I had a website created a few years ago. I am trying to update that website now. As ROOT, when I log into CPanel via WHM, I am unable to see a File Manager.

What would be my next steps?

View 3 Replies View Related

PAX And CPanel

Jun 27, 2009

Anyone here use PAX in their kernel builds? I've been trying to find a setup that works, but with no luck. stability wise.

I can run CPanel fine with just about any PAX setup, but after awhile with some settings the server eventually will get a load of over 250 and 1000 processes like it's not able to terminate them, or turn 4GB ram into like 3.2GB ram.

View 0 Replies View Related

CPanel + NAT

Apr 10, 2008

has anyone managed to setup cPanel /WHM with 1:1 NAT? I tried cPanel support with no luck, but I have 1:1 setup on all my IP address with no luck!

View 2 Replies View Related

Svn With Cpanel

Nov 26, 2008

Okay does any one here know how to install svn with cpanel as all the ones i found in google it install svn but to anther apache in a diff folder like /etc/httpd/conf and not in /usr/local/apache/conf

using centos5 and installing using the yum command (i would like to use it from the site but do not know how to compile a install)

View 0 Replies View Related

CPanel Or DA For Vps

May 24, 2008

getting a VPS with either 384mb or 512mb and I would like to know what control panel uses the least amount of ram I have a choice of either cPanel or DA

View 12 Replies View Related

Vps+whm+cpanel

Apr 26, 2008

I have a reseller account with site5. The last months the service has been horrible, sites down, dns down etc.. and the people there dont do a thing..

so i want to change to something else. I assume that VPS+whm+cpanel will give me something similar.

Which vps hosts are good? and which packages can you offer me? I'm paying about 19 usd a month now.

View 5 Replies View Related

Cpanel

May 17, 2008

i am now unable to remove subdomains for some reason, even though it says that it is successful.

i added 2 parked domains that is to redirect to my main domain and it created the subdomain folders for me.

i went to try creating a subdomain for parked.co.cc and tried to redirect it to my main domain.

so example i created this subdomain: parked1.co.cc.maindomain.com

in the list of subdomains table, i have:
Subdomains: parked1
Root Domain: .co.cc.maindomain.com

but however it should be:
Subdomains: parked1.co.cc
Root Domain: .maindomain.com

how can i solve this? i just want to delete it now..

also for some reason my /cpanel and /webmail goes to my main hosting website url but not mine! so if i type www.maindomain.com/cpanel it goes to www.mainhosting.com:2093 etc!

View 4 Replies View Related

Cpanel In Vps

Nov 30, 2007

Where do you guys currently get your external vps cpanel licenses? Cheapest ive been able to find is $15

Also what type of resources does cpanel require to run in the vps as far as ram used, etc..

My provider can provide me with cpanel vps so i have to get it externally, but 15 per is a bit much i think.

View 3 Replies View Related

Vps With CPanel

May 22, 2007

I now have tried a number of VPS accounts with CPanel.

I have taken the 256mb burstable to 512mb.

I am only running a simple php mysql online game (AATraders.com), yet i always max out at the memory and the server crashes.

Even when there is no one online I have issues.

I get the feeling that VPS with Cpanel and anything less than 1 gb ram is not going to work.

View 7 Replies View Related







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