LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-13-2008, 12:36 AM   #1
hwhere
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Rep: Reputation: 0
Samba server won't run anymore


Hello,

I have a mandriva linux running a samba server for over a year, suddenly the server won't start anymore. I tried everything from updating the samba server to checking the log file. Here is the exact issue.

when I run /sbin/service smb restart
the SMB is unable to stop NMB is able to stop
SMB Failed to start NMB started fine.


here is the exact message I get on the screen.

"Starting SMB services: /bin/bash: line 1: 28419 File size limit exceeded(core dumped) smbd -D [FAILED]"

I'd appriciate any advice.

Thank You so much,
AJ
 
Old 09-13-2008, 12:52 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What type of filesystem is this on?
 
Old 09-13-2008, 01:05 AM   #3
hwhere
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Hello,

It's a 400GB hard drive I believe running NTFS.

Thank You,
Aj
 
Old 09-13-2008, 01:16 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
NTFS as in windows file system?
 
Old 09-13-2008, 07:50 PM   #5
hwhere
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry I'm not positive what file system is it. I know there is linux installed.

Thanks
AJ
 
Old 09-13-2008, 08:02 PM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Try typing

fdisk -l

in a terminal and tell us what you get back
 
Old 09-14-2008, 07:33 PM   #7
hwhere
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Here is a print out what the file system is. Thank you for all the help

Aj
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 7 56196 6 FAT16
/dev/sda2 * 8 2598 20812207+ 7 HPFS/NTFS
/dev/sda3 60396 60801 3261195 db CP/M / CTOS / ...
/dev/sda4 2599 60395 464254402+ 5 Extended
/dev/sda5 2599 60395 464254371 83 Linux

Partition table entries are not in disk order
[root@dslhw-build samba]#
 
Old 09-14-2008, 08:01 PM   #8
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Now we need to see smb.conf. It is located in /etc/samba.

What is that sda3 partition? What do you use it for? Are you really running a cp/m operating system?

Last edited by jiml8; 09-14-2008 at 08:04 PM.
 
Old 09-14-2008, 08:06 PM   #9
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
And the output of

mount
 
Old 09-14-2008, 08:49 PM   #10
hwhere
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Hi,

I'm not sure what the sd3 partiontion is, yes I've confirmed that the smb.conf is in the right directory.

output of mount

/dev/sda5 on / type ext3 (rw)
none on /proc type proc (rw)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--)
/dev/sda1 on /mnt/win_ type vfat (rw,umask=0022,iocharset=utf8)
/dev/sda3 on /mnt/win_2 type vfat (rw,umask=0022,iocharset=utf8)
/dev/sda2 on /mnt/win_c type ntfs (ro,umask=0022,nls=utf8)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)


Thanks
AJ
 
Old 09-14-2008, 08:53 PM   #11
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by jiml8 View Post
Now we need to see smb.conf. It is located in /etc/samba.

What is that sda3 partition? What do you use it for? Are you really running a cp/m operating system?
Not see that smb.conf is in /etc/samba, but to see a copy of smb.conf that is in /etc/samba (ie, post it here)
 
Old 09-14-2008, 08:59 PM   #12
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
There is a problem with the partition table. sda3 is being called vfat by mount but has type db (cp/m usually) from fdisk. A vfat partition should be type 4, 5, 6(typically), b, c, or e.

Also, the question then is whether that partition is supposed to be FAT16 or FAT32.

I suppose this could be the problem, but the first thing to see is what is in smb.conf.
 
Old 09-14-2008, 11:41 PM   #13
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
try this

Quote:
ulimit -cdf unlimited
then try to start your samba.
 
Old 09-15-2008, 01:12 AM   #14
hwhere
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Here is the smb.conf Thanks
Aj

# from localhost.localdomain (127.0.0.1)
# Date: 2002/09/18 18:09:52

# Global parameters
[global]
workgroup = DEMO
netbios name = DEMO-BUILD
server string = Samba Server %v %h
interfaces = eth1
max log size = 0
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
printcap name = lpstat
os level = 0
preferred master = no
domain master = no
dns proxy = no
wins server = 10.5.2.1
guest account = adm
restrict anonymous = no
max protocol = NT
acl compatibility = winnt
ldap ssl = No
server signing = Auto
map to guest = Bad User
guest ok = yes

[opt]
path = /opt
read only = No
browseable = YES

[aj]
path = /home/aj
read only = No

[root]
path = /
read only = No

[tftpboot]
path = /tftpboot
read only = No
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware cannot run anymore sigkill Linux - Software 2 01-31-2008 08:29 AM
Cannot run startx anymore... nav1406 Linux - Newbie 2 08-24-2006 01:44 AM
I Can see my samba server in windows when I run net view but can't connect to it. linguizic Linux - Networking 1 02-01-2005 05:43 PM
Help! I can't run Firefox anymore GadgetMan Red Hat 0 11-18-2004 02:03 PM
Should I run samba server from xinetd or standalone? system Linux - Networking 0 12-19-2001 07:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration