TCP DNS Connection Refused

I am testing an application which uses tcp for dns.
My ActionTec router is set to "Medium" so it should allow all outbound connections.
When I use a dns server on my network all is well.   When I try to use the ActionTec for dns I get connection refused with tcp requests but udp requests go through. I suspect the dns server on the ActionTec does not support tcp but I would like confirmation in case there is a setting I can change to make it work.
$ host yahoo.com
yahoo.com has address 98.138.253.109
yahoo.com has address 98.139.183.24
yahoo.com has address 72.30.38.140
yahoo.com mail is handled by 1 mta5.am0.yahoodns.net.
yahoo.com mail is handled by 1 mta7.am0.yahoodns.net.
yahoo.com mail is handled by 1 mta6.am0.yahoodns.net.
$ host -T yahoo.com
;; Connection to 192.168.1.1#53(192.168.1.1) for yahoo.com failed: connection refused.
Thanks,
AustinPowered

Keep in mind the ActionTecs are based around the dnsmasq lightweight DNS resolver if I remember correctly. If Verizon/ActionTec is using a version of dnsmasq older than v2.10, then it is a known limitation of dnsmasq to not support TCP queries. If someone can confirm what version the FiOS routers have, that would be great. This tool may be able to identify it:
http://netalyzr.icsi.berkeley.edu/
If you'd like me to analyze it, please send me a private message with the URL to your result, unless you don't mind your IP address being given out to the forums.
========
The first to bring me 1Gbps Fiber for $30/m wins!

