Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: neofax on June 15, 2008, 02:30:37 am
-
I installed ebox on an Ubuntu Hardy Heron system and am getting "open: permission denied" when the postinst scripts are running. It also happens on boot and shutdown. How do I fix this? Thanks!
-
I am afraid that we need more information to try to troubleshoot this:
- Have you installed via apt-get or with the CD-installer?
- Can you be more specific about the 'failed to open' message? which other messages are reported before and after this one?
- Can you give a look to syslog (/var/log/syslog) and ebox logs (/var/log/ebox/ebox.log) to search for any clue?
-
1. I installed via the apt repo for hardy heron
2. It only shows the normal boot info, such as Starting Samba [OK]; open: Permission denied; Starting NTP [OK]
3. Here is the only line that has an error in the ebox log:
2008/06/05 20:43:49 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root command /sbin/ip route del default table default failed.
Error output: RTNETLINK answers: No such process
Command output: .
Exit value: 2
So, this leads me to believe what I expected all along. The line in /etc/sudoers is jacked. Here is my /etc/sudoers file:
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=NOPASSWD: ALL
# Entries for Smb4K users.
# Generated by Smb4K. Please do not modify!
User_Alias SMB4KUSERS = terry
Defaults:SMB4KUSERS env_keep += "PASSWD USER"
SMB4KUSERS CENTAURI = NOPASSWD: /usr/bin/smb4k_kill
SMB4KUSERS CENTAURI = NOPASSWD: /usr/bin/smb4k_umount
SMB4KUSERS CENTAURI = NOPASSWD: /usr/bin/smb4k_mount
# End of Smb4K user entries.
#<ebox>
# DO NOT MODIFY ANYTHING BETWEEN THESE MARKS.
# EBOX WILL OVERWRITE IT.
# sudoers file for ebox
# Allow httpd user to execute all commands
ebox ALL = NOPASSWD:ALL
#</ebox>
I do not see anything that could be causing the problem, but smb4k does not work correctly with sudo as well.
-
bump :P