Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Can't open services.conf: No such file or directory  (Read 4834 times)

0 Members and 1 Guest are viewing this topic.

Nishchay Shah

  • Anope User
  • Offline Offline
  • Posts: 1
Can't open services.conf: No such file or directory
« on: March 19, 2014, 08:25:51 PM »

Yes, I did use the "search" and No it did not help me find the answer.

Now to the problem:
First, I couldn't start anope with ./services because there is no executable named services in the root directory. Scouring on the internet, I came across a thread from 2004 that apparently it should be ./src/services and that seems to be the right one because it throws the following error:

Code: [Select]
0 ✓ ip-10-73-212-234 ~/anope-1.8.9 $ pwd
/root/anope-1.8.9
0 ✓ ip-10-73-212-234 ~/anope-1.8.9 $ ./src/services
WARNING: You are currently running Anope as the root superuser. Anope does not
    require root privileges to run, and it is discouraged that you run Anope
    as the root superuser.
Can't open services.conf: No such file or directory
255 ✗ ip-10-73-212-234 ~/anope-1.8.9 $ ls -l data/services.conf
-rwxrwxrwx 1 root root 56897 Mar 19 20:07 data/services.conf
0 ✓ ip-10-73-212-234 ~/anope-1.8.9 $ find . | grep log
./version.log.old
./version.log
./src/log.c
./src/log.o
./src/core/os_logonnews.c
./src/core/ns_logout.s
./src/core/cs_logout.o
./src/core/os_logonnews.so
./src/core/os_logonnews.o
./src/core/cs_logout.c
./src/core/ns_logout.o
./src/core/cs_logout.so
./src/core/ns_logout.so
./src/core/os_logonnews.s
./src/core/cs_logout.s
./src/core/ns_logout.c
./config.log
0 ✓ ip-10-73-212-234 ~/anope-1.8.9 $

The threads that I found using the search:
https://forum.anope.org/index.php?topic=3729.msg20063#msg20063 says to create a services.conf but doesn't specify the location, doesn't help.
https://forum.anope.org/index.php?topic=1826.msg10022#msg10022 says to move it to data folder. It is already moved to data folder, doesn't work.


Also, where are the logs stored ?
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Can't open services.conf: No such file or directory
« Reply #1 on: March 19, 2014, 08:27:27 PM »

You are supposed to 'make install' and then run services from there.
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: Can't open services.conf: No such file or directory
« Reply #2 on: March 19, 2014, 09:51:27 PM »

You are also supposed to run anope as a regular user, not root as the warning advises. This is to protect your system in the unlikely event anope becomes subject to an exploit. Anope does not need root access, therefore should never be run as root.

Running applications of any kind that do not explicitly require root access should never be run as root. This is a general system security measure and is not related to IRC at all.
Logged
Pages: [1]   Go Up