Similar Messages

  • Dns connection refused

    Hi all I have a mac mini running OS X Server 10.6.8,
    I have 5 users (iMacs) on a network, served by the Server.  I have a BT Infinity ADSL connection connected to a Netgear FVS318N VPN firewall router then the Mac Mini Server, of late we have been having major DNS issues on the Server due to EDNS resluting in errors in the DNS logs such as:
    20-Mar-2012 15:03:11.151 host unreachable resolving 'ns8.netnames.net/AAAA/IN': 2001:dc3::35#53
    20-Mar-2012 15:03:11.151 host unreachable resolving 'ns8.netnames.net/AAAA/IN': 2001:503:ba3e::2:30#53
    20-Mar-2012 15:03:11.151 host unreachable resolving 'ns8.netnames.net/AAAA/IN': 2001:7fd::1#53
    20-Mar-2012 15:03:11.152 host unreachable resolving 'ns8.netnames.net/AAAA/IN': 2001:7fe::53#53
    20-Mar-2012 15:03:11.152 host unreachable resolving 'ns8.netnames.net/AAAA/IN': 2001:500:2f::f#5
    20-Mar-2012 15:03:02.356 client 192.168.1.3#52006: view com.apple.ServerAdmin.DNS.public: query failed (SERVFAIL) for cs19.wpc.edgecastcdn.net/IN/A at /SourceCache/bind9/bind9-31.1/bind9/bin/named/query.c:4631
    20-Mar-2012 14:32:57.822 connection refused resolving 'ns1.livedns.co.uk/AAAA/IN': 202.12.27.33#53
    20-Mar-2012 14:32:57.827 connection refused resolving 'ns2.livedns.co.uk/AAAA/IN': 202.12.27.33#53
    20-Mar-2012 14:46:56.784 success resolving 'm.addthisedge.com/A' (in 'addthisedge.com'?) after reducing the advertised EDNS UDP packet size to 512 octets
    20-Mar-2012 14:47:02.452 success resolving 'adns3.akam.net/AAAA' (in 'akam.net'?) after reducing the advertised EDNS UDP packet size to 512 octets
    I have a support call out to Netgear to find out of the issue is with them, does anyone out know how to resolve this issue from a Software point of view on OS X?
    As a temporary solution I have added to the clients Google's DNS servers as 2nd and 3rd options which has resolved websites not loading.
    Any help here would be greatly appreciated.
    Anthony

    With OS X Server in a private address space, your DNS server should be your DNS server, and not Google's nor any other off-LAN DNS servers. 
    Here is some OS X Server DNS Server set-up information, and there's a link in one of the replies there to an EDNS testing tool.   (This is generic set-up for DNS services, and not specific to EDNS.  If your baseline DNS services on LAN are working and your server and all your clients are using your server for DNS translations, then ignore this.)
    There are various EDNS sizing discussions around, including this one; these usually involve shutting down the server and modifying a configuration file, and that can (unfortunately) be somewhat hit-or-miss on OS X Server.  (And these are not usually fruitful, either.)
    The core question being what widget is nailing you; the gateway router is a good potential culprit, of course.

  • TCP/IP error 111 (connection refused)

    I encountered TCP/IP error 111 (connection refused) in my source DB. I ran view ggsevt.
    Source
    2013-09-06 17:47:41  INFO    OGG-00987  Oracle GoldenGate Command Interpreter for Oracle:  GGSCI c
    ommand (oracle): edit params mgr.
    2013-09-06 17:48:00  INFO    OGG-00987  Oracle GoldenGate Command Interpreter for Oracle:  GGSCI c
    ommand (oracle): stop extract ext1.
    2013-09-06 17:48:05  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, ext1.prm:  TCP/IP er
    ror 111 (Connection refused).
    Target
    2013-09-06 17:49:38  INFO    OGG-01677  Oracle GoldenGate Collector for Oracle:  Waiting fo
    r connection (started dynamically).
    2013-09-06 17:49:54  ERROR   OGG-01224  Oracle GoldenGate Collector for Oracle:  opening po
    rt to MGR from SERVER failed with 2:Could not establish host TCP/IP address.
    2013-09-06 17:49:54  ERROR   OGG-01668  Oracle GoldenGate Collector for Oracle:  PROCESS AB
    ENDING.
    Firewall is cleared, I can telnet from source to target with port 7809. Not an issue. Checked in another post where a user encountered error in /etc/hosts. My settings are perfect right.
    [oracle@db1 dirdat]$ telnet db4 7809
    Trying 192.168.56.101...
    Connected to db4.localdomain (192.168.56.101).
    Escape character is '^]'.
    Connection closed by foreign host.
    Source:
    > edit params mgr
    DYNAMICPORTLIST 7000-9000
    PORT 7809
    Any help is much appreciated.

    HI I have the same problem
    PLZ tell me the solution!
    $ telnet 10.80.16.214 7809
    Trying 10.80.16.214...
    Connected to 10.80.16.214.
    Escape character is '^]'.
    Connection to 192.168.0.178 closed by foreign host.
    2013-09-13 10:21:42  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:21:54  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:22:05  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:22:16  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:22:27  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:22:38  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:22:49  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:23:00  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:23:11  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:23:22  ERROR   OGG-01224  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused); retries exceeded.
    2013-09-13 10:23:22  ERROR   OGG-01668  Oracle GoldenGate Capture for Oracle, pum_2.prm:  PROCESS ABENDING.

  • Tcp/ip  bconnection to host has failed,connection refused

    Exception in thread "main" com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(UnknownSource)
    Can anyone pls help me out .
    I ve tried netstat -an port 1433 is not listed
    firewall is diasbled .

    You need to enable TCP services on SQL Server.

  • DP Process in abended state with WARNING OGG-01223  TCP/IP error 111 (Connection refused).

    Hi,
    I've configured ogg between primary & DR server. I'm continuously getting the following error in my primary server for DP process & sometimes for EXTRACT process after which process goes in abended state.
    WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    After starting the process manually, it comes in Running state. But this is frequent issue I'm facing for OGG configuration at my end.
    Please find the parameter details & report log details as follows:
    Primary Server Parameters:
    GGSCI (sevadm) 40> view params dpatm
    extract dpatm
    userid ggs_owner,password ggs_owner
    discardfile /home/oracle/ogg/dirdat/discard/dpatm_discard.txt,append,megabytes 1
    0
    rmthost 10.10.250.198 ,mgrport 7809,tcpbufsize 100000
    rmttrail /home/oracle/ogg/dirdat/rt
    passthru
    sequence atmswitch.*;
    table atmswitch.*;
    GGSCI (sevadm) 51> view params mgr
    port 7809
    dynamicportlist 7810-7830,7833,7835
    DYNAMICPORTREASSIGNDELAY 5
    --autorestart extract extatm,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract extcbs,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract dpatm,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract dpcbs,retries 500,waitminutes 1,resetminutes 600
    --autorestart replicat drrepatm,retries 500,waitminutes 1,resetminutes 600
    --autorestart replicat drrepcbs,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract extaml,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract extrm,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract extinb,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract dpaml,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract dprm,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract dpinb,retries 500,waitminutes 1,resetminutes 600
    --autorestart replicat drrepaml,retries 500,waitminutes 1,resetminutes 600
    --autorestart replicat drreprm,retries 500,waitminutes 1,resetminutes 600
    --autorestart replicat drrepinb,retries 500,waitminutes 1,resetminutes 600
    userid ggs_owner,password ggs_owner
    purgeoldextracts /home/oracle/ogg/dirdat/*,usecheckpoints,minkeepdays 5
    GGSCI (sevadm) 52> view params extatm
    extract extatm
    userid ggs_owner,password ggs_owner
    reportcount every 2 hours,rate
    report at 01:00
    reportrollover at 01:15
    tranlogoptions asmuser sys@asm,asmpassword asmdba
    grouptransops 2000
    discardfile /home/oracle/ogg/dirdat/discard/extatm_discard.txt,append,megabytes
    10
    discardrollover at 02:00 on sunday
    exttrail /home/oracle/ogg/dirdat/lt
    ddl include all
    ddloptions addtrandata retryop retrydelay 20 maxretries 20,report
    sequence atmswitch.*;
    table atmswitch.*;
    Report log file for DP Process:
    GGSCI (sevadm) 39> view report dpatm
                     Oracle GoldenGate Capture for Oracle
        Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO
       Linux, x64, 64bit (optimized), Oracle 10g on Apr 23 2012 07:44:10
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
                        Starting at 2015-03-19 16:54:56
    Operating System Version:
    Linux
    Version #1 SMP Tue Mar 16 21:52:39 EDT 2010, Release 2.6.18-194.el5
    Node: sevadm
    Machine: x86_64
                             soft limit   hard limit
    Address Space Size   :    unlimited    unlimited
    Heap Size            :    unlimited    unlimited
    File Size            :    unlimited    unlimited
    CPU Time             :    unlimited    unlimited
    Process id: 13260
    Description:
    **            Running with the following parameters                  **
    2015-03-19 16:54:56  INFO    OGG-03035  Operating system character set identifie
    d as UTF-8. Locale: en_US, LC_ALL:.
    extract dpatm
    userid ggs_owner,password *********
    2015-03-19 16:54:56  INFO    OGG-03500  WARNING: NLS_LANG environment variable d
    oes not match database character set, or not set. Using database character set v
    alue of WE8ISO8859P1.
    discardfile /home/oracle/ogg/dirdat/discard/dpatm_discard.txt,append,megabytes 1
    0
    rmthost 10.10.250.198 ,mgrport 7809,tcpbufsize 100000
    rmttrail /home/oracle/ogg/dirdat/rt
    passthru
    sequence atmswitch.*;
    table atmswitch.*;
    2015-03-19 16:54:56  INFO    OGG-01815  Virtual Memory Facilities for: COM
        anon alloc: mmap(MAP_ANON)  anon free: munmap
        file alloc: mmap(MAP_SHARED)  file free: munmap
        target directories:
        /home/oracle/ogg/dirtmp.
    CACHEMGR virtual memory values (may have been adjusted)
    CACHESIZE:                               64G
    CACHEPAGEOUTSIZE (normal):                8M
    PROCESS VM AVAIL FROM OS (min):         128G
    CACHESIZEMAX (strict force to disk):     96G
    Database Version:
    Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Database Language and Character Set:
    NLS_LANG         = ".WE8ISO8859P1"
    NLS_LANGUAGE     = "AMERICAN"
    NLS_TERRITORY    = "AMERICA"
    NLS_CHARACTERSET = "WE8ISO8859P1"
    2015-03-19 16:55:26  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 16:56:08  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 16:56:49  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 16:57:30  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 16:58:11  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 16:58:52  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 16:59:33  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 17:00:14  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 17:00:55  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 17:01:36  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 17:02:17  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    Source Context :
      SourceModule            : [er.extrout]
      SourceID                : [/scratch/aime1/adestore/views/aime1_adc4150256/oggc
    ore/OpenSys/src/app/er/extrout.c]
      SourceFunction          : [tcp_send_data]
      SourceLine              : [1352]
      ThreadBacktrace         : [9] elements
                              : [/home/oracle/ogg/libgglog.so(CMessageContext::AddTh
    readContext()+0x1e) [0x2ba1dd1587de]]
                              : [/home/oracle/ogg/libgglog.so(CMessageFactory::Creat
    eMessage(CSourceContext*, unsigned int, ...)+0x2cc) [0x2ba1dd154c7c]]
                              : [/home/oracle/ogg/libgglog.so(_MSG_ERR_TCP_GENERIC(C
    SourceContext*, char const*, CMessageFactory::MessageDisposition)+0x31) [0x2ba1d
    d139daf]]
                              : [/home/oracle/ogg/extract(tcp_send_data(extract_def*
    )+0x2b3) [0x5116e1]]
                              : [/home/oracle/ogg/extract(flush_tcp(extract_def*, in
    t)+0x15c) [0x512350]]
                              : [/home/oracle/ogg/extract(RECOVERY_initialize()+0x37
    1) [0x5239a1]]
                              : [/home/oracle/ogg/extract(main+0x4a5) [0x56b335]]
                              : [/lib64/libc.so.6(__libc_start_main+0xf4) [0x333621d
    994]]
                              : [/home/oracle/ogg/extract(__gxx_personality_v0+0x382
    ) [0x4e754a]]
    2015-03-19 17:02:58  ERROR   OGG-01224  TCP/IP error 111 (Connection refused); r
    etries exceeded.
    2015-03-19 17:02:58  ERROR   OGG-01668  PROCESS ABENDING.
    Please guide me on this.
    Regards,
    Simon P

    - check your remote host server is up and running.
    - check mgr process is up and running on target site.
    - try this and see if network connection is OK..
    telnet 10.10.250.198 7809
    - try to copy a file (scp) from source to target (take a dummy file; size bigger than tcpbufsize)
    - check ggserr.log file on target; you might see if there are any issues with server/collector port allocation/timeout.
    hope this helps...
    Thanks.

  • Problems with SSH: Connection Refused

    Greetings fellow Arch users,
    I have hit a bit of a snag that I could really use some extra help getting around. I've tried everything I can think of (and everything that Google thought might work) and I have my back rather against a wall, so I thought I'd come here to see if anyone can offer some advice.
    To make a long story short, I am a college student and am attempting to set up an ssh server on a desktop at my house so I can access it remotely from the college. I have the computer set up and the server running, however I am having difficulty making connections to it from my laptop. I know that the server is running, because I can log into it both from the server itself (sshing into local host) and from my laptop when I use the internal IP address.
    The server is on a static IP address within the network(192.168.0.75), and my router is configured to forward TCP port 1500 to it (I'm using 1500 as the port for my ssh server). However, when I attempt to log into the ssh server using my network's external IP address, the connection is refused. I used nmap to scan my network and found that, even though the proper ports are forwarded to the proper place as far as my Router's configuration interface is concerned, port 1500 is not listed as one of the open TCP ports. I also, to test it, temporarily disabled the firewalls on both the server and the client. That didn't help. The command that I am running is:
    ssh -p 1500 douglas@[external ip address
    As I am really not sure what is causing this problem, I don't know what information to provide. So here is everything that my inexperienced mind sees as likely being important. If you need anything more, let me know and I will do my best to provide it.
    Here is the sshd_config file from my server.
    # This is the sshd server system-wide configuration file. See
    # sshd_config(5) for more information.
    # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
    # The strategy used for options in the default sshd_config shipped with
    # OpenSSH is to specify options with their default value where
    # possible, but leave them commented. Uncommented options override the
    # default value.
    Port 1500
    #AddressFamily any
    #ListenAddress 0.0.0.0
    #ListenAddress ::
    # The default requires explicit activation of protocol 1
    #Protocol 2
    # HostKey for protocol version 1
    #HostKey /etc/ssh/ssh_host_key
    # HostKeys for protocol version 2
    #HostKey /etc/ssh/ssh_host_rsa_key
    #HostKey /etc/ssh/ssh_host_dsa_key
    #HostKey /etc/ssh/ssh_host_ecdsa_key
    # Lifetime and size of ephemeral version 1 server key
    #KeyRegenerationInterval 1h
    #ServerKeyBits 1024
    # Ciphers and keying
    #RekeyLimit default none
    # Logging
    # obsoletes QuietMode and FascistLogging
    #SyslogFacility AUTH
    #LogLevel INFO
    # Authentication:
    #LoginGraceTime 2m
    PermitRootLogin no
    #StrictModes yes
    #MaxAuthTries 6
    #MaxSessions 10
    #RSAAuthentication yes
    #PubkeyAuthentication yes
    # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
    # but this is overridden so installations will only check .ssh/authorized_keys
    AuthorizedKeysFile .ssh/authorized_keys
    #AuthorizedPrincipalsFile none
    #AuthorizedKeysCommand none
    #AuthorizedKeysCommandUser nobody
    # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
    #RhostsRSAAuthentication no
    # similar for protocol version 2
    #HostbasedAuthentication no
    # Change to yes if you don't trust ~/.ssh/known_hosts for
    # RhostsRSAAuthentication and HostbasedAuthentication
    #IgnoreUserKnownHosts no
    # Don't read the user's ~/.rhosts and ~/.shosts files
    #IgnoreRhosts yes
    # To disable tunneled clear text passwords, change to no here!
    #PasswordAuthentication yes
    #PermitEmptyPasswords no
    # Change to no to disable s/key passwords
    ChallengeResponseAuthentication no
    # Kerberos options
    #KerberosAuthentication no
    #KerberosOrLocalPasswd yes
    #KerberosTicketCleanup yes
    #KerberosGetAFSToken no
    # GSSAPI options
    #GSSAPIAuthentication no
    #GSSAPICleanupCredentials yes
    # Set this to 'yes' to enable PAM authentication, account processing,
    # and session processing. If this is enabled, PAM authentication will
    # be allowed through the ChallengeResponseAuthentication and
    # PasswordAuthentication. Depending on your PAM configuration,
    # PAM authentication via ChallengeResponseAuthentication may bypass
    # the setting of "PermitRootLogin without-password".
    # If you just want the PAM account and session checks to run without
    # PAM authentication, then enable this but set PasswordAuthentication
    # and ChallengeResponseAuthentication to 'no'.
    UsePAM yes
    #AllowAgentForwarding yes
    #AllowTcpForwarding yes
    #GatewayPorts no
    #X11Forwarding no
    #X11DisplayOffset 10
    #X11UseLocalhost yes
    PrintMotd no # pam does that
    #PrintLastLog yes
    #TCPKeepAlive yes
    #UseLogin no
    UsePrivilegeSeparation sandbox # Default for new installations.
    #PermitUserEnvironment no
    #Compression delayed
    #ClientAliveInterval 0
    #ClientAliveCountMax 3
    #UseDNS yes
    #PidFile /run/sshd.pid
    #MaxStartups 10:30:100
    #PermitTunnel no
    #ChrootDirectory none
    #VersionAddendum none
    # no default banner path
    #Banner none
    # override default of no subsystems
    Subsystem sftp /usr/lib/ssh/sftp-server
    # Example of overriding settings on a per-user basis
    #Match User anoncvs
    # X11Forwarding no
    # AllowTcpForwarding no
    # ForceCommand cvs server
    The ouptut of ip addr when run on the server:
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
    2: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:21:9b:3a:be:94 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.75/24 brd 192.168.255.0 scope global enp8s0
    valid_lft forever preferred_lft forever
    inet6 fe80::221:9bff:fe3a:be94/64 scope link
    valid_lft forever preferred_lft forever
    Here is the output from running nmap on the network:
    Starting Nmap 6.40 ( http://nmap.org ) at 2013-09-28 21:05 EDT
    Initiating Ping Scan at 21:05
    Scanning address [2 ports]
    Completed Ping Scan at 21:05, 0.01s elapsed (1 total hosts)
    Initiating Parallel DNS resolution of 1 host. at 21:05
    Completed Parallel DNS resolution of 1 host. at 21:05, 0.05s elapsed
    Initiating Connect Scan at 21:05
    Scanning pa-addresss.dhcp.embarqhsd.net (address) [1000 ports]
    Discovered open port 80/tcp on address
    Discovered open port 443/tcp on address
    Discovered open port 23/tcp on address
    Discovered open port 21/tcp on address
    Completed Connect Scan at 21:05, 4.08s elapsed (1000 total ports)
    Nmap scan report for pa-address.dhcp.embarqhsd.net (address)
    Host is up (0.036s latency).
    Not shown: 995 closed ports
    PORT STATE SERVICE
    21/tcp open ftp
    23/tcp open telnet
    80/tcp open http
    443/tcp open https
    8080/tcp filtered http-proxy
    Read data files from: /usr/bin/../share/nmap
    Nmap done: 1 IP address (1 host up) scanned in 4.19 seconds
    Here is the ssh_config client-side:
    # $OpenBSD: ssh_config,v 1.27 2013/05/16 02:00:34 dtucker Exp $
    # This is the ssh client system-wide configuration file. See
    # ssh_config(5) for more information. This file provides defaults for
    # users, and the values can be changed in per-user configuration files
    # or on the command line.
    # Configuration data is parsed as follows:
    # 1. command line options
    # 2. user-specific file
    # 3. system-wide file
    # Any configuration value is only changed the first time it is set.
    # Thus, host-specific definitions should be at the beginning of the
    # configuration file, and defaults at the end.
    # Site-wide defaults for some commonly used options. For a comprehensive
    # list of available options, their meanings and defaults, please see the
    # ssh_config(5) man page.
    # Host *
    # ForwardAgent no
    # ForwardX11 no
    # RhostsRSAAuthentication no
    # RSAAuthentication yes
    # PasswordAuthentication yes
    # HostbasedAuthentication no
    # GSSAPIAuthentication no
    # GSSAPIDelegateCredentials no
    # BatchMode no
    # CheckHostIP yes
    # AddressFamily any
    # ConnectTimeout 0
    # StrictHostKeyChecking ask
    # IdentityFile ~/.ssh/identity
    # IdentityFile ~/.ssh/id_rsa
    # IdentityFile ~/.ssh/id_dsa
    # Port 22
    Protocol 2
    # Cipher 3des
    # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
    # MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
    # EscapeChar ~
    # Tunnel no
    # TunnelDevice any:any
    # PermitLocalCommand no
    # VisualHostKey no
    # ProxyCommand ssh -q -W %h:%p gateway.example.com
    # RekeyLimit 1G 1h
    Output of ssh -v during connection attempt:
    OpenSSH_6.3, OpenSSL 1.0.1e 11 Feb 2013
    debug1: Reading configuration data /home/douglas/.ssh/config
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to address [address] port 1500.
    debug1: connect to address address port 1500: Connection refused
    ssh: connect to host address port 1500: Connection refused
    Thank you guys ahead of time. Getting this server operational is hardly critical, it is just a side project of mine, but I would really like to see it working.
    Douglas Bahr Rumbaugh
    Last edited by douglasr (2013-09-29 02:58:56)

    Okay, so I finally have the opportunity to try and log in from a remote network. And. . .  it doesn't work. Which is just my luck because I now need to wait an entire week, at least, before I can touch the server again. Anyway, running ssh with the maximum verbosity I get this output:
    douglas ~ $ ssh -vvv -p 2000 address
    OpenSSH_6.3, OpenSSL 1.0.1e 11 Feb 2013
    debug1: Reading configuration data /home/douglas/.ssh/config
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to address [address] port 2000.
    debug1: connect to address address port 2000: Connection timed out
    ssh: connect to host address port 2000: Connection timed out
    It takes a minute or two for the command to finish with the connection timeout, as one would expect. And yes, I am reasonably sure that the address that I am using is my home network's external IP. It is dynamic, but I checked it before I left which was just over an hour ago. I guess that it may have changed. I'll know that for sure in the morning, when my server sends me an automatic email with the network's current address. In the meantime I am operating under the assumption that the address I am using is correct. What else could be the problem?

  • TNS-12564: TNS:connection refused

    Hi,
    I have some PHP applications which connect to Oracle database.
    I sometime receive the following error message.
    Fatal NI connect error 12516, connecting to:
    (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=)(CID=(PROGRAM=httpd)(HOST=r33188.ovh.net)(USER=nobody)))(ADDRESS=(PROTOCOL=TCP)(HOST=178.32.113.43)(PORT=1521)))
    VERSION INFORMATION:
         TNS for Linux: Version 10.2.0.1.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.1.0 - Production
    Time: 29-JUL-2010 18:01:45
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    I already had that error message in the past. At that time, I looked at the V$RESOURCE_LIMIT view and I saw session and process parameters were too small so I increased its.
    Now, I checked again to these parameters and values never went nearly the max values.
    RESOURCE_NAME     CURRENT_UTILIZATION     MAX_UTILIZATION     INITIAL_ALLOCATION     LIMIT_VALUE
    processes     21     183     400     400
    sessions     29     191     445     445
    enqueue_locks     13     23     5470     5470
    enqueue_resources     13     44     2176     UNLIMITED
    ges_procs     0     0     0     0
    ges_ress     0     0     0     UNLIMITED
    ges_locks     0     0     0     UNLIMITED
    ges_cache_ress     0     0     0     UNLIMITED
    ges_reg_msgs     0     0     0     UNLIMITED
    ges_big_msgs     0     0     0     UNLIMITED
    ges_rsv_msgs     0     0     0     0
    gcs_resources     0     0     0     0
    gcs_shadows     0     0     0     0
    dml_locks     0     73     1956     UNLIMITED
    temporary_table_locks     0     3     UNLIMITED     UNLIMITED
    transactions     1     6     489     UNLIMITED
    branches     0     0     489     UNLIMITED
    cmtcallbk     0     1     489     UNLIMITED
    sort_segment_locks     5     8     UNLIMITED     UNLIMITED
    max_rollback_segments     11     11     489     65535
    max_shared_servers     4     7     UNLIMITED     UNLIMITED
    parallel_max_servers     0     0     0     3600
    Is it possible it can from another thing ? What is the best way to never have this error message again ? What is max value for sessions and processes that Oracle can support ?
    Thanks in advance,
    Best regards.

    Why do I am having (HOST=178.32.113.43)(PORT=1521) in the error message? I am using only the DNS name.
    my tnsnames.ora file:
    NV =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dns_name)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = NV)
    and in my php connection function I also use the DNS name as the host and username/password like:
    $connect = ocilogon($username, $password, 'dns_name');
    Should I connect in another way ? like:
    $ora_host='(DESCRIPTION =(ADDRESS =(PROTOCOL = TCP)(HOST = dns_name)(PORT = 1521))(CONNECT_DATA =(SID = NV)))';
    $connect = ocilogon($username, $password, $ora_host);

  • Lion Server postfix mail not being delivered to mailboxes. "SMTP restriction `reject_invalid_helo_hostname' after `permit' is ignored" and "connect to private/policy: Connection refused" errors.

    All, Im stumped. In fact I have been on the phone with Apple Support and this has been escalated to the top engineers, as I think its got them too..
    Anyway, here is my problem..
    I'm running an Mac Mini with OS X 10.7.4 Server. I have had mail running on it for 2 months or so, without any issues. The mail was actually migrated from 10.6 in March, and It actually went smoothly. I have 3 domains which all recieve mail and they all work (or did up until 2 weeks ago)..
    So the story is this.. I can send mail from my domains, without issue.  imap and dovecot must be working.. cause all the stored mail, can be read with the mail IMAP client.. I can even transfer mail messages from one mailbox to another with Mail client. Sending mail is a breeze, it still works and the recipients still recieve their mail. But I noticed I wasnt getting any mail at all from those mailboxes... no mail, no spam, nothing.. which is unusal. I fired up Server admin and checked out the SMTP log, and this is what it showed for every email recieved: (xxxxxx is just me hiding sensitive info)
    Jul 21 14:25:20 xxxxxxxx postfix/postscreen[65857]: CONNECT from [17.158.233.225]:41909
    Jul 21 14:25:26 xxxxxxxx postfix/postscreen[65857]: PASS OLD [17.158.233.225]:41909
    Jul 21 14:25:26 xxxxxxxx postfix/smtpd[65858]: connect from nk11p03mm-asmtp994.mac.com[17.158.233.225]
    Jul 21 14:25:26 xxxxxxxx postfix/smtpd[65858]: warning: restriction `reject_invalid_helo_hostname' after `permit' is ignored
    Jul 21 14:25:27 xxxxxxxx postfix/smtpd[65858]: warning: connect to private/policy: Connection refused
    Jul 21 14:25:27 xxxxxxxx postfix/smtpd[65858]: warning: problem talking to server private/policy: Connection refused
    Jul 21 14:25:28 xxxxxxxx postfix/smtpd[65858]: warning: connect to private/policy: Connection refused
    Jul 21 14:25:28 xxxxxxxx postfix/smtpd[65858]: warning: problem talking to server private/policy: Connection refused
    Jul 21 14:25:28 xxxxxxxx postfix/smtpd[65858]: NOQUEUE: reject: RCPT from nk11p03mm-asmtp994.mac.com[17.158.233.225]: 451 4.3.5 Server configuration problem; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<nk11p99mm-asmtpout004.mac.com>
    Jul 21 14:25:28 azathoth postfix/smtpd[65858]: disconnect from nk11p03mm-asmtp994.mac.com[17.158.233.225]
    Ok, now what is odd, is these rejected messages are not even appearing in the mail queue in Server Admin. I have no idea why there are not being delivered
    Ive checked my postfix main.cf file and master.cf files they both look ok.. Ive even replaced them with the main.cf.defualt.10.7 and master.cf.default.10.7 files and to no avail... same problem..
    So in summary
    I can send mail out
    IMAP is working on the client end (thus dovecot is) exsisting stored emails can be accessed, read, moved unread etc..
    mail is coming into the sever, but its being rejected. there is NO rejection email sent back to the sender.
    mail is recieved by postfix, but cyrus isnt doing anything with it.. I have no idea where it goes...
    Could anyone shed light on this...
    my main.cf file:
    # Global Postfix configuration file. This file lists only a subset
    # of all 300+ parameters. See the postconf(5) manual page for a
    # complete list.
    # The general format of each line is: parameter = value. Lines
    # that begin with whitespace continue the previous line. A value can
    # contain references to other $names or ${name}s.
    # NOTE - CHANGE NO MORE THAN 2-3 PARAMETERS AT A TIME, AND TEST IF
    # POSTFIX STILL WORKS AFTER EVERY CHANGE.
    # SOFT BOUNCE
    # The soft_bounce parameter provides a limited safety net for
    # testing.  When soft_bounce is enabled, mail will remain queued that
    # would otherwise bounce. This parameter disables locally-generated
    # bounces, and prevents the SMTP server from rejecting mail permanently
    # (by changing 5xx replies into 4xx replies). However, soft_bounce
    # is no cure for address rewriting mistakes or mail routing mistakes.
    # soft_bounce = no
    # LOCAL PATHNAME INFORMATION
    # The queue_directory specifies the location of the Postfix queue.
    # This is also the root directory of Postfix daemons that run chrooted.
    # See the files in examples/chroot-setup for setting up Postfix chroot
    # environments on different UNIX systems.
    queue_directory = /private/var/spool/postfix
    # The command_directory parameter specifies the location of all
    # postXXX commands.
    command_directory = /usr/sbin
    # The daemon_directory parameter specifies the location of all Postfix
    # daemon programs (i.e. programs listed in the master.cf file). This
    # directory must be owned by root.
    daemon_directory = /usr/libexec/postfix
    # QUEUE AND PROCESS OWNERSHIP
    # The mail_owner parameter specifies the owner of the Postfix queue
    # and of most Postfix daemon processes.  Specify the name of a user
    # account THAT DOES NOT SHARE ITS USER OR GROUP ID WITH OTHER ACCOUNTS
    # AND THAT OWNS NO OTHER FILES OR PROCESSES ON THE SYSTEM.  In
    # particular, don't specify nobody or daemon. PLEASE USE A DEDICATED
    # USER.
    mail_owner = _postfix
    # The default_privs parameter specifies the default rights used by
    # the local delivery agent for delivery to external file or command.
    # These rights are used in the absence of a recipient user context.
    # DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER.
    #default_privs = nobody
    # INTERNET HOST AND DOMAIN NAMES
    # The myhostname parameter specifies the internet hostname of this
    # mail system. The default is to use the fully-qualified domain name
    # from gethostname(). $myhostname is used as a default value for many
    # other configuration parameters.
    #myhostname = host.domain.tld
    #myhostname = virtual.domain.tld
    # The mydomain parameter specifies the local internet domain name.
    # The default is to use $myhostname minus the first component.
    # $mydomain is used as a default value for many other configuration
    # parameters.
    #mydomain = domain.tld
    # SENDING MAIL
    # The myorigin parameter specifies the domain that locally-posted
    # mail appears to come from. The default is to append $myhostname,
    # which is fine for small sites.  If you run a domain with multiple
    # machines, you should (1) change this to $mydomain and (2) set up
    # a domain-wide alias database that aliases each user to
    # [email protected].
    # For the sake of consistency between sender and recipient addresses,
    # myorigin also specifies the default domain name that is appended
    # to recipient addresses that have no @domain part.
    #myorigin = $myhostname
    #myorigin = $mydomain
    # RECEIVING MAIL
    # The inet_interfaces parameter specifies the network interface
    # addresses that this mail system receives mail on.  By default,
    azathoth:postfix root#
    azathoth:postfix root# less main.cf
    azathoth:postfix root# more main.cf
    # Global Postfix configuration file. This file lists only a subset
    # of all 300+ parameters. See the postconf(5) manual page for a
    # complete list.
    # The general format of each line is: parameter = value. Lines
    # that begin with whitespace continue the previous line. A value can
    # contain references to other $names or ${name}s.
    # NOTE - CHANGE NO MORE THAN 2-3 PARAMETERS AT A TIME, AND TEST IF
    # POSTFIX STILL WORKS AFTER EVERY CHANGE.
    # SOFT BOUNCE
    # The soft_bounce parameter provides a limited safety net for
    # testing.  When soft_bounce is enabled, mail will remain queued that
    # would otherwise bounce. This parameter disables locally-generated
    # bounces, and prevents the SMTP server from rejecting mail permanently
    # (by changing 5xx replies into 4xx replies). However, soft_bounce
    # is no cure for address rewriting mistakes or mail routing mistakes.
    # soft_bounce = no
    # LOCAL PATHNAME INFORMATION
    # The queue_directory specifies the location of the Postfix queue.
    # This is also the root directory of Postfix daemons that run chrooted.
    # See the files in examples/chroot-setup for setting up Postfix chroot
    # environments on different UNIX systems.
    queue_directory = /private/var/spool/postfix
    # The command_directory parameter specifies the location of all
    # postXXX commands.
    command_directory = /usr/sbin
    # The daemon_directory parameter specifies the location of all Postfix
    # daemon programs (i.e. programs listed in the master.cf file). This
    # directory must be owned by root.
    daemon_directory = /usr/libexec/postfix
    # QUEUE AND PROCESS OWNERSHIP
    # The mail_owner parameter specifies the owner of the Postfix queue
    # and of most Postfix daemon processes.  Specify the name of a user
    # account THAT DOES NOT SHARE ITS USER OR GROUP ID WITH OTHER ACCOUNTS
    # AND THAT OWNS NO OTHER FILES OR PROCESSES ON THE SYSTEM.  In
    # particular, don't specify nobody or daemon. PLEASE USE A DEDICATED
    # USER.
    mail_owner = _postfix
    # The default_privs parameter specifies the default rights used by
    # the local delivery agent for delivery to external file or command.
    # These rights are used in the absence of a recipient user context.
    # DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER.
    #default_privs = nobody
    # INTERNET HOST AND DOMAIN NAMES
    # The myhostname parameter specifies the internet hostname of this
    # mail system. The default is to use the fully-qualified domain name
    # from gethostname(). $myhostname is used as a default value for many
    # other configuration parameters.
    #myhostname = host.domain.tld
    #myhostname = virtual.domain.tld
    # The mydomain parameter specifies the local internet domain name.
    # The default is to use $myhostname minus the first component.
    # $mydomain is used as a default value for many other configuration
    # parameters.
    #mydomain = domain.tld
    # SENDING MAIL
    # The myorigin parameter specifies the domain that locally-posted
    # mail appears to come from. The default is to append $myhostname,
    # which is fine for small sites.  If you run a domain with multiple
    # machines, you should (1) change this to $mydomain and (2) set up
    # a domain-wide alias database that aliases each user to
    # [email protected].
    # For the sake of consistency between sender and recipient addresses,
    # myorigin also specifies the default domain name that is appended
    # to recipient addresses that have no @domain part.
    #myorigin = $myhostname
    #myorigin = $mydomain
    # RECEIVING MAIL
    # The inet_interfaces parameter specifies the network interface
    # addresses that this mail system receives mail on.  By default,
    # the software claims all active interfaces on the machine. The
    # parameter also controls delivery of mail to user@[ip.address].
    # See also the proxy_interfaces parameter, for network addresses that
    # are forwarded to us via a proxy or network address translator.
    # Note: you need to stop/start Postfix when this parameter changes.
    #inet_interfaces = all
    #inet_interfaces = $myhostname
    #inet_interfaces = $myhostname, localhost
    # The proxy_interfaces parameter specifies the network interface
    # addresses that this mail system receives mail on by way of a
    # proxy or network address translation unit. This setting extends
    # the address list specified with the inet_interfaces parameter.
    # You must specify your proxy/NAT addresses when your system is a
    # backup MX host for other domains, otherwise mail delivery loops
    # will happen when the primary MX host is down.
    #proxy_interfaces =
    #proxy_interfaces = 1.2.3.4
    # The mydestination parameter specifies the list of domains that this
    # machine considers itself the final destination for.
    # These domains are routed to the delivery agent specified with the
    # local_transport parameter setting. By default, that is the UNIX
    # compatible delivery agent that lookups all recipients in /etc/passwd
    # and /etc/aliases or their equivalent.
    # The default is $myhostname + localhost.$mydomain.  On a mail domain
    # gateway, you should also include $mydomain.
    # Do not specify the names of virtual domains - those domains are
    # specified elsewhere (see VIRTUAL_README).
    # Do not specify the names of domains that this machine is backup MX
    # host for. Specify those names via the relay_domains settings for
    # the SMTP server, or use permit_mx_backup if you are lazy (see
    # STANDARD_CONFIGURATION_README).
    # The local machine is always the final destination for mail addressed
    # to user@[the.net.work.address] of an interface that the mail system
    # receives mail on (see the inet_interfaces parameter).
    # Specify a list of host or domain names, /file/name or type:table
    # patterns, separated by commas and/or whitespace. A /file/name
    # pattern is replaced by its contents; a type:table is matched when
    # a name matches a lookup key (the right-hand side is ignored).
    # Continue long lines by starting the next line with whitespace.
    # See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
    #mydestination = $myhostname, localhost.$mydomain, localhost
    #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
    #       mail.$mydomain, www.$mydomain, ftp.$mydomain
    # REJECTING MAIL FOR UNKNOWN LOCAL USERS
    # The local_recipient_maps parameter specifies optional lookup tables
    # with all names or addresses of users that are local with respect
    # to $mydestination, $inet_interfaces or $proxy_interfaces.
    # If this parameter is defined, then the SMTP server will reject
    # mail for unknown local users. This parameter is defined by default.
    # To turn off local recipient checking in the SMTP server, specify
    # local_recipient_maps = (i.e. empty).
    # The default setting assumes that you use the default Postfix local
    # delivery agent for local delivery. You need to update the
    # local_recipient_maps setting if:
    # - You define $mydestination domain recipients in files other than
    #   /etc/passwd, /etc/aliases, or the $virtual_alias_maps files.
    #   For example, you define $mydestination domain recipients in   
    #   the $virtual_mailbox_maps files.
    # - You redefine the local delivery agent in master.cf.
    # - You redefine the "local_transport" setting in main.cf.
    # - You use the "luser_relay", "mailbox_transport", or "fallback_transport"
    #   feature of the Postfix local delivery agent (see local(8)).
    # Details are described in the LOCAL_RECIPIENT_README file.
    # Beware: if the Postfix SMTP server runs chrooted, you probably have
    # to access the passwd file via the proxymap service, in order to
    # overcome chroot restrictions. The alternative, having a copy of
    # the system passwd file in the chroot jail is just not practical.
    # The right-hand side of the lookup tables is conveniently ignored.
    # In the left-hand side, specify a bare username, an @domain.tld
    # wild-card, or specify a [email protected] address.
    #local_recipient_maps = unix:passwd.byname $alias_maps
    #local_recipient_maps = proxy:unix:passwd.byname $alias_maps
    #local_recipient_maps =
    # The unknown_local_recipient_reject_code specifies the SMTP server
    # response code when a recipient domain matches $mydestination or
    # ${proxy,inet}_interfaces, while $local_recipient_maps is non-empty
    # and the recipient address or address local-part is not found.
    # The default setting is 550 (reject mail) but it is safer to start
    # with 450 (try again later) until you are certain that your
    # local_recipient_maps settings are OK.
    unknown_local_recipient_reject_code = 550
    # TRUST AND RELAY CONTROL
    # The mynetworks parameter specifies the list of "trusted" SMTP
    # clients that have more privileges than "strangers".
    # In particular, "trusted" SMTP clients are allowed to relay mail
    # through Postfix.  See the smtpd_recipient_restrictions parameter
    # in postconf(5).
    # You can specify the list of "trusted" network addresses by hand
    # or you can let Postfix do it for you (which is the default).
    # By default (mynetworks_style = subnet), Postfix "trusts" SMTP
    # clients in the same IP subnetworks as the local machine.
    # On Linux, this does works correctly only with interfaces specified
    # with the "ifconfig" command.
    # Specify "mynetworks_style = class" when Postfix should "trust" SMTP
    # clients in the same IP class A/B/C networks as the local machine.
    # Don't do this with a dialup site - it would cause Postfix to "trust"
    # your entire provider's network.  Instead, specify an explicit
    # mynetworks list by hand, as described below.
    # Specify "mynetworks_style = host" when Postfix should "trust"
    # only the local machine.
    #mynetworks_style = class
    #mynetworks_style = subnet
    #mynetworks_style = host
    # Alternatively, you can specify the mynetworks list by hand, in
    # which case Postfix ignores the mynetworks_style setting.
    # Specify an explicit list of network/netmask patterns, where the
    # mask specifies the number of bits in the network part of a host
    # address.
    # You can also specify the absolute pathname of a pattern file instead
    # of listing the patterns here. Specify type:table for table-based lookups
    # (the value on the table right-hand side is not used).
    #mynetworks = 168.100.189.0/28, 127.0.0.0/8
    #mynetworks = $config_directory/mynetworks
    #mynetworks = hash:/etc/postfix/network_table
    # The relay_domains parameter restricts what destinations this system will
    # relay mail to.  See the smtpd_recipient_restrictions description in
    # postconf(5) for detailed information.
    # By default, Postfix relays mail
    # - from "trusted" clients (IP address matches $mynetworks) to any destination,
    # - from "untrusted" clients to destinations that match $relay_domains or
    #   subdomains thereof, except addresses with sender-specified routing.
    # The default relay_domains value is $mydestination.
    # In addition to the above, the Postfix SMTP server by default accepts mail
    # that Postfix is final destination for:
    # - destinations that match $inet_interfaces or $proxy_interfaces,
    # - destinations that match $mydestination
    # - destinations that match $virtual_alias_domains,
    # - destinations that match $virtual_mailbox_domains.
    # These destinations do not need to be listed in $relay_domains.
    # Specify a list of hosts or domains, /file/name patterns or type:name
    # lookup tables, separated by commas and/or whitespace.  Continue
    # long lines by starting the next line with whitespace. A file name
    # is replaced by its contents; a type:name table is matched when a
    # (parent) domain appears as lookup key.
    # NOTE: Postfix will not automatically forward mail for domains that
    # list this system as their primary or backup MX host. See the
    # permit_mx_backup restriction description in postconf(5).
    #relay_domains = $mydestination
    # INTERNET OR INTRANET
    # The relayhost parameter specifies the default host to send mail to
    # when no entry is matched in the optional transport(5) table. When
    # no relayhost is given, mail is routed directly to the destination.
    # On an intranet, specify the organizational domain name. If your
    # internal DNS uses no MX records, specify the name of the intranet
    # gateway host instead.
    # In the case of SMTP, specify a domain, host, host:port, [host]:port,
    # [address] or [address]:port; the form [host] turns off MX lookups.
    # If you're connected via UUCP, see also the default_transport parameter.
    #relayhost = $mydomain
    #relayhost = [gateway.my.domain]
    #relayhost = [mailserver.isp.tld]
    #relayhost = uucphost
    #relayhost = [an.ip.add.ress]
    # REJECTING UNKNOWN RELAY USERS
    # The relay_recipient_maps parameter specifies optional lookup tables
    # with all addresses in the domains that match $relay_domains.
    # If this parameter is defined, then the SMTP server will reject
    # mail for unknown relay users. This feature is off by default.
    # The right-hand side of the lookup tables is conveniently ignored.
    # In the left-hand side, specify an @domain.tld wild-card, or specify
    # a [email protected] address.
    #relay_recipient_maps = hash:/etc/postfix/relay_recipients
    # INPUT RATE CONTROL
    # The in_flow_delay configuration parameter implements mail input
    # flow control. This feature is turned on by default, although it
    # still needs further development (it's disabled on SCO UNIX due
    # to an SCO bug).
    # A Postfix process will pause for $in_flow_delay seconds before
    # accepting a new message, when the message arrival rate exceeds the
    # message delivery rate. With the default 100 SMTP server process
    # limit, this limits the mail inflow to 100 messages a second more
    # than the number of messages delivered per second.
    # Specify 0 to disable the feature. Valid delays are 0..10.
    #in_flow_delay = 1s
    # ADDRESS REWRITING
    # The ADDRESS_REWRITING_README document gives information about
    # address masquerading or other forms of address rewriting including
    # username->Firstname.Lastname mapping.
    # ADDRESS REDIRECTION (VIRTUAL DOMAIN)
    # The VIRTUAL_README document gives information about the many forms
    # of domain hosting that Postfix supports.
    # "USER HAS MOVED" BOUNCE MESSAGES
    # See the discussion in the ADDRESS_REWRITING_README document.
    # TRANSPORT MAP
    # See the discussion in the ADDRESS_REWRITING_README document.
    # ALIAS DATABASE
    # The alias_maps parameter specifies the list of alias databases used
    # by the local delivery agent. The default list is system dependent.
    # On systems with NIS, the default is to search the local alias
    # database, then the NIS alias database. See aliases(5) for syntax
    # details.
    # If you change the alias database, run "postalias /etc/aliases" (or
    # wherever your system stores the mail alias file), or simply run
    # "newaliases" to build the necessary DBM or DB file.
    # It will take a minute or so before changes become visible.  Use
    # "postfix reload" to eliminate the delay.
    #alias_maps = dbm:/etc/aliases
    #alias_maps = hash:/etc/aliases
    #alias_maps = hash:/etc/aliases, nis:mail.aliases
    #alias_maps = netinfo:/aliases
    # The alias_database parameter specifies the alias database(s) that
    # are built with "newaliases" or "sendmail -bi".  This is a separate
    # configuration parameter, because alias_maps (see above) may specify
    # tables that are not necessarily all under control by Postfix.
    #alias_database = dbm:/etc/aliases
    #alias_database = dbm:/etc/mail/aliases
    #alias_database = hash:/etc/aliases
    #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
    # ADDRESS EXTENSIONS (e.g., user+foo)
    # The recipient_delimiter parameter specifies the separator between
    # user names and address extensions (user+foo). See canonical(5),
    # local(8), relocated(5) and virtual(5

    Ok 1st one. The warning restriction message relates to this line in main.cf:
    smtpd_helo_restrictions = permit_sasl_authenticated  permit_mynetworks  check_helo_access hash:/etc/postfix/helo_access  reject_non_fqdn_hostname  reject_invalid_hostname  permit reject_invalid_helo_hostname
    The last reject occurs after the single word "permit" and is ignored.
    However, that's not the problem.
    I'm not exactly sure what's happening, but this might be a clue.
    It would appear that either postfix is not being able to create the socket for private/policy or it's somehow created with the wrong permissions.  You might need to ramp up the debug level to get a better idea.
    You could check if it's being created by "netstat -a | grep private/policy" in terminal.
    My guess is that it's not being created because there is no setup statement in your master.cf file, but I don't understand why postfix would be looking for it if it isn't set up.  Private/policy I think relates to grey listing.  Maybe gives you a hint.

  • Unable to create a new tcp/ip connection in sm59

    Hello Friends,
    We are trying to connect genesys cti gplus adapter to SAP ERP.
    While testing  new tcp/ip RFC Connection in SM59 , the connection test failed.
    Error  Details:
    Logon :                     Connection error
    Error Details     Error when opening an RFC connection.
    Is it something to do with librfc32.dll file ?  Do we need to register this file? There is one librfc32.dll in C:/win/system32. Do we need to replace this .dll with the current version of librfc32.dll.
    I could find some errors in our gplus adapter trace file.
    Can someone please help me in this. U can reply me on <email address deleted by moderator>
    Thanks in Advance.
    >TS> Sun Oct 21 12:00:45 2007
    T:9944 Error in program 'Dummy': ======> Connect to SAP gateway failed
    Connect_PM  TPNAME=SPS.PROG, GWHOST=MB3AP1024, GWSERV=3300
    LOCATION    CPIC (TCP/IP) on local host MB3AP1021
    ERROR       partner 'MB3AP1024:3300' not reached
    TIME        Sun Oct 21 12:00:45 2007
    RELEASE     710
    COMPONENT   NI (network interface)
    VERSION     39
    RC          -10
    MODULE      nixxi.cpp
    LINE        2985
    DETAIL      NiPConnect2
    SYSTEM CALL connect
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER     14789

    Hi,
    It seems to me that your genesys cti gplus adpater is of the registration type.
    And from the error file, it could not contact the SAP gateway to register.
    It is so logical that the connection test from SM59 fails.
    Check the hostname of your SAP gateway. Is it really in capital letters ?
    Are you able to ping it from your adapter host ?
    Is the system number of your SAP system 00 ?
    You are not supposed to ask for information at your  email address.
    A  public forum is designed to share information among its users.
    Regards,
    Olivier

  • Remote Desktop 'Connection Refused'

    Modem/Router Model: GT704-WG-B
    Firmware Version: 30.17.0 (Red background)
    Operating System:  Windows 7 Enterprise
    Here is what I have set up to allow me access from outside my network via RDP.
    Router config: Security > Applications "RDP" Rule Applied | Port 3389 Start/End/Port Map Start
    UPnP is on
    Modem/Router Firewall is OFF
    Windows Firewall is ON with TCP 3389 allowed In/Out
    Local PC has static IP address outside of DHCP range
    Remote desktop (any version of RDP) allowed in Computer > Properties > Remote
    I use Jaadu RDP iPhone application and have used it successfully for quite some time.  When I first got Verizon service I set up RDP on the router and everything worked fine.  I ran into an issue that caused a verizon tech to tell me to reset my modem/router to the factory defaults.  Ever since, I have not been able to access my local PC via RDP.  Every time I attempt to connect I get a connection refused message.  I receive the same type of message when attempting to RDP in from another PC.  I am able to RDP from within my LAN from both my iPhone and my other PC.
    I have crossed my Ts and dotted my Is and am at a loss at this point.  If anyone has experienced this issue and found a fix, I would appreciate some help.
    Thanks

    #1 If the router turn off UPnP, since you will not be needing it.
    #2 If that does not resolve it / or it happen again, please post...
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • Java.sql.SQLException: The TCP/IP connection to the host  has failed.

    Hello. I hope you had a happy new year! Now its back to work.
    I am having a problem connecting to a remote SQL Server DB. I am using NetBeans 5.5 and the latest J2EE. I am able to see the tables in the IDE and bind objects to data. But when I run it it gets this:
    java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: no further information
    at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:100)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.connect(CachedRowSetXReader.java:344)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:126)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:968)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1428)
    I checked the SQL Server Configuration manager on that machine and TCP/IP connections are allowed. What else could be wrong?
    Thank You.

    "Connection refused" means that the client sends a packet saying "I would like to connect to port number NNNN please" to the server computer, and the server computer's OS sends the reply "there is no process listening to that port on the network interface you are using".
    The database server is not running, or running but not listening to TCP/IP connections, or at a different port from what you think, or listening to only selected network interfaces (it is possible for a process to listen to a specific interface or a wildcard for all interfaces). A less likely scenario is that a firewall is sending the "connection refused" message.
    First aid check list for "connection refused":
    - Check host name in connect string.
    - Check port number in connect string.
    - Try numeric IP address of server host in connect string, in case name server is hosed.
    - Are there any firewalls between client and server blocking the port.
    - Check that the db server is running.
    - Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port. You need to configure the database to accept TCP connections; the server documentation or google should explain how.
    - Try "telnet server-host-name the-port-number" from the client, to see if firewalls are blocking it.
    - If "telnet" fails: try telnet with the numeric ip address.
    - If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
    - Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"?

  • Connection Refused Error while running AS ABAP Initial Load

    All,
    I've never connected SAP NW IdM to an actual SAP system before, and I feel like I'm missing some obvious step of configuration, but I can't figure out what.
    We are in the process of trying provision user accounts to our SAP ABAP systems. My first step was to try to read all of the existing accounts from the ABAP system:
    Our Basis team created me a Communication user with the proper authorizations (I ensured that the authorizations included in SAP_BC_SEC_IDM_COMMUNICATION)
    I created a repository using the SAP NewWeaver AS ABAP (Specific Application Server) Repository Template (No CUA, No SNC) using that user's credentials
    I then used the Job Wizard and used the job template AS ABAP - Initial Load, specifying my repository above.
    When I run the job I get the following:
    Initializing SAP connection with parameters:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server failed Connect_PM MSHOST=<IPADDRESS>, R3NAME=<SID>, GROUP=PUBLIC LOCATION CPIC (TCP/IP) on local host ERROR partner not reached (host <IPADDRESS>, service sapms<SID>) TIME Wed Jun 01 13:54:36 201 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODULE nixxi_r.cpp LINE 8840 DETAIL NiPConnect2 SYSTEM CALL SiPeekPendConn ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 1
    Error Init failed
    I'm running SAP NW IdM 7.1 SP5 on Windows Server 2003 with MSSQL 2005. The ABAP server is on a UNIX box with an Oracle 10.2 dB.
    Is there additional configuration that needs to take place on the ABAP side to accept the connection?
    I've tried to find documentation on this, but have been unsuccessful. If someone could point me to the correct documents, or at least point me in the right direction for troubleshooting, it would be greatly appreciated.

    Ankur,
    Looks like the endpoint URL of the webservice is not updated and still pointing to the localhost. Try changing it to http://<ip_addres_of_your_server>:7101..... and see if it works fine then.
    -Arun

  • Connection refused to host: connection timed out

    I have been struggling with this problem a couple of days now so I really hope someone can help me. I am trying to get rmi to work in a NAT environment. We use a firewall, so I have opened port 1099 and 2020 which I use as a fixed port for communication (just to be sure it is not a firewall thing); I use the following code:
    //server
    public class ComputeEngine extends UnicastRemoteObject
    implements Compute
    public ComputeEngine() throws RemoteException {
    super();
    public String getMessage() {
    return "you have successfully connected to the server";
    public static void main(String[] args) {
    if (System.getSecurityManager() == null) {
    System.setSecurityManager(new RMISecurityManager());
    try {
    String port = args[0];
    try {
    RMISocketFactory.setSocketFactory(new FixedPortRMISocketFactory(Integer.parseInt(port)));
    } catch (IOException e) {
    e.printStackTrace();
    LocateRegistry.createRegistry( 1099 );
    catch (RemoteException e1) {
    e1.printStackTrace();
    String name = "rmi://localhost/Compute";
    try {
    Compute engine = new ComputeEngine();
    Naming.rebind(name, engine);
    System.out.println("ComputeEngine bound");
    while(true); //stay alive
    } catch (Exception e) {
    System.err.println("ComputeEngine exception: " + e.getMessage());
    e.printStackTrace();
    public Socket createSocket(String host, int port)
    throws IOException {
    System.out.println("creating socket to host : " + host + " on port " + port);
    return new Socket(host, port);
    * Create a server socket on the specified port (port 0 indicates
    * an anonymous port) and writes out some debugging info
    * @param port the port number
    * @return the server socket on the specified port
    * @exception IOException if an I/O error occurs during server socket
    * creation
    * @since JDK1.1
    public ServerSocket createServerSocket(int port)
    throws IOException {
    port = (port == 0 ? portnumber : port);
    System.out.println("creating ServerSocket on port " + port);
    return new ServerSocket(port);
    //client
    public class ComputePi {
    public static void main(String args[]) {
    if (System.getSecurityManager() == null) {
    System.setSecurityManager(new RMISecurityManager());
    try {
    String name = "rmi://" + args[0] + "/Compute";
    Compute comp = (Compute) Naming.lookup(name);
    System.out.println("connected to server");
    System.out.println(comp.getMessage());
    } catch (Exception e) {
    System.err.println("ComputePi exception: " + e.getMessage());
    e.printStackTrace();
    I start the client with:
    java -Djava.security.policy=policy.all -jar client.jar 194.2.4.6:1099
    I start the server with:
    java -Djava.rmi.server.codebase="file:/C:\RMI\\server.jar" -Djava.rmi.server.hostname="194.2.4.6" -Djava.security.policy=policy.all -jar server.jar 2020
    As you can see I set the "-Djava.rmi.server.hostname" property which should be a solution to the NAT problem. However I keep getting the following exception!!??!!:
    ComputePi exception: Connection refused to host: 194.2.4.6; nested exception is:
         java.net.ConnectException: Connection timed out: connect
    java.rmi.ConnectException: Connection refused to host: 194.2.4.6; nested exception is:
         java.net.ConnectException: Connection timed out: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
         at sun.rmi.server.UnicastRef.newCall(Unknown Source)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at java.rmi.Naming.lookup(Unknown Source)
         at client.ComputePi.main(ComputePi.java:14)
    Caused by: java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
         ... 7 more
    Can anyone help me with this, please??????
    kind regards,
    Christiaan

    Yes, i can ping it from the client.
    I have also noticed that when i run my server with the option -Djava.rmi.server.hostname=IP the applications stops automatically after a few minuts...
    I'm not using nothing about codebase. I have the stub and skel classes in server and client machines..
    I add the complete exception:
    Client exception: java.rmi.ConnectException: Connection refused to host: external_IP; nested exception is:
    java.net.ConnectException: Connection timed out: connect
    java.rmi.ConnectException: Connection refused to host: external_IP; nested exception is:
    java.net.ConnectException: Connection timed out: connect
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
    at example.hello.Server_Stub.sayHello(Unknown Source)
    at example.hello.Client.main(Client.java:55)
    Caused by: java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:426)
    at java.net.Socket.connect(Socket.java:376)
    at java.net.Socket.<init>(Socket.java:291)
    at java.net.Socket.<init>(Socket.java:119)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
    SocketFactory.java:22)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
    SocketFactory.java:128)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
    ... 5 more

  • Telnet connection refused in non global zone

    I have recently installed a new zone and I am trying to log into the new zone via telnet and I get the following error;
    telnet: Unable to connect to remote host: Connection refused
    when i check the services on the zone they are as follows;
    # svcs -a
    STATE STIME FMRI
    legacy_run 12:25:02 lrc:/etc/rcS_d/S51installupdates
    disabled 12:25:01 svc:/network/rpc/keyserv:default
    disabled 12:25:01 svc:/network/rpc/nisplus:default
    disabled 12:25:01 svc:/network/nis/server:default
    disabled 12:25:01 svc:/network/nis/client:default
    disabled 12:25:01 svc:/network/dns/client:default
    disabled 12:25:01 svc:/network/ldap/client:default
    disabled 12:25:01 svc:/network/nfs/cbd:default
    disabled 12:25:01 svc:/network/nfs/mapid:default
    disabled 12:25:01 svc:/network/inetd-upgrade:default
    disabled 12:25:01 svc:/system/auditd:default
    disabled 12:25:01 svc:/application/print/server:default
    disabled 12:25:01 svc:/network/ntp:default
    disabled 12:25:01 svc:/system/rcap:default
    disabled 12:25:01 svc:/network/dhcp-server:default
    disabled 12:25:01 svc:/network/nfs/server:default
    disabled 12:25:01 svc:/network/rarp:default
    disabled 12:25:01 svc:/network/rpc/bootparams:default
    disabled 12:25:01 svc:/application/gdm2-login:default
    disabled 12:25:01 svc:/application/management/webmin:default
    disabled 12:25:02 svc:/network/dns/server:default
    disabled 12:25:02 svc:/network/http:apache2
    disabled 12:25:02 svc:/network/nis/passwd:default
    disabled 12:25:02 svc:/network/nis/update:default
    disabled 12:25:02 svc:/network/nis/xfr:default
    disabled 12:25:02 svc:/network/security/kadmin:default
    disabled 12:25:02 svc:/network/security/krb5kdc:default
    disabled 12:25:02 svc:/network/slp:default
    disabled 12:25:02 svc:/system/consadm:default
    disabled 12:25:02 svc:/system/filesystem/volfs:default
    disabled 12:25:02 svc:/system/sar:default
    online 12:25:00 svc:/system/svc/restarter:default
    online 12:25:01 svc:/network/physical:default
    online 12:25:01 svc:/network/loopback:default
    online 12:25:01 svc:/milestone/name-services:default
    online 12:25:01 svc:/system/filesystem/root:default
    online 12:25:01 svc:/milestone/network:default
    online 12:25:01 svc:/system/identity:node
    online 12:25:01 svc:/system/boot-archive:default
    online 12:25:01 svc:/system/filesystem/usr:default
    online 12:25:01 svc:/system/device/local:default
    online 12:25:02 svc:/system/keymap:default
    online 12:25:02 svc:/milestone/devices:default
    online 12:25:02 svc:/system/filesystem/minimal:default
    online 12:25:02 svc:/system/rmtmpfiles:default
    online 12:25:02 svc:/system/cryptosvc:default
    online 12:25:02 svc:/application/print/cleanup:default
    online 12:25:02 svc:/system/name-service-cache:default
    online 12:25:02 svc:/system/identity:domain
    online 12:25:02 svc:/network/initial:default
    online 12:25:02 svc:/network/service:default
    online 12:25:02 svc:/system/manifest-import:default
    online 12:25:02 svc:/milestone/single-user:default
    online 12:25:02 svc:/system/filesystem/local:default
    online 12:25:02 svc:/system/cron:default
    online 12:25:02 svc:/application/font/fc-cache:default
    online 12:25:02 svc:/system/coreadm:default
    online 12:25:02 svc:/system/sysidtool:net
    online 12:25:02 svc:/network/rpc/bind:default
    online 12:25:03 svc:/network/nfs/status:default
    online 12:25:03 svc:/network/nfs/nlockmgr:default
    offline 12:25:01 svc:/system/utmp:default
    offline 12:25:01 svc:/milestone/sysconfig:default
    offline 12:25:01 svc:/network/inetd:default
    offline 12:25:01 svc:/system/filesystem/autofs:default
    offline 12:25:01 svc:/system/system-log:default
    offline 12:25:01 svc:/system/console-login:default
    offline 12:25:01 svc:/network/nfs/client:default
    offline 12:25:01 svc:/network/smtp:sendmail
    offline 12:25:01 svc:/milestone/multi-user:default
    offline 12:25:01 svc:/network/ssh:default
    offline 12:25:01 svc:/milestone/multi-user-server:default
    offline 12:25:01 svc:/application/print/ipp-listener:default
    offline 12:25:02 svc:/system/sac:default
    offline* 12:25:02 svc:/system/sysidtool:system
    uninitialized 12:25:01 svc:/network/rpc/gss:default
    uninitialized 12:25:01 svc:/application/font/stfsloader:default
    uninitialized 12:25:01 svc:/application/print/rfc1179:default
    uninitialized 12:25:01 svc:/application/x11/xfs:default
    uninitialized 12:25:01 svc:/network/apocd/udp:default
    uninitialized 12:25:01 svc:/network/chargen:dgram
    uninitialized 12:25:01 svc:/network/chargen:stream
    uninitialized 12:25:02 svc:/network/comsat:default
    uninitialized 12:25:02 svc:/network/daytime:dgram
    uninitialized 12:25:02 svc:/network/daytime:stream
    uninitialized 12:25:02 svc:/network/discard:dgram
    uninitialized 12:25:02 svc:/network/discard:stream
    uninitialized 12:25:02 svc:/network/echo:dgram
    uninitialized 12:25:02 svc:/network/echo:stream
    uninitialized 12:25:02 svc:/network/finger:default
    uninitialized 12:25:02 svc:/network/ftp:default
    uninitialized 12:25:02 svc:/network/login:eklogin
    uninitialized 12:25:02 svc:/network/login:klogin
    uninitialized 12:25:02 svc:/network/login:rlogin
    uninitialized 12:25:02 svc:/network/nfs/rquota:default
    uninitialized 12:25:02 svc:/network/rexec:default
    uninitialized 12:25:02 svc:/network/rpc/ocfserv:default
    uninitialized 12:25:02 svc:/network/rpc/rex:default
    uninitialized 12:25:02 svc:/network/rpc/rstat:default
    uninitialized 12:25:02 svc:/network/rpc/rusers:default
    uninitialized 12:25:02 svc:/network/rpc/smserver:default
    uninitialized 12:25:02 svc:/network/rpc/spray:default
    uninitialized 12:25:02 svc:/network/rpc/wall:default
    uninitialized 12:25:02 svc:/network/security/krb5_prop:default
    uninitialized 12:25:02 svc:/network/security/ktkt_warn:default
    uninitialized 12:25:02 svc:/network/shell:default
    uninitialized 12:25:02 svc:/network/shell:kshell
    uninitialized 12:25:02 svc:/network/talk:default
    uninitialized 12:25:02 svc:/network/telnet:default
    uninitialized 12:25:02 svc:/network/time:dgram
    uninitialized 12:25:02 svc:/network/time:stream
    uninitialized 12:25:02 svc:/network/tname:default
    uninitialized 12:25:02 svc:/network/uucp:default
    uninitialized 12:25:02 svc:/network/rpc-100235_1/rpc_ticotsord:default
    uninitialized 12:25:02 svc:/network/rpc-100083_1/rpc_tcp:default
    uninitialized 12:25:02 svc:/network/rpc-100068_2-5/rpc_udp:default
    any suggestions? Thanks in advance.

    After taking your suggestions, i found that there was no loghost defined in /etc/host. I defined one and now all of my services came up. I still don't have any ssh, it says
    Could not load host key: /etc/ssh/ssh_host_rsa_key
    Could not load host key: /etc/ssh/ssh_host_dsa_key
    Disabling protocol version 2. Could not load hostkey or GSS-API mechanisms
    sshd: no hostkeys available -- exiting.
    Any suggestions? Thanks for yur help, i will make sure to give you a star.
    Harvey

  • Java.rmi.ConnectException: Connection refuse

    Hi all,
    I have built a simple RMI client server application.I can run client & server fine locally.
    However if I test this appplication over the internet, I get this exception on the client:
    java.rmi.ConnectException: Connection refused to host: 169.254.157.53; nested exception is:
    java.net.ConnectException: Connection timed out: connectConnection refused to host:169.254.157.53
    The RMI server is running on my PC and the client on a friend's remote PC.Both PCs are connected to Internet.
    I don't have any firewall running on my PC (including windows XP firewall). The server RMI lookup on the client happens correctly,
    the exception is raised when the client tries to call the remote method on the server.
    Here is an extract of my RMI server code (it works locally):
    public static void main(String[] args) throws Exception {
              try {
              // args[0] contains the database server name given as command line argument, arg[1] contains binary path that contains weather jpeg files     
              CPrimaryWeatherServer test = new CPrimaryWeatherServer(args[0], args[1]);
              Naming.rebind("rmi://localhost:1099/WeatherPrimaryService", test);
              System.out.println("Serveur m�t�o principal d�marr�");
              } catch (Exception e){ System.out.println(e.getMessage());}
    Here is an extract of my RMI client code (it works locally):
    try{
                        rec=1;
                        leftClik=1;
                        System.out.println("Before RMI lookup");
                        IPrimaryWeatherServerService serveur =(IPrimaryWeatherServerService)Naming.lookup("rmi://"+primWS+":1099/WeatherPrimaryService");
                        System.out.println("After RMI lookup");
                        System.out.println("Before server method call");
                        z=serveur.getFullWeatherData(); --> exception is raised here
                        System.out.println("After RMI server method call");
    I am directly connected to Internet using an ethernet card connected to an ADSL modem.169.254.157.53 is the automatic IP of my network card different from the IP given by my ISP. By the way, the client tries to contact me using my DNS name that resolves correctly to my ISP IP adress.
    Thanks a lot for help,

    because I am guessing that a local IP address is being embedded into the stub so the clien't can't find the remote server. I am guessing because you didn't provide the exception or its text. Anyway the suggestion will cause the correct public IP address/hostname to be embedded into the stub.

Maybe you are looking for