Does anyone know what scheme to use when setting up email aliases in LDAP? I could use anything, but it seems kind of abusive to use "title" for example as the email alias. extensibleObject may be the correct thing to use, but it seems wrong.
d-_-b's questions
I've installed a new NIC. It shows up as eth2. I'd like it to be eth1. How I can do this?
(This may not be possible, but I thought I'd ask just in case it is, as it will save a considerable amount of cash.)
I'm building cluster of sorts that has one shared storage unit and two computing units.
I'd wondering if it is possible to bond two 1GBASE-T NICs per computing unit and connect them directly to an identical set of NICs on the storage server without a switch in between and alternate which NIC the packets are being transmitted on and have them reassembled on the other end (mode 0 - round robin?).
This would theoretically increase throughput and of course CPU usage.
We are talking Linux or BSD here. Please do not mention Windows.
There may not be a standard for this, but perhaps there is a piece of software or kernel hack that does this.
I'm looking for information on how to build a Xen HA cluster with multiple nodes. I find lots of information on how to build clusters with two nodes, but that is really not enough. I've built one with three nodes, but am unsure how to handle HA issues. Please provide links or write a howto right here.
Thanks
I'd like to know or know where I can find a good explanation of GPT. With MBR there was partition types. Not with GPT. There is fs-type and flags (anything else?), which seem to over lap. Can I mark a partition as raid and then set fs-type to fat32? Can all flags only be set one at a time? Or can more than one flag be set?
Using parted, one cannot set boot and raid flags on the same partition - perhaps for a good reason. I know basically how to use GPT. I'd like to know why it works that way.
http://wiredx.net/download.php
I'd like to give access to some software to users via the X11 protocol. A browser plugin seems the simplest. Are there any alternatives to the above?
What would be the best way to get the same shell environment (paths excluded) on all my accounts automatically?
What I want is something that transfers the aliases, coloring, and other cool shiznit I have going on in my shell to other shells when I login. Is this possible? Do I have to copy my .bashrc file to all my accounts?
I'd like to build an email to fax gateway. The OS will be Linux. It will periodically check an email address via POP3 and derive the fax number, etc, from the email. The email will be encrypted to prevent "fax spam". I need to be able to specify the details via the CLI - so GUI software is a bad idea.
The question is, what is some good FOSS CLI fax software for Linux? Why do you recommend it?
Why does a 32bit domU (Xen guest VM) use less RAM than a 64bit?
Notes: The same software complied for a different arch(AMD64 vs. 686). Obviously this is Linux or BSD or something easily ported. Maybe this is also a good one for SO.
I've read this is so. I can guess why, but I'd like to hear everyone's comments.
I have a DNS server (mega.dude - 123.123.123.123) running bind 9.4. When I:
dig mega.dude
I get no answer section.
I have
nameserver 123.123.123.123
in /etc/resolv.conf
Here is my zone file:
$TTL 1W
@ IN SOA mega.dude. names.mega.dude. (
2009081502 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
NS ns1
NS ns2
MX 10 mail.mega.dude.
A 123.123.123.123
@ A 123.123.123.123
ns1 A 123.123.123.123
ns2 A 123.123.123.123
www CNAME @
mail A 123.123.123.123
It didn't used to look like this. I read that it's evil to have an mx record pointing to a CNAME. So I changed that. Then I thought maybe that was also the case for NS. So I changed those too. Still no good. The ports are open. I can't figure it out. Oh by the way, all the other zones return fine. But not the servers own domain. So I know I'm doing something stupid.
EDIT
Here is the section of my named.conf:
zone "mega.dude" {
type master;
file "pri/mega.dude";
};
zone "123.123.123.in-addr.arpa" {
type master;
notify no;
file "pri/123.123.123";
};
Here is the response I get on the server itself:
$ dig mega.dude
; <<>> DiG 9.4.3-P1 <<>> mega.dude
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 25170
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mega.dude. IN A
;; Query time: 134 msec
;; SERVER: 123.123.123.123#53(123.123.123.123)
;; WHEN: Thu Apr 1 08:02:54 2010
;; MSG SIZE rcvd: 28
And here is the response from my laptop:
dig @mega.dude mega.dude
; <<>> DiG 9.4.2-P2.1 <<>> @mega.dude mega.dude
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 21361
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;mega.dude. IN A
;; Query time: 51 msec
;; SERVER: 123.123.123.123#53(123.123.123.123)
;; WHEN: Thu Apr 1 08:20:19 2010
;; MSG SIZE rcvd: 28
The queries.log has:
01-Apr-2010 08:02:54.192 client 123.123.123.123#33160: query: mega.dude IN A +
Anywhere else I should check?
EDIT
I've made the changes suggested by Alnitak - at least I think I understood:
$TTL 1W
@ IN SOA mega.dude. names.mega.dude. (
2009081502 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS ns1
IN NS ns2
IN MX 10 mail
A 123.123.123.123
ns1 A 123.123.123.123
ns2 A 123.123.123.123
www A 123.123.123.123
mail A 123.123.123.123
I now get an authority section, but no answer section:
dig mega.dude
; <<>> DiG 9.4.3-P1 <<>> mega.dude
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30264
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;mega.dude. IN A
;; AUTHORITY SECTION:
mega.dude. 86400 IN SOA mega.dude. names.mega.dude. 2009081502 10800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 123.123.123.123#53(123.123.123.123)
;; WHEN: Thu Apr 1 08:33:50 2010
;; MSG SIZE rcvd: 70
So it turns out the extra record was causing a problem.
This works:
@ A 210.48.255.42
This does not:
A 210.48.255.42
I now get a full response:
$ dig @mega.dude mega.dude
; <<>> DiG 9.4.3-P1 <<>> @mega.dude mega.dude
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1029
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;mega.dude. IN A
;; ANSWER SECTION:
mega.dude. 604800 IN A 123.123.123.123
;; AUTHORITY SECTION:
mega.dude. 604800 IN NS ns1.mega.dude.
mega.dude. 604800 IN NS ns2.mega.dude.
;; ADDITIONAL SECTION:
ns1.mega.dude. 604800 IN A 123.123.123.123
ns2.mega.dude. 604800 IN A 123.123.123.123
;; Query time: 0 msec
;; SERVER: 123.123.123.123#53(123.123.123.123)
;; WHEN: Thu Apr 1 15:15:58 2010
;; MSG SIZE rcvd: 112
That's great! Just a few oddities...
I run a test from http://www.checkdns.net/quickcheckdomainf.aspx
I see two problems:
Master DNS defined by SOA (mega.dude) was not found among NS records.
Domain mega.dude has no MX records, but it has A record for domain. This configuration is not mega.dude
and on: http://www.mxtoolbox.com/
I get:
No records found Reported by ns1.mega.dude on Thursday, April 01, 2010 at 1:09:05 AM (GMT-5)
It's been over 12 hours since I made the changes. I would think that I did specify an MX record in my zone file. What about the SOA? I'm pretty happy that it's mostly sorted out, but it still looks like I've some problems. It's probably obvious that mega.dude not the actual domain name. I don't feel like getting hacked just yet.
Sorry to be so long with this question. I guess I should edit it down. Or should close this and post another question?
Thanks all!
I'm creating a cron job to keep two dirs in sync. I'm using rsync. I'm running an rsync daemon. I read the manual and it says:
RSYNC_PASSWORD
Setting RSYNC_PASSWORD to the required password allows you to
run authenticated rsync connections to an rsync daemon without
user intervention. Note that this does not supply a password to
a shell transport such as ssh.
USER or LOGNAME
The USER or LOGNAME environment variables are used to determine
the default username sent to an rsync daemon. If neither is
set, the username defaults to 'nobody'
I have something like:
#!/bin/bash
USER=name
RSYNC_PASSWORD=pass
DEST="myhost::mymodule"
/usr/bin/rsync -rltvvv . $DEST
I also tried exporting (dangerous, I know) USER and RSYNC_PASSWORD. I also tried with LOGNAME. Nothing works. Am I doing this correctly?
EDIT (for clarification)
I am using rsync version 2.6.9 under linux.
This command works:
/usr/bin/rsync -rltvvv . myuser@myhost::mymodule
I am prompted for the password and when I type it in, the transfer begins.
This is the error I get when trying via the script:
opening tcp connection to myhost port 873
opening connection using --server -vvvltr . mymodule
@ERROR: auth failed on module mymodule
rsync error: error starting client-server protocol (code 5) at main.c(1383) [sender=2.6.9]
_exit_cleanup(code=5, file=main.c, line=1383): about to call exit(5)
I think I remember making some mirrors years ago with LVM, and I don't remember this "log" thing. Or maybe I made the mirror with mdadm and put LVM on top. That must be it.
What is the LVM log for if it is just a mirror? What is stored there? What is it's purpose? Is using "--mirrorlog core" bad? What's the down side? I don't want to have to have another partition for logs if I don't have to.
Any recommendations on using either technology? Even if I make the mirror with mdadm, I'll use LVM on top of that. So, in that case, maybe it's better to have the whole setup built with LVM...? Would that take more a performance hit or less?
The disks are for storing Xen domU "disks".
Sorry for the complex not-to-the-point "question".
Ideas and suggestions and links are most welcome. Thanks!