Koozali.org: home of the SME Server

signal-event & db: command not found

Offline dkvnk

  • *
  • 6
  • +0/-0
signal-event & db: command not found
« on: June 08, 2015, 05:26:28 AM »
help,

i've been trying to enable repo8 on my sme server 9 by instructions on http://wiki.contribs.org/SME9.0_Contribs_QA#Setup

but signal-event & db command is always return :command not found

guest22

Re: signal-event & db: command not found
« Reply #1 on: June 08, 2015, 06:57:58 AM »

Hi and welcome,

your issue indicates that you have done some more then just follow the documentation. You path environment is likely not correct.


That by itself will remain a problem.


Tell us a bit about the history of you installation pls.

Offline dkvnk

  • *
  • 6
  • +0/-0
Re: signal-event & db: command not found
« Reply #2 on: June 08, 2015, 07:12:19 AM »
Hi, Thanks for reply

This I have done

Code: [Select]
[root@server-sme1 e-smith]# db yum_repositories show sme8contribs
bash: db: command not found
[root@server-sme1 e-smith]# db yum_repositories set sme8contribs repository \
> Name 'SME 8 - contribs' \
> MirrorList 'http://mirrorlist.contribs.org/mirrorlist/smecontribs-8' \
> GPGCheck yes \
> Visible no \
> status disabled
bash: db: command not found
[root@server-sme1 e-smith]# signal-event yum-modify
bash: signal-event: command not found

guest22

Re: signal-event & db: command not found
« Reply #3 on: June 08, 2015, 07:15:44 AM »
Again, your path variable is not correct. The firts command you give shows that already. You need to fix that.


What have you done _before_ trying to enable this repo. What is the history of this server and what contribs did you install?

Offline dkvnk

  • *
  • 6
  • +0/-0
Re: signal-event & db: command not found
« Reply #4 on: June 08, 2015, 07:42:41 AM »
its a fresh install sme 9 & i've hasn't install nothing,

i'll figure it and try search google, still learn sme.. its my first install and i dont know what i must change about path variable

thanks.

guest22

Re: signal-event & db: command not found
« Reply #5 on: June 08, 2015, 07:45:21 AM »
something must have gone wrong somewhere....


Anyway, to get you going, pls use '/sbin/e-smith/db' instead of just 'db'

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: signal-event & db: command not found
« Reply #6 on: June 08, 2015, 10:51:57 AM »
something must have gone wrong somewhere....


Anyway, to get you going, pls use '/sbin/e-smith/db' instead of just 'db'

I agree..
this should be investigated as it should not happen

Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: signal-event & db: command not found
« Reply #7 on: June 08, 2015, 12:24:30 PM »
How are you getting to the root prompt?  Are you logging in directly as root, or are you logging in as another user and then using su?  If you're using su, you need to do 'su -'. otherwise it won't read root's environment, which will result in what you're seeing here.
......

guest22

Re: signal-event & db: command not found
« Reply #8 on: June 08, 2015, 12:26:08 PM »
How are you getting to the root prompt?  Are you logging in directly as root, or are you logging in as another user and then using su?  If you're using su, you need to do 'su -'. otherwise it won't read root's environment, which will result in what you're seeing here.


This tip is going to the quarter finals! ;-)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: signal-event & db: command not found
« Reply #9 on: June 08, 2015, 12:35:00 PM »
we should/could use motd file (/etc/motd) and the "PrintMotd yes" flag in /etc/sshd/sshd_config to give some useful info to user login in console


guest22

Re: signal-event & db: command not found
« Reply #10 on: June 08, 2015, 12:53:51 PM »
we should/could use motd file (/etc/motd) and the "PrintMotd yes" flag in /etc/sshd/sshd_config to give some useful info to user login in console


Agree, can you open a new bug for this pls?

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: signal-event & db: command not found
« Reply #11 on: June 08, 2015, 03:43:16 PM »
we should/could use motd file (/etc/motd) and the "PrintMotd yes" flag in /etc/sshd/sshd_config to give some useful info to user login in console

And if you are a really lucky boy and tell me roughly how to do it I'll do you a patch :-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: signal-event & db: command not found
« Reply #12 on: June 09, 2015, 09:58:48 AM »
give me some time, I'll post in bugzilla, stay tuned

Offline dkvnk

  • *
  • 6
  • +0/-0
Re: signal-event & db: command not found
« Reply #13 on: June 09, 2015, 10:05:16 AM »
something must have gone wrong somewhere....


Anyway, to get you going, pls use '/sbin/e-smith/db' instead of just 'db'
thanks, its work... but i will always use by path /sbin/e-simth/.. instead simple command

How are you getting to the root prompt?  Are you logging in directly as root, or are you logging in as another user and then using su?  If you're using su, you need to do 'su -'. otherwise it won't read root's environment, which will result in what you're seeing here.
Hi.. i've try without 'su' before, and when i try with su permision its same
every command must type with path

going back to sme 8, i'm curious and then fresh install.. again the command must type with patch /sbin/e-smith, but installing addon is easy than sme 9 (for me  :D)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: signal-event & db: command not found
« Reply #14 on: June 09, 2015, 10:07:31 AM »
no..

if you login with a "normal" user, you must use
Code: [Select]
su -

not only
Code: [Select]
su

try and let us know