When I ping from windows CE I got ping error:
PING: transmit failed, error code 87
But only some IPs can be successfully pinged.
What does this mean, the 87 error?
winerror.h, line 702:
#define ERROR_INVALID_PARAMETER 87L
Related
I'm trying to send a file from raspberry pi to my Windows pc using python-chilkat module. However it is returning this kind of error:
ChilkatLog: Connect_Ssh: DllDate: Dec 21 2018 ChilkatVersion: 9.5.0.76
UnlockPrefix: 30-day trial Architecture: Little Endian; 32-bit
Language: armhf linux Python 3.* VerboseLogging: 0 connectInner:
hostname: 192.168.1.4 port: 22 sshConnect:
connectSocket:
connect_ipv6_or_ipv4:
getsockopt indicates an error.
socketErrno: 111
socketError: Connection refused
--connect_ipv6_or_ipv4
connect_ipv6_or_ipv4:
getsockopt indicates an error.
socketErrno: 111
socketError: Connection refused
--connect_ipv6_or_ipv4
connect_ipv6_or_ipv4:
getsockopt indicates an error.
socketErrno: 111
socketError: Connection refused
--connect_ipv6_or_ipv4
connect_ipv6_or_ipv4:
getsockopt indicates an error.
socketErrno: 111
socketError: Connection refused
--connect_ipv6_or_ipv4
--connectSocket
Failed to establish initial TCP/IP connection
hostname: 192.168.1.4
port: 22 --sshConnect
--connectInner Failed.
--Connect_Ssh
--ChilkatLog
Can someone explain to me why Im getting these error?
See this online example which experiments with different failure cases to see what errors are returned: https://www.example-code.com/chilkat2-python/socket_connect_fail.asp
In some of the test cases, you'll see "connection rejected" which is the same as "connection refused". In other cases you'll get a timeout. The cases that result in "connection rejected" are the most likely causes for the failure.
PS> I understand that the example I'm pointing to is for a simple TCP socket connection, but SSH begins with a simple TCP connection, and that is what is failing.
I am trying to launch scapy using Mininet and get this error:
IOError : [Errno 99] Cannot assign requested address
Error happens in
linux.py,line 151, in read_routes
ifreq = ioctl(s, SIOCGIFADDR,struct.pack("16s16x",LOOPBACK_NAME))
Any solutions or ideas?
note: host was added into existed network,may be this cause some misconfiguration
No loopback interface was added. Solution (from terminal):
ifconfig lo up
ifconfig lo 127.0.0.1
I am trying to send an email via Linux server but i never receive it. I'm currently using putty and I use
# php -r 'mail("*****#gmail.com","Test subject", "Test Message","From: *****#gmail.com");'
Then i go check my message with
cat /var/spool/mail/
and i got this
----- The following addresses had permanent fatal errors -----
<****#gmail.com>
**(reason: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1))**
----- Transcript of session follows -----
... while talking to domain.ca.:
>>> MAIL From:<*****#****> SIZE=568
<<< **550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)**
554 5.0.0 Service unavailable
I searched on the web and i can't find an answer
some people say its an authentification problem but they are talking mainly about outlook.
I don't know if it help, but when I do telnet and ehlo i got this
# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 *** ESMTP Sendmail 8.14.4/8.14.4; Fri, 27 Sep 2013 14:47:10 -0400
# ehlo localhost
250-****Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
I think it's missing
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
I don't know if it's because of that i have my error and that i can't send an email? If yes, I don't know what to do to make this apear.
Can someone help me please? I'm new with linux and php mail
If it's a VPS or a Dedicated Server try changing the hostname to something resolvable like server#mydomain.com with valid A records for the same
I found the following website useful
How to fix Invalid HELO Name error
I have an existing ClickOnce application which began to time-out during initial installation on new clients. I'm not sure if it is my IIS configuration or an external factor. The Windows Server 2003 is configured with the ".application" MIME type of "application/x-ms-application" and this hasn't changed. Directly running the .application file from a UNC share path works on the client machine. Also, a client which already had the ClickOnce application installed can successfully update with a new version. I must be overlooking something, so I thought I'd put it out there. It really seems to point to the MIME type, however I even tried to add a wildcard "*" type of "octet/stream".
dgp
Timeout message
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://{server}/{rootpath}/{appname}.application resulted in exception. Following failure messages were detected:
+ Downloading http://{server}/{rootpath}/{appname}.application did not succeed.
+ The operation has timed out
Details
OPERATION PROGRESS STATUS
* [2/29/2012 8:25:22 AM] : Activation of http://{server}/{rootpath}/{appname}.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [2/29/2012 8:27:02 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://{server}/{rootpath}/{appname}.application did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
After running WireShark I can confirm the MIME type on the client and see a successful HTTP 200. Not sure about the iden-ralp conversation.
38 47.798381 {server IP} {client IP} HTTP 94 HTTP/1.1 200 OK (application/x-ms-application)
39 47.798394 {client IP} {server IP} TCP 54 iden-ralp > http [ACK] Seq=2519 Ack=23684 Win=65535 Len=0
45 112.804146 {client IP} {server IP} TCP 54 iden-ralp > http [RST, ACK] Seq=2519 Ack=23684 Win=0 Len=0
I am able to start an NX session without any issues. But, when I 'disconnect' (leaving a persistent connection, as opposed to 'terminate'), I am unable to reconnect. Here is the error from /var/log/messages:
Aug 5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX> 596 ERROR: NXNODE Ver. 3.5.0-3 (Error id e77ECD3) [e77ECD3] Logger::log nxnode 2963
Aug 5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX> 596 ERROR: create session: run commands [e77ECD3] Logger::log nxnode 2963
Aug 5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX> 596 ERROR: execution of last command failed [e77ECD3] Logger::log nxnode 2963
Aug 5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX> 596 last command: /usr/bin/xauth -v source /home/pmohandas/.nx/C-praveen-1003-707A5CF0D1B5184E1EBEDC07BB4981EF/scripts/authority [e77ECD3] Logger::log nxnode 2963
Aug 5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX> 596 exit value: 1 [e77ECD3] Logger::log nxnode 2963
Aug 5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX> 596 stdout: [e77ECD3] Logger::log nxnode 2963
Aug 5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX> 596 stderr: /usr/bin/xauth: error in locking authority file /home/pmohandas/.Xauthority [e77ECD3] Logger::log nxnode 2963
I am on a RHEL6.1 x86_64 machine.
I tried running xauth -b quit prior to reconnecting to the NX session. No luck with that either.
Does anyone know how I could get rid of this error? I find NX to be much snappier than VNC and would love to get this to work :) Thanks in advance!
I don't know the cause of this annoying error yet either, but a workaround is to ssh to the nx server machine and remove your ~/.Xauthority-c and ~/.Xauthority-l files. You'll lose any existing sessions, but you will still be able to connect.
Solution here from : http://forums.fedoraforum.org/showthread.php?t=223609
First I must say that I'm running my installation in a virtual machine but I think that doesn't matter.
Problem: I found out that the hostname I enter at the installation wasn't added to the /etc/hosts file. There were only the default entries for localhost/localdomain.
So the DNS server (see /etc/resolve.conf which is generated by the network manager) couldn't resolve my hostname which is needed for xauth.
You can check this by traceroute your hostname (note nslookup or host won't work because they ignore /etc/hosts).
Solution: I just added my hostname to the /etc/hosts file, checked it with traceroute and connected via nxclient from my windows host.
So adding server.craneworks to /etc/hosts should solve the problem for you.
The problem seems to happen when you have duplicate entries in your /etc/hosts. Here is the xauth bug: http://www.kerneltrap.com/mailarchive/openbsd-bugs/2009/3/8/5118304
Fixed the problem by removing the duplicate entries in /etc/hosts.