/srv/irclogs.ubuntu.com/2010/10/25/#ubuntu-server.txt

patdk-lapsetting up an outgoing email server is much much harder00:00
nagchampathat's not what i want it to do00:00
patdk-lapemail relay?00:00
nagchampayes00:00
nagchampabut filtering00:00
patdk-lapaccept email from users and set to other email servers00:00
nagchampaalso handle th eincoming mail, but have it forward to the primary mail server afterwards00:00
nagchampawe've got an exchange 2010 server which it should forward incoming mail to00:01
patdk-laphmm, looks like that example, has it filter all email00:01
patdk-lapno matter where it goes00:01
nagchampathat's what i want00:02
patdk-lapin my setups I only have it filter incoming email to me, and virus scan all email00:02
patdk-laplooks pretty straight forward to me00:02
nagchampathat's great, not to me00:02
patdk-lapwell, email has been nothing but more and more complex every few years00:03
patdk-lapdue to different ways of protecting from virus and spam00:03
nagchampathe postfix guide details a single type of setup, but doesn't explain much about what other setups are possible00:03
patdk-lapI don't see anything in there about other things for outgoing email, like spf, dkim, hostnames, dns entries00:03
nagchampaspf and dkim are hanled in the mail filtering guide00:05
k5673nagchampa: Look at this http://beginlinux.com/server_training/mail-server/1044-postfix-mail-gateway00:06
patdk-lapna, I only see receive dkim checking, not outgoing signing00:06
nagchampai'm sure i'm not the first, but I find postfix completely overwhelming...00:07
patdk-lapsame for spf, but that just reqiures dns entries :)00:07
patdk-lapna, postfix is very simple, and flexable00:07
patdk-lapit's the flexability that makes it alittle confusing at first00:07
k5673nagchampa: Try to configure sendmail00:07
nagchampapatdk-lap: i'm sure it's simple once you understand how it works00:07
k5673Wahahaha00:07
nagchampato me it seems overly complex00:08
patdk-lapheh, I grew up on sendmail, writing cf files, before m4 came around00:08
k5673The good of sendmail is it flexibility. The bad: it's flexibiity.00:08
patdk-lapwell, it's the monolithic flexability :)00:09
=== Pilif12p|afk is now known as Pilif12p
nagchampathanks for the link k567300:09
patdk-lapatleast postfix breaks it down into parts, incoming smtp, outgoing smtp, ....00:09
=== _Techie_ is now known as _TechAway_
k5673nagchampa: You're wellcome!00:09
=== _TechAway_ is now known as _Techie_
nagchampak5673: that looks like an outgoing filter only00:11
patdk-lapyou don't want my setup :)00:12
k5673nagchampa: but aren't you trying to send the emailz to an Exchange server?00:12
patdk-lapit consists of 8 postfix installs running on one machine :)00:12
nagchampaessentially i want it to sit between the internet and the mail server, when the mail server sends mail out it goes through the filter to be scanned and then sent on, and incoming mail should be received by the gateway, scanned and forwarded to exchange00:12
nagchampado i need to have seperate postfix instances?00:13
patdk-lapya, one works fine00:13
patdk-lapone sec, I have 2 postfix installs doing just htat for exchange 200700:13
=== _Techie_ is now known as _TechAway_
k5673I don't think you'll need two instances00:14
k5673But, for convenience, you can virtualize them00:15
k5673If you like00:15
k5673KVM00:15
patdk-lapheh, you can run postfix on the same machine as many times as you want, no need for two seperate ones :)00:15
nagchampathe server is already running on ESXi00:15
nagchampapatdk-lap: that's what i thought00:15
k5673Ah! Right00:15
patdk-lapmy master.cf file: http://userv.pastebin.com/91xmSLq600:17
patdk-lapyou probably just want to use one content filter, just set them all to the same port00:17
patdk-lapI use different amvisd rules for outgoing and incoming00:18
nagchampathe problem i'm having is finding clear documentation on the configuration options00:19
patdk-lapgoogle :)00:19
nagchampatrust me, i'm googling00:19
nagchampaexim seems to have a crapload more documentation and examples00:20
patdk-lapI didn't have any issues, and I only started using postfix 4 years ago00:20
nagchampai'm starting to think it's a better option00:20
patdk-lapI've installed >20 postfix setups since them now00:20
nagchampayou've come from sendmail though, which has a lot of similarities (from what i've heard)00:21
patdk-lapI actually came from the rfc's00:21
patdk-lapI always normally read the rfc's before I attempt to do something00:21
patdk-lapkind of hard to do something, if you dunno how it's suppost to work00:21
nagchampasubtle00:22
patdk-lapya, I'm insane like that00:22
patdk-lapah, I see that ubuntu doc does have spamassassin disabled finally though :)00:23
patdk-lapoh wait, it says enable it, heh, still screwed up00:23
nagchampayou have a problem with spamassassin?00:23
patdk-lapya00:24
patdk-lapwhy use it when it's included in amavisd?00:24
patdk-lapit just eats memory, and never used00:24
nagchampai thought amavisd used spamassassin00:24
patdk-lapit does00:24
patdk-lapwhy you don't need spamd00:24
=== Pilif12p is now known as Pilif12p|afk
patdk-lapamavisd does not use spamc00:25
patdk-laptherefor no need for spamd to use memory00:25
patdk-lapamavisd runs it's own version of spamd inside itself00:25
=== Pilif12p|afk is now known as Pilif12p
patdk-lapit's like a waste of 100megs of memory00:26
nagchampaexample of what i'm having problems with http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall00:26
nagchampathey've got a block of config with a translation following00:27
nagchampawell, a ffew00:27
nagchampaone of them has this in the thranslation00:27
nagchampaLines 1-7: Accept mail from local systems in $mynetworks, and accept mail from outside for "user@example.com" but not for "user@anything.example.com". The magic is in lines 4-5.00:27
nagchampaof course, they don't explain what the magic is in lines 4-5, and reading the documentation for the two options that are linked leaves me none the wiser00:28
patdk-lapdunno, I don't use it00:28
patdk-lapbut I don't have an issue with that00:29
nagchampacare to explain then?00:29
patdk-lapI'm pretty sure relay reciepient map handles that00:31
nagchampai'm not asking what handles it00:32
nagchampai'm asking what the hell the options mean :P00:32
patdk-lapparent_domain_matches_subdomains?00:32
nagchampai get that, kind of, only match subdomains to parent domains for these things00:32
patdk-lapit means, if someone uses, myname.example.com, postfix will treat it as example.com, if there isn't a match for myname.example.com00:33
nagchampawhy do they have it enabled for debug_peer_list and smtpd_access_maps is what i dont' get00:33
patdk-lapthe default is: parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps00:35
patdk-lapwell, it does fix the case when you send email from that server itself00:36
patdk-lapcause it will add it's name as default00:36
patdk-lapso you will get, root@email-gateway.example.com by default00:36
nagchampaso which of the two is that handled by?00:36
nagchampadebug_peer_list or smtpd_access_maps?00:36
nagchampai think i'm starting to get some of this, the master.cf defines which of the postfix processes you have running (although i don't get why many are here that don't seem to be runnin gwhen postfix is running00:45
nagchampaman maildrop00:46
nagchampawoops00:46
nagchampa:P00:46
Patrickdkwell, that doesn't just define daemons00:54
Patrickdkit defines interactions between programs00:54
Patrickdksome of them are daemons00:54
Patrickdksome of them are just for handling mail, so are only started when there is email to handle00:55
MTecknologyI'm trying to run mysql inside of a jail.... it doesn't like me - any ideas what I'm doing wrong?01:00
MTecknologyI try to start it and get "start: Unknown job: mysql"01:00
k5673MTecknology: have you installed mysql-server package in the chroot?01:01
MTecknologyk5673: ya01:01
MTecknologyk5673: I'm starting to think that maybe runnign things inside of a jail is not the best idea...01:02
k5673MTecknology: Have you tried KVM?01:02
MTecknologyk5673: i have - but this system has 1GB RAM01:02
k5673And?01:02
k5673MTecknology: You can do it each one with 128 MB RAM01:02
k5673For tests, of course01:03
k5673MTecknology: For production, more RAM01:03
MTecknologythis is production and won't get more ram01:03
k5673Ah, right01:03
k5673What ar you trying to achieve, chroot-jailing all those services?01:04
MTecknologyya01:04
MTecknologyk5673: I think I'01:04
MTecknologyk5673: I think I'm just going to not do the chroot jails... it'll just be easier01:05
k5673MTecknology: But, what are you trying to do?01:05
MTecknologyk5673: I was tring to have one chroot for everything I wanted to run on the system01:05
k5673MTecknology: But why, for security reasons?01:06
MTecknologyk5673: just to keep things neat and tidy, I'm combining a lot of different servers into one little desktop01:07
k5673MTecknology: Ah right.01:07
MTecknologyk5673: company is liquidating so I'm downsizing what I have01:08
k5673MTecknology: If that the case, keep in mind the backups. Desktops aren't too much reliable.01:08
MTecknologyk5673: ya, I'll plug in an external and use rsnapshot01:08
k5673MTecknology: Budgets are a trouble for all. I have too much luck.01:09
k5673MTecknology: Last week, i got approved a budget for two Supermicro servers. Dual Quad-core, 16 GB RAM, 4 TB RAID 5 each.01:10
MTecknologylifeless: heh.. uds is going on?01:10
MTecknologyk5673: nice- our issue is some morons up top...01:10
k5673MTecknology: Ha!01:11
k5673MTecknology: I think you must install each service normally01:11
k5673MTecknology: Not in chroot-jails.01:12
MTecknologyk5673: that's the one thing I wanted to avoid :P01:12
k5673MTecknology: Jails are most for sandboxing and development01:12
MTecknologyk5673: I'll just toss it all only the one system - i guess with the whole downsizing thing, I'll be trimming the stuff I used to do a lot01:12
k5673MTecknology: Instead, use virtual domains, with a MySQL backend for the accounts.01:12
k5673MTecknology: I think that will be a solution for you01:13
nagchampaPatrickdk: thanks, i've been reading the manual pages, slowly piecing it all together...01:13
MTecknologyk5673: not really :P01:13
MTecknologyk5673: thanks for the help01:13
k5673OK01:13
MTecknologyk5673: I'm kinda biting the bullet and I think in the end I'll realize it's not that big of a deal01:14
k5673MTecknology: It's not a big deal.01:15
MTecknologyk5673: in whose opinion ;)01:16
MTecknology:P01:16
MTecknologyI'm kinda phsychotic when it comes to neat and clean01:16
k5673MTecknology: That's right!01:18
ruben23hi guys any idea on this i cant apt-get update afetr i install ubuntu-server ----------->http://pastebin.com/ph97fr5r01:24
k5673ruben23: do you have tried nslookup us.archive.ubuntu.com01:33
k5673ruben23: ?01:33
k5673ruben23: Or, just remove all the us. from your /etc/apt/sources.list to use the main server archive.ubuntu.com01:33
MTecknologyk5673: yay... now the only issue seems to be either php or mysql - assuming php01:35
k5673MTecknology: test your php installation, creating a file named test.php and add this http://pastebin.com/k7pA8LfX01:37
MTecknologyk5673: :P I always do that on one line01:37
MTecknologyk5673: but ya, all I get is a white screen01:38
k5673MTecknology: so, the problem is php. Check the permissions and owner of the file you just created. Quick and dirty, set to 0777 and nobody:nogroup01:39
MTecknologyk5673: I created it as www-data01:40
k5673MTecknology: if that dazent work, can be php or the interaction with nginx01:41
k5673MTecknology: http://www.howtoforge.com/nginx_php5_fast_cgi_xcache_ubuntu7.0401:41
MTecknologyk5673: holy crap that looks ugly01:42
=== _TechAway_ is now known as _Techie_
MTecknologyit really suggests using lighty for php!?01:42
k5673MTecknology: It is. It is.01:42
MTecknologythat page is horrible01:43
MTecknologyno offense to the link01:43
MTecknologyI think it's just php5-fpm not wanting to behave itself01:43
MTecknologyhence the reason I tend to run with php5-cgi instead01:43
MTecknologyI'd rather not this time though....01:43
MTecknologyI'm going to go have supper with my fiancee - back in a bit01:44
ruben23k5673: hi sorry i got disconnected this is my nslookup--------->http://pastebin.com/DzAue9Ct01:57
k5673ruben23: the last time i got that issue, just removed the subdomain and worked.... Try it for just one. Remove the us.01:59
k5673ruben23: and apt-get update again.01:59
ruben23ok ill try thanks02:01
ruben23 k5673: unusual still the same...:-(02:07
k5673ruben23: try apt-get clean apt-get autoclean02:08
ruben23yep same thing i guess ill try to re-install02:09
ruben23the server again02:09
k5673ruben23: nah!02:10
k5673ruben23: I can't remember the procedure to get that work again02:11
k5673ruben23: look at this http://ubuntuforums.org/archive/index.php/t-922471.html02:14
SpaceBasshey folks02:36
SpaceBasssince upgrading my server box to 10.10, my server won't accept inbound web connections to its apache server, etc02:36
SpaceBassany thoughts?02:37
=== _Techie_ is now known as _TechAway_
Andre_Gondimis it possible to run ubuntu server by flash driver?03:00
Andre_Gondimis it possible to run ubuntu server installer by flash driver?03:00
twbI don't know what a "flash driver" is.03:02
twbYou can certainly boot an installer from an MTD device, like a USB key or CF card.03:03
Jordan_UAndre_Gondim: Yes, many people run Ubuntu server from a flash drive*.03:06
Andre_Gondimtwb, what I need to do? Just extract iso file in a pen driver?03:06
twbAndre_Gondim: no, download and install an hd or net install medium03:09
twbIIRC the hd medium expects you to also then copy an .iso file into its root directory.03:10
=== harrisonk is now known as harrisonk_away
=== Pilif12p is now known as Pilif12p|afk
Andre_Gondimisn't there iwconfig in ubuntu maverick server?04:35
i_is_brokewhats the best book to read about networking and its proto'04:38
twbWhat's the cost per mips/flops "sweet spot" for a VT-enabled LGA775 right now?04:42
=== Andre_Gondim is now known as Andre_Gondim-afk
=== _TechAway_ is now known as _Techie_
=== _Techie_ is now known as _TechAway_
EspadaV8_Whello, i was wondering if there were package lists for the ubuntu server releases07:48
EspadaV8_Wi'm trying to find out what's changed between 10.04 and 10.1007:48
twbEspadaV8_W: the archive contains a Packages database mapping each file to a package.07:50
twbEr, not Packages.07:50
twbContents-<arch>.gz07:51
twbe.g. http://archive.ubuntu.com/ubuntu/dists/maverick/Contents-amd64.gz07:51
twbYou'd probably be better off getting installing apt-listbugs and apt-listchanges or so07:51
uvirtbotNew bug: #666152 in openssh (main) "package openssh-server 1:5.3p1-3ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127" [Undecided,New] https://launchpad.net/bugs/66615207:51
EspadaV8_Wtwb: i don't have any ubuntu installs handy, i was wondering if there was any reason to use 10.10 instead of the lts release07:52
twbEspadaV8_W: there isn't07:53
twbI suppose there are also release announcements that give a summary of areas of major progress.07:53
twbhttps://lists.ubuntu.com/archives/ubuntu-announce/2010-October/000139.html07:54
twbThat seems to just link to a "wow, clouds r kool!" news article.07:55
EspadaV8_Wis lts -> lts upgrade supported? or would i need to go from 10.04 -> 10.10 -> 11.04 ... ?07:55
EspadaV8_Wlol07:55
twbYes, LTS-to-LTS is supported.07:55
jpdsEspadaV8_W: lts→lts is supported.07:55
EspadaV8_Wawesome, thanks07:58
EspadaV8_Wi guess i'll just use the 10.04 then07:58
EspadaV8_Wthanks for the help guys :)08:01
neuro666hi, how to manage apache2 vhost in mysql db with ubuntu server?09:50
joschineuro666: you'll have to install mod_vhost_mysql (http://fabienne.tc2.utelisys.net/~skinkie/mod_vhost_mysql2/) or mod_myvhost (http://code.google.com/p/mod-myvhost/)10:14
joschineuro666: but there's no package for either of them in Ubuntu's package tree10:15
neuro666joschi : thanks, is it working in your servers under ubuntu & apache2?10:17
joschino10:17
neuro666ok10:17
=== airtonix_ is now known as airtonix
=== _TechAway_ is now known as _Techie_
=== _Techie_ is now known as _TechAway_
xamparti need to put up a reverse proxy, where every request to www.example.com/wiki/ would be proxied to http://wiki.backend.com/. how would i do about doing this?11:14
twbxampart: install varnish or squid or something?11:15
JKL_http://httpd.apache.org/docs/2.0/misc/rewriteguide.html search for the proxy11:16
twb"Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. In contrast to other HTTP accelerators, many of which began life as client-side proxies or origin servers, Varnish was designed from the ground up as an HTTP accelerator."11:20
twbI've also seen nginx used as a reverse proxy to SSL-tunnel traffic to a "dumb" httpd11:21
=== AstralSt is now known as AStorm
_rubenxampart: kinda depends on what kind of system www.example.com runs on and if it has any proxy capabilities11:30
twbAnd what he wants the proxy FOR11:32
xampartwiki.backend.com is a confluence tomcat-webapp. i need to make it so, that users can securely (sslproxy + clientcerts) browse our wiki from outside our lan11:34
twbxampart: we used pound+nginx for that11:35
_rubeni've used apache+mod_proxy for that11:35
twbxampart: is sslproxy something that can act like gpg-agent/ssh-agent, but for HTTPS challenges?11:36
twbI've wanted such a thing for aaaages11:36
twbCurrently I have to hand-write a script for each site, that uses curl to acquire a session cookie and dump it into the browser11:36
xampartdon't really know what you're asking =) but i found this sslproxyengine directive in apache and tested it with my ca + clientcert inside lan11:38
xampart_ruben: i would like to know our configuration for apache+mod_proxy. i tried "proxypass /wiki/ http://wiki.backend.com/ proxypassreverse /wiki/ http://wiki.backend.com/"11:40
twbGrah!11:50
twbWhy, when I ssh into a lucid server running lshd (instead of sshd) as root, is PATH=/bin:/usr/bin ?11:50
twbDo universe programs have to "opt in" to ubuntu's crack-addled replacement of /etc/profile with whatever GUI-happy pam-based is used now?11:51
lycan-workhey guys, how can I create a new user on my ubuntu-server ?12:04
twblycan-work: "adduser fred"12:04
lycan-worktwb so how do i add the user to all main groups / default and root accessible ?12:05
lycan-worki want the new user with admin power12:05
twbTo add an existing user to an existing group, "adduser fred dip"12:05
twbYou will want to consult documentation to learn which groups are appropriate for any given user.12:05
lycan-workah12:05
lycan-workthought there was a lil console gui to add new users easier12:06
twb("dip" provides access to modems and ATM.)12:06
twbThere probably is, but here we expect you to learn to do things properly12:06
lycan-worktwb yea12:17
drcodehi all12:18
drcodeI try to install ubuntu server 10.04, Is there recommanded on swapfile size?12:19
lycan-workdrcode i would do default12:20
lycan-work512m usually fine12:20
drcodek12:21
drcodethanx lycan-work12:21
twbI don't run with swap12:23
twbI don't think I've ever seen a 2.6 system that was actully utilizing the same while still being responsive enough that you could manually kill off the misbehaving process12:24
twbI prefer to just leave that job to the OOM-killer12:24
twbs/the same/swap/12:25
twb(Oh, and a swapFILE will have worse performance than a swap partition.)12:25
uvirtbotNew bug: #666253 in libpam-ldap (main) "Make password change prompts translatable" [Undecided,New] https://launchpad.net/bugs/66625313:47
=== zul_ is now known as zul
blackxoredhello guys, sadly I still have some servers using windows, I wanted to know if creating a CA with openssl on one on my boxes, will be compatible with the windows servers (by compatible I mean, I know the certs are the same, but it will allow me to choose from the CA as for windows-based ones whenever I'm installing a windows service which requires a CA)?14:50
mdeslaurblackxored: yeah, it should be fine...I have done it before...I seem to recall having to package certs as pkcs12 to import them into windows though14:52
mdeslaurbut that's just manipulation14:52
blackxoredmdeslaur, ok great ;)14:52
blackxoredbut whenever I install a windows service (which I wont' but my coworkers will), it will allow them to automatically request a new certificate for the service, or I'll have to do it manually14:53
blackxoredarent' we all lazy? :P14:53
mdeslaurblackxored: I'm not quite sure what you mean by that...if it's webservers, they will need to send you their CSR and you will need to sign it with openssl14:54
blackxoredwhen you install most of window servers that require ssl, it prompts you for a CA, and it automatically asks for the certificate and imports it14:55
mdeslaurblackxored: hmm...I'm not aware of what would do that...do you have a specific example?14:56
blackxoredOffice Communication Services, Lync, IIS I believe14:56
mdeslaurblackxored: well, last time i installed IIS, it was a manual process14:57
blackxoredwhich version?14:57
mdeslaurblackxored: a long time ago...14:58
blackxoredwell i'm talking about iis 7.x or something14:58
blackxoredI won't use iis14:58
blackxoredhehehe14:58
blackxoredluckly14:58
blackxoredapache with haproxy14:58
blackxored:P14:58
blackxoredbut still14:58
mdeslaurblackxored: well, then I don't know, sorry14:58
blackxoredI've cited an example14:58
=== RoAkSoAx is now known as andreserl
=== RoAk is now known as RoAkSoAx
jetoleHey guys. If I compile my own app (in this case it's libldap linked against openssl). Is there a way I can uninstall it and revert? Do you know how I can tell dpkg/apt-get/aptitude between them aside from the initial dpkg -i?16:02
=== jdstrand_ is now known as jdstrand
MankdimHello, can any one help me plz? I'm installing ubuntu 10.04 server, booting from usb flash disk, when I get to partition menue, it doesn't recognize the hard disk, just the the flash disk.16:25
ramseydHi guys16:27
ramseydI am trying to do apt-get install libvirt-bin16:27
ramseydBut it gets stuck16:28
ramseydlike so: http://dpaste.org/VtkJ/16:28
ramseydWhen I try to kill the process, it tells me to run dpkg --configure -a which gets stuck again16:28
ramseydSo Im running in a circular loop16:28
ramseydAny way I can resolve this problem?16:28
RoAkSoAxramseyd, do: "sudo dpkg --configure -a"16:28
ramseydRoAkSoAx: root@webhost:~# sudo dpkg --configure -a dpkg: status database area is locked by another process16:29
ramseydoh my bad, i ran that command and it got stuck16:29
ramseydroot@webhost:~# sudo dpkg --configure -a Setting up hal (0.5.14-0ubuntu6) ... invoke-rc.d: ---------------------------------------------------- invoke-rc.d: WARNING: invoke-rc.d called during shutdown sequence invoke-rc.d: enabling safe mode: initscript policy layer disabled invoke-rc.d: ----------------------------------------------------16:29
ramseydhttp://dpaste.org/VtkJ/16:29
RoAkSoAxramseyd, seems that other process is running and it is locking it. You might wanna check that16:31
ramseydRoAkSoAx: Yea, how do I unlock that process? (The process in question being: sudo dpkg --configure -a)16:33
whaleyduring my last `aptitude safe-upgrade` I noticed that I pulled down linux-image-2.6.32-309-ec2{a}.  Should I plan on upgrading my kernel instances or does that happen automatically?16:34
whaleyerrr, wrong channel, sorry :)16:34
a_okhow do I set the locale to something decent?16:34
=== Andre_Gondim-afk is now known as Andre_Gondim
Jeeves_hehe, looks like the uds-connectivity is broken :)16:37
MankdimHello, can any one help me plz? I'm installing ubuntu 10.04 server, booting from usb flash disk, when I get to partition menue, it doesn't recognize the hard disk, just the the flash disk.16:39
Mankdimany tips16:39
k5673Mankdim: Are your disks SATA?16:40
Mankdimyes16:40
k5673Mankdim: In the BIOS, try to change the mode of the SATA controller to Compatible, or something different to AHCI16:42
k5673Then, try again.16:42
Mankdimaha16:42
Mankdimok I'll try16:42
Mankdimthanks16:42
k5673Mankdim: That because the installer maybe can't recognice the controller in AHCI16:43
MankdimIC16:43
Mankdimok16:43
k5673Hello Yo! I'm having an issue with samba. Ubuntu 9.04 server. Some folders and files names are corrupted, like M9DPK0~T, when browsing from Windows Explorer and Nautilus. But in the server's console, i can see the names normally.16:47
uvirtbotNew bug: #666363 in unixodbc (main) "unixodbc should not require x11" [Undecided,New] https://launchpad.net/bugs/66636317:01
k5673Hello Yo! I'm having an issue with samba. Ubuntu 9.04 server. Some folders and files names are corrupted, like M9DPK0~T, when browsing from Windows Explorer and Nautilus. But in the server's console, i can see the names normally.17:11
pmatulisk5673: note that 9.04 is now EOL17:19
Picik5673: I've seen that when browsing from Windows to files shared over samba that contain invalid characters for Windows files.17:20
PiciLike colons.17:20
PiciI'm not sure why nautilus would be doing it, unless you're connecting via samba too.17:20
=== oubiwann-away is now known as oubiwann
uvirtbotNew bug: #666383 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.41-3ubuntu12.6 failed to install/upgrade: " [Undecided,New] https://launchpad.net/bugs/66638317:46
k5673It doesn't have invalid chars17:46
drcodehi all17:47
drcodehow I can run update in console?17:47
drcodelike auto update that I got in gui?17:48
sorendrcode: apt-get update17:50
drcodeit only update pkg list17:50
sorenapt-get upgrade17:50
drcodeit dosn't install auto update17:50
drcodeupgrade will not upgrade the ubuntu ver?17:51
sorenLet's start over. What do you want to do?17:51
drcodein ubuntu gui , I got automticly info on new update pkg17:52
drcodewhen I installed ubuntu server it ask me if I want to get auto update17:52
drcodeI said no17:52
drcodehow can I do it manualy17:53
soreninstall unattended-upgrades17:53
drcodeits same like in gui?17:53
sorenIt doesn't offer a gui.17:54
sorenSo no.17:54
sorenIt doesn't offer a ui at all.17:54
sorenIt's *unattended*.17:54
drcodeit run auto or I can run it manualy, I prefer manauly17:54
sorenYou *specifically* asked for auto update.17:55
soren..and I already told you how to do it manually.17:55
soren16:50 < soren> drcode: apt-get update17:55
soren16:50 < soren> apt-get upgrade17:55
sorenDone.17:55
drcodeI want to run auto update manualy17:55
drcodea min17:56
drcodefor manualy I run apt-get upgrade?17:56
drcodeok17:58
drcodeI undrstand17:58
drcodethanx17:58
uvirtbotNew bug: #659854 in samba "Nautilus 2.32.0: Copy to SMB " [Undecided,New] https://launchpad.net/bugs/65985418:12
SpaceBasshey folks18:22
SpaceBassI upgraded from 10.4 to 10.10 and now when I run sudo su - ... or screen... I get a seg fault - any ideas?18:22
RoyKSpaceBass: uh - can you strace that?18:33
RoyKSpaceBass: also, keep in mind that most servers should be kept on 10.04 LTS if you don't really need 10.10 (10.10 isn't LTS)18:34
SpaceBassRoyK, will strace and report back.18:35
RoyKk18:35
SpaceBassre: LTS vs 10.10 - its a "home server" so I dont mind being on the edge...as long as the core functions work :/18:35
RoyKok18:35
RoyKyour choice :)18:35
SpaceBass(it was a poor choice, for the record)18:36
=== amarcolino__ is now known as amarcolino
RoyKSpaceBass: no strace yet?19:04
=== _TechAway_ is now known as _Techie_
=== kiu_ is now known as kiu
=== _Techie_ is now known as _TechAway_
SpaceBassRoyK, kinda got side tracked - also managed to break my ldap auth19:55
=== AStorm is now known as AstralStorm
RoyKouch19:55
RoyKhope you have a good backup, then19:55
SpaceBassyeah, no data loss19:56
SpaceBassjust config errors19:56
consumerismi was running dpkg-reconfigure postfix when my ssh session died. now i have logged in again but dbdriver config is locked by another process. can i kill it safely, or what should i do to run dpkg-reconfigure postfix again?19:56
qman__consumerism, I would kill the process and run it again19:58
coxnI'm building a preseed file, and I'd like to automatically do the lvm step like so:20:01
coxnd-i partman-auto/disk string /dev/sda20:01
coxnd-i partman-auto/method string lvm20:01
coxnmy problem comes when I later do this:20:02
coxnd-i partman-auto/choose_recipe select home20:02
coxnwhich produces a / that is too small (6.5 GB)20:02
coxnso I'm left doing an expert string20:02
coxnis there (a) an alternative where I could _just_ tell it that I want a bigger /20:02
coxnor (b) anything I should be aware of in producing my expert string?20:03
SpaceBasswhoohooo! fixing ldap auth fixed sudo and screen20:03
coxnI have this, which I have not tried: http://dpaste.org/FQsn/20:03
coxnfeedback most welcome20:04
SpaceBassnext challenge - no web services are responding to traffic from other hosts - can view http://localhost fine, but other hosts on same subnet get denied20:05
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
coxnSpaceBass: are you running ufw and/or did you set a Listen directive on a specific IP?20:09
coxnSpaceBass: also, do a "sudo netstat -plnt" to see what's listening where20:09
coxnanybody in here have experience with preseed?20:09
SpaceBasscoxn, no firewall, unless the 10.04->10.10 installed and activated one. it could be listen directives, I'll check - natstat shows port 80 listening20:09
coxnSpaceBass: what is it listening on? "0.0.0.0:80" or "127.0.0.1:80" or what?20:10
coxnpossibly "::1:80"20:10
_rubencoxn: i do preseed my installs, except for the partitioning part, partman-auto is way too complex/limited/strange/etc for me :)20:10
coxn_ruben: I'm discovering that. Ugh.20:11
coxn_ruben: how do you do partitioning, then?20:11
_rubencoxn: manually .. as a bonus it allows you to finetune the partitioning for each (type of) server20:12
_rubenideally partman(-auto) would have a sortof hook system, where it'd allow you to run a script which does the heavy lifting and return a xml/txt/whatever file to base the /etc/fstab on20:14
_ruben(heavy lifting meaning: paritioning/formatting/etc)20:14
RoyKSpaceBass: netstat -ln --tcp - does apache/whatever listen to something useful?20:14
SpaceBassRoyK, coxn thanks, tried to reinstall one of the services - looks like mysql wasn't running - thus the error 500 in the logs20:15
SpaceBassseems a lot of services didn't start when I booted20:15
SpaceBassI appreciate all your great troubleshooting help and advice!20:16
RoyKSpaceBass: if you try to apt-get dist-upgrade, what does it say?20:16
RoyKSpaceBass: there might be some packages left hanging20:16
SpaceBass0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded20:16
RoyKok20:16
SpaceBassand to your earlier point - my critical servers (email, etc) are still on LTS versions :)20:17
RoyKgood20:17
* RoyK got a little pissed of at work today - some IDIOT managed to reboot the Solaris 10 box used for our main file server just because of some NIS messup he couldn't understand20:19
uvirtbotNew bug: #666469 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.37-1ubuntu5.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/66646920:36
=== SasaGloc is now known as SasaGloc_afk
* SasaGloc_afk is away: Gone away for now20:37
=== _TechAway_ is now known as _Techie_
lennart_Any one know how I can dump installed packages to a list and use that list to install on another machine?20:48
hellorenhow do i change the banner when someone logs in the server? i am running ubuntu 10.04 openssh server20:50
pmatulislennart_: dpkg should do it20:50
lennart_The old way with dpkg --set... etc. doesn't seem to work20:50
lennart_on 10.1020:50
* RoyK worries a little about Ubuntu's rfc2550 compliance20:51
pmatulislennart_: doesn't seem?20:52
lennart_doesn't work20:52
pmatulislennart_: is there a bug?  if the man page says it should work and it doesn't then a bug needs to be filed20:52
lennart_dpkg --get-selections > installed.lst20:53
lennart_dpkg --set-selections < installed.lst20:53
pmatulislennart_: ok, and then?20:53
lennart_nothing20:53
RoyKlennart_: from the manual20:54
RoyK       Note  that  this  will not actually install or remove anything, but just set the selection state on the requested packages. You will20:54
RoyK       need some other application to actually download and install the requested packages. For example, run apt-get dselect-upgrade.20:54
lennart_Aha that was the missing part, thanks20:55
* RoyK throws an RTFM at lennart_ 20:56
lennart_Come on whats a manual?20:56
pmatulislennart_: man man20:56
lennart_man lazy :)20:57
pmatulis;)20:57
SpaceBassnext challenge, different box :D20:59
SpaceBassmy vlan and ethernet configs arent surviving a reboot - they are correct in /etc/networking/interfaces but I have to manually bring them up each time20:59
RoyKpastebin that file20:59
SpaceBassk - may require some trickery since that box isn't online - just rebooted :D - one sec21:00
SpaceBassinteresting - lsmod shows 8021q loaded but usedby is 021:01
SpaceBassifconfig shows my eth0.5 interface, but I can't pass any traffic21:02
SpaceBassRoyK, http://pastebin.com/ZXk337n921:06
SpaceBassI'd prefer not to have eth0 at all - but if I leave it out, then eth0.5 won't come up and if I set it to dhcp it (Appropratly so) gets an address21:08
RoyKSpaceBass: iirc the supported way is to use 'up ip addr add...' instead of the older eth0:n21:08
RoyKSpaceBass: I might be wrong, though - btw is 8021q in /etc/modules?21:09
SpaceBassRoyK, yes to module question - I got the vlan info from: https://wiki.ubuntu.com/vlan21:10
RoyKI see21:11
RoyKdunno then, sorry21:11
RoyKSpaceBass: is this on 10.10?21:11
SpaceBassthanks for the suggestions! yes 10.1021:12
RoyKk21:12
* RoyK repeats suggestion of not using 10.10 for anything but workstations21:12
SpaceBass:D21:13
SpaceBassfair enough21:13
SpaceBassgot it! added 'auto eth0.5' and commented out the 'eth0' line21:15
RoyK:)21:16
RoyKbut - VLANs on a home server?21:16
RoyKusing a dd-wrt router or something21:16
RoyK?21:16
SpaceBassRoyK, PFsense21:19
* SpaceBass has a serious problem...er...hobby 21:20
RoyKk21:20
SpaceBassfull server cabinet, the works21:20
* RoyK shares SpaceBass problems^Whobbies21:20
SpaceBassglad I'm not alone, there should be a support group for people like us21:20
RoyKor group therapy or something :D21:21
SpaceBass:)21:22
SpaceBassor more importantly, for our significant others - but I did let my wife put the laundry stuff in my server room...(maybe it was the laundry room first, but thats symantics)21:23
RoyKlemme see - I've got a 20cm stack of harddisk platters for an upcoming attempt to make a sound installation - is that nerdy enough?21:23
SpaceBassthat counts!21:23
RoyKwe have a truckload of old harddrives at work, well, we did, and I've become a master of dissasembling them :D21:24
RoyK'cept some Seagate drives where the spindle is fixed with some irritating stuff21:24
RoyKhttp://forums.seagate.com/t5/Barracuda-XT-Barracuda-and/Tool-to-disaassemble-Seagate-platters/td-p/3265721:25
SpaceBassI feel like I have a ton of 250, 300, 350gb sata drives and nothing too useful to do with them - drobo is a bit on the pricey side for the little bit of storage I'd gain21:25
SpaceBassRoyK, so are you cracking the drives open and fixing them?21:25
* RoyK just found a drawer full of 50-250MB drives21:25
RoyKnot fixing - just removing the platters (and the magnets)21:26
SpaceBassah21:26
RoyKwith all sorts of platters, smal 2,5", 3,5" platters with different thickness and those even smaller platters from 15k drives, the sound from them varies quite a bit21:29
RoyKso somehow a glockenspiel out of old drives :D21:29
SpaceBassohhh you literally meant sound installation! I read that as "working install of some software platform"21:29
SpaceBassvery cool!21:29
RoyKI did :)21:30
consumerismis there a way to script the configuration of postfix in dpkg-reconfigure? i want to install it on a cloud image that would need to run every time a new server launches21:32
uvirtbotNew bug: #666491 in etckeeper (main) "dpkg does not trigger commit" [Undecided,New] https://launchpad.net/bugs/66649121:37
hellorenok i got to the /etc/motd file, and opened it the vi editor but i can edit it some how. i know how to use the vi editor but the "i" command for vi does not work nor does the "a" command, and the back space key does not ether. anyone know why that is?21:39
hellorenbut i cannot edit it**21:39
yann2hello - how can I allow a user to run a command as another user using sudo without being required to type a password?21:42
Patrickdkedit sudoers file, and tell it to not require a password21:43
hellorenpatrickdk: what should i use for the openssh server, for ipv6 tunnel broker? i was looking at gogo6.com, as one for the server what do you think?21:47
Patrickdkheh?21:47
Patrickdkdoes it matter?21:47
Patrickdkpersonally, I'm using he to ipv6 tunnel, but I really don't like tunnels at all21:48
helloreni dont know thats why i was asking you21:48
=== ng_ is now known as zz_ng_
=== Pilif12p|afk is now known as Pilif12p
_Techie_im having some weird problems getting phpvirtualbox running22:00
_Techie_my php is working for http://phpsysinfo.technz.info/ , but whenever i request the file http://vbox.technz.info/config.php  apache just hands me the file22:01
=== _Techie_ is now known as _TechAway_
AlanMetahi all, where does apache2 store which user its running as? I've check /etc/apache2/apache2.conf but couldn't find it :-(22:33
erichammondsmoser: I've subscribed you to a couple bugs I thought you might be interested in.  Let me know if you'd rather I notify you of them some other way.  You're welcome to subscribe me to any related to EC2 as I'm interested in tracking these.22:36
AlanMetahi all, where does apache2 store which user its running as? I've check /etc/apache2/apache2.conf but couldn't find it :-(22:42
PiciAlanMeta: A quick grep reveals that its set in /etc/apache2/envvars:export22:43
Picier, forget the :export part22:43
Pici/etc/apache2/envvars22:43
AlanMetaPici thanks22:46
yann2is it possible to split the sudoers file in several files? like a sudoers, and a sudoers.local?22:51
yann2t is possible to include other sudoers files from within the sudoers file currently being parsed using the #include and #includedir directives. < sorry for the question, it was in the man sudoers :(22:52

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