On Fri, Aug 13, 2010 at 11:57:22AM +0100, James Hogarth wrote:
And yes I'd suggest fetchmail scripted to do this (given it is a one
off)
Or fetchmail plus procmail to get it to the proper place.
Whit
___
CentOS mailing list
CentOS@centos.org
On Thu, Aug 12, 2010 at 02:26:00PM -0700, Don Krause wrote:
http://www.xs4all.nl/~carlo17/howto/undelete_ext3.html
That's an excellent little program. It can take some mucking about to find
the invocation that will save a particular file or set of files, but it
often can get the job done. It's
On Tue, Aug 10, 2010 at 04:30:16PM -0400, Bob Hoffman wrote:
I am interested in doing a number of security ideas to the firewall,
iptables, on my webserver. If you have a program you would suggest or
believe iptables is the proper solution, please feel free to post that.
For a set of useful
On Tue, Aug 10, 2010 at 07:12:59PM -0400, Bob Hoffman wrote:
I have a server sitting right on the net and the constant barrage of 100s of
Ips trying thousands of times at port 22 is insane.
You're quite sane. Anyone likely to hit your ssh at its new port is likely
to try port 22 first. So if
On Mon, Aug 09, 2010 at 01:06:15PM -0500, Dan Burkland wrote:
I have been tasked with fixing one of our CentOS boxes by somehow
downgrading the libgcc and gcc packages to a specific version (Required by
the Oracle Grid Control client). Normally I'd just remove and reinstall
the packages
On Mon, Aug 09, 2010 at 03:17:10PM -0400, Bobby wrote:
I recommend using VirtualBOX from Sun. Close to wire speed, no need to alter
the kernel. Simple and flexible to use.
No need to alter the kernel for KVM either. VirtualBox formerly from Sun has
been gathering bugs since Oracle took over.
On Mon, Aug 09, 2010 at 11:11:59PM +0100, Karanbir Singh wrote:
Do you have some data to back this up ?
Yes. Search for my contributions to the VirtualBox forums and the VirtualBox
bug reporting system. Also check for what experiences others are reporting
there. I'm sure you'll agree it would
On Thu, Aug 05, 2010 at 10:07:33AM -0400, m.r...@5-cent.us wrote:
http://mirror.harvard.edu, not exactly an obscure mirror, and it times
out.
Doesn't look to be a mirror.harvard.edu in DNS.
From yum -d9 update:
yum update runs instantly for me from NYC just now. Yum was working a
half-hour
On Wed, Aug 04, 2010 at 12:56:47PM +0300, Dotan Cohen wrote:
I'm Middle Eastern and I subscribe to the list to search it, not to
ask redundant questions. I'm still a noob and I did recently ask a
question that I could not google, but your generalization is a bit
broad.
I should also note
On Tue, Aug 03, 2010 at 09:10:39AM -0400, Scott Robbins wrote:
There is also the lighter, and at this point, probably less feature-ful
VirtualBox, of course.
VirtualBox works ... until it doesn't. Quality control, in my experience (it
would really take a survey of hundreds of users to be
On Tue, Aug 03, 2010 at 10:13:39AM -0400, Tom H wrote:
Hadi's emails go straight to trash for me but I see responses to his
queries. He regularly posts similar questions to three lists to which
I subscribe:
http://lists.centos.org/pipermail/centos/2010-August/097561.html
On my centos
On Fri, Jul 30, 2010 at 04:11:17PM -0500, Ron Blizzard wrote:
Is there any way to mount an LVM partition from another Linux distribution?
Yes. They all support it. You might have to install a package for it, but
it's been standard for a few years pretty much across the board.
Whit
On Wed, Jul 28, 2010 at 08:51:29PM +, Joseph L. Casale wrote:
When it begins mirroring it, it see's urls like this:
https://10.0.0.61/folder/vm-name/Disc-1-flat.vmdk?dcPath=ha-datacenterdsName=Datastore_2
so the resulting file downloaded is not Disc-1-flat.vmdk, but:
On Mon, Jul 26, 2010 at 11:44:33AM -0400, m.r...@5-cent.us wrote:
Or tell it to boot from it, rather than hitting the hard drive or CD/DVD
first?
BIOSs can be strange here too. Some, you tell 'em to boot from USB, and
they'll obey that just as long as the USB drive is plugged in on each boot.
On Thu, Jul 22, 2010 at 05:09:22PM -0500, David wrote:
Has anyone successfully built a USB key for installing centos5.5 either
manually or using a tool like unetbootin?
Haven't tried it for CentOS, but unetbootin hasn't worked for me for several
other distros. Not once. Not sure why I even
On Thu, Jul 22, 2010 at 05:52:50PM -0500, David wrote:
That is discouraging news.
On the other hand, I've done USB installs of other distros that worked just
fine. But those weren't set up with unetbootin. You could probably get away
with, say, putting System Rescue Disk on a USB key, using that
On Tue, Jul 20, 2010 at 11:10:45AM -0700, Benjamin Franz wrote:
I've seen e2fsck hang on large arrays (terabyte range) before,
particularly if you have lots of hard links. It's a bug in fsck.
I've see that too. Glad it's not just on my systems ... sorta.
Whit
On Sun, Jul 18, 2010 at 07:58:02AM -0700, Mark wrote:
And after that I can't reach the modem or the internet. If I run
ifdown eth0 and then ifup eth0, I get the 192.168.0.100 IP address
back, and I can reach the modem, but not the internet.
What do you see with ip ro ls? Is there a default
On Sun, Jul 18, 2010 at 09:34:06AM -0700, Mark wrote:
What do you see with ip ro ls? Is there a default route?
Yes, but it's going to the router even when the router is not in the loop.
Generally when someone asks What do you see in a computer context, the
right answer is to run the command
On Sun, Jul 18, 2010 at 03:01:32AM +0530, Rajagopal Swaminathan wrote:
On 7/18/10, Jerry Franz jfr...@freerun.com wrote:
Everything you listed is interactive realtime or near-realtime graphics
intensive. A cloud is not really suited to that kind of task to begin
with.
I don't
In using virt-install, and then virt-viewer to create a CentOS 5.5 x64 guest
(in my case for KVM), using the text mode for the install, it failed on me
in a similar way just if I added extra package groups - just stalled. It
went forward successfully if I just went with the standard default at
On Wed, Jul 14, 2010 at 09:51:51AM -0500, Tim Nelson wrote:
Even if the limit were lower, such as 10 physical interfaces as mentioned
before, I have to imagine that the host system would have issues dealing
with the number of interrupts needed to *PROPERLY* service all of those
interfaces in
On Wed, Jul 14, 2010 at 08:52:02AM -0700, Benjamin Franz wrote:
Filed some bug reports, and it was evident from the response that very, very
few Linux users ever go 4 eth's on a system. Thus the lack of properly
debugged IPv6 support for that then. Fortunately I don't (yet) need IPv6.
On Wed, Jul 14, 2010 at 01:47:00PM -0500, David Dyer-Bennet wrote:
I found one BIOS entry, Virtualization technology; it was initially
disabled, but I enabled it before I installed CENTOS, and verified that it
was still enabled later (I reported enabling it in my original message).
I'll
On Sun, Jul 11, 2010 at 05:21:50AM +0800, Emmanuel Noobadmin wrote:
e.g.
System A
eth0 - lan switch/router 1
eth1 - lan switch/router 2
System B
eth0 - lan switch 1
eth1 - lan switch 2
Then somehow specify that, if lan switch 1 fails, the two systems will
switch to using switch 2 so
On Thu, Jul 08, 2010 at 06:35:47PM -0400, Joshua Baker-LePain wrote:
It has been stated many times and on many fora that Red Hat's bugzilla is
not a mechanism for support. They are under no obligation to address
issues raised there. Is it nice when they do? Absolutely.
There are two
On Tue, Jul 06, 2010 at 05:21:36PM -0400, John Hinton wrote:
My point is these 'security metrics' businesses that are paid, generally
by credit card companies, to do these software scans and don't ever do
these most basic checks. Not that my quoted text is the name of one of
these
On Wed, Jun 30, 2010 at 08:47:17AM -0500, Les Mikesell wrote:
Ross Walker wrote:
In my world I have two parts of the file system, one containing OS and
apps that runs short-name standard and the other where the user data
files are contained that uses long names and sometimes unicode names,
On Mon, Jun 28, 2010 at 08:54:49AM -0400, Jim Perrin wrote:
2010/6/28 Tsuyoshi Nagata nagata...@jp.fujitsu.com:
Your answer is just install MySQL5.1 from source code.(make install)
That's a horrible idea. At least use the package management system so
that dependencies can be tracked
On Mon, Jun 28, 2010 at 07:25:59AM -0600, Warren Young wrote:
On 6/25/2010 8:33 AM, Brian Mathis wrote:
- VMware Server seems like it's EOL, even though vmware hasn't
specifically said so yet
Given that there are known serious bugs in 2.0.2[*] and that release is
now 8 months old, that
On Mon, Jun 28, 2010 at 08:58:45AM -0400, Jim Perrin wrote:
On Sat, Jun 26, 2010 at 2:15 PM, Susan Day suzieprogram...@gmail.com wrote:
Hi;
I've got MySQLdb installed (bridge to Python) and I can't figure out how to
upgrade it. I did a find and got these paths:
On Mon, Jun 28, 2010 at 09:49:21AM -0400, Jim Perrin wrote:
It actually counts for probably 20-30% of all the support necessary on
the irc channels with people trying to update php/mysql or similar
from source.
A large part of that problem is that people are asking for support in the
wrong
On Mon, Jun 28, 2010 at 09:06:43AM -0700, John R Pierce wrote:
I second the emotion on VBox, its a nice piece of work.
Read the license carefully, however. Its no longer free for use as a
server in a business environment, only free for 'personal' use. Larry
needs a new boat.
They
On Mon, Jun 28, 2010 at 11:48:48AM -0400, m.r...@5-cent.us wrote:
Les Mikesell wrote:
On Mon, Jun 28, 2010 at 09:49:21AM -0400, Jim Perrin wrote:
No, the fact that your ability to 'yum update' and have the right thing
happen is broken is a big problem regardless of who/where you ask for
On Mon, Jun 28, 2010 at 11:58:14AM -0500, Les Mikesell wrote:
That's why I always thoroughly log all stuff installed by hand, along with
extra configuration steps taken with RPM-installed items, and make sure the
log's someplace where the next person can find it. In our case we maintain
Jane Curry wrote:
I'd try Zenoss. I wrote a big paper comparing Nagios, OpenNMS and
Zenoss (
http://www.skills-1st.co.uk/papers/jane/open_source_mgmt_options.html )
Thanks for sharing that, Jane. Great paper.
On Mon, Jun 21, 2010 at 07:40:10AM -0500, Les Mikesell wrote:
Also OpenNMS
It's getting set from /etc/sysconfig/network-scripts/ifup-eth, line 285 and
following - although I haven't traced out the logic it's using to begin to
say why it's coming to the wrong conclusion in your case.
Whit
On Mon, Jun 21, 2010 at 07:57:13PM -0400, Rick Thomas wrote:
I have a machine
On the other hand, which interface is listed in the /etc/sysconfig/network
file? Is it your desired default?
Whit
On Mon, Jun 21, 2010 at 07:57:13PM -0400, Rick Thomas wrote:
I have a machine with two net interfaces.
it seems to always pick the wrong one (eth1) as the default route.
On Thu, Jun 17, 2010 at 08:22:35PM -0500, John R. Dennison wrote:
Is this vitriol really necessary? I installed ganglia; not a
single conflict.
Why yes, John, it is. The fine man said outright he didn't believe my honest
account, accusing me of making something up when I was only
On Thu, Jun 17, 2010 at 08:10:29PM -0500, John R. Dennison wrote:
On Thu, Jun 17, 2010 at 08:01:02PM -0400, Joshua Baker-LePain wrote:
That being said, it's trivial to recompile the F13 RPM for 3.1.2 for
centos-5.
And that would be the proper route to go instead of building
On Thu, Jun 17, 2010 at 08:19:46PM -0500, John R. Dennison wrote:
I just tried a ganglia install from EPEL; absolutely no issues
at all. Perhaps if you'd bother to actually document these
conflicts one of us might be able to help. That is if we're
still willing.
Now
On Thu, Jun 17, 2010 at 08:19:46PM -0500, John R. Dennison wrote:
If there were a good CentOS build of 3.1.7 I'd happily use it. But getting
stuff from EPEL, which is essentially Redhat testing, is as silly as
mixing
Uh, you've confused EPEL and Fedora apparently.
Hey John,
On Fri, Jun 18, 2010 at 02:29:32PM -0400, m.r...@5-cent.us wrote:
And as others have said, /home, and maybe /opt, should *always* be other
drives, or at least other partitions
Kind of makes you wonder why RH's default install is to shove everything but
boot into one partition these days,
On Fri, Jun 18, 2010 at 02:28:36PM -0700, Florin Andrei wrote:
Fun fact: Postfix-2.3.3 has been released in August 2006. Think about that.
To be fair, RH/CentOS also ships with Sendmail-8.13.8, also from August 2006.
What
a golden month for mail daemons that was.
The door's wide open for
On Sat, Jun 19, 2010 at 03:20:13AM +0100, Karanbir Singh wrote:
But you are still making repeated announcements about packages here - I
dont want to see every repo or development unit out there posting emails
here for feedback about every component they built.
Please keep things in
On Tue, Jun 15, 2010 at 04:07:57PM +0100, Simon Billis wrote:
Take a look at ganglia - http://ganglia.sourceforge.net/
This may do what you need.
It's what I've ended up going with. (Munin also looked promising - if I
could get the syntax right to modify its CPU test for individual cores,
On Fri, Jun 18, 2010 at 12:37:11AM +0100, Karanbir Singh wrote:
On 17/06/2010 23:20, Whit Blauvelt wrote:
- best complied from source, there are big dependency problems with the
available rpms
I find that very hard to believe - to the extent that I don't believe
you at all. Or did you
On Thu, Jun 17, 2010 at 06:51:52PM -0500, John R. Dennison wrote:
Very few packages are ever best compiled from source on an
enterprise distro.
What, specifically, is wrong with the 3.0.7 in EPEL?
Um, that yum install ganglia produces a long list of package conflicts on
a
On Wed, Jun 16, 2010 at 02:28:51AM -0700, John Doe wrote:
I was able to make some plugins without too much problems (even discovered
perl in the process)...
Agreed, it's easy enough to write Nagios plugins. I've done that too.
Then PNP will automaticaly plot these values... but yes, if you
On Wed, Jun 16, 2010 at 08:01:26AM -0500, Les Mikesell wrote:
If have firewalling to protect from security issues, why not just run an
older
version of cacti?
Sensible suggestion. One, it's not obvious where to find an older version.
Two, hours of attempting to get cacti to work have led me
On Tue, Jun 15, 2010 at 03:31:42AM -0700, John Doe wrote:
You could just use PNP and a custom script...
http://docs.pnp4nagios.org/
PNP looks like a great project, when it matures. Someday it will be the
obvious answer, once someone writes a Nagios plugin that captures per-core
CPU load rather
rpmforge has it. For instance
# yum list | grep rrd
...
rrdtool-devel.x86_64 1.4.3-3.el5.rfrpmforge
...
- Whit
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Hi,
Trying to follow the recipe at
http://wiki.centos.org/HowTos/Cacti_on_CentOS_4.x
Which has a bit of an update for 5.x, but no joy.
Anyone know what this from Cacti should suggest?
Data Query Debug Information
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query
On Mon, Jun 14, 2010 at 04:38:17PM -0400, Mathew S. McCarrell wrote:
I don't have an exact answer for you but you may find this tutorial
useful.
http://docs.cslabs.clarkson.edu/wiki/Install_Cacti_on_CentOS_5
Thanks. That summarizes nicely the steps I've taken. It's a bit better put
On Mon, Jun 14, 2010 at 10:41:06PM +0200, Detlef Peeters wrote:
You can try Munin for this.
Thanks. Hadn't look at that. A lively project in current development -
always good. Can't find anything about whether it can specifically graph
separate CPU core use - guess I'll have to install it and
On Mon, Jun 14, 2010 at 03:55:10PM -0500, Les Mikesell wrote:
I happen to like OpenNMS (http://www.opennms.org) but it is considerably
more complicated than cacti to set up.
Thanks. I don't mind complicated if the documentation is clear. Cacti is in
that fuzzy area where it's not quite
On Mon, Jun 14, 2010 at 05:46:16PM -0500, Les Mikesell wrote:
The big difference is that OpenNMS typically needs no agent or per-host
configuration because it works with snmp and auto-discovery of most
services - and it handles routers/switches as well has hosts.
Getting off my topic, but
On Fri, Jun 11, 2010 at 06:15:04PM +0200, Laurent Wandrebeck wrote:
All I can say is that I created that repo to be able to deploy it at
work and home :)
I just wanted to share it,
Anyone here have long-term experience with MooseFS? Is it solidly reliable?
Thanks,
Whit
2010/6/9 Boris Epstein borepst...@gmail.com:
I have no problem setting my upload limit ( upload_max_filesize ) to 1
GB but for some reason 2 GB or above seems to be no go. Would anybody
know why? Could it be one of the many 32-bit vs 64-bit issues?
Other PHP settings, like post_max_size,
On Sun, Jun 06, 2010 at 08:22:22PM +0100, James Bensley wrote:
redundancy, connectivity etc...) only to have something fail the next
day (so it really paid off!) and then nothing has broken since?...Just
goes to show you never know!
Also recently upgraded my personal Ubuntu server to a RAID
On Fri, Jun 04, 2010 at 04:33:05PM -0400, m.r...@5-cent.us wrote:
It is officially (according to RH, AFAIK) NOT recommended to go up a full
release by update. Subreleases are fine, but you want a clean install for
a new release (that is, 4.x to 5.x).
Ah, so that's still the RH way! That's why
On Wed, Jun 02, 2010 at 12:44:41PM -0700, John R Pierce wrote:
and, yes, it ran CP/M, 1.4, then later 2.2
With ZCPR?
Whit
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
On Tue, May 25, 2010 at 05:57:46PM +0530, Jatin Davey wrote:
I have a linux box which has CentOS running in it. I logged into the box
using root and wrote a script in the /home/proc_threads directory. saved
the file and quit. I changed the file permissions such that any user
could execute
as
to why ... but it doesn't.
I wonder if the more recent X version of Samba is likely to work better, or
of the breakage here is related to using smbpasswd?
Whit
On Thu, May 20, 2010 at 09:21:28AM -0400, Whit Blauvelt wrote:
We've got a fresh CentOS 5.4 box, and the only glitch so far
Finally, a clue!
Upgraded from the stock smbd version from the 5.4 iso to 3.0.33-3.28.el5,
and now an error message makes it into /var/log/messages:
May 24 15:29:12 xyz smbd[2674]: [2010/05/24 15:29:12, 0]
lib/messages.c:message_init(132)
May 24 15:29:12 xyz smbd[2674]: ERROR: Failed to
/etc/init.d/smb start or smbd -D?
All ideas are welcome. I'm seeing with the Google that Samba has long been
fragile about this stuff - but haven't found the fix yet.
Whit
On Tue, May 25, 2010 at 04:56:30PM -0400, Whit Blauvelt wrote:
May 24 15:29:12 xyz smbd[2674]: [2010/05/24 15:29:12, 0
On Tue, May 25, 2010 at 05:38:59PM -0400, Robert Heller wrote:
Wondering aloud: where the smbpasswd *data* files copied? If so how,
exactly? And from what version of samba were the smbpasswd *data*
created with? And are the permissions of the smbpasswd *data* what they
should be? Just
On Tue, May 25, 2010 at 05:47:00PM -0400, Robert Heller wrote:
Was this file *copied* from the Redhat 5.4 system(s) or created fresh
under CentOS?
If you mean /etc/init.d/smb, it's CentOS's version. The entire difference
between the two, just for the record, is:
# diff smb /etc/init.d/smb
On Tue, May 25, 2010 at 06:05:34PM -0400, Whit Blauvelt wrote:
where smb is RH's version and /etc/init.d/smb is Cent's. I can't quite
imagine that a difference between overwriting or appending path.txt is at
the root of what I'm seeing though.
Correction: that wasn't a virgin version
On Tue, May 25, 2010 at 06:09:40PM -0400, Whit Blauvelt wrote:
Correction: that wasn't a virgin version of Cent's. More in a moment.
This gets more bizarre. To a virgin version of Cent's /etc/init.d/smb - it's
a perfect match:
# diff ./smb /etc/init.d/smb
#
That's right, no diff!
Yet if I
Hi Brian,
I've been all over the environment comparisons before, I think. The question
currently is:
What can be the difference between
/home/smb restart - which works, and
/etc/init.d/smb restart - which fails
when a diff between the two smb files shows no difference?
This is with both of
Les,
At risk of clogging mail boxes, see below, and note this line in the middle:
open(/var/cache/samba/messages.tdb, O_RDWR|O_CREAT, 0600) = -1 EACCES
(Permission denied)
Now, if I copy that modified smb file elsewhere and run it, for one
difference output stops without returning to prompt
On Tue, May 25, 2010 at 06:23:02PM -0400, Todd Denniston wrote:
I have not been following this thread closely, but perhaps Robert was
pointing at SELINUX and the
need to keep the SE permissions intact as you copy/edit the file.
i.e. you may need to:
A) restorecon /etc/init.d/smb and any
On Tue, May 25, 2010 at 04:33:53PM -0700, Jerry Franz wrote:
Are you running with SELinux on?
Now there's a good question, it turns out. I'd assumed CentOS followed the
pattern of most distros in having it not be in strictest mode
out-of-the-box, but in /etc/selinux/config:
SELINUX=enforcing
On Tue, May 25, 2010 at 07:55:12PM -0400, Whit Blauvelt wrote:
On Tue, May 25, 2010 at 04:33:53PM -0700, Jerry Franz wrote:
Are you running with SELinux on?
You were right Jerry!
echo 0 /selinux/enforce
and then /etc/init.d/smb restart works! Thank you much Jerry!
Now why doesn't
On Tue, May 25, 2010 at 07:46:56PM -0500, Les Mikesell wrote:
I would have looked at selinux first for any odd failure, but I thought it
related to the process itself and couldn't see any way that the process would
be
different when started as sh /etc/init.d/smb restart than simply
On Tue, May 25, 2010 at 08:52:58PM -0400, Ross Walker wrote:
Selinux alerts are in /var/log/audit/audit.log
Thank you for that. Cryptic, but there it is.
The problem is if smbd doesn't create the messages.tdb file then it
won't have the selinux rights.
I don't follow you. What else could
On Tue, May 25, 2010 at 10:03:38PM -0400, Jason Pyeron wrote:
If you look at it as the two different commands, then they may have different
permissions, owners, contexts, etc...
/bin/sh vs /etc/init.d/smb
I am just logically guessing here but ...
Let me follow your logic here. So the
On Tue, May 25, 2010 at 09:09:33PM -0500, Jay Leafey wrote:
In your case, there should have been AVC errors showing up in the
audit log related to smbd. Using restorecon to fix up the security
context on the files in /etc/samba might have resolved the issue
quickly... but I guess the trick
On Fri, May 21, 2010 at 10:04:36AM -0400, Ross Walker wrote:
By any chance did someone add smbd to xinetd?
If so then xinetd has the port open and the smbd process will not bind.
Nope. Not sure that would explain why a slight difference in how it's
invoked, through the same init.d script,
On Fri, May 21, 2010 at 10:24:00AM -0500, Les Mikesell wrote:
The only difference here 'should' be that explicitly running 'sh' will
invoke your own shell aliases and search PATH to execute sh, where if
you omit it you'll get the #!/bin/sh interpreter specified in the script
itself. Is
On Fri, May 21, 2010 at 11:54:26AM -0400, Ross Walker wrote:
# sh -x script start
The problem with debugging it like that is that when started with sh,
there's no bug.
Whit
___
CentOS mailing list
CentOS@centos.org
On Fri, May 21, 2010 at 12:52:51PM -0400, m.r...@5-cent.us wrote:
A suggestion: in the script, add
env /tmp/smb.env
or whatever you want to call it. Then you can compare and contrast with
your environment.
Good idea. I'll try it when the system's back up. Someone's hunting up a
Do you know that it's going out with valid headers, a legal helo address,
and the like? Many mail systems will use these as reasons to reject
connections when they're wrong. In the case of bad helo values, often it
won't get as far as the spam filter, since that's sent through before the
message.
On Fri, May 21, 2010 at 03:39:53AM -0700, John Doe wrote:
What's the return value?
service smb start
echo $?
# service smb start
Starting SMB services: [ OK ]
Starting NMB services:
# echo $?
0
# ps aux | grep mbd
root 2520 0.0 0.0 107732
On Thu, May 20, 2010 at 08:52:31PM -0500, Les Mikesell wrote:
What shell does the script specify at the top and what is found following
$PATH?
Here's from the console:
# echo $PATH
On Fri, May 21, 2010 at 07:49:16AM -0400, Kwan Lowe wrote:
My gut tells me it's not hardware but willing to take it :)
Have you tried adding a set -x to the top of the the smb startup
scripts? I didn't see any such output in your replies so far.
Here you go:
# ./smb start
+ '[' -f
On Fri, May 21, 2010 at 02:36:30PM -0400, Whit Blauvelt wrote:
Here's the path seen within the init.d/smb script (from an inserted echo
$PATH file):
/sbin:/usr/sbin:/bin:/usr/bin
And if I set that path in a console session, smbd still works when called
directly:
# export PATH=/sbin:/usr
On Fri, May 21, 2010 at 03:12:02PM -0400, Ross Walker wrote:
What happens when you manually try to execute the above commands?
# /bin/bash -c 'ulimit -S -c 0 /dev/null 21 ; smbd -D'
Not sure what that might in theory do, but it works:
# ps aux | grep mbd | grep -v grep
root 7870 0.0
Hi,
We've got a fresh CentOS 5.4 box, and the only glitch so far is that
/etc/init.d/smb doesn't start smbd. It claims it does - shows [ok] - but
only nmbd ends up running. Even setting a higher debugging level in the smbd
flags, nothing logs or shows on the console as to why smbd is immediatly
On Thu, May 20, 2010 at 10:21:51AM -0400, Ryan Manikowski wrote:
Have you run 'testparm' to verify the samba configuration does not
contain any errors that are preventing the smbd daemon from loading?
I had not. Doesn't seem to tell us anything:
# testparm
Load smb config files from
Does 'service smb restart' work after the rest of the system is up
enough to log in? If so, maybe some of the underlying network services
aren't ready when it starts at bootup.
/etc/init.d/smb restart does not restart it. Shows an error on smb shutdown
(of course, since it's not running),
Increase the debug level for smbd by adding -d N (N = 0 ... 10) to
SMBDOPTIONS in /etc/sysconfig/samba, restart smbd.
That was the first thing I tried. Nothing got logged or reported to console
- at all. The nmbd logs showed up as requested, but for smbd, nada.
Thanks for the suggestion,
On Thu, May 20, 2010 at 10:58:07AM -0400, Ryan Manikowski wrote:
As your config appears to be clean and free of errors that would prevent
smbd from starting have you...
...tried starting smbd from the command line NOT using the init scripts?
Make sure nmbd is started first: nmbd -D
Try
On Thu, May 20, 2010 at 11:41:22AM -0400, Whit Blauvelt wrote:
. /etc/init.d/functions
daemon smbd -D
It also seems perfectly happy with just smbd -D to start it, after system
startup.
But the two lines above do not work when from /etc/rc.local. Haven't tried
the simpler invocation
On Thu, May 20, 2010 at 10:58:07AM -0400, Ryan Manikowski wrote:
Make sure nmbd is started first: nmbd -D
You know, that's not the order the init.d/smb file has it in:
start() {
KIND=SMB
echo -n $Starting $KIND services:
daemon smbd $SMBDOPTIONS
RETVAL=$?
On Thu, May 20, 2010 at 01:39:28PM -0400, Whit Blauvelt wrote:
You know, that's not the order the init.d/smb file has it in:
... except that file matches the order of the stock Redhat file, which is
working fine for us on several other systems.
This is just strange.
Whit
On Thu, May 20, 2010 at 12:47:50PM -0500, Les Mikesell wrote:
That looks like the stock init file - but it might be a good idea to run
'rpm -V samba' to see if everything is standard. Running the init
script with 'sh -x' might give you a hint about what it is doing - or
you'll have to
More data:
service smb restart - does NOT get smbd running (although shows OK)
sh /etc/init.d/smb restart - DOES get smbd running
The service man page claims the only environment variables it passes are
LANG and TERM. But that can't be the key, since
/etc/init.d/smb restart - does NOT get
Maybe try rpm -V samba to verify all the samba files. You get any
output then you have problems.
I take it this output:
# rpm -V samba
S.5T c /etc/rc.d/init.d/smb
S.5T c /etc/samba/smbusers
...T c /etc/sysconfig/samba
merely shows that these are files that don't precisely
1 - 100 of 107 matches
Mail list logo