What Does "Server Refused To Allocate Pty"

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


ADVERTISEMENT

Server Refused To Allocate Pty

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

Iconv: Unable To Allocate Buffer For Input: Cannot Allocate Memory

Jun 26, 2009

iconv: unable to allocate buffer for input: Cannot allocate memory

as title I have this error when I try convert database to uft-8
when I try this command

Code:
# iconv -c -f windows-1251 -t utf-8 vbulletin_db.sql > vbulletin_db_utf8.sql

I get this error
iconv: unable to allocate buffer for input: Cannot allocate memory

View 12 Replies View Related

I've Wordpress Blog And Forum - How To Allocate Them On Server

Mar 20, 2007

Basically I installed wordpress in the same mysql as forum... but wordpress uses different username to connect to it. I wonder if there is any security risk associated with this, like would it be better to move out wordpress on to a different db? what about speed? what if my forum receives allot of mysql usage?

View 5 Replies View Related

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

Plesk 12.x / Linux :: Error Reading Data From FastCGI Server - Cannot Allocate Memory

Jun 22, 2015

PleskLog File

104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Jun 22 15:33:11 2015] [error] [client 176.10.112.11] Premature end of script headers: import_cop.php

and Apache Log

[Mon Jun 22 11:06:57 2015] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Mon Jun 22 15:46:17 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process
PHP Warning: Module 'zip' already loaded in Unknown on line 0

How can I fix this problem? The Script is 100% i/O because it has worked onder PHP 5.2 and its comp. whit 5.4.

View 12 Replies View Related

Plesk 12.x / Windows :: FTP Error Connection Refused By Server

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

Error In My Dns Server : Rndc: Connect Failed: 127.0.0.1#953: Connection Refused

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

Allocate System Ram

Jul 22, 2008

I have a VPS acct with Plesk, am peaking out my system ram at 128mb. Host said to allocate ,ore = purchase more. What I would like to do is hunt down where I am using the most of it. I have 8 sites (non that are too big). Most of them are wordpress sites.

Would caching help? Not sure where to look to find this out.

View 2 Replies View Related

Cannot Allocate Memory

Mar 21, 2007

I got this error after trying to login to the server

-bash: /bin/egrep: Cannot allocate memory
-bash: /bin/fgrep: Cannot allocate memory
-bash: /bin/grep: Cannot allocate memory
-bash: /bin/grep: Cannot allocate memory

Also I notice my server load are was also high due to '/usr/sbin/httpd -k start -DSSL' taking half of my CPU process. I tried to killall -9 httpd and restart again. See all below
login as: wheel
wheel@user:
-bash: /bin/egrep: Cannot allocate memory
-bash: /bin/fgrep: Cannot allocate memory
-bash: /bin/grep: Cannot allocate memory
-bash: /bin/grep: Cannot allocate memory
[~]# su -
Password:
-bash: /bin/egrep: Cannot allocate memory
-bash: /bin/egrep: Cannot allocate memory
-bash: /bin/egrep: Cannot allocate memory
-bash: /bin/egrep: Cannot allocate memory
-bash: /bin/fgrep: Cannot allocate memory
-bash: /bin/grep: Cannot allocate memory
-bash: /bin/grep: Cannot allocate memory
-bash: /bin/cut: Cannot allocate memory
-bash: /bin/cut: Cannot allocate memory

After then I reliased I cannot pingt the server from same Lan network

root@t [~]# ping xxx.xxx.xxx.xxx
PING xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) 56(84) bytes of data.
From xxx.xxx.xxx.xxx icmp_seq=1 Destination Host Unreachable
From xxx.xxx.xxx.xxx icmp_seq=2 Destination Host Unreachable
From xxx.xxx.xxx.xxx icmp_seq=3 Destination Host Unreachable
From xxx.xxx.xxx.xxx icmp_seq=5 Destination Host Unreachable

My server was totally offline!

When I type 'ls', it says
bash /bin/ls: Cannot allocate memory.

