03-04-2019
Hi,
Could you ping the server all the time that you couldn't connect an other way?
Is it a Physical or Virtual? What is the "uptime" on the server? Were problems experienced connecting to any other servers in the same location?
What if anything was in the logs?
Regards
Gull04
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I appreciate iif anybody can help me with this issue. I set up a Linux FTP server which is authorized user ID from AD. I do some configuration on vsftpd.conf file but it doesn't work out. I copy these configuration, can you help me to check again as when i connect through browser it always give me... (2 Replies)
Discussion started by: cthinh
2 Replies
2. UNIX for Dummies Questions & Answers
Hi!
I have 2 servers. The firts has vsftpd server with this configuration:
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all... (2 Replies)
Discussion started by: Torquemada
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Am running the following commands on our server to generate a key for passwordless SSH, however we are getting 100% blank key files.
E.g. when looking id_dsa.pub or id_dsa they are 100% empty - the files get created, but contain no content and have a file size of 0b.
mkdir ~/.ssh... (3 Replies)
Discussion started by: gjp
3 Replies
4. Shell Programming and Scripting
I am writing perl script to configure Cisco device but Variables inside Net::Telnet::Cisco Module doesn't work and passed to device without resolving.
Please advise.
here is a sample of script:
use Net::Telnet::Cisco;
$device = "10.14.199.1";
($o1, $o2, $o3, $o4) = split(/\./,$device);... (5 Replies)
Discussion started by: ahmed_zaher
5 Replies
5. Shell Programming and Scripting
Hi, I have a question.
I define a function using sed command:
replace()
{
searchterm=$1
replaceterm=$2
sed -e "s/$searchterm/$replaceterm/ig" $3 > $WORK'tempfile.tmp'
mv $WORK'tempfile.tmp' $3
}
Then I call
replace 'test = 0' 'test = 1' $myfileThis code works well in... (1 Reply)
Discussion started by: Dark2Bright
1 Replies
6. Shell Programming and Scripting
Hi, I have a question.
I define a function using sed command:
replace()
{
searchterm=$1
replaceterm=$2
sed -e "s/$searchterm/$replaceterm/ig" $3 > $WORK'tempfile.tmp'
mv $WORK'tempfile.tmp' $3
}
Then I call
replace 'test = 0' 'test = 1' $myfile
This code... (1 Reply)
Discussion started by: Dark2Bright
1 Replies
7. AIX
Recently I decided to intall second daemon of SSH for Winbind users.
I mean I have configuration AIX + Samba + AD and I can login to the server via SSH with AD accounts to 22 port without any problems.
But now I have second installation of OpenSSH and don't understand why I can't do the same... (6 Replies)
Discussion started by: jess_t03
6 Replies
8. Solaris
Hello Experts,
I am performing performance tests on a few mysql select queries.
I use the following command to clear the memory disk caches.
sync && echo 3 | sudo tee /proc/sys/vm/drop_caches
I however see that the above command works on RHEL6 but doesn't work on Solaris 10.
I asked... (4 Replies)
Discussion started by: Anirudh Kumar
4 Replies
9. Shell Programming and Scripting
I am sorry if i post in wrong Form.
i have AIX server in which ssh works for all users but sftp only works for root user .
it is too much important for me to solve this .
Your help will be greatly appreciated. (1 Reply)
Discussion started by: khalid khanAIB
1 Replies
10. UNIX for Advanced & Expert Users
I cant ping to some of my machines, but ping works.
I attach screenshots. Port is open and it is 22.
I can't figure out why i cant access.
https://www.unix.com/attachments/unix-for-advanced-and-expert-users/7492d1541541072-cant-ssh-but-ping-works-sshlisten-jpg... (17 Replies)
Discussion started by: tomislav91
17 Replies
LEARN ABOUT PHP
mongoconnectionexception
MONGOCONNECTIONEXCEPTION(3) 1 MONGOCONNECTIONEXCEPTION(3)
The MongoConnectionException class
INTRODUCTION
Thrown when the driver fails to connect to the database.
There are a number of possible error messages to help you diagnose the connection problem. These are:
o No candidate servers found Thrown when the driver cannot establish a connection to MongoDB (fulfilling the ReadPreferences, if
specified).
o No server name given. This error occurs if you pass in "" as the server name, probably because of an typo with string interpola-
tion, e.g., "$servr" instead of "$server".
o
failed to get host [hostname] or port [portnum] from [server]. This indicated that the server string was malformed. "[hostname]"
and "[portnum]" will be as much as the driver could dicipher of it.
o Operation in progress Connecting to the database timed out.
o Transport endpoint is not connected Generally means that the connection string isn't correct, the driver couldn't even find the
database server.
o couldn't determine master No server in a replica set connection was identified as the primary.
o couldn't get host info for [server] This indicated that DNS could not resolve the server address you gave. This could easily be
caused by a typo, for example, "server" instead of "$server".
o Invalid Argument This can be caused by attempting to connect to a machine that is up but that the database isn't actually running
on. Make sure that you've started the database server before connecting.
o Permission denied This means that the socket could not be opened due to permissions issues. On Red Hat variants, this can be
caused by a default setting that does not allow Apache to create network connections. You can override this setting by running:
$ /usr/sbin/setsebool -P httpd_can_network_connect 1
If the error message is not listed above, it is probably an error from the C socket, and you can search the web for its usual cause.
CLASS SYNOPSIS
MongoConnectionException
MongoConnectionExceptionextends
MongoException
PHP Documentation Group MONGOCONNECTIONEXCEPTION(3)