Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 3rd August 2008, 11:44
tal56 tal56 is offline
Member
 
Join Date: Oct 2007
Posts: 91
Thanks: 11
Thanked 2 Times in 2 Posts
Default

Well I think I resolved this, but I think it's a but that either needs to be fixed with ispconfig or an addition to the perfect install howto for Cento 5.x

By default the "requiretty" option should be OFF, but in a Centos 5 install, it is set to ON, so I had to comment out the line to change back to it's default of OFF.

Now my stats are working fine, however I still get lines like below each time someone checks stats on ispconfig. Is there anyway to set the TTY, so we don't get these errors?


Quote:
Aug 3 05:38:20 server1 sudo: admispconfig : TTY=unknown ; PWD=/home/admispconfig/ispconfig/web/multidoc/edit ; USER=root ; COMMAND=/usr/bin/du -h --max-depth=1 /var/www/web9
Reply With Quote
Sponsored Links
  #12  
Old 3rd August 2008, 11:51
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,175
Thanks: 829
Thanked 5,412 Times in 4,255 Posts
Default

This seems to be a centos only problem. We can add a note to the perfect setup. This is nothing that can be fixed or changed in ISPConfig itself.

Quote:
Now my stats are working fine, however I still get lines like below each time someone checks stats on ispconfig. Is there anyway to set the TTY, so we don't get these errors?
No, as the user admispconfig is not logged in and so he has no tty.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 3rd August 2008, 11:53
tal56 tal56 is offline
Member
 
Join Date: Oct 2007
Posts: 91
Thanks: 11
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by till View Post
This seems to be a centos only problem. We can add a note to the perfect setup. This is nothing that can be fixed or changed in ISPConfig itself.



No, as the user admispconfig is not logged in and so he has no tty.
Well thats ok, I'm just glad It should help those after me
Reply With Quote
The Following User Says Thank You to tal56 For This Useful Post:
till (3rd August 2008)
  #14  
Old 3rd August 2008, 12:02
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,175
Thanks: 829
Thanked 5,412 Times in 4,255 Posts
Default

Thank you for finding a solution for the problem
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #15  
Old 10th December 2008, 12:56
jbravo jbravo is offline
Member
 
Join Date: Nov 2007
Location: Poland
Posts: 81
Thanks: 12
Thanked 3 Times in 2 Posts
 
Lightbulb

Quote:
Please also note it is advisable to check if the requiretty option is set. This is done as follows

# grep requiretty /etc/sudoers
Defaults requiretty

Using the visudo command comment it out like so. Please note the first # indicates root prompt, the second line # indicates the comment
Above action should do the trick

On my SLES10SP2 default config worked without above modification.
__________________
--
GreetZ .:JbRaVo:.
ISPConfig 3.0.5.2 @ mail&web @ RHEL6.4,
ISPConfig 2.2.29@mailsrv & 2.2.38@websrv @ SLES10SP4

Last edited by jbravo; 10th December 2008 at 12:59.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
debian etch courier pop3 issue docean Installation/Configuration 6 20th March 2008 15:38
Installation Troubles bswinnerton Installation/Configuration 4 29th July 2007 16:56
Traffic Statistics Not Working tsj5j Installation/Configuration 11 21st February 2007 22:38
Mail statistics seem wrong hairydog2 General 4 19th January 2006 23:57
Webalizer - Usage by Country statistics leno Installation/Configuration 3 28th April 2005 18:12


All times are GMT +2. The time now is 16:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.