Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: When installing  (Read 663 times)

0 Members and 1 Guest are viewing this topic.

Joel

  • Anope User
  • Offline Offline
  • Posts: 7
When installing
« on: March 28, 2020, 05:55:23 PM »

When installing ./Config

it´s normal?

-- Looking for socket in socket
-- Looking for socket in socket - not found
-- Looking for inet_addr in nsl
-- Looking for inet_addr in nsl - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for cstdint
-- Looking for cstdint - not found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for stricmp
-- Looking for stricmp - not found
-- Looking for umask
-- Looking for umask - found
-- Looking for epoll_wait
-- Looking for epoll_wait - found
-- Looking for poll
-- Looking for poll - found
-- Looking for kqueue
-- Looking for kqueue - not found

E ao iniciar os serviços

[Mar 28 17:37:19 2020] SERVER: services.mssxl.pt (Services for MSSXL Networks) has connected to the network (uplinked to no uplink)
[Mar 28 17:37:19 2020] Anope 2.0.7 starting up
[Mar 28 17:37:19 2020] Unable to initialize languages, gettext is not installed
[Mar 28 17:37:19 2020] Loading modules...
[Mar 28 17:37:19 2020] lib/modules/rede-irc.so: cannot open shared object file: No such file or directory
[Mar 28 17:37:20 2020] lib/modules/m_mysql.so: cannot open shared object file: No such file or directory
[Mar 28 17:37:20 2020] lib/modules/m_ssl_gnutls.so: cannot open shared object file: No such file or directory
[Mar 28 17:37:20 2020] lib/modules/m_chanstats.so: cannot open shared object file: No such file or directory
[Mar 28 17:37:20 2020] lib/modules/cs_fantasy_stats.so: cannot open shared object file: No such file or directory
[Mar 28 17:37:20 2020] lib/modules/cs_fantasy_top.so: cannot open shared object file: No such file or directory
[Mar 28 17:37:20 2020] Using IRCd protocol unreal4
[Mar 28 17:37:20 2020] Loading databases...
[Mar 28 17:37:20 2020] Databases loaded
[Mar 28 17:37:20 2020] Unable to connect to uplink #1 (144.91.102.216:7023): Unable to bind to address: Invalid argument
[Mar 28 17:37:20 2020] Unable to connect to uplink #1 (144.91.102.216:7023)
[Mar 28 17:37:20 2020] Unable to connect to uplink #1 (144.91.102.216:7023)
[Mar 28 17:37:20 2020] Check that you are not connecting Anope to an SSL enabled port without configuring SSL in Anope (or vice versa)
[Mar 28 17:37:20 2020] Unable to connect to any uplink

help-me :'(
Logged

Lord255

  • Anope User
  • Offline Offline
  • Posts: 67
Re: When installing
« Reply #1 on: March 28, 2020, 09:20:44 PM »

did you enable the extra modules via ./extras ?
did you recompile anope after it?

your uplink or link block is wrong. also i would recommend to check your listen block too.
Logged

Joel

  • Anope User
  • Offline Offline
  • Posts: 7
Re: When installing
« Reply #2 on: March 28, 2020, 10:01:55 PM »

do I have to activate in ./Config? right and how?
Logged

Lord255

  • Anope User
  • Offline Offline
  • Posts: 67
Re: When installing
« Reply #3 on: March 29, 2020, 12:03:39 AM »

first activate them via ./extras
see: https://wiki.anope.org/index.php/2.0/Modules#Extra_Modules
then you need to re-compile anope.

simple ./config and the rest will be enough. (no extra params needed)
Logged

Joel

  • Anope User
  • Offline Offline
  • Posts: 7
Re: When installing
« Reply #4 on: March 29, 2020, 05:39:40 PM »

