Server Refused To Start Shell/command
Apr 28, 2008
I am having some server issues.
A part of my sshd_config:
Port 2255
Protocol 2
ListenAddress 8x.xx.xx.46
PermitRootLogin no
Recently, when I want to connect to my server using putty, I get "Connection Refused" using the above IP address and port.
When I enter the above IP address (or any other IP address that is stored/set on the server) and port 22, I get "Server refused to start shell/command".
It did work before, using 8x.xx.xx.46:2255 and when I enter 8x.xx.xx.46:22 it will block. But now... not anymore.
I am using "Direct Admin" to do a "System Backup". I do see the right port and IP address in the sshd_config file.
How can I fix this? I can not login the server anymore, however I am going to the datacenter tomorrow.
OS: CentOS
Installed firewall / protection: APF + BFD
Control Panel: Direct Admin
View 5 Replies
ADVERTISEMENT
Apr 28, 2015
Plask Management inferace error is:
ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused (Abstract.php:144)
First, the datacenter lost power so the server shut off. I assume there is some DB corruption and why the SQL Service won't start.
Code:
failed
Trying to start service mariadb... Job for mariadb.service failed. See 'systemctl status mariadb.service' and 'journalctl -xn' for details.
WARNING!
Some problems are found during start(see log file: /var/log/plesk/psa_service.log)
Continue...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
I ran the systemctl status mariadb.service command and this is below.
Code:
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled)
Active: failed (Result: exit-code) since Wed 2015-04-29 05:57:21 CEST; 5min ago
Process: 21210 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=1/FAILURE)
Process: 21208 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=0/SUCCESS)
[Code] ....
View 2 Replies
View Related
Jun 9, 2008
i am trying hard to understand how everything works, i just finished installing my CentOS 5.2 OS and need to install + Apache + MySQL + PHP/Perl.
Also i downloaded the apache file and tried to insatll it but it has to be done by giving a command via Bash shell for wht i understood, so i downloaded bash shell file. How and where do i enter the commands for installing these applications?
View 3 Replies
View Related
Feb 16, 2007
What command could I use to see all the currently running services on my Windows (vista) computer?
I'm trying to start my MySQL server, but it won't start. I think I know what the problem is though I'm not sure. I think that the service name "MySQL" is already running...and I need to remove it or something.
Btw...my apache and php is fine. Though...I cannot use my MySQL from php obviously...since it's not running.
View 2 Replies
View Related
Jan 17, 2006
i want to modify a conf file using commandline or a shell script. for eaxmple:
here is a line from my conf file:....
View 1 Replies
View Related
Nov 18, 2013
My Apache server wont start. I did not install this server.
D:WebserverApachebin>httpd.exe -e debug
[Mon Nov 18 09:35:04 2013] [debug] mod_so.c(246): loaded module actions_module
[Mon Nov 18 09:35:04 2013] [debug] mod_so.c(246): loaded module alias_module
[Mon Nov 18 09:35:04 2013] [debug] mod_so.c(246): loaded module asis_module
[Mon Nov 18 09:35:04 2013] [debug] mod_so.c(246): loaded module auth_basic_module
[Mon Nov 18 09:35:04 2013] [debug] mod_so.c(246): loaded module authn_default_module
[code]...
Invalid command 'AuthDigestProvider', perhaps misspelled or defined by a module not included in the server configuration..No port is using port 80 or 8080.
View 2 Replies
View Related
Jun 3, 2008
All our vps customer have following error when login to ssh after one day:
"root@xxx.xxx.xxx.xxx's password:
Server refused to allocate pty"
And ssh not work too!
View 2 Replies
View Related
Jul 16, 2015
I just configured the plesk server to only allow ftps connections.
When I try to access with a ftp account on the server itself it works well, however when I try to access it from a client PC it get these errors :
(...)
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (XXX,XXX,XX,XX,XXX,XX).
Command: LIST
Response: 150 Opening BINARY mode data connection.
Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
On the client PC I configured Filezilla in Passive mode with "Require explicit FTP over TLS".
Normally for the firewall only the port 21 is needed or am I wrong (with explicit FTP and passif configured)?
View 1 Replies
View Related
Oct 22, 2009
i got this error :
rndc: connect failed: 127.0.0.1#953: connection refused
oot@server [/]# rndc status
rndc: connect failed: 127.0.0.1#953: connection refused
root@server [/]# /etc/init.d/named status
rndc: connect failed: 127.0.0.1#953: connection refused
named is stopped
root@server [/]# /scripts/fixndc
Named could not be restarted, any obvious config errors should show up below this line.
No critical problems found, will attempt to regenerate keys regardless.
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
Creating rndc.conf
Creating /etc/rndc.key
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
Restarting named
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
/scripts/fixrndc failed to fix the rndc key (or named is otherwise broken), please investigate manually
and i have try to reload the rndc but i got this error :
root@server [~]# rndc reload
rndc: connect failed: 127.0.0.1#953: connection refused
my vps info : linux os - centos , using cpanel , apache , mysql ....
root@server [~]# uname -r
2.6.18-028stab064.7
View 13 Replies
View Related
Jul 8, 2008
Do any1 know how to change jail shell to normal shell?
View 14 Replies
View Related
Jun 19, 2009
On one of our servers, a Athlon 64, 4 GB DDR2 RAM, Linux server with CentOS 5.3 64-bit installed and running the latest kernel (and which is located entirely different from the previous post, in a different city and DC), after installing some packages using yum and installing the latest PHP and Apache from tarballs, the server began slowing down and hanging on trying to do additional yum installs.
So, we rebooted and logged back into our SSH shell and got "Server refused to allocate pty" after entering the password and then, nothing. We can't run other diagnostics or anything to determine the issue, look at any logs, etc.
What does this mean and does anyone know how to fix it without reinstalling the OS? We have rescue mode available to us but we're not sure how to use it to fix this problem.
We look forward to your solutions-oriented responses.
View 14 Replies
View Related
Dec 16, 2007
One of our customers uploaded C99Shell script on my server, and he can access to another accounts,
I upgraded php to 5 but he can access with this script to another accounts yet, what should I do to disable this script or other one?
View 14 Replies
View Related
May 20, 2008
i have server and i want to do shell scan and delete the shell
View 4 Replies
View Related
Nov 29, 2007
when i try to connect to ssh from putty, WinScp
i got the following error :
Code:
Network Error : Connexion Refused
and when i try to restart the ssh server (OpenSSH) from Whm i got :
Code:
Nov 29 18:50:31 host sshd: sshd -TERM succeeded Nov 29 18:50:31 host sshd: succeeded sshd has failed, please contact the sysadmin.
View 8 Replies
View Related
Mar 13, 2007
For hosting irc and shells i heard that the best choice for OS is the FreeBSD..
I would like to know if there are any toturials or if someone can write one.. (or give some tips) of how can i secure a machine running FreeBSD and used for irc + shells!
For example how can i install a firewall, a rootkit etc etc..
Also what about putting users at jail? (not allowing them see other dirs except theirs) how can i do that?
Also what about dont allow users use some commands like dmesg, ping, traceroute, and also how can i make them when they do ps -aux to only see their processes (to not be able see the other processes from other users..)
View 3 Replies
View Related
Mar 17, 2007
how can I get sure there is no shell access to my server exept mine. I mean alkl the security issues I should care for preventing shell access from all my users and hackers.
I have diabled all the shell accesses of my users via Cpanel.how can I disable the exec() function on my server?
View 9 Replies
View Related
Sep 1, 2008
I have few scripts, but hackers again upload at some way c99, and hack some SMF forums at server. Server like server they cannot hack, but user account they can. So please tell me what you advice?
View 6 Replies
View Related
Apr 3, 2009
I have a dedicated server with godaddy (I know) and have used a pre-installed mail server product to host a few email accounts. Nothing fancy. My mail server is required to relay through godaddy's servers. A few of my users began complaining about email bounces - specifically "554 message refused". I opened a support ticket 2 weeks ago.
Initially godaddy insisted that the emails contained suspicious phishing links - which they didn't. I incrementally stripped the content of the emails and discovered that it was two simple characters that caused the bounce - left and right square brackets []. I presented this information to godaddy and their response was:
"When sending emails in the future, please make sure that these two brackets are not placed in succession to avoid the email from being bounced"
The problem is that my users are trying to forward or respond to email with embedded content that sometimes contains []. I cannot expect them to strip down their emails.
While acknowledging this issue, godaddy has refused to correct it. Sorry for long-winded explanation but I'm interested in some of your feedback - Does this policy make sense? Why can't they correct it?
View 14 Replies
View Related
Oct 30, 2008
The MS DNS server in one of my Windows 2003 server does not start. When I try to start the server, I get the error Not enough storage available to complete this operation. I have enough of space and memory available in the server and all the other services are working fine. What could be the issue and what is the solution for this?
View 3 Replies
View Related
Mar 9, 2007
We have a script that run for more day without problem Script connect to port 25
Now we get this:
Warning: fsockopen() [function.fsockopen]: unable to connect to my.domain.com:25 in /home/mydom/public_html/backend/go.php on line 47
Connection refused (111)
View 10 Replies
View Related
Dec 10, 2014
I am running two Apache web servers:
- moodle.myCompany.com (Moodle site)
- content.myCompany.com (web server)
I am trying to display a page, from the content site, through an iFrame, on the Moodle site, and am getting a console.log error message of "Refused to display 'http://subdomain.myCompany.com/index.php' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'."
I have been doing a lot of reading and it sounds like the X-Frame-Options is deprecated and that I should be controlling things through Content-Security-Policy and frame-ancestors. How do I allow content from a sub-domain to load into an iFrame on my moodle site?
View 1 Replies
View Related
Mar 5, 2009
We are experienced in Linux VPS Servers, HyperVM, OpenVZ...
But, how shall we start a Windows VPS server?
What software do we need?
I was thinking of Windows 2008 with Hyper-V support, is it the best way?
View 4 Replies
View Related
May 23, 2009
After a downtime of my server i got my main server back but my vps never work.
I am able to ping my ns1 and ns2 and get back correct ips.
But not my vps ip.
When i run vzlist -a i got in status running.
Also in my shared server i got the server up and i can login to whm but my account doesn't work there also.
All additional ip's in my server seems to not work and my DC told me that they are ok....
View 3 Replies
View Related
Mar 1, 2008
I just ordered a server from VD. I got an email said that my server was online from 5 hours ago. However, I do not know how to connect my server. They gave me 2 IPs but when I clicked those, I got an error like this:
Firefox can't establish a connection to the server at *.*.*.*.
and they said that my Directadmin control panel will be installed shortly, but after 5 hours, I did not get any more information update from them.
Can the guys tell me what should I do? Those information is enough for me to run a server?
This is the first time I run dedicate server, so it made me a little bit confused.
View 14 Replies
View Related
May 31, 2008
I install CSF on a vps (openvz based) server.
Server crashed after im start csf.
Code:
root@server [/etc/csf]# csf -s
Flushing chain `INPUT'
Flushing chain `FORWARD'
Flushing chain `OUTPUT'
Flushing chain `acctboth'
Deleting chain `acctboth'
Restarting bandmin acctboth chains for cPanel
ACCEPT all opt -- in lo out * 0.0.0.0/0 -> 0.0.0.0/0
ACCEPT all opt -- in * out lo 0.0.0.0/0 -> 0.0.0.0/0
DROP 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 ....
View 14 Replies
View Related
Jan 13, 2013
Server easily install but it could not be start ,,,it says that Server Root must be a directory..
View 1 Replies
View Related
Oct 22, 2009
i have a vps
and all my site not working!
i got this error:
rndc: connect failed: 127.0.0.1#953: connection refused
View 1 Replies
View Related