+ Responder ao Tópico



  1. #1
    fjacunha
    Pessoal estou com um pequeno problema com o Openvpn segui um tutorial aqui no qual aparentemente funcionou.
    Só que quando eu coloco
    # openvpn --config /etc/openvpn/arquivo.conf

    Ele inicializa normalmente so que no final quando ele vai usar o rotas.up
    Ele mostra o seguinte erro:
    Wed May 17 12:14:19 2006 us=197950 ./rotas.up tun0 1500 1544 10.8.0.3 10.8.0.1 i
    sh: ./rotas.up: Arquivo ou diretório não encontrado
    Wed May 17 12:14:19 2006 us=200272 script failed: could not execute shell comman
    Wed May 17 12:14:19 2006 us=200303 Exiting

    Eu achava que era porque o arquivo nao estava como executavel mais ai eu setei o arquivo como o mesmo e nada. Alguem teria uma ideia vou colar todo o logo de inicializacao o OPEN abaixo.


    Wed May 17 12:14:19 2006 us=176286 Current Parameter Settings:
    Wed May 17 12:14:19 2006 us=176396 config = '/etc/openvpn/caruaru.conf'
    Wed May 17 12:14:19 2006 us=176414 mode = 0
    Wed May 17 12:14:19 2006 us=176430 persist_config = DISABLED
    Wed May 17 12:14:19 2006 us=176446 persist_mode = 1
    Wed May 17 12:14:19 2006 us=176461 show_ciphers = DISABLED
    Wed May 17 12:14:19 2006 us=176477 show_digests = DISABLED
    Wed May 17 12:14:19 2006 us=176492 show_engines = DISABLED
    Wed May 17 12:14:19 2006 us=176506 genkey = DISABLED
    Wed May 17 12:14:19 2006 us=176522 key_pass_file = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=176539 show_tls_ciphers = DISABLED
    Wed May 17 12:14:19 2006 us=176554 proto = 0
    Wed May 17 12:14:19 2006 us=176568 local = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=176584 remote_list[0] = {'201.30.174.134', 1194}
    Wed May 17 12:14:19 2006 us=176600 remote_random = DISABLED
    Wed May 17 12:14:19 2006 us=176615 local_port = 1194
    Wed May 17 12:14:19 2006 us=176630 remote_port = 1194
    Wed May 17 12:14:19 2006 us=176644 remote_float = DISABLED
    Wed May 17 12:14:19 2006 us=176660 ipchange = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=176675 bind_local = ENABLED
    Wed May 17 12:14:19 2006 us=176690 dev = 'tun'
    Wed May 17 12:14:19 2006 us=176705 dev_type = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=176720 dev_node = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=176735 tun_ipv6 = DISABLED
    Wed May 17 12:14:19 2006 us=176751 ifconfig_local = '10.8.0.3'
    Wed May 17 12:14:19 2006 us=176766 ifconfig_remote_netmask = '10.8.0.1'
    Wed May 17 12:14:19 2006 us=176782 ifconfig_noexec = DISABLED
    Wed May 17 12:14:19 2006 us=176797 ifconfig_nowarn = DISABLED
    Wed May 17 12:14:19 2006 us=176812 shaper = 0
    Wed May 17 12:14:19 2006 us=176827 tun_mtu = 1500
    Wed May 17 12:14:19 2006 us=176841 tun_mtu_defined = ENABLED
    Wed May 17 12:14:19 2006 us=176856 link_mtu = 1500
    Wed May 17 12:14:19 2006 us=176871 link_mtu_defined = DISABLED
    Wed May 17 12:14:19 2006 us=176887 tun_mtu_extra = 0
    Wed May 17 12:14:19 2006 us=176902 tun_mtu_extra_defined = DISABLED
    Wed May 17 12:14:19 2006 us=176917 fragment = 0
    Wed May 17 12:14:19 2006 us=176932 mtu_discover_type = -1
    Wed May 17 12:14:19 2006 us=176947 mtu_test = 0
    Wed May 17 12:14:19 2006 us=176962 mlock = DISABLED
    Wed May 17 12:14:19 2006 us=176977 keepalive_ping = 10
    Wed May 17 12:14:19 2006 us=176992 keepalive_timeout = 120
    Wed May 17 12:14:19 2006 us=177007 inactivity_timeout = 0
    Wed May 17 12:14:19 2006 us=177022 ping_send_timeout = 10
    Wed May 17 12:14:19 2006 us=177037 ping_rec_timeout = 120
    Wed May 17 12:14:19 2006 us=177052 ping_rec_timeout_action = 2
    Wed May 17 12:14:19 2006 us=177067 ping_timer_remote = ENABLED
    Wed May 17 12:14:19 2006 us=177082 remap_sigusr1 = 0
    Wed May 17 12:14:19 2006 us=177097 explicit_exit_notification = 0
    Wed May 17 12:14:19 2006 us=177112 persist_tun = ENABLED
    Wed May 17 12:14:19 2006 us=177127 persist_local_ip = DISABLED
    Wed May 17 12:14:19 2006 us=177142 persist_remote_ip = DISABLED
    Wed May 17 12:14:19 2006 us=177157 persist_key = ENABLED
    Wed May 17 12:14:19 2006 us=177172 mssfix = 1450
    Wed May 17 12:14:19 2006 us=177187 passtos = DISABLED
    Wed May 17 12:14:19 2006 us=177202 resolve_retry_seconds = 1000000000
    Wed May 17 12:14:19 2006 us=177217 connect_retry_seconds = 5
    Wed May 17 12:14:19 2006 us=177232 username = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=177247 groupname = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=177262 chroot_dir = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=177277 cd_dir = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=177292 writepid = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=177307 up_script = './rotas.up'
    Wed May 17 12:14:19 2006 us=177322 down_script = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=177337 down_pre = DISABLED
    Wed May 17 12:14:19 2006 us=177352 up_restart = DISABLED
    Wed May 17 12:14:19 2006 us=177367 up_delay = DISABLED
    Wed May 17 12:14:19 2006 us=177383 daemon = DISABLED
    Wed May 17 12:14:19 2006 us=177397 inetd = 0
    Wed May 17 12:14:19 2006 us=181128 log = DISABLED
    Wed May 17 12:14:19 2006 us=181155 suppress_timestamps = DISABLED
    Wed May 17 12:14:19 2006 us=181170 nice = 0
    Wed May 17 12:14:19 2006 us=181185 verbosity = 5
    Wed May 17 12:14:19 2006 us=181200 mute = 0
    Wed May 17 12:14:19 2006 us=181215 gremlin = 0
    Wed May 17 12:14:19 2006 us=181230 status_file = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=181252 status_file_version = 1
    Wed May 17 12:14:19 2006 us=181268 status_file_update_freq = 60
    Wed May 17 12:14:19 2006 us=181283 occ = ENABLED
    Wed May 17 12:14:19 2006 us=181298 rcvbuf = 65536
    Wed May 17 12:14:19 2006 us=181313 sndbuf = 65536
    Wed May 17 12:14:19 2006 us=181328 socks_proxy_server = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=181343 socks_proxy_port = 0
    Wed May 17 12:14:19 2006 us=181359 socks_proxy_retry = DISABLED
    Wed May 17 12:14:19 2006 us=181374 fast_io = DISABLED
    Wed May 17 12:14:19 2006 us=181389 comp_lzo = DISABLED
    Wed May 17 12:14:19 2006 us=181404 comp_lzo_adaptive = ENABLED
    Wed May 17 12:14:19 2006 us=181420 route_script = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=181435 route_default_gateway = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=181451 route_noexec = DISABLED
    Wed May 17 12:14:19 2006 us=181466 route_delay = 0
    Wed May 17 12:14:19 2006 us=181481 route_delay_window = 30
    Wed May 17 12:14:19 2006 us=181496 route_delay_defined = DISABLED
    Wed May 17 12:14:19 2006 us=181512 management_addr = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=181527 management_port = 0
    Wed May 17 12:14:19 2006 us=181542 management_user_pass = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=181558 management_log_history_cache = 250
    Wed May 17 12:14:19 2006 us=181573 management_echo_buffer_size = 100
    Wed May 17 12:14:19 2006 us=181589 management_query_passwords = DISABLED
    Wed May 17 12:14:19 2006 us=184935 management_hold = DISABLED
    Wed May 17 12:14:19 2006 us=185102 shared_secret_file = '/etc/openvpn/easy-rsa/keys/key.txt'
    Wed May 17 12:14:19 2006 us=185241 key_direction = 0
    Wed May 17 12:14:19 2006 us=185350 ciphername_defined = ENABLED
    Wed May 17 12:14:19 2006 us=185465 ciphername = 'BF-CBC'
    Wed May 17 12:14:19 2006 us=185574 authname_defined = ENABLED
    Wed May 17 12:14:19 2006 us=185784 authname = 'SHA1'
    Wed May 17 12:14:19 2006 us=185809 keysize = 0
    Wed May 17 12:14:19 2006 us=185824 engine = DISABLED
    Wed May 17 12:14:19 2006 us=185839 replay = ENABLED
    Wed May 17 12:14:19 2006 us=185854 mute_replay_warnings = DISABLED
    Wed May 17 12:14:19 2006 us=185870 replay_window = 64
    Wed May 17 12:14:19 2006 us=185885 replay_time = 15
    Wed May 17 12:14:19 2006 us=185900 packet_id_file = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=185914 use_iv = ENABLED
    Wed May 17 12:14:19 2006 us=185929 test_crypto = DISABLED
    Wed May 17 12:14:19 2006 us=185944 tls_server = DISABLED
    Wed May 17 12:14:19 2006 us=185959 tls_client = DISABLED
    Wed May 17 12:14:19 2006 us=185974 key_method = 2
    Wed May 17 12:14:19 2006 us=185989 ca_file = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186004 dh_file = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186019 cert_file = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186034 priv_key_file = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186049 pkcs12_file = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186064 cipher_list = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186078 tls_verify = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186093 tls_remote = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186108 crl_file = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186123 ns_cert_type = 0
    Wed May 17 12:14:19 2006 us=186139 tls_timeout = 2
    Wed May 17 12:14:19 2006 us=186153 renegotiate_bytes = 0
    Wed May 17 12:14:19 2006 us=186169 renegotiate_packets = 0
    Wed May 17 12:14:19 2006 us=186184 renegotiate_seconds = 3600
    Wed May 17 12:14:19 2006 us=186199 handshake_window = 60
    Wed May 17 12:14:19 2006 us=186214 transition_window = 3600
    Wed May 17 12:14:19 2006 us=186229 single_session = DISABLED
    Wed May 17 12:14:19 2006 us=186244 tls_exit = DISABLED
    Wed May 17 12:14:19 2006 us=186259 tls_auth_file = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186298 server_network = 0.0.0.0
    Wed May 17 12:14:19 2006 us=186316 server_netmask = 0.0.0.0
    Wed May 17 12:14:19 2006 us=186331 server_bridge_ip = 0.0.0.0
    Wed May 17 12:14:19 2006 us=186348 server_bridge_netmask = 0.0.0.0
    Wed May 17 12:14:19 2006 us=186364 server_bridge_pool_start = 0.0.0.0
    Wed May 17 12:14:19 2006 us=186381 server_bridge_pool_end = 0.0.0.0
    Wed May 17 12:14:19 2006 us=186397 ifconfig_pool_defined = DISABLED
    Wed May 17 12:14:19 2006 us=186413 ifconfig_pool_start = 0.0.0.0
    Wed May 17 12:14:19 2006 us=186430 ifconfig_pool_end = 0.0.0.0
    Wed May 17 12:14:19 2006 us=186446 ifconfig_pool_netmask = 0.0.0.0
    Wed May 17 12:14:19 2006 us=186462 ifconfig_pool_persist_filename = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186477 ifconfig_pool_persist_refresh_freq = 600
    Wed May 17 12:14:19 2006 us=186493 ifconfig_pool_linear = DISABLED
    Wed May 17 12:14:19 2006 us=186508 n_bcast_buf = 256
    Wed May 17 12:14:19 2006 us=186523 tcp_queue_limit = 64
    Wed May 17 12:14:19 2006 us=186538 real_hash_size = 256
    Wed May 17 12:14:19 2006 us=186553 virtual_hash_size = 256
    Wed May 17 12:14:19 2006 us=186569 client_connect_script = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186584 learn_address_script = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186599 client_disconnect_script = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186614 client_config_dir = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186629 ccd_exclusive = DISABLED
    Wed May 17 12:14:19 2006 us=186644 tmp_dir = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=186659 push_ifconfig_defined = DISABLED
    Wed May 17 12:14:19 2006 us=186675 push_ifconfig_local = 0.0.0.0
    Wed May 17 12:14:19 2006 us=186691 push_ifconfig_remote_netmask = 0.0.0.0
    Wed May 17 12:14:19 2006 us=186707 enable_c2c = DISABLED
    Wed May 17 12:14:19 2006 us=186722 duplicate_cn = DISABLED
    Wed May 17 12:14:19 2006 us=186736 cf_max = 0
    Wed May 17 12:14:19 2006 us=186752 cf_per = 0
    Wed May 17 12:14:19 2006 us=186766 max_clients = 1024
    Wed May 17 12:14:19 2006 us=186781 max_routes_per_client = 256
    Wed May 17 12:14:19 2006 us=186796 client_cert_not_required = DISABLED
    Wed May 17 12:14:19 2006 us=186811 username_as_common_name = DISABLED
    Wed May 17 12:14:19 2006 us=190651 auth_user_pass_verify_script = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=190678 auth_user_pass_verify_script_via_file = DIS
    Wed May 17 12:14:19 2006 us=190693 client = DISABLED
    Wed May 17 12:14:19 2006 us=190709 pull = DISABLED
    Wed May 17 12:14:19 2006 us=190724 auth_user_pass_file = '[UNDEF]'
    Wed May 17 12:14:19 2006 us=190746 OpenVPN 2.0.7 i686-pc-linux [SSL] [LZO] [EPOL
    Wed May 17 12:14:19 2006 us=190830 IMPORTANT: OpenVPN's default port number is n
    ssignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port
    Wed May 17 12:14:19 2006 us=191103 WARNING: file '/etc/openvpn/easy-rsa/keys/key
    Wed May 17 12:14:19 2006 us=191210 Static Encrypt: Cipher 'BF-CBC' initialized w
    Wed May 17 12:14:19 2006 us=191236 Static Encrypt: Using 160 bit message hash 'S
    Wed May 17 12:14:19 2006 us=191322 Static Decrypt: Cipher 'BF-CBC' initialized w
    Wed May 17 12:14:19 2006 us=191337 Static Decrypt: Using 160 bit message hash 'S
    Wed May 17 12:14:19 2006 us=193749 TUN/TAP device tun0 opened
    Wed May 17 12:14:19 2006 us=193825 TUN/TAP TX queue length set to 100
    Wed May 17 12:14:19 2006 us=193864 /sbin/ifconfig tun0 10.8.0.3 pointopoint 10.8
    Wed May 17 12:14:19 2006 us=197950 ./rotas.up tun0 1500 1544 10.8.0.3 10.8.0.1 i
    sh: ./rotas.up: Arquivo ou diretório não encontrado
    Wed May 17 12:14:19 2006 us=200272 script failed: could not execute shell comman
    Wed May 17 12:14:19 2006 us=200303 Exiting


    Obrigado atencipadamente
    Chico

  2. #2
    fjacunha
    Aee Galera o problema estava no rotas.up
    foi só colocar rotas-up.sh
    que o bicho fussu de primeira...

    Abraços

    Chico






Tópicos Similares

  1. Problema ao levantar daemon snmpd
    Por aspenbr no fórum Servidores de Rede
    Respostas: 0
    Último Post: 30-04-2007, 17:39
  2. Problemas ao levantar Heartbeat no Conectiva 10
    Por Gilberto Russo no fórum Servidores de Rede
    Respostas: 1
    Último Post: 15-07-2004, 15:38
  3. QMAIL URGENTE - Problemas ao enviar e-mails
    Por chelio no fórum Servidores de Rede
    Respostas: 1
    Último Post: 21-08-2002, 10:05
  4. QMAIL URGENTE - Problemas ao enviar e-mails
    Por chelio no fórum Servidores de Rede
    Respostas: 0
    Último Post: 21-08-2002, 10:00
  5. Problemas ao adicionar o samba ao dominio nt
    Por clmr no fórum Servidores de Rede
    Respostas: 0
    Último Post: 23-04-2002, 10:31

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L