Do you see anything in the logs about a failed update? Do the
permissions on the bind zone directory allow named to write the update
to file?
Perms are ok, it writes it out eventually (as it supposed to) and when the
daemon is stopped.
The logs show:
client xx.xx.xx.xx#53401: view external:
The logs show:
client xx.xx.xx.xx#53401: view external: updating zone 'example.net/IN':
update unsuccessful: host.example.net/A: 'rrset does not exist' prerequisite
not satisfied (YXRRSET)
client xx.xx.xx.xx#46869: view external: updating zone 'example.net/IN':
update unsuccessful:
I have a zone that has several hosts update their ip with Dynamic DNS updates.
This morning a client had updated its ip, but bind wasn't returning the new ip
when queried until I restarted the daemon?
Google hasn't yielded anything useful as I am prolly missing the boat with my
search criteria.
Is ther any repo wher I find xen 3.4.1 or 3.4.2 and newer libvirt for
Centos 5.4 i386.
http://www.gitco.de/repo/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
I am using a /etc/dhclient-exit-hooks script to update a bind host record
for a remote server so I can gain admin access to it when its dynamic ip
changes.
Does anyone know of an existing script that wont update the bind zone unless
the ip has actually changed rather than me hacking one out and
Guys,
Web/php stuff is outta my area to say the least. I need to setup a php class
called Advanced Graphing Class. It has php, font and js files that need to be
made available.
How and where do I set this up to be available to any virtual host that uses it?
A link to where this is documented
Err.. software without installation documentation :/. Anyway, looks like
you only need to drop files to php lib directory (look from php.ini) and
then follow example..
Well that was my first try, so I tried to lookup if that lib path was recursive
anyway, is it important that all files be in one
That won't work because, assuming we're talking about the same class
(see my prev email), the files need to be put somewhere in your
website's directory structure so they can be pulled in by the calling
script. I do something similar, without classes, on a website I've
written. I'll have a
This doesn't work, all the files are in the root of a test site. The png
doesn't seem to be delivered to the browser, logs are empty. What am I missing?
Arghh, wrong log file:) It looks like it wants to write in the root of the
virtual
hosts dir, so apache needs write access? Any php gurus know
Anyone have a script that can check for an attachment and extract it
to a directory?
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Anyone have a script that can check for an attachment and extract it
to a directory?
Why? You can use uudeview or similar to extract mime archive.
Because when a mail is directed to a smtp instance on a particular server,
I need the attachment extracted upon receipt and processed...
Do you want this done at the MTA [1] or MDA [2] layer ?
Do you want it done for all accounts on this server, or just specific ones?
Doing this in the MTA (eg, Postfix) would tend to catch all inbound,
outbound, and relayed mail. Doing it in the MDA (eg, procmail) would
catch just mail delivered
I need this because the client has a dynamic ip, so the ssh key
authentication on the server never works un-interactively - because
every time the cient ip has changed, and the script asks:
The authenticity of host ##.##.##.## can't be established.
RSA key fingerprint is ##.
Are you
The LSI SAS SNMP module is an add-on to the RH SNMP module. It
provides access to controller counters that would otherwise not be
available.
I run it on my Dell/LSI boxes to monitor controller throughput history
for capacity planning and such.
Hey Ross,
Well, they say it's only supported on a
The squid website explains that clearly .. which part don't you
undersand ? http://wiki.squid-cache.org/ConfigExamples/#Authentication
I'll just add that the ntlm helper won't work under Windows 7/Windows Server
2008 R2.
If you are starting from scratch, set up Kerb Auth as that will work with
Anyone set this up in CentOS? Can you shed some light on the requirements,
does it require the LSI module, or does the rhel provided module work just
fine?
Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
the best way is to use ssl-vpn rather than ipsec, via OpenVPN. Its a
breeze to install and configure compared to most any other VPN, quite
easy for the server to push routing rules to the clients, etc.
I'll second the OpenVPN reco, I just migrated off a Cisco PIX to this
and it is the most
Fedora does not have 'point releases'.
Right...
One does a 'fresh' re-install every 6 months to a year (or something like
that).
Well, not quite. Although it being what it is and sometimes breaking, you
can yum upgrade it[1], but the suggested method involves using anaconda to
upgrade it,
If you have a card you are happy with, I would
appreciate a recommendation.
I use the LSI's, they are pretty solid with a good cli, snmp and rhel
support.
Keep in mind airflow, these cards get hot without good airflow.
6.6 long, and half height? I just went and measured the 1068's
I have
Remember that windows integration website ( don't remember the name
but related to nLite and ryanvm) shutdown by Microsoft - it made a
great deal of news because they had scripts to take out annoyances
such as balloons popping up in the taskbar. MS lawyers had them
disbanded
For a good reason,
I called them and explained to them that I couldn't get it to boot --
they gave me instructions on reinstalling
So Windows is garbage because one support tech is an idiot? There are
no idiots in the Linux world?
The KSOD event occurred after an automatic Windows update (which
isn't all that
I wonder what those opinions are.
That would just start a useless flame..
One of the main reasons *I* am no fan
of MS is their clear subversion of standards for their own ends.
Well, they do some stupid things. No Linux vendor ever did?[1]
Exchange, e.g., has a *horrible* IMAP implementation
Does anybody know of an editor that can do on Linux what Acrobat /
Acrobat Pro can do on Mac/Windows?
Ughh, I am in this mess right now myself.
I have tried to use the PDF Import
extension to the Open Office which appears barely functional - at
least it is so slow as to be almost impractical. I
If I use BitTorrent to download the DVD image from
tracker.centos.org, I assume the file has to be complete
or could it still be missing something?
I fetched my dvd's yesterday via bittorrent perfectly fine...
___
CentOS mailing list
CentOS@centos.org
Maybe today. How long has it been that you could start something on a
windows box and expect it to still be running a year later? People
runing unix/linux have expected and achieved that for decades.
A long time:)
Windows _is_ reliable, what isn't reliable is the myriad of cheap sh!t
hardware
Does anyone have any recommendations for the best way to bring up a
iSCSI Target on a C5.3+ server ? Various blogs suggest compiling IET
from source, but thats not real appealing to me (not that I can't do it,
I just don't want to have to support it long term). I looked in
rpmforge but didn't
E.g. I do have some fileservers connected to the users lan and to some
ISCSI Storages. Or some Webservers only connected to the LAN. The
switches are all new cisco models.
Just as an example, the Microsoft ini recommends against running it through
bonded interfaces but suggests to use
I try to proceed and I get: boot partition is on a disk using GPT
partitioning scheme but this machine cannot boot using GPT.
I have never seen this before.
Advice?
Sure, drop into a shell (boot to a rescue mode for example) and relabel
the discs.
Use parted and its mklabel command and change
Can I do this from an install though? Or should I use a LiveCD? The
drives in her ewont boot at this point.
The install DVD will let you boot to a rescue mode, instead of typing linux.
Once in that mode, skip net and install scan. Then when you drop in to a shell,
go into parted. You are
I don't understand your 'mount the volume on the windows ini' sentence btw ...
Well, when I log into the windows machine, add the target, refresh the list,
then add the
lun as a drive, windows see's the device but cant figure out what driver to
use? It's a block
device, it should have all it
I almost wish.
Add a PEERDNS=no to your ifcfg file.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
aw, man :)
This is not fixing the leaking faucet. It's hammering the water pipe
shut instead.
Huh, what r u talking about? This is the right way to do this.
Check the deployment docs on network scripts.
___
CentOS mailing list
CentOS@centos.org
Yes, I know the docs. What I was saying is - it will not help finding
the cause, which is what the OP requested. It will just make the problem
go away.
Uhm, am I missing something? It *is* the cause?
Its designed to do just what it's doing, and here's a real shocker, it's doing
it:)
Just one of those things you kind of pick up as you go along and
remember. Tribal knowledge if you will.
There's two pdf's and one command I use often :)
The redhat 5.3 deployment and installation pdf's (or the online versions)
and:
# find /usr/share/doc/ -exec grep PEERDNS '{}' \; -print
Joesph,
You can create PVs out of any block device (even LVs).
You don't need to partition past the raw device storage, even that is
optional, but recommended so other OSs know that, yes the space is
actually used, if your using a volume manager like LVM. If you need to
create a partition on a
Out of haste I decided for the first time not to pull down and compile
iet to export a single volume to a windows machine so I just used tgtd.
Well, much more time later than otherwise would be the case had I used
iet, when I mount the volume on the windows ini, it can't find and install
a
I don't know how to let the dns as zone and also enquriy in local network
please help
if this. the outside and inside can use this server to enquiry zone, but can't
enquriy non zone. but how can I let it enquiry non zone restrict in local
network.
I am not following you well here, but I am
I've been seeing this message fill my logs;
pbond0: received packet with own address as source address
Didn't we just hash this out yesterday?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Any ideas?
I do believe it's merely cosmetic and rather unavoidable in some bond
schemes such as 0.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
I have a machine I just deployed w/ tg3 interfaces, I have setup bonding
on this same line of server (HP DL380 G4) a million times. I saw there were
changes recently to how you configure a bond and have my setup configured
according to: http://kbase.redhat.com/faq/docs/DOC-7431
The HP switch has
Can you post the contents of /proc/net/bonding/bond0 too?
Here it is!
# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.4.0 (October 7, 2008)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 500
Up
can I simply do:
rsync -avx --exclude=/home/backup / /mnt/sdb2/
The exclude is relative from the path specified in the source.
Check this out:
http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders
___
CentOS mailing list
802.3ad info
LACP rate: slow
Just a thought but try changing the lacp rate to fast?
Nate, you rock!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
I have a DAS w/ 6 750Gb and 6 1Tb discs I am setting up using Linux raid.
The controller is a POS so each disc is exported as an R0 single volume.
I used a parted and fdisk script to create 1 max size partition labeled as
Linux Raid Autodetect and created the first r6 array w/ mdadm. I normally
Setting up 802.3ad didn't seem to yield anything more than what a
single link could provide based on monitoring via iptraf.
Whats your experience with bonding?
You can't ever get more traffic on an aggregate than what one link
will do to a single host. Specifically, one conversation always flows
pvcreate is the first step of creating LVM areas. If you're not going
to use LVM then you don't need to pvcreate. However I recommend
that you _do_.
Yea I guess I was rather vague. I do plan to carve up the md device w/ lvm
once it's up. Historically I run pvcreate on lvm partitions for
You don't run pvcreate on lvm partitions. You run pvcreate on the block
devices that will be added to the volume groups.
You sure can run pvcreate on a partition, for example /dev/cciss/c0d0p1
instead of /dev/cciss/c0d0 and the use of it for example, creating a
partition of Type LVM so that it's
If I export a mount with a quota via Samba, do the downstream win clients
realize the drive size equal to the quota, or actual mount size?
Working remotely while installing, I could test but it would save me time
to know beforehand:)
Thanks guys!
jlc
I don't have any servers. I like CentOS on my desktop and my laptop
just because it's solid. It's also the Linux distribution of choice
for most Asterisk platforms -- which I intend to (eventually) learn.
(I'm a telephone tech, who is eventually going to have to go VOIP.)
Have a look at
Don't bother with that, go straight to the source!
http://packages.asterisk.org/
These get updated rather quickly.
jlc
+1 for this suggestion.
Starting out it may be easier to pull packages from a repo if you're not
familiar with building from source. BUT, in the long run, you'll need to
If you are very well firewalled and trust all the local users you might
get away with ignoring security updates but it's mostly a matter of
luck. With the stock CentOS components, your downtime for an update is
normally just a reboot and problems are extremely rare. If you'd added
custom or 3rd
Anyone done this w/ Linux before? Not having ever used this functionality,
I can only speculate but I have been asked to setup an MFP such that when you
scan to email, it hits a postfix instance which rewrites the email (so it can be
typed short) and sends it on to our email-fax service. It seemed
I am mulling over the thought of replacing my current solution, it
works very well except for the following two issues:
1. LDAP recip verification for only one server, this gateway services multiple
domains who's directories are independent. I need to be able to verify the
various domains off of
Postfix can handle that. You can have multiple lookup tables/maps. They
do not even have to be the same type of database.
I guess I can leave that part upto Postfix, but I still need a antispam
addin...
I asked on the Postfix list a while ago whether multiple LDAP server lookups
could be
Are there any opensource/free Drawing management software for
Engineering offices that any of the member is aware of?
What features specific to a drawing are you looking for, and what
application?
Would a simple doc manglement solution not work? I doubt you'll
find anything with PLM'ish type
My home network doesn't have any wireless access points (to slow) and
I was iSCSI booting my wkst for a while:) Now I need to setup a printer
so I was going to get an HP Photosmart C4580.
The HPLIP page shows no network support:( I _was_ going to use a USB
wireless nic I have and setup an ad-hoc
Does that actually work the way you intend it to?
I have my doubts...
It should, others do it:)
Buy a wireless AP and save a lot of trouble.
Is your time worth nothing?
Depends who you ask:) At home, I'll do next to just about anything, heh...
___
Hm. So you can setup networking to an USB-stick without an OS?
I thought you needed to load the firmware onto the stick before it
does anything useful at all.
Apparently the HP's support this, at least some quick searches show people
with success. Of course I haven't tried it:)
get an ethernet printer, sheesh.
I actually wanted wireless because of the location I want to put it:)
I have a Brother MFC7345N (Costco version of the 7340 with an ethernet
interface) on my home LAN, is a BW Laser, color scanner, copier, fax,
both flatbed and sheet feed scanning/faxing/copying.
So what are the simplest options to back up the Linux hosts? rsync
does come to mind, but how to do so securely from each host? I'd
consider something via ssh, but that would mean an interactive login,
and encrypting individual files on the hosts is not an option.
Rsync's default transport
Thanks, but that doesn't help much with my question since I haven't used
RHN either. I'd like to have some comprehensive
inventory/monitoring/deployment tool but it has to work across different
platforms. Ocsinventory-ng works for computer hardware/software
inventory and has some (not very
[r...@localhost ~]# /etc/init.d/iscsi start
iscsid (pid 15037 15036) is running...
Setting up iSCSI targets: iscsiadm: No records found!
Well,
Have you exported any block devices? Also don't forget to open
the firewall.
___
CentOS mailing list
No. I don't know what exactly to setup, which is why I'm looking for a howto :)
Rudi,
How exactly did you expect the daemon to know what you wanted to
export without telling it, was starting the daemon w/o any config
not supposed to yield any errors:)
For RHELs target:
Question: Does anyone run SQL server from XP in a virtualbox on CentOS?
Any other configuration that works on a linux server?
I do not want to have to buy another server grade machine just for this
application.
XP has a tcp connection limit, so unless you have 10 users that won't work.
I sure
SQL Server only runs on Windows SERVER OS's. on a desktop OS like XP,
youc an only run the 'lite' version aka MSDE or SQL Express depending on
which version, and this only allows a very few database connections, and
is mostly suited for standalone single user applications and software
Any suggestions on least pain way forward?
Just read up on virtual box and set it to respect cache flushes, if your vm
tanks
or your host os tanks, the block device with your db, whether it be SQL Express
or
Enterprise will sh!t the bed:)
I've seen a plethora of news about this on the zfs
Can I suggest ZFS on Solaris/OpenSolaris? Real breeze to setup.
As for Linux, it has been a while but are there still two iscsi-target
implementations? Has any one of them got into the mainline (Linux - not
Redhat - although if Redhat will support one implementation I guess it
does not really
Did you install your iet from rpms or something then?
No, but it looks like Ross Walker has created an updated spec
in the source. It's the *only* thing I don't use am rpm for as
there isn't anyone with an updated repo, I think atrpms is behind
but I haven't checked recently.
I have sort of an odd request for you today in regards to Kickstart
configuration. I have recently created a kickstart configuration file to
better standardize the configuration aspect of my server installations.
Just a suggestion, but there's no point in doing a yum update in your script,
just
You are right. I got a response from David Cantrell and he pointed out
how I was going about this completely the wrong way. Will hopefully get
this working tomorrow.
Please post your procedure, I have been following this thread with interest!
jlc
___
Is there any way to get anaconda to load the drivers in a different
order on CentOS 5.3?
A grub param? See the bottom of this:
http://www.science.uva.nl/research/air/wiki/LogicalInterfaceNames?show_comments=1
I am sure a pre or post script might be in order. Dell had a doc I recall, a
quick
Well, I am poor and so is my school.
We want to setup a cheap storage farm so I was asking what is people's
opinions on the the controller and the disks :-)
It's rock solid, I am sure you wont have issues...
___
CentOS mailing list
CentOS@centos.org
Hey guys,
I am trying to make sed append every line containing a string with another line.
problem is the appended line needs to start with a tab:
# sed -i '/string/a \tstuff\t\t\tmorestuff' file
Obviously \t or \x09 etc doesn't get interpreted unless there are other
characters
before it? How can
The a command expects to be followed by a \, so it's eating the
one in your first \t. If you add another \ it seems to work as you
want it to:
$ echo string | sed '/string/a \\tstuff\t\t\tmorestuff'
string
stuff morestuff
$
Ah ffs, lol...
It would also help if I emailed
How can I create a tun device without using any add on packages using
only software contained in CentOS?
Just your kernel :) Support is built in. Manipulation of and other commands
might need additional software though...
___
CentOS mailing list
I am trying to write a script that can pass cmd line args into an
executable it runs, I need at least 4 args, but I need to pass the rest
to it in the script if they exist.
$@ doesn't help because I use the 1st and 2nd etc, so how do I elegantly
handle passing args 4+ if they exist on the end of
maybe you call shift (more than once) and then pass $...@?
Didn't know bash had a shift!
Thx!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
will C5.3 support a SmartArray 6i 'out of box', or does it need drivers
to boot from this?
Out of the box.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
I didn't 'get' the security implications of the rebuild stuff til it was
explained to me the other day.
Share the knowledge:) Aside from the delay involved while the devs build rpm's
from the srpm's, is there more to it?
Thanks,
jlc
___
CentOS
Anyone got any experience/suggestions for a way to store a directory of
sensitive information on a CentOS box? This directory contains many scripts
and output files, I need it backed up but not unencrypted and don't want
to store it in a tar file type archive as when it needs to be accessed and
If you want to backup the directory while it is still encrypted (not
mounted), look for encfs.
But I prefer luks myself (uses dm-crypt).
I see, looking at all of these, it looks like luks uses built-in modules
and tools whereas the others need fuse or something like it. The luks option
looks
I have a friend that hosts a few basic ASP pages. some simple links
and plays a few media files with Windows Media Player.
Is there any way I can host his site on my Linux Server? Without re-
writing it for him
Possibly, yes.
___
CentOS mailing
To safely make Perl modules from CPAN in Solaris, I used this procedure:
mkdir /opt/cpan
chmod 777 /opt/cpan
chown joe:101 /opt/cpan
PERL5LIB=$PERL5LIB:/opt/cpan
export PERL5LIB
/usr/perl5/bin/perlgcc -MCPAN -e shell
Also, ~/.cpan/CPAN/MyConfig.pm specifically had
'makepl_arg' = q[LIB=/opt/cpan
There is tons of perl module RPMs in rpmforge. We also take requests
there.
Not the few I need.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
A friend asked me to setup an embedded appliance with an RO root
for minimal maintenance to primarily stream shoutcast out to an
amp.
The only thing I knew that might do this is iMedia Linux, but the
project is practically dead with little to no activity. Is it possible
to do something like this
I would much prefer a simple command line tool that I can
wrap a script around and run it under cron.
I did this when I didn't have a Nagios environment or an snmp
setup (LSI provides an SNMP monitoring package for it).
Simply use the MegaCLI to query for status of all LD's and
grep for failure
I thought I have seen a lot of discussion about
running paravirtualized Windows on CentOS. Is
that a bad idea?
It's not a bad idea, it's just not a possible one :)
What you have seen is talk of the paravirt *drivers* that
you use in an HVM domain to improve the otherwise useless
performance. As
AFAIK you can only run any windows version in paravirtualized mode
only in vmware server, not in Xen or KVM which are the virtualization
technologies CentOS supports.
No. Vmware is no different than Xen or any other in this respect, they
also don't have access to the source and therefore cannot
No. Vmware is no different than Xen or any other in this respect, they
also don't have access to the source and therefore cannot provide a modified
version of the OS.
But Vmware and I think Virtualbox are capable of running unmodified
Windows guests even on CPU's lacking the vt capability. I
awk -v q=' ' BEGIN { ORS= ; printf(%s, q) } { print \ $1 \ } END {
printf(%s, q) } '
or
awk ' BEGIN { ORS= ; printf(\x27) } { print \ $1 \ } END {
printf(\x27) } '
Thanks JD!
___
CentOS mailing list
CentOS@centos.org
I have a command I execute:
awk 'BEGIN { ORS= } { print \ $1 \ }' input_file
which gives me exactly what I need, all field one's in quotes on one line
each separated by one space. I now need to print a single quote around all
of this, but the ORS flag is screwing me up, it's causing every
Unfortunately it does NOT work on DELL R900. The reason is DELL R900
internal RAID and external RAID use same driver. There is NO way to
change adapter sequence on /etc/modprobe.conf.
Well, I suspect a udev rule *might* work to rename the discs, but labels
or uuid's aren’t designed to *change*
I have pretty loose requirements at this point, but I am looking for a
tool (or set of tools) where I can automate and control a large group
of tasks by a basic web front end.
Webmin?
Then possibly react or setup
alternate jobs if they passed or failed, etc. - some basic logic.
So the gui
how to change sequence back?
Rather than chase that never ending loop, maybe now is the time
to look into an fstab populated by UUID.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Being an old perl hacker I have to at least suggest doing whatever you're
attempting in perl.
Yeah I agree but I have found myself needing to duplicate so much work moving
between nix and windows that I resolve to just using UnxTools under windows so
I stay with shell scripting so I can move work
Hey guys,
Looking through my book and the web and I am not having any success
returning data from a search.
I need to have awk search for a string and print the first field which
is no problem but now its returning two options as the input data has
changed. The change is reliable, I only want the
Any ideas?
Sorry, jumped the gun. I search for two strings then use a printf.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
What you've written is mostly incoherent and incomprehensible.
heh, been a long day:)
Actually I am using gawk /string1/ /string2/ { print substr( $1, length($1)
- 1, length($1) ) }
which gets me what I need, the last two characters of the first
field of a specific match...
Sorry vbg,
jlc
While installing some deps on a fresh system, I am getting the following
errors:
Running Transaction
Installing : cyrus-sasl-devel[ 1/10]
Installing : alsa-lib[ 2/10]
/sbin/ldconfig: Cannot mmap file
open-vm-tools may be a solution. The kmod package included is kABI-tracking.
http://people.centos.org/hughesjr/open-vm-tools/
Johnny Hughes has been providing it since early 2008. I don't
remember if he announced it at some point.
The last version there is dated Oct 2008. I tried to build
401 - 500 of 972 matches
Mail list logo