Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: dadoudidon on September 13, 2007, 04:50:15 PM

Title: [SOLVED] Ventrilo Problem with sudoers file
Post by: dadoudidon on September 13, 2007, 04:50:15 PM
Hello,
I just finished to install ventrilo on my sme 7.2.
The service start but impossible to connect to the server.
"Unable to connect to server"
I have check the ventrilo logs
and:
Code: [Select]
....
007-09-13 16:21:31.175715500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:32.459147500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:33.739817500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:34.997470500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:36.341239500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:37.628826500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:38.914488500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:40.195286500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:41.546774500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:42.981472500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:44.266114500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:45.549840500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:46.831476500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:48.180134500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:49.428782500 root is not in the sudoers file.  This incident will be reported.
....

I did the install following the Howto in the wiki

Thanks in advance for your help

David
Title: Re: Ventrilo Problem
Post by: Daniel B. on September 13, 2007, 04:59:10 PM
Your root user is not in the sudoers file (/etc/sudoers). This file controle who has the permission to run commands with sudo. Create a custom template:

Code: [Select]
mkdir -p /etc/e-smith/templates-custom/etc/sudoers
vim /etc/e-smith/templates-custom/etc/sudoers/10root

and put this into it:

Code: [Select]
root    ALL=(ALL) ALL
then expand the templates:

Code: [Select]
expand-template /etc/sudoers
and try to restart your service
Title: Re: [SOLVED] Ventrilo Problem with sudoers file
Post by: dadoudidon on September 13, 2007, 05:15:12 PM
Thanks
that was the trick
David