I have unplugged the server from datacenter. Right now the server is infront of me. Please advise what command and fixes should i do.

View 14 Replies View Related

How Much Email Space To Allocate

Mar 26, 2009

I have never really looked to far into this but I was wondering how much space to allocate to my clients email accounts. Any rule of thumb for this?

View 6 Replies View Related

FSCKVPS Install Nginx :: Cannot Allocate Memory

Oct 17, 2009

when I tried to install nginx,but always said:

cannot allocate memory ....

View 14 Replies View Related

OpenVZ/HyperVM Unable To Fork: Cannot Allocate Memory

Jun 5, 2009

We're in the process of setting up our new VPS Server, and we can create a VPS with 256MB memory and with 512MB memory fine, but when creating one with 1GB memory, we get the error:

Could Not Start Vps, Reason: Unable to fork: Cannot allocate memory: Not enough resources to start environment: Container start failed:

Even though the server has 4GB RAM and no other VPS's running. Any ideas?
Thanks.

[Edit]We now seem to get the problem for all our VPS's. I think it may be something to do with the Server not unallocating the memory, as we've provisioned and de-provisioned quite a few Servers

View 10 Replies View Related

Shh : Connexion Refused

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

Hosting Email - 554 Message Refused

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

Fsockopen Failed At Port 25 - Connection Refused

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

Apache :: IFrame From Sub-domain / Refused To Display

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

Error :: Rndc: Connect Failed: 127.0.0.1#953: Connection Refused

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

Plesk 12.x / Linux :: SQL Service Won't Start - Connection Refused

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

Plesk 12.x / Linux :: Hosted Domain Connection Refused?

Aug 17, 2014

We have latest Plesk 12 on Centos 7, I can login to Plesk UI and mail is working,

but cannot access hosted website www.elcop.hr :

Error: Connection refused

View 19 Replies View Related

Plesk 12.x / Linux :: Postfix Errors - Connection Refused

Dec 16, 2014

When i am issuing systemctl status postfix.service i am receiving the following error. I am actually trying to install opendkim and i found this.

Code:
warning: master_wakeup_timer_event: service pickup(public/pickup): Connection refused

And this is the output of ls -l

Code:
[root@h2376451 postfix]# ls -l /usr/lib/sendmail /usr/sbin/sendmail
lrwxrwxrwx. 1 root root 30 Dec 2 10:51 /usr/lib/sendmail -> /etc/alternatives/mta-sendmail
lrwxrwxrwx. 1 root root 21 Dec 2 10:51 /usr/sbin/sendmail -> /etc/alternatives/mta

View 7 Replies View Related

"bash: Fork: Cannot Allocate Memory" Error

Mar 29, 2008

Working on CentOs 5, I got this error when listing a folder 'ls' with 5 files in it:

root@s1 [/usr/local/lib]# ls-bash: fork: Cannot allocate memory 

What does it mean? How can I fix it?

and my memory status is: .....

View 13 Replies View Related

Improve Performance- Web Server, SSH Server, And Mail Server

May 8, 2007

I've got a VPS which is serving as the main server for a number of sites. Web Server, SSH Server, and Mail Server.

What I've got running:

Apache2, PHP5, MySQL5, Dovecot, Postfix

One of the sites is a growing forum with a MASSIVE photo album. This is the site where I notice the most slowness.

Changing the server software is not an option - Only optimization.

Quote:

Originally Posted by httpd.conf

ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
StartServers 8
MinSpareServers 8
MaxSpareServers 13
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 50
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
Listen 80
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
Include conf.d/*.conf
User apache
Group apache

Quote:

Originally Posted by my.cnf

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

View 8 Replies View Related

Remote Upload To Server (url/server To Server)

Mar 7, 2009

I looked a lot - can not find solution ....

I want to transfer a file from [url]to [url]or [url]Without it will pass my localcomputer (slow upload)

It can be also a script i will install like this one - this is only for images
[url](remote)

View 7 Replies View Related







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