Enabling m_regex_pcre.cpp ...
m_ldap.cpp                = disabled
m_ldap_authentication.cpp = disabled
m_ldap_oper.cpp           = disabled
m_mysql.cpp               = disabled
m_regex_pcre.cpp          = enabled
m_regex_posix.cpp         = enabled
m_regex_tre.cpp           = enabled
m_sql_authentication.cpp  = disabled
m_sql_log.cpp             = disabled
m_sql_oper.cpp            = disabled
m_sqlite.cpp              = disabled
m_ssl_gnutls.cpp          = disabled
m_ssl_openssl.cpp         = enabled
stats                     = enabled

Please enter the name of the module or type 'q' to quit.: q
CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:9 (cmake_policy):
  The OLD behavior for policy CMP0007 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Error at cmake/Anope.cmake:411 (message):
  /home/rede-irc/MSSXLservices/modules/m_regex_pcre.cpp needs header file
  pcre.h but we were unable to locate that header file! Check that the header
  file is within the search path of your OS.
Call Stack (most recent call first):
  modules/CMakeLists.txt:29 (calculate_depends)
  modules/CMakeLists.txt:169 (build_modules)


-- Configuring incomplete, errors occurred!
See also "/home/rede-irc/MSSXLservices/build/CMakeFiles/CMakeOutput.log".
See also "/home/rede-irc/MSSXLservices/build/CMakeFiles/CMakeError.log".

Now cd build, then run make to build Anope.

rede-irc@mail:~/MSSXLservices$ make
make: *** No targets specified and no makefile found.  Stop.
rede-irc@mail:~/MSSXLservices$ cd build
rede-irc@mail:~/MSSXLservices/build$ make
CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:9 (cmake_policy):
  The OLD behavior for policy CMP0007 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Error at cmake/Anope.cmake:411 (message):
  /home/rede-irc/MSSXLservices/modules/m_regex_pcre.cpp needs header file
  pcre.h but we were unable to locate that header file! Check that the header
  file is within the search path of your OS.
Call Stack (most recent call first):
  modules/CMakeLists.txt:29 (calculate_depends)
  modules/CMakeLists.txt:169 (build_modules)


-- Configuring incomplete, errors occurred!
See also "/home/rede-irc/MSSXLservices/build/CMakeFiles/CMakeOutput.log".
See also "/home/rede-irc/MSSXLservices/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:2418: cmake_check_build_system] Error 1

I'm not getting
Logged

Lord255

  • Anope User
  • Offline Offline
  • Posts: 67
Re: When installing
« Reply #5 on: March 29, 2020, 10:26:32 PM »

why did you enable lots of modules?
you needed the openssl one, not the rest.
all the error messages because of the rest.

-------------------------------
seems you are Flacc from irc.
according to you are over the enable ssl though. now you need to check your configs.
unreal -> listen and link block
anope -> uplink block

also: check the ip addresses.
you need to know what is the difference between bind-ip, listen ip, incoming, outgoing.. these words should be clear, unless you are guessing around.

--------------
also.. on irc you mentioned you use LE cert.. why for? i mean.. you seems quite new to this and so you need to do everything step-by-step!
this means: 1st link without ssl, then try to move on to ssl but with self signed and then move to LE certs.
in case you want everything at once, you will never learn
Logged

Joel

  • Anope User
  • Offline Offline
  • Posts: 7
Re: When installing
« Reply #6 on: March 29, 2020, 10:34:52 PM »

I already liked three servers among them by tls only the services I'm not getting

I've used unerealircd3.2 ... and ircservices a few years ago but I haven't used it for a long time and I'm trying to get back could it help?


Anope 2.0.7, build #4, compiled 20:40:42 Mar 29 2020
Using configuration file conf/services.conf
Unable to connect to uplink #1 (IP:7023): Unable to bind to address: Invalid argument
Unable to connect to uplink #1 (IP:7023)
Unable to connect to uplink #1 (IP:7023)
Check that you are not connecting Anope to an SSL enabled port without configuring SSL in Anope (or vice versa)

Unfortunately it seems Anope did not start successfully
Logged
Pages: [1]   Go Up