/srv/irclogs.ubuntu.com/2010/12/13/#ubuntu-server.txt

=== erichammond1 is now known as erichammond
eriksson25How do I sett up a cron command, to run chmod -R 777 /path/00:20
The_Tickeriksson25: why do you need to do that continually?00:30
eriksson25have a folder that that my admin user creates folders in, and need to have 777 permissons on those folders to be able to change them with a other user over samba.00:32
eriksson25in the crontab, shuld the actual comand be, or shuld it link to a other .cron that contains the comand?00:34
Cygnus_RiftHey guys, can anyone help me with a problem?01:06
Cygnus_RiftIf theres anybody paying attention01:06
Cygnus_RiftWow, the ubuntu channel is sprawling with people and yet nobody says a word on here01:07
Patrickdkcygnus, as per the rules of irc, only solve questions, not questions about questions01:13
Patrickdkbut he is gone anyways01:13
uvirtbotNew bug: #689472 in quagga (main) "package quagga 0.99.15-1ubuntu0.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/68947201:16
fluvvellPatrickdk, they never seem to stick around long01:58
stiv2kwtf02:08
patdk-lapya, 2min is defently not long enough on irc02:09
stiv2kI installed the ntp package and setup so my local network can sync off my ntp daemon but its not working02:09
patdk-lapexactly how did you setup?02:09
stiv2ktrying to telnet on port 123 gives connection refused02:09
patdk-lapntp doesn't use tcp, won't work :)02:09
stiv2koops02:09
stiv2kyeah, forgot udp02:09
patdk-lapntp.conf needs many changes also02:10
stiv2ki used this parameter in ntp.conf02:10
stiv2krestrict 192.168.1.0 mask 255.255.255.0 nomodify notrap02:10
patdk-lapthat should work fine02:10
stiv2kand broadcast 192.168.1.25502:10
patdk-lapuse ntpdate on another machine to check it02:10
patdk-lapforgot broadcast nothing really uses it at all02:10
patdk-lapwindows machines?02:10
stiv2ki try and it says no suitable server found02:10
stiv2k12 Dec 21:06:35 ntpdate[8788]: no server suitable for synchronization found02:10
patdk-lapwell, ntp has too be running for awhile, (5-15min atleast) before it stabilizes, and will serve time02:11
patdk-lapotherwise it will reject requests02:11
stiv2koh02:11
stiv2kwow02:11
twbI didn't know that, thanks.02:11
patdk-lapunless it knows it has good time, it won't give out time :)02:11
stiv2kpatdk-lap: just when you said that, it worked02:11
patdk-laphehe02:11
stiv2kpatdk-lap: can I have ntpd serve time to people outside my lan too?02:12
stiv2kor is that a bad idea02:12
patdk-lapyep02:12
patdk-lapI do it02:12
stiv2kwhat do I need to change for that02:12
patdk-lapntp.patrickdk.com I think02:12
patdk-lap I chane the defaults to:02:12
patdk-laprestrict -4 default notrap nomodify nopeer02:12
patdk-laprestrict -6 default notrap nomodify nopeer02:12
twbNot NN.pool.ntp.org02:13
twb?02:13
patdk-laptwb, it's in pool also02:13
patdk-lapbut using my own domain, I have my own servers setup to use it, besides just the pool02:13
patdk-lapmy ntp servers are in the pool, but the clusters of servers behind and with them, just use mine02:13
twbMy DHCP server tells DHCP clients to use my local NTP server, but AFAICT Ubuntu ignores them (except d-i).02:13
stiv2kpatdk-lap: can you test if getting time from stiv2k.info works02:13
patdk-lapserver 72.188.7.219, stratum 2, offset 0.039795, delay 0.0629702:14
patdk-lap12 Dec 21:14:22 ntpdate[6344]: adjust time server 72.188.7.219 offset 0.039795 sec02:14
stiv2khmm so it already works then02:14
patdk-lapyou have a firewall on that machine?02:15
stiv2kyes02:15
stiv2ki already had the port forwarded02:15
stiv2kfrom before02:15
patdk-lapif you put it in the ntp pool. be careful02:15
patdk-lapit will easily overflow conntrack02:15
stiv2kwhy02:15
stiv2koh02:15
stiv2ki'll get thousands of requests?02:15
patdk-lapyep02:15
stiv2keven with a large pool?02:15
patdk-lapif you use some of the slower connection speeds, you won't *often* get a flood02:16
patdk-lapbut I normally only use the highest speed setting02:16
patdk-lapactually, since that guy started redirecting all turkey dns traffic to a dummy server, it's been a lot better02:17
stiv2kwhat do you mean speed setting02:17
patdk-lapon the ntp pool website02:17
stiv2kanother issue i'm having is that my cups keeps pausing the printer with a backend error after every print job02:24
stiv2khttp://paste.neoturbine.net/9822902:25
stiv2kthat is the cups error log02:25
stiv2kany ideas?02:28
wtsehow to fix the following security vulnerablity02:58
wtsehttp://marc.info/?l=full-disclosure&m=129175358621826&w=202:59
wtseabout econet issue?02:59
_Techie_is there any way to install windows inside a ext partition?03:03
=== Psi-Jack_ is now known as Psi-Jack
Psi-Jack_Techie_: ##windows03:05
Psi-JackThere is a way, but only under virtualization where Windows itself thinks it's a primary partition, or rather, a full raw hard drive, but I'm sure that's not what you were thinking.03:05
_Techie_if it just emulated the HDD then im happy03:06
_Techie_i just dont want it to emulate the CPU and everything else03:06
twbAFAIK neither Windows' bootloader nor kernel contains drivers for ext, thus AT BEST you will only be able to store data (i.e. D:) on ext.03:06
twbI'm not aware of any virtualization technology that can present a virtual HDD *to Windows* without emulating an entire system.03:07
twbObviously LXC/OpenVZ can approximate that for Linux clients, but that's because both host and guest share a kernel.03:08
_Techie_okay, is there any way to safely resize the ubuntu-server partition and install windows side by side without screwing up everything03:08
twb_Techie_: I don't know; I haven't used Windows for about ten years.03:08
twb_Techie_: normal procedure is to install Windows *first*, because Ubuntu understands Windows partitions, but not vice-versa.03:09
_Techie_yeah03:09
_Techie_i would have done that, but only recently has the idea of doing windows stuff on this machine arised03:10
twbI suspect you can simply shrink your ext partition, install windows, then boot a live medium and reinstall the bootloader.03:10
_Techie_i can do that, but i dont trust gparrted that much03:10
=== squishy is now known as SquishyNotHere
=== Belgrano_29_H is now known as mterron
fluvvellHELP~ one of my linux servers has been overcome with about 50 processes running a command called dtmss!04:36
fluvvellthey are connecting from various random ip addresses, I can killall the processes, but I don't know where they came from!04:37
fluvvellthey are running under the www-data user04:39
The_Tickok, stop killing them all04:43
The_Tickthe www-data user, what does it look like in /etc/passwd?04:43
The_Tickcat /etc/passwd | grep -i www-data04:43
The_Tickand lsof | grep dtmss04:43
The_Tickdon't paste a huge thing from lsof in here, find a pastebot04:43
The_Tickfluvvell: all of this is pointed at you04:44
fluvvellThe_Tick, Hi, ok just looking up www-data now04:49
fluvvellThe_Tick,  just  one entry     www-data:x:33:33:www-data:/var/www:/bin/sh04:50
fluvvellWait, why should www-data have a shell?04:50
The_Tickset that to not have a shell04:50
The_Tickstarting off04:50
The_Tickyou're getting hacked04:50
The_Tickyou need to figure out where that dtmss lives on the box04:51
The_Tickor04:51
The_Tickit's a torrenting app04:51
fluvvella find command ?04:51
twbfluvvell: sounds like you're running a PHP app04:51
The_Tickfind / -name 'dtmss'04:51
The_Ticktwb: sounds like torrents to me04:51
twbThe_Tick: yes, but the reason he got owned was he ran a PHP ap04:52
fluvvelltwb, my web server has php04:52
fluvvellI have a locally written content manager in php04:52
The_Ticktwb: hehe04:53
The_Tickfluvvell: you have a poorly written one most likely04:53
fluvvellThe_Tick, twb, I have found the dtmss  in /tmp04:53
fluvvellyeah,04:53
The_Tickfluvvell: don't rm it yet04:53
The_Tickinvestigate that fil04:53
* fluvvell flogging my programmer04:53
The_Tickfile04:53
The_Ticksee who owns it04:53
fluvvellwww-data04:54
fluvvellits binary04:54
The_Tickwell there you go04:54
The_Tickya, heh04:54
The_Tickanything else in /tmp?04:54
The_Ticksee if www-data has a history of commands04:54
fluvvellbarbut04:54
The_Tickif it were me04:55
The_TickI'd reimage the box04:55
fluvvelluh, but they don't have a home directory?04:55
The_Tickand restore from backup04:55
fluvvellI think re-imaging might be a good idea04:55
The_Tickand then harden the box04:55
The_Tickthen put it back on the net04:56
The_Tickin other words04:56
fluvvellOwch, re-writing the website under a new content manager??04:56
twbReimaging the box won't help if he doesn't also fix the shitty code04:56
fluvvelltwb, lol04:56
The_Tickfix your shitty code04:56
The_Tickwhy do you have a custom built local thing when there's 30 oss packages which are maintained normally?04:56
fluvvellbut you're right.  Its written by  shitty@code.com. I'll just send him an email.04:57
The_Tickrewrite it in python ;)04:57
twbThe_Tick: because the 30 oss packages are also full of security holes :P04:57
fluvvellThe_Tick, I might have to get an off the shelf cms,  got any recommendations?04:58
The_Ticktwb: hehe04:58
twbcough wordpress cough phpbb04:58
fluvvelldoh, asked the stupid question.04:58
The_Tickfluvvell: depends on what you need04:58
fluvvellIsn't w**dpress written in php twb ??? LOL04:58
twbfluvvell: yes, which is a contributing factor in its poor security history04:58
fluvvelltwb, from what I've read, they've made a bit of progress in that area04:59
twbIME CMSs are designed for stupid people, by stupid people.  I don't think I've seen one that I'd recommend, except maybe to an enemy.04:59
The_Tickfluvvell: what exactly do you need to do?04:59
fluvvelldo either of you want a copy of the hackers code to look at?04:59
The_Tickdon't say "cms"04:59
The_Ticknope04:59
fluvvellhe he04:59
twbhttp://en.wikipedia.org/wiki/Functional_requirements05:00
fluvvellJust a clients website, it wasn't too complicated. I think I could implement it in wordpress.05:00
The_Tickno no05:00
The_Tickwhat does the website need?05:00
fluvvellbefore I answer, should I kill off the shells that my hacker still has open?05:01
The_Tickumm yes05:01
The_Tickrm the binary05:01
The_Tickthen kill them all05:01
The_Tickchange the shell05:02
The_Tickcheck for anything in /etc/rc*05:02
The_Tickfor restarting their shittiness05:02
twbfluvvell: http://www.porcupine.org/forensics/05:02
fluvvellhave heard about the coroners toolkit before05:03
twbI was mainly pointing to the textbook (first link)05:03
fluvvellInteresting05:04
fluvvellWell I've shut down the web server, but of course that puts their website offline :(  So being 3 days from my summer holiday of 3 weeks, anybody got a quick suggestion that will keep my mental health intact?05:06
The_Tickreimage, restore from backup, lock down05:06
* fluvvell kicks self, hunts for instant magic solution, fully aware it does not exist05:06
fluvvellyes, reimage05:06
twbReinstall the machine, but leave the website turned off05:06
fluvvellonly a nights work I guess05:07
The_Tickfigure out how they got in05:07
The_Tickthen force the user to fix it05:07
The_Tickbefore it goes online05:07
The_Tickuse virtual machines05:07
twbThe_Tick: since it was owned by www-data, it's a safe assumption is was something within the www-data group that was exposed05:07
twbUsing a VM won't stop the abitrary-execution-with-user-privileges hole in his CMS05:08
fluvvellUsers are all samba users, plus my programmer who has left to run kids camps, and only programs part time now.05:08
The_Ticktwb: agreed05:08
fluvvellYes, I'd say most definately it was a php vulnerability05:08
The_Ticktwb: it'll make it easier to revert the vm since I have a feeling he'll run into this again05:08
twbThe_Tick: true05:08
fluvvellI'd probably best get someone to convert the4 website to wordpress05:12
The_Tickfluvvell: again05:12
The_Tickwhat does the user actually need05:12
The_Tickyou may not need a cms05:12
fluvvellThe_Tick, okay, I see your point. They havn't done a lot of content update themselves.05:13
fluvvellThe_Tick, checking it out, they have changed details here and there, contact names etc, added some text to their product line descriptions. It used to be about 5 pages with links etc, not much changed there.05:19
fluvvellnope, all the /etc/rc* directories look standard, and rc.local is untouched from standard05:31
fluvvellso twb, you'd be more keen on Django ? Being a python based content manager?05:32
twbLook, the bottom line is that anyone can write an insecure web app05:36
fluvvelltwb, its true05:37
twbPHP targets newbies, and newbies make more mistakes05:37
twbSo as a rule of thumb, I'd prefer python over php -- but that doesn't mean it won't be full of holes05:37
twbAnd hey, python is targeted at newbies, too05:37
fluvvelltwb, yes05:38
fluvvelltwb, The_Tick, many thanks for the help.  I've got to go collecting for the food bank, but I'll schedule in a reimage on the server for tomorrow night.  warm regards to you both.05:39
twbWhatever05:39
The_Tickshut the box down now05:40
The_Tickuntil you can work on it05:40
twbHear hear05:45
FrenkHey, for years I was a Windows-Admin now switching to Linux. I used Exchange behind a VPN. User can`t use IMAP and SMTP without VPN connection. Is it reasonable to do the same with my Ubuntu-Postfix-Cyrus installation?08:01
FrenkI have OpenVPN. If it is reasonable how do I configure Cyrus and Postfix to accept connections only from local networks.08:03
twbFrenk: don't run them on the bastion?08:11
Frenktwb, sorry but i dont know what you mean =/ my english isnt as good08:13
twbFrenk: the "bastion" is the host that sits between your network and other networks, and routes traffic between them08:13
twbIf cyrus runs on any other host, and the bastion firewalls it, then it will inherently be inaccessible from other networks08:14
Frenkoh ok i got it08:14
twbhttp://de.wikipedia.org/wiki/Bastion_Host08:15
Frenkthx for german version hehe08:16
Frenkis my idea right? = i set up a bastion host for vpn, the cyrus is on another host and is blocking all connections except from the bastions ip08:19
Frenkbecause both hosts are servers pointed directly to the internet (root hosting)08:19
twbIf both hosts are directly on the internet, you do not HAVE a network08:20
twbIf it's just a VPS on the internet somewhere, you would put everything on one box, and configure the firewall to only allow connections to postfix/cyrus from the VPN's subnet.08:22
Frenkoh ok08:22
twbYou could ALSO tell postfix and cyrus to only bind to that interface, but that requires you to use static IPs, and to bring up the network before starting postfix/cyrus.08:23
twbIf the VPN is only there to control access to IMAP and SMTP, I would instead just use SSL.08:23
twbI'd also use dovecot instead of cyrus.08:23
FrenkI use imapS only. but i thought that double authentification (vpn + cyrus) is good08:24
twbI don't see why08:24
FrenkBecause people will need keys to access the network and then their passwords to access the mailbox08:25
FrenkTo prevent hacking of the mailboxes08:25
Frenkor is it useless?08:25
twbSo you want it for multi-factor authentication?08:26
twbi.e. so you need both a key and a password?08:26
Frenkyes08:26
Frenkright08:26
twbI *think* you can do that with SSL, by configuring two-way SSL handshaking08:26
Frenkok ill google it08:26
Frenkand why dovecot over cyrus?08:26
twbi.e. each client machine also has an SSL keypair and an SSL cert08:26
Frenkits all in all for 15 people so i think individual ssl key isnt a problem08:27
twbMainly because dovecot seems to be more active, and (I think) it's Ubuntu's preferred implementation08:28
twbYeah, cyrus is in universe, dovecot is in main.08:29
twbhttps://help.ubuntu.com/10.04/serverguide/C/dovecot-server.html08:30
FrenkSince i am new to *nix i use artica (postfix-cyrus-webinterface-amavid and many more features) for email with snort with snorby as ids08:30
twbDo not trust just any article you find08:30
twbIn particular, check when it was written, and for which version of Ubuntu08:31
Frenkok08:31
twbOne of my coworkers keeps using really old articles and I have to hit him with a stick... :-/08:31
Frenkhehe08:31
Frenkaand artica is using cyrus as default - thats why im using cyrus =D08:32
Frenkokay ill search for ssl handshake, thx a lot!08:32
=== doko_ is now known as doko
=== Psi-Jack_ is now known as Psi-Jack
udenshi guys10:08
udensi have i question, how do i create such system if server is down, i give user a static styled html msg with temp down info10:09
udensi know its possible i just dont know how10:10
_rubenudens: you'll need to put a reverse proxy in front of that server which would give you that functionality10:11
udensso this reverse proxy would chek if site is down and then display static html?10:12
_rubenbasically,l yes10:12
udensis it possible to show different html for different domain?10:12
_rubenmost reverse proxies offer that as a feature, yes10:12
udensthanks _ruben10:12
twbOf course, then your reverse proxy would be a SPOF10:12
udensthanks guys im just new to this :)10:13
udensgoogle didnt help this time10:13
_rubentwb: that probably isn't an issue, as without it, it already is an spof on its own ;)10:13
_rubenjust add one more spof ;)10:14
twbtwo spofs is worse than one10:14
_rubentwb: true, but if one wouldn't matter, why would two ? ;)10:15
twbBah10:15
twbEnough of your "logic"10:15
_rubenif one cares about spofs, the "backend" would be HA as well ;)10:15
_rubenheh10:17
=== Fookin_Prawn is now known as fookin
=== fookin is now known as Fookin_Prawn
=== hackeron_ is now known as hackeron
=== Psi-Jack_ is now known as Psi-Jack
eagles0513875hey guys i need some help with smtp. i have it setup to use startttls on my smtp server yet now its having problems sending out going emails :(13:38
eagles0513875any one able to help me13:38
_rubeneagles0513875: you'll need to be much more specific & elaborate .. good starting point would be to pastebin the config and relevant logs13:43
eagles0513875_ruben: what port does starttls use13:44
eagles0513875!postfix | eagles051387513:46
ubottueagles0513875, please see my private message13:46
eagles0513875basically _ruben starttls isnt able to establish a connection to my server :(13:48
eagles0513875_ruben: this is the error message im getting as im trying to send this email13:51
eagles0513875Sending of message failed.13:51
eagles0513875An error occurred sending mail: Unable to establish a secure link with SMTP server eagleeyet.net using STARTTLS since it doesn't advertise that feature. Switch off STARTTLS for that server or contact your service provider.13:51
patdk-wkstarttls isn't a what or an it13:54
eagles0513875thats odd13:54
eagles0513875O_o13:54
ubaxHi, I can use some advice as i'm setting up my first dedicated server and i'm not sure as to do i need to install a mail server like Postfix for PHP scripts to be able to send email using the mail() function or is there a better and more efficient method?13:54
eagles0513875patdk-wk: i think i have isolated this issue to thunder bird13:54
patdk-wkso you selected the, require encryption option, and didn't turn on encryption support on your server?13:55
eagles0513875its been working up until this afternoon patdk-wk13:55
eagles0513875what doesnt make sense13:55
eagles0513875is that i can send an outgoign email from squirrelmail but not thunderbird mail client13:56
patdk-wkwell, when it installs, it installs a dummy certificate, did that dummy cert expire?13:56
eagles0513875fixed it13:57
patdk-wkhmm, dummy cert made for 10years here13:57
eagles0513875patdk-wk: O_o it might have but i think its a port issue14:01
eagles0513875patdk-wk: what file do i need to look at for the port smtp is using14:01
patdk-wkmaster.cf14:03
patdk-wkand maybe /etc/services14:04
eagles0513875patdk-wk: where exactly would it tell me what port im using14:07
=== ubax is now known as uba
patdk-wknetstat -atnp14:08
eagles0513875tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      <-- that good like that14:09
eagles0513875instead of that smiley its supposed to be :*14:09
eagles0513875: *14:09
patdk-wkheh? what smiley?14:09
patdk-wkyou need a proper irc client14:09
eagles0513875im using kvirc14:10
eagles0513875does that look right to u though14:10
patdk-wkit's ok, but you shouldn't be using that for thunderbird or stuff14:11
eagles0513875im not14:11
eagles0513875im accessing my mail server with it as my client14:11
patdk-wkheh14:12
patdk-wkyou should never talk to a mail server using port 25 :)14:12
patdk-wkit's unreliable14:12
eagles0513875O_o14:13
eagles0513875what other port can i use starttls with14:13
patdk-wk587?14:13
eagles0513875firefox is defaulting to 587 should i use that instead14:13
eagles0513875thunderbird i mean14:14
eagles0513875patdk-wk: when it searches for the settings automatically it keeps setting the port to 587 for out going14:14
eagles0513875for some reason14:14
eagles0513875patdk-wk: i really need to get this back up :(14:16
mterronHi, any ubuntu server dev here?14:24
eagles0513875:(14:29
eagles0513875:(14:39
eagles0513875patdk-wk: what i find odd is i can use squirrelmail to send emails just fine14:42
sorenIs squirrelmail running on mail server?14:42
Jeeves_15:12 < patdk-wk> you should never talk to a mail server using port 25 :)14:42
Jeeves_Uh? :)14:42
patdk-wkjeeves, way too many isp's, hotels, wifi hotspots, ... blocking or redirecting it14:43
patdk-wkport 587 was always made for user access14:44
sorenJeeves_: I think what patdk-wk is trying to say is that if you can, you should provide yourself with port other than 25 where you can connect to your smtp server, as port 25 is often blocked by ISP's.14:44
sorenIt was simply rather poorly phrased.14:44
patdk-wkI love how the iphone uses port 25 by default, and at&t blocks it in most places14:44
sorenYou're supposed to use AT&T's SMTP server, aren't you?14:45
Jeeves_soren: Indeed, you are.14:45
eagles0513875interesting how can i reconfigure postfix to use 587 instead patdk-wk14:46
Jeeves_patdk-wk: 587 never made it for normal use14:46
patdk-wkoh ya, like at&t's smtp server is safe for sfp or dkim14:46
patdk-wkeagles0513875, postfix uses port 587 by default :)14:46
sorenDid I say it was?14:46
Jeeves_as if spf or dkim help :)14:46
* soren scrolls up14:46
sorenNope.14:46
eagles0513875O_O patdk-lap then what is port 25 used for14:46
patdk-wkserver to server14:46
Jeeves_patdk-wk: Stop talking nonsense14:46
Jeeves_You're talking RFC's, not use.14:47
Jeeves_port 25 is used for delivering email from server to server, as well as from client to server.14:47
patdk-wkheh? it's been that way on my servers for >10years14:47
patdk-wkno user can use port 2514:47
eagles0513875Jeeves_: well im having an issue though14:47
Jeeves_patdk-wk: Than you're quite special :)14:47
patdk-wkI don't allow use logins to port 25 and reject relay14:47
eagles0513875its probably a thunderbird bug14:47
patdk-wkuser14:47
eagles0513875thing is with squirrelmail things work fine with port 2514:48
sorenThat's just silly.14:48
patdk-wksquirrelmail is on the postfix box though isn't it? and thunderbird isn't?14:49
eagles0513875patdk-wk: ya thats right14:49
eagles0513875thign is im on the same network as the postfix box14:49
patdk-wkya, so completely unrelated14:49
Jeeves_eagles0513875: If i see the message above, thunderbird is not going to use tls because the server isn't saying it supports is14:49
eagles0513875same subnet and everything14:49
eagles0513875Jeeves_: ?14:49
eagles0513875Jeeves_: whats funny is it was working just fine earlier this afternoon14:49
eagles0513875let me try again on my mac14:49
Jeeves_14:51 < eagles0513875> An error occurred sending mail: Unable to establish a secure link with SMTP server eagleeyet.net using STARTTLS since it doesn't advertise that feature. Switch off STARTTLS for that  server or contact your service provider.14:49
Jeeves_That's where you client is connecting to port 25 (or 587 for that matter) and checking if postfix responds to EHLO with STARTTLS14:50
Jeeves_It seems like postfix isn't doing that14:50
Jeeves_so try and pastebin this:14:51
eagles0513875Jeeves_: mac laptop is working fine :(14:51
Jeeves_open a terminal14:51
eagles0513875bah i swear this desktop is starting to frustrate me14:51
eagles0513875let me test one other thing14:51
Jeeves_type 'telnet <ip of your server> 25'14:51
Jeeves_type EHLO .14:51
Jeeves_type quit14:51
Jeeves_and pastebin the output14:52
eagles0513875Jeeves_: i have isolated the problem to this pc14:52
Jeeves_eagles0513875: Ok, nevermind than. Have fun14:52
eagles0513875Jeeves_: ha thats what i get for trying to run windows lol14:53
eagles0513875i thought it was a problem with the email server at first14:53
patdk-wkanti-virus doing a smtp redirect? killing ssl support :)14:54
eagles0513875patdk-wk: nope14:54
mterronHi everyone, I'd like to report a problem with either ubuntu-server 10.04 installer or documentation regarding option "Minimal virtual system".14:54
mterronsomeone from the dev team is around?14:55
eagles0513875mterron: just post your problem and someone will answer if they know the answer14:58
mterronI know eagles051387, I've already fixed it, but i'd like to report it to someone on the dev team14:59
eagles0513875mterron: report any bugs on http://launchpad.net15:02
mterronok, thanks a lot eagles051387515:02
eagles0513875no problemo m8 :)15:03
=== SquishyNotHere is now known as squishy
hallyn_soren: looking at lp:vmbuilder - do i understand right that you just take the bzr tree, drop in the debian/ dir, and call that the package?  Or is there some other process to it?15:21
sorenhallyn_: Honestly, I don't remember. There may be a packaging branch somewhere.15:23
sorenhallyn_: Let me look real quick.15:23
hallyn_soren: I do see lp:ubuntu/natty/vm-builder as well15:25
sorenhallyn_: That happens automatically.15:28
sorenhallyn_: All packages have that.15:28
hallyn_i see15:28
sorenExcept the few that fail to get imported, but generally they are there for all packages.15:28
sorenhallyn_: mvo has been working a bit on vmbuilder recently.15:28
sorenhallyn_: He also did an upload. You could ask him?15:28
hallyn_soren: will do, thanks15:29
sorenSure.15:29
toast018Hello all15:33
toast018What happens when u create a new key if one is already in place? Will it replace the current key?15:34
toast018Anyone? Lol...15:37
uvirtbotNew bug: #689715 in dhcp3 (universe) "package dhcp3-server 3.1.3-2ubuntu3 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/68971515:47
toast018:(15:48
toast018Goooood morning all15:57
hggdhDaviey: ping16:04
=== Mr_mist is now known as mrmist
zulSpamapS: ping lemme know when you are around16:22
=== Mr_mist is now known as mrmist
SpamapSzul: pingalingadingdong16:26
zulSpamapS: i started to look at the cobbler packaging stuff where is your cobbler packaging branch so I dont duplicate effort16:26
SpamapSzul: all of our branches are linked to https://blueprints.launchpad.net/ubuntu/+spec/cloud-server-n-install-service16:31
SpamapShttps://code.launchpad.net/~clint-fewbar/+junk/cobbler-packaging-enhancements16:31
SpamapSthere's mine16:31
zulSpamapS: whoops yeah16:31
SpamapSactually I think I need to push some to that16:31
toast018What could cause a mail server to flood my network... I have to restart it in order to regain internet...16:47
cdubyaAny recommendations on a CRM/ERP that would support trouble ticketing and possibly something like accounting/fixed asset management (or know of anything close)....?16:51
zulrequest tracker16:51
toast018Cdubya try spicworks 5.0 it has an awesome helpdesk for tickets and inventory and purchases16:54
=== squishy is now known as SquishyNotHere
FrenkHey, I have torubles with Postix =( mail postfix/smtp[9438]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter but I have smtp_sasl_password_maps = hash:/etc/postfix/smtp_sasl_password in my conf16:58
chandru_inDoes anyone here use pen for load balancing between servers in production?  I'd like to know your experiences with it.16:59
uvirtbotNew bug: #689747 in clamav (main) "package clamav-base 0.96.3+dfsg-2ubuntu1.0.10.04.2 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück" [Undecided,New] https://launchpad.net/bugs/68974717:07
Davieyhggdh: o/17:10
hggdhDaviey: do we still need a test on the Maverick for Euca?17:10
toast018Can anyone help with an issue with my mail server? I have to keep restarting because the internet keeps going down...17:12
axisysi have sun fire x4150.. before I install ubuntu i like to find out if it will recognize all the devices.. can alternate iso do that without installing ? in otherwords can I use alternate iso as live cd ?17:12
toast018And inorder to get internet connection I have to rebooot17:13
toast018As soon as the server is down my internet connection returns...17:13
axisysi am planning to install ubuntu 10.04.1 LTS17:14
coxnI'd like to install VMs directly to an LVM logical volume, but I see this: https://help.ubuntu.com/community/KVM/CreateGuests#Install%20on%20a%20raw%20block%20device17:17
coxnI'm hoping there's a way that doesn't involve doing a dumpxml, sed, etc.17:18
coxnmaybe somebody has already written a script to migrate VMs from a file to an LV?17:18
Davieyhggdh: Ideally.... i have some i386 packages here if that is suitable?17:18
hggdhDaviey: suitable... IDK ;-) but yes, I will run them17:19
FrenkHey, I have torubles with Postix =( mail postfix/smtp[9438]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter but I have smtp_sasl_password_maps = hash:/etc/postfix/smtp_sasl_password in my conf17:20
Davieyhggdh: hold fire...17:26
hggdhDaviey: weapons safe17:26
* SpamapS chooses now to ATTACK17:27
=== Psi-Jack_ is now known as Psi-Jack
coxnwhat do others use to install VMs such that their disk is a logical volume?17:33
patdk-wkcoxn, for that I used to use debootstrap17:36
patdk-wkstill do for xen17:36
patdk-wkbut not so useful for building vmware, I just use the iso17:36
Davieyhggdh: Just trying to get packages built elsewhere...17:37
Davieywaiting on another team for them.17:37
coxnpatdk-wk: xen. noted. Thanks. :)17:37
hggdhDaviey: no prob17:37
coxnanybody doing something with kvm?17:37
patdk-wkhmm, debootstrap does kvm also, I'm pretty sure :)17:38
=== marrusl is now known as marrusl_afk
hggdhzul: bug 684304 has been updated with the lcpci, boot log, and lsmod.18:00
uvirtbotLaunchpad bug 684304 in linux "cciss module does not identify resources" [High,New] https://launchpad.net/bugs/68430418:00
zulhggdh: cool...thanks i saw :)18:00
zulkirkland: i been doing some cobbler packaging my work is at lp:~zulcss/+junk/cobbler18:06
=== gnoob is now known as lapsusbrutus
=== marrusl is now known as marrusl_afk
uvirtbotNew bug: #689783 in bind9 (main) "package bind9 1:9.7.1.dfsg.P2-2ubuntu0.1 failed to install/upgrade: ErrorMessage: el subproceso script post-installation instalado devolvió el código de salida de error 1" [Undecided,New] https://launchpad.net/bugs/68978318:12
kirklandzul: oh cool18:26
kirklandzul: let's get your work and SpamapS' work merged ...18:26
zulkirkland: sure im still working on some things though18:26
kirklandzul: cool, on the front end, or the actual deployment?18:28
zulkirkland: packaging for now18:28
kirklandzul: ah18:29
kirklandzul: oh, cool, you have SpamapS changes in there already18:30
zulkirkland: yep18:30
kirklandzul: could you push to lp:~ubuntu-virt/+junk/cobbler ?18:30
kirklandzul: so that we're all basically working off of the same branch?18:31
zulright18:31
Juanito2Hi, i need redirect 2 IP's public to private19:02
Juanito2iptables -t nat -A PREROUTING -p tcp -i eth2 -d IP_Public --dport 3389 -j DNAT --to-destination IP_Private ... is correct this?19:02
ZacLnxNewbhi19:08
ZacLnxNewbfor some reason I can't connect to deluge...19:09
ZacLnxNewbyou know?  Nevermind, I'll just uninstall and reinstall19:09
genii-aroundIs there some known issue which would cause disk designations to keep rotating every boot?  eg: boot1- sda=80G, sdb=160G#1,sdc=160G#2 then boot2- sda=160G#2,sdb=80G,sdc=160G#1  boot3- sda=160G#1,sdb=160G#2,sdc=80G  ..and so on19:15
genii-around( because this makes the raid1 of the 160G drives to be screwed 2 out of 3 boots for me, etc)19:18
axisysshould I use the Adaptec SAS Host Bus Adapter on X4150 or just use the disk and create software raid ?19:32
eriksson25Need help. Have a lvm spanning over two Raids. I just extanded one of the raids with two more disk and the array grew. But how do I expand the lvm to use this space.19:34
ZacLnxNewbNeed help:  Deluge is being a bitch19:36
papertigerseriksson25: I think this explains it http://www.randombugs.com/linux/howto-extend-lvm-partition-online.html19:37
eriksson25Thx, also found it on https://raid.wiki.kernel.org/index.php/Growing19:38
hggdhJamesPage: I have a LTP-lite running under KVM on Hudson19:42
FrenkHey, I have a question. I have a mail server and many (10 people) are using it from different countries19:43
Frenkand one person in Monaco always gets Client host rejected: Access denied19:43
FrenkI searched everywhere, added the ip to all whitelists i could think off19:44
Frenkbut no success19:44
FrenkAny ideas anyone? Russia, Germany, Hungary are fine - Monaco = Troubles19:46
pmatulisFrenk: maybe pastebin the exact error message19:46
FrenkAn error occurred sending mail: The mail server sent an incorrect greeting:  5.7.1 <87.91.209.88.dynamic.monaco.mc[88.209.91.87]>: Client host rejected: Access denied.19:53
FrenkI tested it with portable version of thunderbird - outlook shows same error19:53
* genii-around ponders EHLO vs HELO signalling19:55
Frenkpostfix says: mail postfix/smtpd[19149]: NOQUEUE: reject: CONNECT from 87.91.209.88.dynamic.monaco.mc[88.209.91.87]: 554 5.7.1 <87.91.209.88.dynamic.monaco.mc[88.209.91.87]>: Client host rejected: Access denied; proto=SMTP19:55
axisysis this valid? GRUB_TERMINAL="--timeout=5 serial console"19:56
Frenkaxisys - do you ask me? sorry my english is pretty bad19:58
axisysFrenk: to all really.. but i will anyone's answer..19:59
Frenkpmatulis any idea?20:04
Frenkor anyone else ... damn i just do not get it20:05
pmatulisFrenk: the client hostname is no good20:05
Frenkwhy is the hostname no good? and how do i disable hostname check?20:05
pmatulisFrenk: it should be 'CONNECT from some_name[some_ip]'20:05
pmatulisFrenk: there's an ip address in the name and postfix doesn't like it20:06
uvirtbotNew bug: #595877 in mysql-dfsg-5.1 (main) "impossible to use Ports on mySQL - Upstart/Config Problem" [Undecided,Incomplete] https://launchpad.net/bugs/59587720:06
FrenkPmatulis: okay, I got the problem. But how can I fix it? I cant change the clients hostname. But what can I do about it on the server?20:07
pmatulisFrenk: in main.cf tell postfix to be more lenient20:09
FrenkPmatulis: since i am new to postfix and unix in general, can you tell me how to manage that?20:10
pmatulisFrenk: maybe pastebin (really pastebin this time, do not paste in this channel) the output to 'postconf -n'20:11
coxnhurm. Anyone in here use ubuntu-vm-builder regularly? https://gist.github.com/73952920:16
Frenkhttp://pastebin.com/pX83LRtB20:16
FrenkPmatulis: thats the output: http://pastebin.com/pX83LRtB of postconf -n20:20
pmatulisFrenk: pastebin the contents of file /etc/postfix/postfix_allowed_connections20:20
=== AndyGraybeal_ is now known as andygraybeal
FrenkPmatulis: http://pastebin.com/Tp881HGu20:22
=== andygraybeal is now known as AndyGraybeal
Frenkbut he has a dynamic ip - so i need a solution which works for dynamic ips =/20:23
genii-aroundHm. Whitespace starts second line of that paste20:23
Frenkalready changed it20:25
Frenkbut any other suggestions?20:27
hackeronhey, is there anyway to get apt-get to just dump the list of URLs it wants to download, so I can download them on a faster connection on a different server, then copy across?20:28
pmatulisFrenk: did you set up postfix like this?20:31
Frenkyes20:31
Frenkthis is my postfix config20:31
Frenkpmatulis: is working with everyone - but not with monaco and bad hosts20:32
Frenkpmatulis: or is this config that bad?20:32
hackeronahh --print-uris :)20:35
pmatulisFrenk: did you update the map since editing that file?20:37
FrenkPmatulis: you mean postmap /etc/postfix/virtual?20:38
pmatulisFrenk: no20:39
pmatulisFrenk: 'postmap /etc/postfix/access'20:39
pmatulisFrenk: sorry20:39
pmatulisFrenk: 'postmap /etc/postfix/postfix_allowed_connections'20:39
Frenkjust did20:40
Frenkpmatulis: no effect20:40
pmatulisFrenk: how are you testing the monaco address so quickly?  is that where you are?20:40
Frenkteamviewer20:41
pmatulisFrenk: fair enough20:41
Frenksending the message and waiting for error20:41
pmatulisFrenk: maybe try a complete restart, not just reloading20:41
Frenkrestart of the server?20:41
pmatulisFrenk: no, of postfix20:42
pmatulisFrenk: 'sudo service postfix restart'?20:42
Frenkpmatulis: nothing20:44
pmatulisFrenk: is the postfix server the final destination of the email?20:45
Frenkyes20:45
Frenkits a server with postfix and cyrus20:45
Frenkpmatulis: and the only client this server is rejecting is the monaco client20:46
kirklandSpamapS: yo20:46
kirklandSpamapS: are you around today?20:46
pmatulisFrenk: you have 'my_domain'=$myhostname20:47
Frenkwhere can i check that?20:47
SpamapSkirkland: yeah wassup?20:48
* SpamapS has buried himself in Upstart stuff today20:48
pmatulisFrenk: your destination email is blah@bp-legal.com ?20:49
Frenkyes20:49
kirklandSpamapS: two things ... i added you to ~ubuntu-virt20:49
pmatulisFrenk: so edit main.cf so that mydomain=bp-legal.com20:49
kirklandSpamapS: and i pushed your my changes + yours + zul's + mine to lp:~ubuntu-virt/cobbler/ubuntu20:49
SpamapSkirkland: can never have enough team badges on LP ;)20:49
kirklandSpamapS: and sent a build to ~ubuntu-virt ppa20:49
SpamapSkirkland: cool20:49
kirklandSpamapS: hopefully you + me + zul can get cobbler installing and deploying natty this week (?)20:50
pmatulisFrenk: this is not why the check_client_access is not working but it's probably why the client is being rejected by the reject_unknown_sender_domain restriction20:50
pmatulisFrenk: (you can also remove that restriction to test)20:50
zulkirkland: it still needs a lot of work20:51
kirklandzul: no doubt20:51
SpamapSkirkland: yeah we need to divide up the work a bit20:51
kirklandSpamapS: yeah;  will you be working on it this week?20:51
kirklandzul: what about you?20:51
zulkirkland: off and on20:52
SpamapSkirkland: indeed, I was hoping we could chat about what needs to get done tomorrow post-meeting20:52
kirklandSpamapS: k20:52
Frenkpmatulis: deleted that rule - restarted postfix -20:56
Frenkno20:56
Frenkdoenst work =(20:57
Frenkbut i didnt change domain name yet20:57
BalliHi I am running JeOS. How do I find if DMA is enabled or not in jeos?20:57
BalliI used hdparm command, but no such command exists in jeos20:59
pmatulisBalli: install away21:02
CyVanGreetings. I have a Dell R310 server, Quad Core , 4GB of memory BUT the PERC H200A RAID controller. An application we need ONLY runs on UBUNTU 9.10 but that version is not recognising the RAID card :(  10.04 LTS sees it fine but not 9.10. I've checked the dell site. I see drivers for redhat and suse but not Ubuntu? Are they compatible? any other ways to get 9.10 to see the raid card?21:03
Ballipmatulis: Yes I was dumb, I installed it and its working. Thanks!!!21:04
Noobsterhi all21:04
CyVanis there a way to copy the 10.04 LTS drivers to be used by 9.10?21:05
Noobsteris there anyone here that can help me? I am trying to get the backport ver of bind9 installed but can not fig it out21:05
NoobsterI need bind9.7.221:05
guntbertNoobster: this channel is much quieter, so pose your question and prepare for patience please21:05
Noobsterok thanx21:05
Frenkpmatulis: doenst work =(21:05
Noobster:)21:05
guntbertNoobster: on what ubuntu version are you? (I was not aware that there are backports already for 10.10)21:08
Noobster10.0421:08
Noobsterx6421:09
guntbertNoobster: have a look at https://launchpad.net/~hauke/+archive/bind9?field.series_filter=lucid21:13
guntbertNoobster: but be warned: ppa are not "official"21:14
zulSpamapS: im double booked for the meeting tomorrow and i think it is my turn to run the meeting can you run the meeting for me?21:15
david506I installed ifenslave, the document in /usr/share/doc/ifenslave-2.6 is different from the examples, and I don't know how to setup ethernet bonding. Right now it's load balancing between the two connections, I want it to keep the second connection has a hot spare. Using ubuntu 10.0421:16
pmatulisFrenk: remove 'check_client_access hash:/etc/postfix/postfix_allowed_connections,'21:16
zulor it might be smosers turn21:17
zulSpamapS: nm21:18
david506http://pastebin.com/L0qN42cs21:18
Frenkpmatulis: deleted that entry - restarted postfix21:19
Frenkand nothing21:19
Frenkargh =((((((((21:20
patdk-wkdavid506: http://pastebin.com/23g3tjCL21:21
pmatulisFrenk: pastebin 'postconf -n' again21:21
genii-aroundCyVan:  That controller apparently uses the driver called mpt2sas , which http://packages.ubuntu.com/search?searchon=contents&keywords=mpt2sas&mode=filename&suite=karmic&arch=any shows is available in the kernel images of 9.10 . You may need to build it into your initramfs21:23
Frenkhttp://pastebin.com/hsHafxqa21:23
Frenkpmatulis: http://pastebin.com/hsHafxqa heres the update. i havent changed mydomain21:23
david506That's almost good, but I believe it is missing two lines, I am posting to pastebin.com now21:24
CyVangenii-around: Thanks! Are there any instructions on how to do that?21:24
pmatulisFrenk: please change domain, restart postfix, and pastebin21:24
CyVangenii-around: doing a google search now21:24
david506This seems to work for me, thanks patdk-wk for the corrections : http://pastebin.com/41h7ia5D21:25
genii-aroundCyVan: Basically, edit the file:  /etc/initramfs-tools/modules  adding the module name     then do:  sudo update-initramfs -u21:25
david506I added auto eth3, iface eth3 inet manual, this prevents "Ignoring unknown interface eth3=eth3"21:25
patdk-wkdavid, heh? I don't have eth2/eth3 at all in my config21:25
patdk-wkI don't see the slaves line, you removed it?21:26
patdk-wkwhere do you see, ignoring unknown interface, I don't get that21:26
eriksson25How do I calculate how many blocks (lvm) 16TB is?21:27
Noobsterguntbert, that got 9.7.2p3 installed easy!! you saved me hours of work doing it by source!! Thank You21:28
guntbertNoobster: glad it worked - have fun :-)21:28
CyVangenii-around: ahh but that sounds like u would have to have it installed on the box already. It refuses to install and the box has no other HD's. Can this be done on another box to prepare a new install CD?21:31
pmatuliseriksson25: block size is a filesystem parameter21:32
axisyswill this create a raid10 of 6 disks ?21:32
axisysmdadm --create /dev/md10 --level=10 --raid-devices=6 /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh21:32
BalliHi could some one please, let me know when exactly a DMA write happens.21:33
BalliI found my hardisk is dma enabled21:33
highvoltageBalli: dma is enabled by default if your disk supports it21:34
BalliI believe when I download a package using apt-get, DMA write should happen. Am I correct?21:34
patdk-wkballi heh, not really21:34
genii-aroundCyVan: Conceivably with remastersys or so, although i have not done this in a long time, myself21:35
patdk-wkwhen ever you read or write ANYTHING to the drive, DMA will happen21:35
Ballihighvoltage: Yes its enabled. I just checked it since I use a virtual hardisk21:35
eriksson25pmatulis: I added 4TB to my 14TB lvm. And then ofc I couldent extand the file system since resize2fs dont suport >16TB system. I havent extended my ext4 but want to do it to 16TB manualy setting the perimiter. But dont know how to find the right one.21:35
echoprinterAnyone know if this would be a good way to get the python-profiler on my Ubuntu 10.04 server? http://www.peterbe.com/plog/upgrading-ubuntu-lucid-lynx-downgrading-python2.4-python2.521:35
Ballipatdk-wk: oh could you please gimme a test case where DMA write would take place21:36
patdk-wkballi, turning on your computer? syslog logging anything, EVERYTHING to the harddrive uses dma21:36
patdk-wkwhy doesn dma matter so much to you?21:36
BalliPatdk-wk - I am debugging a qemu code running jeos for my work21:37
patdk-wkwell, as your doing a virtual disk, and a virtual machine, nothing about it is going be real dma21:38
patdk-wkso who knows :)21:38
patdk-wkprobably the qemu people21:38
Ballipatdk-wk: Yes when I turn on the computer DMA write takes place.21:38
Ballipatdk-wk: But the function which writes to the memory is invoked only once, I xpected it to be called many times.21:39
patdk-wkheh?21:39
patdk-wkwhat function that writes to what memory?21:39
patdk-wkthe memory location will change, every time21:39
Ballipatdk-wk: Its a c function is qemu code named 'cpu_physical_memory_rw'.21:40
patdk-wkwell, I dunno qemu, only dma21:41
toast018I am using wireshark to monitor my traffic to my mail server and I noticed there is a nearly constant DNS quesry to our DNS server asking for ircserver.jmchd.com21:41
Ballipatdk-wk: Ya I wanted to know only about dma not qemu. I will figure out what qemu does :)21:41
toast018it comes back no such name but then the mail server asks again...21:42
Ballipatdk-wk: Could you please enlighten me why a network packet doesnt use DMA write?21:42
david506The doc was wrong, so I am opening a ticket priority minor21:42
patdk-wkballi, too slow :)21:42
Ballismall packets?21:43
patdk-wkwell, interrupts tend to slow down network interfaces, so generally it's switched to polling mode21:44
pmatuliseriksson25: ouch, sorry to hear about not being able to resize to the maximum21:44
patdk-wkI think the network card also has it's memory mapped right into memory space, so it can be accessed directly, no dma needed to copy stuff over21:44
Balliwhen memory is mapped, I think dma would take place internally.21:45
patdk-wkwhy?21:45
patdk-wkthe cpu can physically see the memory on the card21:46
patdk-wkdma is the other way around, having the card directly see the memory in the computer21:46
BalliBut cpu seeing the memory on card, happens because DMA writes a network card info into the physical memory21:48
Ballipatdk-wk: One basic question.21:49
BalliDMA write means, a device writes its data into physical memory and DMA read is vice versa right?21:50
Noobsterguntbert, I am having a homebrew to selabrate how awesome you are! I will make a tutorial when I have SAmba4 PDC for WIN7. You will find a thanx in there from me.   http://www.bryanpopham.com/tutorials21:52
Noobster*celebrate21:52
toast018I am using wireshark to monitor my traffic to my mail server and I noticed there is a nearly constant DNS quesry to our DNS server asking for ircserver.jmchd.com21:52
guntbertNoobster: :-)21:53
david506patdk-wk, I removed the extra lines I added, rebooted and it works well.21:53
patdk-wkheh21:53
patdk-wkballi, no idea, I haven't done dma programming since the 90's21:54
david506I am opening a ticket now.21:54
Ballipatdk-wk: Its okay :) Im jus starting now.21:55
kirklandSpamapS: hey21:56
Ballipatdk-wk: One question related to a test case. Could you please give me an example of when a DMA write takes place, so I could debug my code.21:56
kirklandSpamapS: did you get auth working with cobbler?21:57
kirklandSpamapS: if so, what module did you use?21:57
Ballipatdk-wk: I tried "cat <filename>" and I found that no DMA write takes place :(21:57
kirklandSpamapS: i'm trying: #    authn_testing    -- username/password is always testing/testing (debug)21:57
kirklandSpamapS: not work for me though21:57
Ballipatdk-wk: No DMA write, because of small file size?21:58
patdk-wkballie did you wait for linux kernel to actually write it?21:58
toast018is it normal for a mail server to join an IGMP group?21:58
Ballipatdk-wk: Yes I have set a breakpoint to debug the kernel code using gdb21:58
Ballipatdk-wk: I basically wanted to do some modifications to the content before a DMA write takes place21:59
Ballipatdk-wk: But its wierd for me since DMA write happens only once during system bootup afterwards there is no DMA write at all.22:00
toast018Total newb here any help would be awesome... :)22:04
toast018my mail server is constantly asking my dns server where ircserver.jmchd.com is22:05
toast018its streaming across my screen in wireshark22:05
patdk-wktoast018, it's been hacked?22:06
toast018I dont know...22:06
toast018I have no idea how to find out.22:06
patdk-wkwell, something on it is requesting it22:06
patdk-wksee if there is anything running that you don't know what it does22:06
toast018I have had to restart the server multiple times because it continually brings my internet connection down22:07
patdk-wkI guess if your using apache mod_* (php/perl/...) you can't really see what they are running though :(22:07
CyVangenii-around: Thanks.. I'll look at remastersys. So there's no chance that the redhat or suse drivers could work?  hmm maybe no t.. might be diff kernel versions :(22:07
toast018apache will also give me an out of memory error every few days22:07
patdk-wktoast018, one of your websites was hacked22:09
toast018its a mail server only22:09
patdk-wkthen why is apache running?22:09
CyVangenii-around: The thing is the 9.10 installer gave me a list of drivers to try and I saw mpt2sas but when I tried to load it it didn't work. Is it possible the ones that come with 9.10 aren't worknig properly but were fixed in 10.04? Is there a way to copy the 10.04 drivers instead?22:09
toast018only apache related item is the webmail22:09
toast018squirrelmail22:09
patdk-wkwebmail == website == hacked :)22:09
toast018what are my options?22:10
patdk-wkI don't know, I know nothing about squirrelmail22:10
patdk-wkbut I should shutdown apache22:10
patdk-wkand see if all goes back to normal :)22:10
patdk-wkif it does, they probably didn't get root, and just squieerelmail was hacked22:11
patdk-wkbut not sure if I would count on that22:11
toast018whats the fastest way to change any passwords that would keep them out? or is there any?22:12
patdk-wkheh?22:13
patdk-wkthey probably didn't use any passwords to get in22:13
toast018:(22:13
patdk-wkwhat version of squerrilmail?22:13
patdk-wkI so can't type that word22:13
toast018I noticed a gam_server running I killed it22:13
toast018"/usr/lib/gamin/gam_server"22:14
toast018trivial-rewrite -n rewrite -t unix -u -c22:15
patdk-wkthat is postfix22:16
patdk-wkguess you really dunno what normally runs on your server22:16
toast018gam_server is postfix?22:16
toast018I didnt set it up a former employee did.,,,22:16
patdk-wkit's a service that is normally used to check for file modifications22:17
toast018they fired him and now Im over it.22:17
patdk-wkwhat version of ubuntu?22:18
toast018I wished they would get someone else... I honestly have no idea whats going on...22:18
toast0188.0422:18
patdk-wkis it currently up to date?22:18
toast018I just seen this come across wireshark. v2 membership report / join group 239.255.255.25322:19
toast018yes it is up to date22:19
patdk-wkheh, I would probably just do a: chmod a-x /etc/init.d/apache*22:19
patdk-wkand reboot22:20
patdk-wkthen start looking for odd stuff in wireshark22:20
toast018what would that do?22:20
patdk-wkdisable apache/webmail/squirrelmail22:20
patdk-wkand reboot, to clean out all odd running programs22:20
patdk-wkunless they added stuff into cron/at/...22:20
toast018is that IGMP join group something that I should not see?22:21
patdk-wkdunno, if it's only email, probably not22:21
patdk-wkbut if it's doing something else, pacemaker, heartbeat, ...., it would be fine22:21
toast018chmod is to change ownership how will that disable apache?22:22
patdk-wkchmod DOES NOT change ownership22:23
zamaraxhello, I have this script http://pastebin.ca/2018851 in my rc.local file, and unfortunately the second script hylafax doesn't launch, any idea?22:23
zamaraxif I remove the sleep function it will launch, but it doesn't give enough time for the first script22:23
toast018command ran...22:25
i0nicso to make something run on run level 2 , runlevel2 can run things as root?22:26
i0nicbasically im trying to make a script that runs ntpdate as root22:26
i0nicare 755 permissions fine on this?22:27
MBR89hi guys22:29
MBR89need help with xrdp / kde on ubuntu server22:30
zamaraxhello, I have this script http://pastebin.ca/2018851 in my rc.local file, and unfortunately the second script hylafax doesn't launch, any idea?22:30
zamaraxif I remove the sleep function it will launch, but it doesn't give enough time for the first script22:30
MBR89KCMinit ... Segmentation fault22:30
patdk-wkzamarax, sleep (10) == invalid syntax22:31
zamaraxshould be sleep 10 right? that's what I thought but when I use that it doesn't sleep for 10 seconds22:31
zamaraxthey execute back to back22:32
MBR89no idea22:39
Fookin_Prawnmaybe string them together like etc/asdf/asdf start && sleep 10 && /etc/qwerty start22:39
Fookin_Prawnthat way they don't execute without prior executing22:40
zamaraxthank you I will try that22:40
Fookin_Prawncaveat you may need parentheses22:41
econnellOn 10.10, i'm trying to do a PXE boot for a virtual machine install (kvm) using virt-install... i've specified --pxe on the virt-install command line, but i'm not seeing any DHCP requests on the network and there is no output on the virtual console22:41
econnellanyone have a clue on how to even start debugging that? :)22:41
zamaraxFookin_Prawn - thanks that worked perfectly22:43
zamaraxappreciated :D22:43
Fookin_Prawnzamarax: good to hear :-) if you're interested in more things like that, check out bash scripting22:44
zamaraxthanks22:45
Fookin_Prawneconnell: do you have dhcp declared in your rc.conf?22:46
econnellrc.conf?22:47
econnellFookin_Prawn: on the host system you mean?22:48
Fookin_Prawneconnell: sorry, I haven't used ubuntu in a while. in one of ubuntu's startup scripts it should specify things like modules to load, interfaces, daemons, etc. can't remember which script has it, but dhcpd must be declared in it. it's probably named rc.* something22:48
econnellthis is a virtual machine install....22:48
econnellPXE boot on the host machine works fine22:48
Fookin_Prawneconnell: ah I see. so you're trying to start a virtualization with a -pxe command?22:49
econnellyes22:49
Fookin_Prawnand this virtualization is an installation?22:50
econnelli'm trying to run this: virt-install -n web1 -m 54:52:00:00:00:01 -r 256 -f /virtualdisk/web1.img --nographics -s 30 --pxe --accelerate --connect=qemu:///system22:51
econnellthe VM starts and i can connect to the console, but nothing ever happens on the console and there's no network I/O from the VM22:51
NoobsterI am having an issue that might be caused by apparmor. I chown /var/run/bind to root:bind, but when I reboot it is changed back to root:root?22:56
AmgineMaybe I should ask this here... trying (failing) to compile pcntl.so for php5.  dpkg-buildpackage: error: debian/rules build gave error exit status 222:56
Noobsterof course I get an error on reboot in /var/lod/daemon.log22:56
Fookin_Prawneconnell: i'm stumped, but virt-tools has an irc channel http://virt-tools.org/contact/22:59
econnellFookin_Prawn: thanks22:59
econnellin the meantime, if anyone else can figure it out, let me know22:59
econnellor at least where to start debugging23:00
patdk-wkheh?23:00
jdstrandNoobster: apparmor would not change the permissions on the directory23:26
jdstrandNoobster: /var/run is a tmpfs and /var/run/bind is recreated on each boot23:27
Frenk_Hey, people told me to do the following on ubuntu:23:52
Frenk_$(postconf -n | awk -F= '{ print $1 }'); do echo -n 'default: '; postconf -d ${parameter} ; echo -n 'current: '; postconf ${parameter} ; echo '--'; done | less23:52
Frenk_but i dont know how to start - if i put it in console i got an error23:52
Frenk_i mean for parameter in $(postconf -n | awk -F= '{ print $1 }'); do echo -n 'default: '; postconf -d ${parameter} ; echo -n 'current: '; postconf ${parameter} ; echo '--'; done | less23:54
econnelloh i give up... pxe boot in a xen vm worked fine on centos5...  no clue why it's not working on ubuntu... i'm just going to on-demand nfs mount the ISO on the hosts... talk about a hack :)23:55
twbWhat that is supposed to do is iterate over each postfix option, and print both its default and current values (side by side).23:55
twbFrenk_: it works for me in 10.04.23:55
Frenk_i left for parameter in out -.- stupid me23:55
twbfor x in $(postconf -n|cut -d= -f1); do printf 'default: %s\ncurrent: %s\n\n' "$(postconf -d "$x")" "$(postconf "$x")"; done23:57
Frenk_twb and what does: modified_parameters=$(postconf -n | awk -F\= '{ print $1 }'); for parameter in ${modified_parameters}; do default_value=$(postconf -dh ${parameter} ); current_value=$(postconf -h ${parameter} ); test ${default_value} '=' ${current_value} && echo ${parameter} ; done23:59
Frenk_?23:59

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