|
[SMS] - Superb Mini Server Project Support Forum |
|
|
|
View previous topic :: View next topic |
Author |
Message |
CbIP Junior Member
Joined: 21 Aug 2010 Posts: 2
|
Posted: Sat Aug 21, 2010 9:12 am Post subject: Gadmin-samba installation problem + Samba question |
|
|
Hi all! Today I tried to install Gadmin-samba (GSAMBA) and install script sent me a message:
Code: | root@CbIP-server:~/gadmin/gadmin-samba-0.2.9# ./Autoinstall
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for OS type... Linux (i686-pc-linux-gnu) found.
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/root/gadmin/gadmin-samba-0.2.9':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
|
How to fix this error? I'd like to use not only GPROFTPD, but also GSAMBA and GHTTPD
Also, please help me with Samba-configuration:
Code: | [global]
log file = /var/log/samba.%m
netbios name = CbIP-samba
ldap ssl = No
restrict anonymous = no
max protocol = NT1
server string = CbIP Samba Server
default = CbIP server
acl compatibility = winnt
workgroup = WORKGROUP
os level = 20
server signing = Auto
domain master = no
public = yes
preferred master = no
max log size = 50
wins support = true
[rootfs]
browseable = no
writeable = yes
path = /
write list = CbIP,root
valid users = CbIP,root
user = CbIP,root
|
Yes, I need an accesss to /, but when I try to connect to 'rootfs' share using 'CbIP' or 'root' logins and passwords, my Windows 7 says 'incorrect password' |
|
Back to top |
|
CbIP Junior Member
Joined: 21 Aug 2010 Posts: 2
|
Posted: Sat Aug 21, 2010 9:37 am Post subject: |
|
|
Wow! Just got this error while MySQL startup:
Code: | [ERROR] Fatal error: Can't open and lock privilege tables: Incorrect key file for table 'user'; try to repair it
|
How to fix it too? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Aug 21, 2010 12:40 pm Post subject: |
|
|
Quote: | configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details. |
You need to install development packages (devel series) or at least gcc package.
Assuming users exists and passwords are set use
Code: | [rootfs]
read only = no
path = /
write list = CbIP,root
valid users = CbIP,root
user = CbIP,root |
And add "Security = user"
But you never get CbIP user to access / only /home/CbIP.
Quote: | [ERROR] Fatal error: Can't open and lock privilege tables: Incorrect key file for table 'user'; try to repair it |
You need to rename in /var/lib/mysql/mysql/ user.MYI.new and user.MYD.new and grant/create users again if you add anyone or downgrade your mysql to 5.1.48.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|
SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional
|
|
|
|