/srv/irclogs.ubuntu.com/2009/08/21/#ubuntu-server.txt

clustyi would say it's some hardware issue more like00:00
jerrcsugh00:00
clusty_jmedina, i've been trying all sorts of howto's00:02
clusty_jmedina, one query that does work:  ldapsearch -xLLL -b "dc=debian,dc=lan" uid=john sn givenName cn00:02
_jmedinaclusty: do you already have data on your directory?00:02
_jmedina:)00:02
_jmedinadc=debian=dc=lan?00:02
_jmedinawhich one is your search base?00:02
_jmedinavlazar@algorithmica:~/ldap$ ldapadd -x -W -D "cn=admin,dc=debuntu,dc=local" -f people_group.ldif00:03
clusty_jmedina, that is what i want now00:03
clustythe ldif's have all the data there00:03
_jmedina:)00:03
clusty_jmedina, the one i showed you now worked00:03
_jmedinayou cannot do that00:03
_jmedinaConfigurar un servidor Controlador de Dominio con Samba y OpenLDAP en Ubuntu Server Hardy 8.0400:04
clusty_jmedina, well followign this howto :D http://www.debuntu.org/ldap-server-and-linux-ldap-clients00:04
_jmedinathat is the topic for my howto00:04
_jmedinain spanish00:04
_jmedinahttp://tuxjm.net/docs/cursos/Samba+OpenLDAP+PAM+NSS-4Ubuntu/html/00:04
clusty_jmedina, that will give me mala de teta, but i will figure it out :D00:05
_jmedinaclusty: if you defined dc=debian,dc=lan at configure time you cannot add entries with another search base00:05
_jmedinaclusty: could you paste your people.ldif file?00:06
clusty_jmedina, at install i defined the domain: debian.lan00:06
clusty_jmedina, and org: algorithmica00:06
clusty_jmedina, from what i read that will create dc=debian,dc=lan00:06
clusty?00:06
_jmedinayeap00:06
clustyso what is cn ?00:06
clustystands for common nanme00:07
clustybut what is IT :D00:07
_jmedinaculd you paste your ldfi file?00:07
clustyhttp://pastebin.com/m3e12548400:08
clustylooks fishy00:08
clusty:(00:08
_jmedinaagain00:09
_jmedinadn: ou=Group, dc=debuntu, dc=local00:09
_jmedinayou need to change that to dc=debian,dc=lan"00:09
clustydid that00:09
clustyno effect00:09
_jmedinaand the same for the ldapadd command00:09
_jmedinaldapadd -x -W -D "cn=admin,dc=debian,dc=lan" -f people_group.ldif00:10
clustyvlazar@algorithmica:~/ldap$  ldapadd -x -W -D "cn=admin,dc=debuntu,dc=lan" -f people_group.ldif00:10
clustyEnter LDAP Password:00:10
clustyldap_bind: Invalid credentials (49)00:10
_jmedinaof you can reconfigure slapd and define another search base00:10
_jmedina:)00:10
_jmedinaplease read my comments00:11
_jmedinaI told you to change the base search for cn=admin...00:11
clustyi am very sorry, i understand if you get mad00:11
_jmedinayou dont have a cn=admin,dc=debuntu,dc=lan in your directory00:11
clustyi am lost badly :D00:11
_jmedinainvalid credentials in your case means unknown user :)00:11
clusty ldapadd -x -W -D "cn=admin,dc=debuntu,dc=lan" -f people_group.ldif00:13
clustysamed as yours00:13
clustyalso changed the file00:13
clustydn: ou=People, dc=debuntu, dc=lan00:13
clustywhat am i missing?00:13
_jmedinaI dont know00:13
_jmedinaI would start over...00:14
_jmedinadpkg-reconfigure -plow slapd00:14
clusty_jmedina, ok doing now00:14
_jmedinaand read my document00:14
_jmedinaI added so post instalations checklists...00:14
LiraNunawhen I auth against my mail server with anything but LOGIN and PLAIN, it fails even though postfix shows it supported them00:15
clusty_jmedina, will do00:15
LiraNunaI'm using saslauthd and pam.d/smtp to perform the auth00:16
_jmedinaLiraNuna: what about logs?00:16
LiraNuna_jmedina, "authentication failure"00:16
_jmedinathats all?00:16
LiraNunayep00:17
LiraNunait works great when I use PLAIN or LOGIN00:17
LiraNuna_jmedina, Aug 20 16:06:54 train postfix/smtpd[13284]: warning: localhost[127.0.0.1]: SASL DIGEST-MD5 authentication failed: authentication failure00:17
LiraNunathat's about it00:17
Psi-JackAlright. dhcpd3-server, is it capable of running a primary and secondary server?00:18
_jmedinaPsi-Jack yeap00:18
Psi-JackSweet.. How? LOL00:18
_jmedinais not that hard00:18
_jmedinaman dhcpd.conf00:19
_jmedinathat is the first place to ask...00:19
_jmedinacheck the DHCP FAILOVER section00:19
Psi-JackGotcha.00:20
* _jmedina looks at his TODOcument list and see dhcp slave at 50 %...00:21
Psi-JackCool. now I just need to figure out how to use eBox's hooks to tie that in. ;)00:21
clusty_jmedina, worked. i am blind had a typo00:26
_jmedina:)00:27
clusty_jmedina, new problem: http://pastebin.com/m5e6a5e9100:27
_jmedinahard to catch typos at this hours00:27
clustycan you tell what is wrong with the second part of the ldif?00:28
_jmedinaprobably you have spaces at the end of your ldif file00:28
_jmedinaor a hidden character00:29
clusty_jmedina, you're the man :D00:44
clusty_jmedina, imported all the damn data00:44
_jmedinaclusty: ?00:44
_jmedinahow?00:44
clusty_jmedina, tweaking the ldifs to match my conf00:44
_jmedina:)00:45
clustyand compu pasted around to fix the file issue00:45
clustystart getting the hang of this slowly00:45
clusty_jmedina, reading your guide about the client side of ldap01:05
clusty_jmedina, the server address you set to 127.0.0.1, but this is localhost. don't i need to specify the IP of the server?01:05
giovaniheh01:05
LiraNunahow can I provide smtp auth using mysql database without storing them in CLEAR TEXT?01:18
troytroyhi folks01:18
LiraNunaI tried using saslauthd but it only supports AUTH PLAIN and AUTH LOGIN01:19
LiraNunaI tried auxprop sql and it requires clear password in the database01:19
KillMeNowyou can encrypt them in the mysql database01:19
LiraNunaKillMeNow, they are already encrypted01:19
KillMeNowthen the initial transmission can be doing over TLS or SSL01:19
LiraNunausing PLAIN and LOGIN ?01:19
troytroypls how do i configure bind9 to respond to queries from intranet clients01:19
KillMeNowthey are encrypted in my database01:20
LiraNunaKillMeNow, same here - I got AUTH LOGIN and AUTH PLAIN working, but AUTH MD5-* doesn't work01:20
KillMeNowyou will need to create different "views" for your Bind9 install Troy01:20
troytroyqueries from the server to outsider using server works but clients on the intranet seem not to be able to query with the server01:20
KillMeNowlet me finish typing out this email and I'll check my setup again01:20
LiraNunatroytroy, sounds like network configuration problem, do you set the bind9 server as a DNS server in your intranet router?01:21
troytroyLiraNuna yes pls01:21
KillMeNowforwarders Troy01:22
troytroyactually yes01:22
KillMeNowif you're using your Bind server as the resolver, if the bind server doesn't have the zone file, it will need to forward the query to an upstream dns resolver01:22
troytroyyes i have opendns servers configured as the forwarders01:23
troytroyactually queries from intranet client for other intranets clients dont return01:23
troytroybut if i do the queries in the server everything seems fine01:24
_jmedinaclusty I mean openldap client utilities, not a linux client01:27
troytroyso any clues what could be going wrong01:28
troytroyhttp://ubuntu.pastebin.com/m22cbd67001:28
KillMeNowso you're doing a query for other intranet clients ?01:29
troytroythats a firewall script kindly check if that is the course for block dns queries01:29
troytroyKillMeNow yes pls01:29
KillMeNowLiraNuna...  i'm running saslauthd and courier01:29
KillMeNoware those other intranet clients in the zone file for your domain?01:30
LiraNunaKillMeNow, I took your solution, I made TLS mandatory for login, and only supported logins are PLAIN and LOGIN01:30
_jmedinaKillMeNow: you can configure postfix sasl client wth courier authdaemon, bypassing cyrus sasl saslauthd01:30
LiraNunathat way I'm forcing encryption and everyone's happy01:30
KillMeNowi think i found the same issue you did, and finally just require TLS to secure the password transmission01:30
LiraNunaKillMeNow, smtp auth is such a mess01:31
KillMeNowi just looked at my configs and it's same as you...  PLAIN and LOGIN01:31
LiraNunayeah, I guess it's best of both worlds :/01:31
_jmedina# cat /etc/postfix/sasl/smtpd.conf01:31
_jmedinapwcheck_method: authdaemond01:31
_jmedinalog_level: 301:31
_jmedinamech_list: plain login01:31
_jmedinaauthdaemond_path:/var/run/courier/authdaemon/socket01:31
_jmedinathat is from jaunty server01:31
LiraNunathanks for the clarification, KillMeNow01:31
LiraNuna_jmedina, yeah, plain and login01:31
LiraNunaover TLS01:31
_jmedinathis way postfix comunicates directly to authdaemon..01:31
_jmedinayes01:31
_jmedinawhat is wrong with that?01:32
LiraNunanothing01:32
_jmedinaif you need strong auth and encryption use kerberos01:32
LiraNunabefore that I didn't have TLS01:32
KillMeNowthere is supposed to be a MD5 crypt that *should* work but doesn't01:32
LiraNunaso I couldn't use cram-md5 or crypt-md501:32
troytroyKillMeNow http://ubuntu.pastebin.com/m153b709301:32
troytroythat is my named.local.options file01:32
LiraNunathank you both, KillMeNow and _jmedina, finally got that thing sorted out :/01:32
LiraNunahehe, even google has that01:33
LiraNunaAUTH LOGIN01:33
LiraNuna530 5.7.0 Must issue a STARTTLS command first. m6sm194510wag.2101:33
LiraNuna^ google01:33
uvirtbotLiraNuna: Error: "google" is not a valid command.01:33
KillMeNowi'm trying to remember my bind here...  0.0.0.0/0 gives recursion to anyone?01:33
_jmedinaXD01:34
troytroyyep01:34
_jmedinaKillMeNow: yeap, openrelay01:34
_jmedinaI never use recursion, everything is controlled by allow query01:34
KillMeNowyea, that's not necessarilly a good thing if it's public facing at all01:34
_jmedinaI use allow query globally, allowing only localhost and trusted subnets01:34
_jmedinaand then I allow-query any for each external zone01:35
KillMeNowbut anyways, Troy...  if your internal clients hit the dns server, and it doesn't have any of your intranet clients in the domain zone file, it will try to forward the query to opendns01:35
KillMeNowso do you have either your intranet zone file clients appending dynamically or statically?01:35
troytroyKillMeNow there is a domain zone file01:35
troytroyKillMeNow the problem is queries on the server work perfectly01:36
KillMeNowok so follow my logic here...  lets say your domain is xyz.com01:36
KillMeNowand it's internal01:36
KillMeNowforget outside01:36
troytroybut it seems not to work from outside the server01:36
KillMeNowif you have client A, that tries to resolve client B, but client B doesn't have a host record in teh zone file that the bind server is authoritative for it's going to bomb01:37
troytroyKillMeNow hmm there are zone files and reverse zone files01:38
troytroyall working perfectly when queried in the server01:38
KillMeNowok, so which is it? you said "<troytroy> actually queries from intranet client for other intranets clients dont return"01:38
troytroye.g host clientA server  get a hit when run from the server01:39
KillMeNowok, so when you try to resolve from the bind server it resolves?01:39
troytroybut lets say nslookup clientA server return unknown01:39
troytroyits like the server is rejecting queries from the intranet clients01:40
troytroyyes01:40
KillMeNowand client A has the bind server as it's resolver?  /etc/resolv.conf01:40
troytroyyes01:41
KillMeNowhave you checked using netstat -nap | grep 53 to verify that the service is up?01:42
KillMeNowotherwise, do a iptables --flush01:42
KillMeNowtake IPtables out of the equation and see if it then resolves from client A01:42
KillMeNowif it does after you flushed your iptables, then the problem is your iptables rules01:42
troytroyits up and running01:43
KillMeNowUDP or TCP or both?01:43
troytroyhttp://ubuntu.pastebin.com/d36aedd3b01:43
troytroybot01:43
troytroyboth01:43
KillMeNowok01:43
KillMeNowso dump your iptables and try from client A again01:43
troytroyok01:45
troytroysame error bro01:45
KillMeNowcheck your /var/log/messages01:46
troytroyok01:46
troytroynothn pertaing to the nameserver ther01:49
troytroykindly check my "iptables -S" for me01:50
KillMeNowhold on, did you flush your iptables?01:51
troytroyKillMeNow http://ubuntu.pastebin.com/d1454134301:51
KillMeNowprior to running the query from client A?01:51
troytroyyes01:51
troytroyyes01:51
KillMeNowthen we can deduce that it's not your iptables yet01:51
KillMeNowif you do a iptables -L01:51
KillMeNowyou should see nothing01:51
troytroyyep01:51
troytroyjust run the script again to enable remote ssh logon01:52
KillMeNowwell, i'm not seeing a UDP port for 5301:52
KillMeNowonly tcp01:52
troytroyok let me add that01:52
KillMeNowalso i'm seeing anything coming in to eth1 to be sent to the DROP bucket01:53
KillMeNowyou know, i use IPKungfu for doing all my firewall scripts01:54
KillMeNowmakes life MUCH easier01:54
troytroyok i am trying to setup a wireless hotspot box01:54
KillMeNowwww.linuxkungfu.org01:54
KillMeNowok, then why not use DD-WRT?01:55
KillMeNowor something similar?01:55
troytroyso eth1 is hooked to switch with access points attached01:55
KillMeNowahh01:55
KillMeNowok01:55
troytroyeverything is setup fine just this nameresolution error01:56
KillMeNowanyways, point is...  if you flushed your iptables and ran the query from client A, then you can deduce there is something borked in your config01:56
troytroyok01:56
KillMeNowi'm off work now, so i'm gonna go home01:57
troytroychecked /var/log/syslog no errors with respect to nameserver config01:57
troytroythanks very much01:57
troytroyur assistance is very much appreciated01:57
KillMeNowwell, it's working from local01:57
KillMeNowso if you run a dig @localhost hostname01:58
KillMeNowyou should get some type of return01:58
KillMeNowbind can be really tricky01:58
KillMeNowhave fun01:58
PhotoJimany reason why update-grub wouldn't put new kernels in the list?02:16
PhotoJimmine has the latest as 2.6.28-11 in /boot/grub/menu.lst but there are about 3 updated kernels since then.  manually running update-grub doesn't create the entries either.02:17
giovaniI still will neve3r get why people quit a few seconds/minutes after asking a question during off-hours02:22
clusty_giovani, who quit?02:23
giovanioh, that's my error -- I mistook Psi-Jack_ for PhotoJim02:24
giovanimy comment stilly applies in the general sense though :)02:24
giovaniPhotoJim: can you ls -lah /boot for us?02:25
troytroyhi giovani02:27
PhotoJimgiovani: I actually figured it out.  I had to edit the # kopt=blahblah line to include my rootdelay=70 line (needs a delay due to RAID issues) and then re-invoke update-grub.  once I did that, the problem disappeared.02:27
PhotoJimgiovani: thanks for offering though :)02:27
troytroybeen battling with bind9 configuration for 12 hours now02:27
troytroyit just refuses to respond to queries from clients in the intranet02:28
giovaniPhotoJim: how does that relate to update-grub not detecting your newer kernels?02:29
PhotoJimgiovani: good question.  I'm not entirely sure.  I think the first update-grub just updated the menu.lst configuration options but didn't include the new kernels.  the second invokation added the new kernels.02:30
giovanihmm, that seems unlikely02:30
giovanibut alright02:30
PhotoJimgiovani: my first attempt had me have a kopt line without the preceding # (I thought it needed to be uncommented).02:31
PhotoJimgiovani: I don't really know for certain.  I just know that it worked this past time.02:31
qman__the first try probably failed because it was completely uncommented02:46
qman__update-grub takes one-#-in lines02:46
PhotoJimthat sounds right02:46
PhotoJimand when I corrected it, that let it work properly02:46
uvirtbotNew bug: #416750 in samba (main) "package samba-common 2:3.2.3-1ubuntu3.5 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/41675002:55
faileasodd question, but has anyone here set up pygopherd? i'm trying to get it to use a hostname i specify instead of the hostname of the system, and i can't seem to get it to.02:58
twbYou're running a GOPHER server?02:58
faileaswell, in theory. in practice, its not quite working ;p02:58
twbCool.02:58
faileasi DID say it was an odd question didn't i? ;p02:59
ballYAY FOR GOPHER!02:59
* faileas is running IRC (with qwebirc) and web right now. gopher looks like fun, but its rather hard to get help with it ;p02:59
faileasgopher://lupinenet.co.cc03:06
faileasthe issue is i set the hostname to be lupinenet.co.cc in the config file. it seems to be picking up the computer's hostname instead03:06
faileashmm03:08
faileasnever mind. looks like my ISP blocked port 70 too03:09
faileasso linking is of little use ;p03:09
twbcurl: (1) Protocol gopher not supported or disabled in libcurl03:19
twbSadness03:19
ballhello mathiaz03:23
=== macrocosm_ is now known as macrocosm
psi-jackOkay. So, if you're primary focus on making an ubuntu 9.04 server was to make it a router, would you use ufw, firestarter, or something else?04:50
psi-jackWhat I'm looking for, is preferably easy maintenance, possibly web interface for it, and presently, not eBox.04:50
faileaspsi-jack: take a look at untangle04:51
psi-jackI just did.04:51
psi-jackFracking thing just crashed the system.04:52
faileashmm04:52
psi-jackUses Java crap, too.04:52
psi-jackDNS was minimal. IPs to Names, that's it. That's not DNS, that's only 1 100th of DNS.04:52
faileasthats cause routers don't handle dns, you need a DNS server seperate from the router04:53
faileas(softwarewise, stuff like BIND or unbound)04:53
psi-jackWell, if the router is handling everything, why /not/ have it also handle DNS? I mean, really.04:53
faileasno no04:53
faileasyou use the same hardware, and add a DNS server04:53
psi-jackRight.04:53
psi-jackUntangle, didn't really offer such a capability.,04:54
psi-jackThey locked it down far too much.04:54
faileasuntangle is ubuntu with their own custom stuff ;p04:54
faileashmm04:54
psi-jackNo, actually, it's Debian.04:55
psi-jackBut, still.04:55
psi-jackThey locked it down so you couldn't really manage it, except through their own interfaces.04:55
psi-jackSO anyway.04:55
psi-jackI may just write my own interfaces.04:55
faileasand if its any good share em ;p. its something potentially useful04:56
psi-jackbut, I want to know, for now, what would be the better option for firewall stuff to handle NAT and port forwarding.04:56
psi-jackufw, to me, seemed very.... Desktop-based, not really server-based at all..04:56
ycyfor your safety, please remain seated or firmly grip the handrail at all times04:56
faileasya04:56
faileasi think most hardcore server uses would prolly use iptables straight up, and not worry about the front end04:57
twbufw is handy for setting up iptables-restore rules while still providing a stupid thing (ufw(8)) that you can hand to ill-educated customers who want to shoot themselves in the foot.04:57
twbAs opposed to a straightforward #!/usr/sbin/iptables-restore script in /etc/network/if-pre-up.d/04:58
psi-jackHeh04:58
psi-jackTrue that.04:58
psi-jackI mean, yeah, it provides a means to use iptables restore stuff in segments.04:58
twbiptables-persistent entered sid recently, which is just an init script that runs iptables-restore on /etc/iptables/foo04:59
twbpsi-jack: well, I HOPE it essentially cats them -- you can't meaningfully cat iptables-restore scripts.  And I *really*, *REALLY* hope ufw doesn't turn into like 1000 individual iptables -A rules05:00
roxy__hi somebody know how i can recover the information when the superblock is broken?05:05
twbroxy__: carefully?05:16
twbroxy__: which filesystem?05:16
roxy__xfs05:16
twbAhaha05:17
twbI believe the recovery process for XFS is "bend over"05:18
psi-jackNot exactly.05:18
psi-jackXFS is a fine filesystem.05:18
roxy__so, how i can recover?05:19
psi-jackLemme read back05:19
psi-jackokay. superblock is broken? What told you that?05:20
roxy__when i try to mount05:22
twbXFS is fine up unless you have no write barrier support, or run an old (read: tested) kernel, or happen to lose power unexpectedly.05:22
roxy__i try to use xfs_repair but can't find the superblock05:22
psi-jackI see.. Are you sure it's XFS?05:22
psi-jacktwb: I've had no problems for years.05:22
twbpsi-jack: how fortunate for you05:23
twb# file -sL /dev/puck/root --> Linux rev 1.0 ext3 filesystem data (needs journal recovery) (large files)05:23
roxy__yes05:23
twbroxy__: file -sL on the device should confirm that it's XFS05:23
roxy__yes, i got /dev/internal/homes: SGI XFS filesystem data (blksz 4096, inosz 256, v2 dirs)05:24
psi-jackroxy__: Okay, cool, run xfs_check on /dev/internal/homes05:26
roxy__i did and i got can't seek in filesystem at bb 18157822405:26
roxy__can't read block 0 for directory inode 11991452205:27
roxy__no . entry for directory 11991452205:27
psi-jackOkay. xfs_repair then05:27
roxy__i did, but said can't not find superblock05:28
psi-jackOkay, xfs_repair -d05:29
psi-jackif that works, immediately reboot after it's done.05:30
roxy__couldn't verify primary superblock - bad magic number !!!05:30
roxy__attempting to find secondary superblock.05:31
psi-jackOkay. Is it still goinf?05:31
roxy__yes05:34
chrislabeardIf my server when i ssh into says there are 16 updates don't i just do apt-get update05:34
psi-jackOkay, good start then.05:35
psi-jackroxy__: Just remember, when it finishes, you'll /need/ to reboot immediately, else you will cause further damage.05:35
psi-jackroxy__: Was this your / filesystem that got damaged?05:36
twbchrislabeard: it only lists 16 updates because it has done an "apt-get update" itself05:36
roxy__but still doesn find05:36
roxy__no05:36
roxy__the info, data05:36
chrislabeardtwb: ahhh05:36
chrislabeardokay05:36
psi-jackroxy__: Eh?05:36
twbchrislabeard: see /etc/cron.daily/apt05:36
chrislabeardtwb: yeah well it says 19 packages can be updated05:36
chrislabeard38 updates are security updates05:36
roxy__sorry i missunderstand your question...yes, i am checking the damage partition05:37
Psi-Jack__Okay, is it still running the repair on it and not just dying immediately?05:38
jmarsdenchrislabeard: If you want to actually upgrade your machine to include those updated packages, do sudo apt-get upgrade05:41
chrislabeardjmarsden: is it bad to upgrade all those packages05:42
roxy__yes still is lookinf for the superblock but doesn't find05:42
roxy__unable to verify superblock, continuing...05:42
jmarsdenchrislabeard: Define bad :)  Usually it is 100% fine to upgrade them, unless you set your machine to look in strange nonstandard places for updates.05:42
chrislabeardk cool05:43
* ball worries about updates too05:43
Psi-Jack__roxy__: Okay, tell me about how this came to be, and how you created this xfs drive.05:43
jmarsdenball: In the last year, have you had an update from an official Ubuntu repository break anything important?  Or is your worry mostly unfounded?05:44
roxy__i didn was ceated time ago for somebody else...one of the disk was corrupt and i take off but no was in raid with this one05:45
balljmarsden: I've had so many things break it's difficult to know what causes what.  If I had more experience with Ubuntu I'd be in a better position to judge.05:46
Psi-Jack__roxy__: Lets try this again, in English please.05:46
Psi-Jack__So, It /was/ in a raid, and now is not, and it was corrupted?05:46
ballistr an update to Jaunty that went badly, but it worked better when I installed from a CD05:46
jmarsdenball: Hmm, OK.  I only worry about updates from strange sources like PPAs or unofficial other repos... can't think of anything I have broken with a 'normal' update...05:47
* ball nods05:47
ballI've found a few Ubuntu bugs, but I don't think any of them were in the Server variant05:48
jmarsdenI've probably *created* a one or two Ubuntu bugs (minor packaging bugs) and then fixed them :)05:49
Psi-Jack__roxy__: I don't want to wait 5+ minutes for each answer to each of my questions I ask you, if that's how it's going to be, I'll be bored and non-responsive.05:49
roxy__im so sorry ..05:50
roxy__i just some user come here for a problem05:50
roxy__still dont get superblock05:51
roxy__i have a LVM with 3 disk on raid and 1 more individual,  the disk alone was corrupted05:52
Psi-Jack__roxy__: Okay. So, what drive is this XFS filesystem on?05:53
ballroxy__: that's what they call "Sod's Law"05:53
roxy__all of them05:53
Psi-Jack__roxy__: So, it's part of a raid array?05:53
roxy__yes05:54
* ball is confused05:54
Psi-Jack__What type?05:54
ball"1 more individual" != RAID, surely?05:54
roxy__raid 105:55
ballroxy__: you had a three disk RAID-1 array?05:55
roxy__2 disk in raid 105:55
roxy__sorry 3 disk05:55
Psi-Jack__So a mirror raid? I see. And you mentioned LVM as well?05:55
roxy__yes05:55
ballAh, two mirrored disks and a third on its own (as a standby?)05:55
roxy__and one lv is corrupt05:56
roxy__thhe format xfs was done for each lv05:56
Psi-Jack__WHat type of LVM is on the partition?05:56
roxy__lvm205:57
Psi-Jack__Linear or Striped?05:57
=== chrislabeard is now known as chrisLAbeard
roxy__i am not sure, how  can know that?05:57
Psi-Jack__Well, First of all.06:03
Psi-Jack__vgdisplay -v shows your volumes, correct?06:03
roxy__that show me the VG and the LVs, but I just have one LV with problem and the rest are ok06:05
Psi-Jack__Okay. Fine, but does it show the volume that's not okay?06:06
roxy__everything is in the array od disk with raid 106:06
roxy__no06:07
Psi-Jack__Okay then, there's your problem!06:07
roxy__show me is ok06:07
Psi-Jack__The LVM for it isn't okay, hence why the XFS has no superblock, cause lvm hasn't activated it.06:08
ragsI installed mediawiki on ubuntu using aptitude, but when I open http:/localhost/mediawiki I get a download...intially I thught php was't parsing, but I just tested with phpinfo()  and it worked06:09
ragsI've also added the alias mediawiki in /etc/mediawiki1.10/apache.conf06:09
roxy__so? what i can do?06:09
ragsWht can be the problem? wht are the possible problems?06:10
Psi-Jack__roxy__: First of all, vgchange -a y  to activate the volumes, all of them.06:12
roxy__i did06:14
Psi-Jack__Now, does lvdisplay -v show your faulty volume?06:14
roxy__still the problem06:16
Psi-Jack__Not showing up?06:17
roxy__no06:17
Psi-Jack__Okay. What's the /dev/* for the drive with issues?06:18
roxy__all are active but i can read one of the lv06:18
roxy__dev/internat/homes where internal is the VG and homes the LV06:19
Psi-Jack__No06:19
Psi-Jack__The ACTUAL device for the hard disk itself, not the mapped name from LVM.06:19
Psi-Jack__Like /dev/sda06:20
chrisLAbeardThis is probly a really stupid question ... if i am using everydns name servers as slaves do i need to add a slave record to bind06:20
Psi-Jack__chrisLAbeard: No, That's for actual slave dns servers.06:21
chrisLAbeardPsi-Jack__: alright ... in my masterzone longhornpc.com i have them listed there as NS06:22
chrisLAbeardand told that record to allow transfers to the name servers Ip address06:22
Psi-Jack__roxy__: Here.. Use this website. I apologize, but your responses are just too slow for me to not be falling asleep for. http://www.linuxjournal.com/article/887406:24
Psi-Jack__You need to recover the raid, then lvm, THEN you can get to the XFS properly.06:25
roxy__that is teh lv06:25
roxy__is /dev/md106:26
roxy__the raid is working is just this lv that have the problem06:27
Psi-Jack__Yeah, and yet, I ASKED for the actual device node, not the md#, not the lv name, the DEVICE node.06:29
Psi-Jack__So, next time you ask for help, and are asked specific questions, answer them. I'm done for now.06:29
Psi-Jack__I need sleep.06:29
Psi-Jack__Use the website I referred you to.06:29
roxy__Yes i can see that...thanks06:34
twb8.04 appears to have apparmour turned on and in "enforce" mode by default.  Is that still the case in current releases?06:36
quizmehi, i'm trying to set up mod_proxy for a web site.06:45
quizmehttp://cardinaleducation.thirdreplicator.com/06:46
quizmeon port 1100006:46
quizmehttp://pastie.org/59078206:48
quizmethat's my apache conf file06:48
ceftwb: think so.. it only enforces for apps that have profiles afaik06:58
twb#Apparmor on OFTC is helping me06:58
twbsee https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/AppArmorProfiles06:58
LiraNunawhere does postfix run chrooted?07:28
LiraNuna/var/run/postfix doesn't seem to be it07:29
jmarsdenLiraNuna: /var/spool/postfix I think... but it doesn't chroot by default, at least as far as I can tell.  Read the /etc/init.d/postfix init script for the details.07:33
LiraNunajmarsden, thanks that's exactly it07:34
LiraNunaand it does chroot for me ...07:34
LiraNunaand I don't remember configuring it not to07:35
jmarsdenOK.  i read the sxcript and it seems to check for the chroot field in /etc/postfix/master.cf, and that is not set to y in my (very default) config here.07:35
LiraNunathanks for the path, that's exactly it07:35
jmarsdenOK... and I misread the script, - means yes in that colum of the config file, so it does chroot by default :)07:37
LiraNunayeah, I had a few annoyances to understand it does chroot by default07:37
LiraNunalike can't use mysql socket, must use tcp07:37
jmarsdenOK... well, you could probably put a socket under /var/spool/postfix somewhere and make it work if you really need to :)07:39
jmarsdenI think mysql can listen on multiple sockets at the same time... not sure though.07:40
sbeattietwb: you're welcome, glad I could help (over in #apparmor)07:49
twbsbeattie: heh07:49
ivoksttx: i've uploaded corosync with requested changes and explained why we can't just sync from debian :)08:40
ttxivoks: will have a look... but not before Monday. Ping mathiaz or zul about it if you need it faster.08:41
ivoksok08:41
ivokswill do, since we need it asap08:42
ivokswe need to build other tools on top of corosync08:42
ttxyes, that's why I warned you :)08:42
johe|workgood morning08:48
acalvoonce CSR is only valid for the computer that generates it? or it is valid for more than one computer?08:50
eolo999hi, i'm trying to setup unattended dist-upgrades with cron-apt. I'm only worried about what happens to packages configuration files. Example: i have my personal configuration of postfix and don't want an update modify it. I can be sure configuration files are not touched?09:15
_rubenwell .. dont do unattended upgrades then09:18
imchrislabeardwhat are the advantages of having a mail server?09:20
_rubenbeing able to send and receive mail perhaps?09:21
eolo999_ruben: just looking for an apt-get option which by default leaves configuration files untouched without prompting09:21
imchrislabeardas opposed to like using gmail apps09:22
_rubenimchrislabeard: having full control over it09:22
imchrislabeardi can set up email for a subdomain can't i09:22
_rubenimchrislabeard: i can, not sure if you can ;)09:23
imchrislabeardhaha09:23
imchrislabeard_ruben: i would have to create a mail.sub.example.com09:23
imchrislabeardmx record09:24
imchrislabeardin my example.com hosts file09:24
eolo999more precisely i would like to hav apt-get "hold" configurations...09:26
eolo999*have09:26
_rubenimchrislabeard: you'd create a mx record for sub.example.com pointing to whatever mailserver you want to use for it, eg: mail.sub.example.com09:26
_rubenand configure said mailserver to accept mail for sub.example.com09:27
imchrislabeardwhat is the best mailserver09:29
imchrislabeardin your opinion09:30
Boohbahpostfix09:32
Boohbah+ courier-imap09:32
_rubenpostfix (+ dovecot for pop3/imap/sasl)09:37
ivoksdovecot-postfix :)09:38
eolo999i found a 'dpkg' option which is called 'confold'. so is there a way to pass arguments to dpkg itself?09:53
johe|workso good morning,10:04
\shmaswan: moins...do you have btw iscsi storage running unter ubuntu/debian somehow?10:06
maswan\sh: nope, no iscsi10:12
maswan\sh: we prefer internal storage to external. :)10:13
Jeeves_\sh: We have10:27
\shJeeves_: cool...how do you mount your iscsi devices automatically, I hope you have bond and vlan setups which comes up very late during boot up sequence10:38
Jeeves_\sh: We don't10:39
Jeeves_that doesn't work too well10:39
\shJeeves_: well..that's one of my problems...somehow /etc/init.d/open-iscsi is called for every ifup but it doesn't work...I have to setup the iscsi device as _netdev in fstab with 0 0 , and then call mount -a -O _netdev in /etc/rc.local that's the only way I got that setup running10:41
_rubenwonder why hooking into ifup wouldnt work10:43
\sh_ruben: I need to investigate, but looks like that open-isci starttargets should be called, I wonder why it doesn't work10:45
\shin /etc/rc.S/S25open-iscsi that's where the open-iscsi stuff is started and tries for the first time to login into the iscsi portal (in my case a msa2012i)10:46
imchrislabeardwhat is a zombie process ?11:24
qman__one with an affinity for brains ;)11:25
qman__http://en.wikipedia.org/wiki/Zombie_process11:25
cemcis there a way to monitor hardware of an ibm eserver from linux? like temperature, fan speed ?12:33
cemcfrom ubuntu*12:33
ewooksmnp?12:34
maswanipmi?12:34
giovanicemc: sure ... if the sensors are available locally on the machine -- you can do anything you want with them12:37
jdstrandPsi-Jack__: the ufw cli command is focused on host-based firewalls. it will work fine on a server. the ufw framework supports anything iptables can13:55
jdstrandPsi-Jack__: and it works just fine on servers13:55
Psi-Jack__Yeah..13:55
jdstrandoh, I said that :)13:55
Psi-Jack__but still, it's not as convenient as straight up iptables commands, iptable-save, iptables-restore.13:56
jdstrandPsi-Jack__: I would have to completly disagree13:57
jdstrandPsi-Jack__: ufw allow OpenSSH ; ufw enable13:57
jdstrandPsi-Jack__: with two commands you have a completely configured firewall13:58
Psi-Jack__Okay, show me a ufw command to port forward.13:58
Psi-Jack__Show me a ufw command to trigger a block if too many connections come into a single port a second.13:58
jdstrandPsi-Jack__: ah, but that is not what you said! 'host-based' implicitly means 'non-routing'13:58
Psi-Jack__Show me a ufw command to enable NAT. :)13:58
Psi-Jack__Precisely!13:59
jdstrandPsi-Jack__: ufw does have a limit command13:59
jdstrandbut the timeout is currently not configurable13:59
Psi-Jack__So, you see..14:00
Psi-Jack__For over simplicity for HOST-based, it's less useful than simply defining your rules in iptables directly and saving and restoring, like Gentoo, for example, uses.14:00
jdstrandPsi-Jack__: I said that initially. your statement was a blanket statement, mine was a precise statement14:00
_rubenthe use of ufw doesnt require knowledge of iptables14:01
jdstrandPsi-Jack__: if you are comfortable setting up your own iptables firewall, ufw won't get in your way and you can write your script14:01
jdstrandPsi-Jack__: if you want to quickly setup a host-based firewall, ufw is hard to beat14:01
=== ivoks_ is now known as ivoks
jdstrandPsi-Jack__: if you want to combine host-based rules and NAT, forwarding, etc-- ufw can help14:02
ivoksfirst my laptop died, and now there's no electricity in my area... i just can't work anymore :/14:03
Psi-Jack__I dunno.. I'm thinking about ripping gentoo's iptables script and modifying it to work with ubuntu personally. heh14:03
ivokszul: are you here?14:04
zulivoks: yeap14:04
ivokszul: could you plese look at the only open bug for corosync14:05
ivoks?14:05
zulbug numbe?14:05
ivoksmy cell phone battery is low...14:05
jdstrandPsi-Jack__: not everyone knows iptables like the back of their hand. not to mention a complicated iptables script is hard to audit. ufw helps make sure you get things right, is easy to read and allows you to do all the complicated stuff. I'm in no way telling you what to use, of course.14:05
ivoksdon't know (i'm ircing over nokia)14:05
ivoksit's the only one14:06
jdstrandthere was a time when iptables had an restore init script, but it was ripped out cause it caused too many problems. maybe gentoo's is better (I don't know)14:06
ivokssync request from ppa14:06
jdstrands/an/a/14:06
zulivoks: k just need to up load it right?14:06
ivoksrightt, from ubuntu-ha-maintainers ppa14:07
zulgotcha14:07
ivoksok, will be back as soon as possible14:07
zulivoks: corosync (1.0.0-4ubuntu2) karmic; urgency=low14:07
zul <-- this one right?14:07
ivoksyes14:08
zulk14:08
zulgimme a sec and ill do it14:08
ivoksi don't have it; battery very low14:08
ivoks:)14:08
zulsheesh doing it now :)14:08
ivoksthere's no bug report, but we'll need openais sync too14:09
ivokszul: thank you!14:11
zulivoks: its...um...14:11
=== Nightlurs is now known as Nightlurker
Psi-Jack_jdstrand, It is. It actually works.14:35
Psi-Jack_jdstrand, See, all it really does, is use the standard iptables commands to save and restore. Done right, it's really simple.14:36
Psi-Jack_Done wrong, obviously, will result in bad anomolies.14:36
kpettitGood morning.  Can anybody recommend a good script/app for doing some basic QOS?  Basically  I'm trying to make SIP traffic a priority15:01
giovanikpettit: yeah, QoS in linux isn't a simple "script"/"app"15:04
kpettitI understand, I've done it before.  But it's been a few years so I'm trying to see what's out there.15:05
uvirtbotNew bug: #416958 in openssh (main) "GSSAPI Cascading Credentials support" [Undecided,New] https://launchpad.net/bugs/41695815:05
ivoksRoAkSoAx: you were saying?15:08
RoAkSoAxivoks, could you please endorse my MOTU Application: http://wiki.ubuntu.com/4nDr3s/MOTUApplication ?Thanks :)15:08
ivokssure15:12
RoAkSoAxivoks, thanks :)15:22
=== _jmedina is now known as jmedina
ivoksnice...15:40
ivoksnokia is diching s9015:40
ivokss60, lol15:40
jmedinahi ivoks15:42
ivokshi15:42
ivokszul: it's me again :)16:11
zulivoks: with more battery power?16:12
ivokswhole power plant :)16:12
ivokszul: bug 41697016:13
uvirtbotLaunchpad bug 416970 in openais "Please sync openais 1.0.0-3 (main) from Debian experimental" [Undecided,New] https://launchpad.net/bugs/41697016:13
ivoksif it's not so hard...16:13
ivoks:)16:13
zulivoks: if the ubuntu changes can be dropped just subscribe ubuntu-archive and they can sync it from debian16:14
ivoksok16:15
zulnext? :)16:15
ivoksthat's all :)16:15
ivoksnext time - beers on me :)16:15
ballbears on me... GET THEM OFF!16:20
ball:-o16:20
johe_:-)16:20
=== johe_ is now known as johe
Psi-Jack_Curious. Anyone here use firestarter?16:30
jmedinafirestarter requieres a GUI, ubuntu doesnt support GUIs16:31
jmedinaI consider firestarter a personal desktop firewall16:32
Psi-Jack_Heh16:32
Psi-Jack_They consider it useful for desktops and servers.16:32
Psi-Jack_And it doesn't /require/ a GUI, it just has one, if I see this right.16:32
* jmedina used firestarter 6 years ago, then used my own script, and now shorewall installed on about 30 servers16:33
Psi-Jack_They have a client/server interface for it, which would make anything able to work with it/16:33
jmedinawell firestarter wont fit my requierements16:33
pmatulis"ubuntu doesn't support GUIs" -- huh?16:33
jmedinaubuntu server16:33
Psi-Jack_So you use shorewall, eh?16:33
jmedinayeap16:33
jmedinabeen working with shorewall team for a few years16:34
Psi-Jack_Ahhh16:34
Psi-Jack_Cool. So, is there's a quickstart guide to shorewall?16:34
Psi-Jack_Everytime I look into it, it looks even more painful to use than just straight iptables.16:34
jmedinapsi sure16:34
jmedinathere are quickstart guides for single interface, two interfaces, three interfaces, multiisp16:35
Psi-Jack_And this is usually on my router, where if it's not routing, I'm using links for browsing which makes it worse16:35
Psi-Jack_I need multi-interface with ip-masquerading, at theminimum.16:35
jmedinaI dont know any other firewall configuration with that extensive documentation16:35
abtaperhaps you also could take a look on "firehol"16:35
abtabut shorewall is also very good ;)16:35
jmedinaPsi-Jack just take a look at shorewall.net and the documentation section16:36
Psi-Jack_Will so.16:36
Psi-Jack_do16:36
jmedinathey document almost everything, with a active developent, I think last year shorewall was promoted to the best supported open source proyecto or something16:37
Psi-Jack_Just trying to figure out whichversion comes with ubuntu 9.04 package repos16:37
jmedinait is easy to install by hand16:38
jmedinaor you can use shorewall packages, shorewall debian maintainer is part of the shorewall core team16:38
Psi-Jack_heh16:39
Psi-Jack_I'm not seeing a simple quickstart guide.16:46
Psi-Jack_Well okaaay now, Ubuntu only comes with shorewall 4.016:49
jmedinaPsi-Jack in the front page "Getting started with shorewall" then New to Shorewall? Download the current Stable version (see above) then select the QuickStart Guide that most closely matches your environment and follow the step by step instructions.16:49
jmedina:)16:49
jmedinayou need to read quickstart guides16:50
Psi-Jack_Ahh there is it16:50
Psi-Jack_it is16:50
jmedinaI have my own quickstart guide in spanish, which I use for every firewall implementation16:50
Psi-Jack_hehe16:50
jmedinaPsi-Jack, read the quickstart guides16:51
jmedinaif you have problems please read the shorewall support guide16:51
jmedinahttp://shorewall.net/support.htm16:51
Psi-Jack_Well, that's cool. I could easily do the 3-NIC method, except that I only have 3 gigabit switch. ;)16:51
Psi-Jack_err, a , not 316:52
jmedinaI have a firewall with 6 interfaces16:52
jmedina3 WAN links, a DMZ and two separate lans16:52
jmedinait is really flexible16:52
Psi-Jack_heh16:53
jmedinaand for more help you can search mail archives or contact shoewall developers and volunteers at #shorewall16:53
Psi-Jack_Yeah, I'm a hands on kinda man myself.16:54
Psi-Jack_I can't stand mailing lists.16:54
* jmedina loves lurkin on lmailin lists..16:55
jmedinaI learn more from mailing lists than other sources..16:55
jmedinareall problems16:55
Psi-Jack_GUess I'll just have to get me another gigabit switch. ;)16:55
Psi-Jack_So I can properly DMZ off my servers from my workstations, media stations, and house control servers.16:56
giovaniPsi-Jack_: or just one with vlans ...17:00
Psi-Jack_Hmmm17:00
Psi-Jack_I suppose I could, but I prefer a physical DMZ zone, and have the router hand out the proper routing methods internally as well as externally.17:01
Psi-Jack_much more secure that way.17:01
jmedinaand more physical space, more cables, more energy waste, more adminstration...17:02
Psi-Jack_heh17:02
giovaniI don't know why VLANs changes routing ... but ok17:03
* ball wonder if Psi-Jack_ is using DMZ to mean what it usually means.17:03
giovanigranted, virtual security shouldn't be used in areas where security is a big concern -- it's unlikely your home DMZ is one of those17:03
* ball doesn't use a DMZ17:05
ball...not entirely sure I believe in them.17:05
giovaniI'm not entirely sure what "believing" in them entails17:12
giovaniI'm not sure how separation of duties would ever be a bad thing security-wise17:12
giovaniinternet-facing systems shouldn't have the same trust level as non-internet facing systems17:13
Psi-Jack__ball: Yes, a seperated physical network for servers away from the personal workstations.17:13
giovanithere's nothing "physical" about a DMZ17:14
ballPsi-Jack__: that's not a DMZ17:14
ballAt least, not a definition of a DMZ that I've ever seen17:14
giovaniball: it's his real-world application of a DMZ17:15
giovanihis servers will sit in a separate, firewalled/routed network17:15
giovanithat's precisely what a DMZ amounts to17:15
ballThat makes sense, but I've not seen "DMZ" used in that context.  Fair enough though.17:15
giovaniyou haven't?17:16
giovaniwhat context have you heard of DMZs in then?17:16
Psi-Jack__Yep.17:17
ballServers that sit basically outside the Firewall, or at least behind just the first firewall with ports forwarded to them.17:17
giovaniball: that's precisely the same concept17:18
Psi-Jack__Seperate route, seperate physical hardware between them, a switch for the DMZ area, a switch for the rest of the network, both connected to one firewall (or more)17:18
giovaniwith more details provided17:18
giovaniPsi-Jack_: no, there's nothing inherently physical about a DMZ17:18
ballHmm... okay.17:18
Psi-Jack__giovani: Is a switch seperately connecting the DMZ server network not physical? :p17:19
giovaniPsi-Jack__: that's not related to the definition of a DMZ17:19
giovaniif you'd like to make it physical ... go ahead17:19
giovanibut that's not required to achieve the concept of a DMZ17:19
ballPsi-Jack__: depends on the switch, presumably.17:19
giovaniI've said this multiple times now17:19
Psi-Jack__ball: Okay, I'd like to see a switch made out of thin air. ;)17:20
Psi-Jack__Zero mass. ;)17:20
giovani...17:20
Psi-Jack__heh17:21
=== ScottK2 is now known as ScottK
ballPsi-Jack__: I was thinking more in terms of virtualisation, but a managed switch might be divisable into separate ethernets.17:22
* Psi-Jack__ nods.17:22
giovanimight be?17:23
giovanithat's what vlans are17:23
giovaniany modern, non-dumb switch does vlans17:23
giovaniand yes, virtualized switches clearly accomplish this as well17:23
* ball is tempted to buy a modern dumb switch17:24
giovaniwhy?17:24
ballTo replace a non-modern 100baseT hub.17:25
ballIt has worked well for us, but we've run out of ports on it.17:25
giovanihaha, hubs17:25
ballI suppose I could get one of these newfangled managed switches17:25
ball...but I'm wary of complexity17:25
ballTrying to keep things simple there.17:25
giovaniit's only as complex as you make it17:26
giovaniI've never seen a managed switch not work out of the box as a simple switch17:26
* ball nods17:26
ballI suppose VLANs might be handy for things like VoIP, which I'd like to roll out eventually17:27
ballI'll need a PoE switch for that anyway17:27
Psi-Jack__Oh that reminds me!17:27
ball...so it may as well be physical17:27
Psi-Jack__I was going to look into that Zoom Skype device, to see if it was Linux capable. ;)17:27
ballPsi-Jack__: I don't know what that is.  I was thinking more of Asterisk or FreeSwitch17:29
ball...and SIP phones on people's desks17:29
Psi-Jack__Heh. I have no need for that at home. ;)17:29
giovaniball: uh, VLANs are essential for any large office that wants to separate networks ... you're just not going to be able to use separate physical switches without a ton of waste, and not very much flexibility17:29
giovaniyou should be vlaning all different types of machines17:30
giovaniprinters, desktops, servers, phones, etc17:30
ballgiovani: It's a small LAN.17:30
jmedinaand games.17:30
jmedina:)17:30
giovaniball: even in a small office -- it'd be the right thing to do, although not nearly as necessary17:31
* ball nods17:31
jmedinaand porn servers17:31
ballPerhaps I'll find a switch that offers a few PoE ports17:31
ball...and a few that aren't.17:31
giovaniyep, plenty of those exist17:31
ballI have a hell of a job finding a switch with the features I want anyway.17:31
giovaniwhat features are those?17:32
* ball thinks for a moment17:32
ball24 (or perhaps 32) port 100baseTX with at least one 1000baseT port.17:32
giovaniuh17:33
ballPreferably two17:33
giovaniI can name like 10 switches that meet that requirement17:33
giovanithat's ... very common17:33
ballgiovani: Ah good.  Do any of them have 8 PoE ports?17:33
jmedinajust ask your hardware store...17:33
giovaniyep17:33
giovaniball: what's your budget?17:33
jmedinaI use linkyss for PoE, they are afforable17:34
ballgiovani: I'm not sure.17:34
balljmedina: Our other network gear is Linksys, so that might work for us.17:34
giovanilinksys makes crap switches17:34
giovanibut, they are indeed cheap17:34
giovaniI have one17:34
ballgiovani: do HP make non-crap ones?17:35
jmedinagiovani: yeap17:35
* jmedina is fighting with a linksys print server right now :S17:35
giovanihttp://www.netgear.com/Products/Switches/SmartSwitches/FS726TP.aspx17:35
giovaniso there's a 24 port 10/100 switch with 2 gigabit, and 12 of the 24 are PoE17:35
ballI don't think I can buy a managed switch from Netgear.  I had some bad experiences with their routers.17:36
ball*bad* experiences.17:36
giovaniwell unless your budget is $1000+17:36
giovaniyou only have a few companies to choose from17:36
giovaninetgear being the best of the bunch17:36
ballgiovani: if $1,000 is what it costs for what we need, that's fair enough.17:36
giovaniawesome17:36
giovanigo cisco then17:37
giovaniclearly netgear's switch at $250 street price is not going to compete with a $1500 cisco switch17:37
ballOnly reason I mentioned HP was that we seem to be coalescing around HP gear, especially since we bought the HP server.17:37
giovaniyeah, procurve switches are another option17:38
giovanithey're a bit less than cisco17:38
giovanibut not significantly so17:38
ball...and if I can give them one company to contract support from when I leave, that's a good thing17:38
giovaniand you'll find far more people ready to work on, with experience on cisco17:38
giovaniyeah, I'd not get focused on finding a single company to buy everything from17:38
giovanithat usually leads to buying the wrong products17:38
imchrislabeardis there a security hole in php5 ?17:40
giovanione?17:40
giovanithousands17:40
jmedina:)17:42
ballNow I have to consider L2 managed Vs. unmanaged.17:43
geniiI can't find any good info on some linux-friendly wifi card based on ExpressCard 54mm type slot. Any suggestions?17:50
jmedinagenii: if you fine one plase tell me17:51
giovanigenii: I'd just google17:51
jmedinaIn fact I have never seen a express card here in mexico17:51
jmedinaI just bought a new laptop and still includes pcmcia17:51
geniijmedina: My new laptop came with expresscard only :( . There seems so little info available on them as well (linux based)17:52
giovanithere are very few expresscards on the market anyhow17:52
giovaniso this isn't really a linux thing17:52
jmedinagenii: we sell hardware and none supliers know about expresscard :)17:53
giovanigiven the lack of a real market17:54
giovaniI'd choose USB over ExpressCard17:54
uvirtbotNew bug: #417030 in samba (main) "instalacion interrumpida" [Undecided,New] https://launchpad.net/bugs/41703017:56
Psi-Jack_Okay, so there's a deb package for shorewall 4.4 available for Ubuntu, yes?18:08
Psi-Jack_Ah yes, cool I see it.18:10
uvirtbotNew bug: #417045 in lsb (main) "lsb_release crashed with ImportError in <module>() (dup-of: 383697)" [Undecided,New] https://launchpad.net/bugs/41704518:26
Psi-Jack_jmedina, The ubuntu package, shorewall, won't automatically try starting it upon install, will it?18:42
Psi-Jack_The ones from the shorewall repository managed by Benjamin?18:42
giovaniPsi-Jack_: probably, why?18:44
Psi-Jack_Cause I wouldn't want it to right off the bat. I'm installing this remotely.18:44
giovaniwhy would it installing be a problem?18:44
giovanidoes it have default rules? that would be stupid18:45
Psi-Jack_I dunno. Good questions. ;)18:45
Psi-Jack_Better safe than sorry though, right?18:45
giovanidon't use a crappy "firewall manager" then18:45
* Psi-Jack_ grumbles.18:45
giovaniwell you should always have an out-of-band management system18:45
Psi-Jack_One thing I hate most, is people telling you what and what not to use when it's nothing to do with them. :p18:45
Psi-Jack_Not to mention, rude as heck.18:46
giovanihate it all you want18:46
Psi-Jack_Was about as bad as telling someone to throw their "junk" away, because it's totally unrealated to the question asked.18:46
giovaniexcept that this is volunteer help18:46
giovaniso it doesn't come with a shut-your-mouth the-customer-is-always-right attitude18:47
Psi-Jack_So fracking what? Common decency, common curtesy, common fracking sense.18:47
giovaniif you want that, I'm sure canonical is willing to provide it18:47
Psi-Jack_I can help someone fix something, or help decide on something, and give all points of views rleated to it, without barking down them and saying do it this way only.18:48
giovaniall I said was that if you're concerned about this problem, you shouldn't use it18:49
giovaniI didn't say you can "only do it this way"18:49
Psi-Jack_No, you said, don't use a crappy firewall manager then. I asked one simple question. Does it start at install, cause a lot of packages for servers do try initially to startup right during installation of it.18:50
Psi-Jack_For firewalls, that's a very bad idea, but better safe, than sorry.18:50
giovanisafe would be not using it, is what I'm saying18:51
giovanior safe would be having an out-of-band management tool18:51
Psi-Jack_Safe, would be knowingwhere you leap from and where you'll land.18:51
Psi-Jack_Not not doing it in the first place.18:52
giovani'knowing' with certainty isn't always possible18:52
Psi-Jack_Sure it is.18:52
Psi-Jack_It's /always/ possible.18:52
luckyonegiovani: I ordered this, http://is.gd/2sada18:52
PhotoJimshorewall doesn't start automatically.  you have to configure it first.18:52
jmedinaPsi-Jack, no it is on the howto18:52
luckyonegiovani: will be replacing my Atom based NAS box18:52
Psi-Jack_jmedina, Cool. So it just installs, but doesn't enable itself out of the install? Good.18:53
PhotoJimso make sure port 22 is open, so you can ssh in, before you enable it.  and when you enable it, test it by starting a new ssh connection first.18:53
giovaniluckyone: with?18:53
luckyonethe link18:53
giovaniah, didn't see link18:53
luckyone;)18:53
jmedinaPsi-Jack in the quickstart guide there is a WARNING: Note to Debian and Ubuntu Users18:53
giovaniluckyone: definitely not $20018:53
luckyoneyeah, 2x that much18:54
Psi-Jack_jmedina, Oh! Yep. Sure is!18:54
luckyonegiovani: pretty sweet device though18:54
luckyonegiovani: has access to ipkg repos18:54
luckyonegiovani: very low power arch18:54
luckyonegiovani: and I will repurpose my Atom box for a bedroom media center18:55
jmedinaif you want to secure your system when shorewall is stopped and you still want to allow remote access check routestopped file18:55
Psi-Jack_Heh. Well, that's just great. Cause I'm looking into shorewall for setting up a routing and load balancing server for work as well, but all our servers are housed accross the country.18:55
jmedinaPsi-Jack, when you are doing remote changes and if you are not sure about new rules (probably they can reject remote access) always use18:56
Psi-Jack_But, likely, those servers will be gentoo, and nothing starts default on gentoo.18:56
jmedinashorwall safe-restart18:56
Psi-Jack_Right.18:56
jmedinaif you dont accept new changes, shorewall will go back to the previos configuration after 60 seconds18:56
jmedinajust likce cisco18:56
Psi-Jack_jmedina, It's the initial install that bothers me, that tells me that it installs, runs and locks down the system right away.18:56
jmedinaPsi-Jack o_O18:57
jmedinashorewall is not configured by default18:57
jmedinayou need to creat your ruleset from scratch18:57
Psi-Jack_jmedina, Heh.18:57
PhotoJimPsi-Jack_: if you have console access, that's a backup too, in case you muck stuff up.18:57
jmedinayou need to edit, zones, interfaces, policy, rules and probably shorewall.conf18:58
Psi-Jack_PhotoJim, We haven't got a KVM-IP switch yet. ;)18:58
jmedinayou cant start shorewall without those files18:58
PhotoJimPsi-Jack_: get one. :) but it's not hard to get a basic shorewall configuration set up.18:58
Psi-Jack_jmarsden, Okay, So JUST installation with apt-get, won't initiate anything or try torun it? Thats all I was asking.18:58
PhotoJimPsi-Jack_: you have to specifically enable it.  there is no harm to installing it.18:58
PhotoJimPsi-Jack_: there's a specific config setting that needs changing to permit to actually start.18:59
Psi-Jack_PhotoJim, That's.. Unfortunately.. Not up to me, but I'm sure I can convince mybosses we need it.18:59
Psi-Jack_PhotoJim, Perfect. That's what I wanted to make sure of. ;)18:59
PhotoJimPsi-Jack_: tell them it's really useful in case of failure.  really quite essential unless you have techs with physical access.18:59
PhotoJimPsi-Jack_: NP.18:59
Psi-Jack_As is, I'm just using a very very basic ufw ruleset to enable NAT and ssh ports.18:59
PhotoJimgotta run an errand, bbl. feel free to PM if you have Qs.18:59
Psi-Jack_PhotoJim, That's it. We don't have physical access at all. It's housed in a tier-4 shop19:00
Psi-Jack_jmedina, Curious on another point for shorewall..19:00
jmedinaPsi-Jack, if you want ask in #shorewall19:01
Psi-Jack_Good idea..19:01
jmedinaI cant help, but this is not shorewalls channel19:01
* Psi-Jack_ nods.19:01
jdstrandPsi-Jack_: I'll advise you to do 'ufw disable' before enabling shorewall (but I'm sure you know that, since you already enabled it :)19:02
Psi-Jack_Right. ;)19:03
Psi-Jack_jmedina, Okay, one thing you can help me with, I checked out the apt-sources deb lines,, but it still seems to only have 4.0, I'd have figured they'd be 4.4 at least, no?19:05
jmedinaPsi-Jack, sorry I always use tar files19:06
jmedinaI dont use debs19:06
jmedinayou can use elcubano repos19:06
Psi-Jack_elcubano? heh19:07
jmedinahe is the shorewall maintainer, a little busy these days19:07
jmedinajo jojo, wrong channel19:07
jmedina:)19:07
jmedinaPsi-Jack, omache is shorewall developer19:10
jmedinahe works as software architech  at hp19:11
jmedinaif you have more questions, use mailing lists, so he can help offline...19:11
fly9anyone hosting guests in ubuntu server with virtualbox?19:38
fly9i need help with bridged networking19:39
fly9and vbox 3.0419:39
PhotoJimPsi-Jack_: yes, definitely arrange to get console access.  in your situation it's really quite crucial.20:02
loaYo! Have my ubuntu-server 8.4 that I upgraded to 8.10 and then to 9.04 yesterday. After the upgrades I can't get my virt systems to run again.20:03
loaVirsh complains that "error: failed to connect to the hypervisor"20:03
loaI have no idea what it can be, do anyone happen to perhaps know what might be wrong?20:03
Psi-Jack_PhotoJim, Heh yeah.. I also need to get MegaCLI working, cause we haven't had anything at all to watch over the fricken RAID stuff, all this time.20:04
jmedinaloa: there is not xen support for jaunty20:04
jmedinayou are on your own20:04
loaIm using kvm20:04
jmedinaohh20:04
jmedinathen I dont know....20:04
loait's wierd.. yes...20:05
loaI don't really know how this stuff works..20:06
giovanimajor version upgrades are rarely a good idea :)20:06
loabut what I understand is that libvirt is using qemu to sort out kvm machines right?20:06
loaanyhow the virt-machines that are set to auto-boot is on and working..20:07
loabut I can't manage it with either virsh or virt-manager20:07
loagiovani: well didn't really feel for reinstalling it either20:07
loagiovani: but I agree20:07
giovaniloa: yep, but, this kind of breakage is pretty typical20:08
loabest solution would be to reinstall it aye?20:08
loaI'm using software raids.. I figure the installer don't find them automagically?20:09
jmedinabackup, use test machine, test and prey20:09
loajmedina: to late now isnt it :P20:09
giovaniloa: you don't have backups?20:09
loanot on the system itself no20:09
giovaniyou just don't migrate production systems without extensive testing where I'm from20:10
giovaniloa: what do you mean "on the system"?20:10
loawho said I'm working on Microsoft?20:10
giovaniMicrosoft? what?20:10
giovaniyou're not being clear20:10
loait's not like its dangerous that my system is down20:10
loajust a hassel20:10
loaand no I don't have backups on the system as Im only using it as a kvm host20:11
loaso reinstalling just takes time..20:11
loaI just thought someone here might been into the same problem as I have and might have suggestions on stuff to check up20:11
loawhen I start virsh it sais "Connecting to uri: qemu:///session20:16
loahalDeviceMonitorStartup: dbus_bus_get failed org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory"20:16
ehird_I have an Ubuntu 6.06 installation - don't ask; no, I can't upgrade :-) - and there is no "twm", "icewm" or "squeak-vm" packages. It seems the repositories have been massively stripped down. Is there an archive of the full repositories?20:34
_rubenyou're in luck .. ubuntu server doesnt have any window managers due to lack of X ;)20:35
_rubenand only 'main' is LTS, perhaps universe and multiverse get stripped, though doubt that20:36
ehird__ruben: umm, ...,20:36
ehird_there is the x server20:36
ehird_i know this because i installed i20:36
ehird_t20:36
_rubenyeah .. but its not really supported (by the server team) .. as it pretty much turns your server into a desktop20:37
ehird_well, I installed Ubuntu Server because I didn't want the default environment20:38
Psi-Jack_Hmm, here's an issue I am having.20:38
giovaniehird_: you're mistaken -- the repositories are identical between server and desktop versions -- they're the exact same location20:38
ehird_i don't think i disputed that, i think _ruben did though saying it didn't have x20:39
Psi-Jack_I have an external USB 2.0 Seagate 500GB SSD drive, and it's got XFS on it, but often times, when I try to access it, it's inaccessable. This is after having not used it in a while, I ls /mnt where I have fstab keeping it mounted at boot time, and it shows up in red. Fixing it, I have to umount it then mount it again and it's fine, and the directory for it in /mnt is blue like a directory again.20:39
giovaniehird_: you said it seems the repositories have been stripped down -- this isn't the case20:39
ehird_giovani: I find it odd then that numerous packages are missing20:39
giovaniehird_: they're not missing20:39
ehird_or were twm, icewm and squeak really not in 6.06?20:39
ehird_hmm, oh20:39
ehird_universe is commented out by default20:40
ehird_how embarrassing :) sorry20:40
giovaniit always has been20:40
ehird_thanks20:40
giovanitwm has always been in universe20:40
giovaniyou'll probably want to switch to the non -server kernel20:40
ehird_hmm, why?20:40
giovaniand then you won't be getting support from here (as you'll be running a desktop)20:40
giovanibecause you probably don't want any of the compiled options the server kernel has20:40
ehird_i don't need any more support :)20:40
ehird_I think I'll just reinstall from the alternate CD20:41
ehird_thanks20:41
_rubenand yes, by "does not have", i actually meant "does not support" :)20:41
ehird_ok, thanks :)20:41
loaoh well, going to sleep. Reinstalling the box tomorrow. Thanks for the help anyway giovani20:47
pmatulis_ruben: did you discover why your ssh connections were dropping?20:58
_rubenpmatulis: i dont recall any of my ssh conns to drop .. perhaps mixing me up with someone else? :)20:59
pmatulis_ruben: yeah, it was "ruben23", sorry21:00
_rubenno problem :)21:00
_rubenits what one gets for using firstname as nick ;)21:01
ruben23hi how do i change my date form IST to EDT...?21:22
sgsaxruben23: you just want to change the timezone?21:24
guntbertruben23: https://help.ubuntu.com/community/UbuntuTime should help :-)21:26
sgsaxruben23: http://www.linuxsa.org.au/tips/time.html for the non-gui solution21:34
guntbertsgsax: ^^^ has the CLI instructions too :-)21:37
sgsaxguntbert: heh, that's even easier :)21:38
guntbertsgsax: ;-)21:39
Sam-I-Ammathiaz: you around?21:54
mathiazSam-I-Am: yes21:54
Sam-I-Ambeen messing with ld_debug... missing symbol in nssov.so... which somehow becomes 'file not found' in openldap21:54
mathiazSam-I-Am: oh cool. I've looked at this but didn't go anywhere21:56
Sam-I-Amgonna see if hyc might know whats causing that... hopefully its not any of the ubuntu patches21:56
Sam-I-Amhow long has it been fried?21:56
mathiazSam-I-Am: which symbol?21:56
Sam-I-Amber_bvmatch21:57
mathiazSam-I-Am: I've seen similar error when libtld had been updated21:57
mathiazSam-I-Am: 2.4.15 was working correclty21:57
Sam-I-Ami know ltdl changed names in karmic21:57
Sam-I-Amkinda simplified versioning i think21:57
mathiazSam-I-Am: right21:58
mathiazSam-I-Am: there may be a new version too21:58
Sam-I-Amhyc claims nssov works in 17... might try compiling upstream in karmic and see if it still breaks21:58
mathiazSam-I-Am: what is strange though is that all other shared libraries load correctly21:58
Sam-I-Amyeah21:58
mathiazSam-I-Am: 17 saw the addition of pam. I though may be something is missing there.21:59
Sam-I-Amhmm...21:59
mathiazSam-I-Am: it may also be related the toolchain in Ubuntu21:59
Sam-I-Amtrue21:59
mathiazSam-I-Am: and the way the nssov is built21:59
mathiazSam-I-Am: I'd run the nssov-build patch by hyc21:59
Sam-I-Amwell, compiling upstream might answer some of those questions21:59
Sam-I-Amyeah, will do21:59
Sam-I-Amjust waiting for him to return22:00
Sam-I-Ammeanwhie, i think i should finally file this as a bug22:00
mathiazSam-I-Am: I would definetly show the nssov-build patch to hyc - it may be an issue there22:01
Sam-I-Amyeah i was looking at that22:01
Sam-I-Amdoesnt seem too intrusive though22:02
=== ircd is now known as samferry
Sam-I-Amyou know, looking at ld_debug, theres quite a few undefined symbols... not just in nssov22:13
unixbocxhello22:40
Sam-I-Ammathiaz: filed bug 41716322:46
uvirtbotLaunchpad bug 417163 in openldap "NSS overlay (nssov) fails to load" [Undecided,New] https://launchpad.net/bugs/41716322:46
LiraNunaI love pam.d22:58
KillMeNowwhy do you love pam.d?23:01
* jmedina doesnt feel love for a directory23:02
LiraNunaKillMeNow, it's so easy to set up stuff23:39
LiraNunaand anything plugs into it23:39
Psi-Jack__Heh. bleh.23:42
KillMeNowgah! everyday around this time I'm ready for a nap23:42
Psi-Jack__Heh23:43

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!