Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: output on ./services  (Read 8146 times)

0 Members and 1 Guest are viewing this topic.

mooncup

  • Contributor
  • *
  • Offline Offline
  • Posts: 65
output on ./services
« on: April 19, 2009, 06:57:05 PM »

When you type ./services it'd be nice if something like "Anope starting..." was echoed to the command line or something, cause it's actually impossible to know if services started if they don't link without going into debug etc.


Yes chaz I posted it all by myself, happy now? D:
Logged

Amanda Folson

  • Anope User
  • Offline Offline
  • Posts: 164
  • O_O
    • ZomgIRC
Re: output on ./services
« Reply #1 on: April 19, 2009, 07:07:37 PM »

Well, not impossible...you just have to check the log files :P

However I like how Unreal tells you it's starting and where it fails. That would be nice for Anope. :)
Logged

mooncup

  • Contributor
  • *
  • Offline Offline
  • Posts: 65
Re: output on ./services
« Reply #2 on: April 19, 2009, 07:10:03 PM »

Exactly ^_^
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: output on ./services
« Reply #3 on: April 19, 2009, 07:16:28 PM »

As part of the bigger picture we should look to try and bring the most obvious of errors back to the user without them needing to decipher what can be at times be confusing entries such as "read error: success" :)

I think it's a useful idea but by no stretch a priority.
Logged

Amanda Folson

  • Anope User
  • Offline Offline
  • Posts: 164
  • O_O
    • ZomgIRC
Re: output on ./services
« Reply #4 on: April 19, 2009, 07:21:02 PM »

That's by far my favorite error. I vote to leave it just for the lulz value.

But yes, Unreal tells you in obvious terms what you've missed. It would be far easier than trying to have people find log files. Or perhaps it could point them to the log files?
Logged

mooncup

  • Contributor
  • *
  • Offline Offline
  • Posts: 65
Re: output on ./services
« Reply #5 on: April 19, 2009, 07:23:27 PM »

No reason not to print them to the screen, it'd save a lot of messing about and I expect reduce the amount of people who need support.

Maybe we should have a quiz too... :3
Logged

Amanda Folson

  • Anope User
  • Offline Offline
  • Posts: 164
  • O_O
    • ZomgIRC
Re: output on ./services
« Reply #6 on: April 19, 2009, 07:25:43 PM »

Screw that :P

And I mean let's say it can't determine exactly what's wrong...then it prints the log dir and tells them to go fish. ^_^
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: output on ./services
« Reply #7 on: April 19, 2009, 07:26:23 PM »

It would be useful to print the build version etc similar to that at the top of the logfile and any bomb proof errors (mind you, we already cover some of them, ircdmodule,sra etc)
Logged

mooncup

  • Contributor
  • *
  • Offline Offline
  • Posts: 65
Re: output on ./services
« Reply #8 on: April 19, 2009, 07:27:20 PM »

Exactly,

if error = link blocks don't match echo that

else if error = other common error echo that

else echo read the log file and if you can't work it out then go ask anope support
Logged

Eric Davis

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 9
Re: output on ./services
« Reply #9 on: April 22, 2009, 03:49:19 PM »

 All Unreal really does is show you a few lines of the ircd.log when running ./unreal start.
Logged

zEkE

  • Anope User
  • Offline Offline
  • Posts: 34
Re: output on ./services
« Reply #10 on: April 23, 2009, 12:37:00 AM »

If there are config errors it prints those as well, outside of the ircd.log.
Logged

ShawnSmith

  • Anope User
  • Offline Offline
  • Posts: 46
Re: output on ./services
« Reply #11 on: April 23, 2009, 12:39:19 AM »

If you use ./anoperc instead of ./services it gives you output
Logged

Amanda Folson

  • Anope User
  • Offline Offline
  • Posts: 164
  • O_O
    • ZomgIRC
Re: output on ./services
« Reply #12 on: April 23, 2009, 12:45:32 AM »

Not everyone knows about that though - in fact the help docs say to use ./services
Logged
Pages: [1]   Go Up