/srv/irclogs.ubuntu.com/2008/06/25/#ubuntu-server.txt

mathiazzul: did you test the apache2 debdiff before uploading it ?00:26
mathiazzul: I was waiting for feedback on my debdiff from the sru team before uploading to -proposed00:34
michalskiwhen your at ther terminal and you hit ctrl-z it stops the process your doing and puts it on hold......how do you get it back? :P03:05
sommermichalski: fg03:07
sommer(foreground)03:07
michalskiawesome thanks sommer03:08
sommernp03:08
hadsor bg03:09
michalskiim having a super hard time getting mysql to work , stupid language :P03:09
hadsWhich may not be what you want in this case, but it's useful03:09
michalskihey cool hads, thanks :)03:09
emgentdendrobates: morning :)03:47
halcyonCorsairhey, does anyone know about upstart scripts?04:50
halcyonCorsairi'm trying to figure out how to make a service depend on another before it starts, can anyone point me in the right direction?04:54
osmosisanyone know how to use cpu frequency scaling?06:45
=== antdedyet is now known as antdedyet_
jussio1hi all, Im trying to set up svn correctly... sigh... I have it set up and working, but it just wont prompt for authentication. any Ideas. ( I set up http auth according to the ubuntu wiki)07:19
exot hello, I want to make a file writable by another server, what is the easiest way to do though ?08:35
krautmoin08:43
exot hello, how can I export only one file from a file system, I need to make a file editable by another machine08:51
=== mdz_ is now known as mdz
rodneykare there any packages for ubuntu that facilitate remote installation and a repository of software on win32 systems using krb5 and winbind on a domain with admin privileges to have permissions to exec09:29
Bert_2Hi, is there still a way to run MySQL 4 on an ubuntu 7.10 server (ppa or backports or whatever) or do I need an older version of ubuntu server to do that ?09:47
=== weesyz is now known as sudo
uvirtbot`New bug: #242869 in firestarter (main) "dnsmasq's dhcp blocked to clients by firestarter" [Undecided,New] https://launchpad.net/bugs/24286910:21
slim1hi10:51
sethaltonanyone know about lamp? I think I downloaded an olderversion or something off of the ubuntu site... have the server installed.. but no lamp option came up11:00
slim1how to open port 25 ?11:02
=== sudo is now known as malt
slim1sethalton,  what you mean by " no lamp option come up " ?11:02
=== sethalton is now known as GeekSquadSF
slim1lamp ( Linux Apache Mysql Php ), which option from all this not work ?11:03
GeekSquadSFI was looking for a gui way to manage the server (used to windows)11:05
GeekSquadSFand one of the forums said that you had to install LAMP in order to run the gui side...11:06
hadsGeekSquadSF: LAMP stands for Linux Apache MySQL PHP, it's not a GUI just a collection of programs.11:07
GeekSquadSFah... hmm... Im just looking to setup an internal email server11:08
GeekSquadSFand possibly learn to setup a domain controller... (not sure what that all includes11:09
hadsAn email server isn't too difficult to setup but it will be a bit of work if you're only used to a GUI environment.11:12
hadsThere should be a few howtos on the wiki etc. for setting up a mail server. I like Postfix (mail server software) myself.11:12
slim1i can't send email i think because port 25 closed how to know if this port closed or not ?11:14
hadsslim1: `netstat -plnt | grep 25` should show you if there is anything listening on port 2511:16
slim1hads,  no result11:17
slim1this mean that is closed ?11:17
hadsYes11:18
slim1how to open it ?11:18
hadsWell, it means nothing is listening on that port.11:18
hadsWell, what mail server do you have installed?11:18
slim1i don't have mail server11:19
slim1i have only mail client11:19
slim1mail server is not in my side11:19
slim1i only get information to connect to it11:20
hadsAh OK, you want to use an external mail server. Well outbound traffic is enabled by default so I doubt that's your problem.11:21
slim1then i try to contact mail server admin11:22
GeekSquadSFdoes postfix get installed if I chose email server during the setup process?11:26
hadsGeekSquadSF: I'm not sure what's installed by tasksel. You can check by running `dpkg -l | grep postfix`11:28
hadsIf you get no result then it's not installed.11:28
GeekSquadSFcool.. thanks for the help11:29
hadsNo worries11:30
GeekSquadSFand the army wonders why they have IT issues all the time11:30
=== GeekSquadSF is now known as MCROSFT_MONKEY
hadsheh11:31
krautMCROSFT_MONKEY: get the fuck out of here! ;)11:31
MCROSFT_MONKEYthats what IT guys are in the army11:32
tomshhi, is there some snapshot features (like vmware) on ubuntu kvm?11:33
MCROSFT_MONKEYyou can run VMware with ubuntu as a VM11:34
MCROSFT_MONKEYand take snapshots of it11:34
tomshno...11:35
hadstomsh: You can pause guests and resume them but there isn't a snapshot feature at the moment.11:35
tomshhads: thanks, the only solution is a traditiona backup solution?11:35
MCROSFT_MONKEYI have no problem with creating snapshots of mine... running ubuntu server11:35
hadstomsh: AFAIK yes at the moment. One of the virt gurus may be able to come up with a better solution thouhg.11:36
hadsMCROSFT_MONKEY: We're talking about kvm, the main supported virtualisation solution in Ubuntu11:37
tomshhads: ok11:38
hadsi.e. something like VMWare11:38
hadsYou could take a snapshot and backup that but taking a snapshot shuts down the guest I believe (I don't use them myself).11:38
MCROSFT_MONKEYsame end result... you're running ubuntu-server... need to take snapshots of the system for later retrieval right?11:38
hadsMCROSFT_MONKEY: Not quite11:39
MCROSFT_MONKEYi'll shut up then11:39
MCROSFT_MONKEYsrry11:39
hadsTalking about taking snapshots of guests running in kvm on top of Ubuntu11:40
tomshhads: for using on a datacenter i need sapshot feature...11:40
tomshsnapshot11:40
MCROSFT_MONKEYlooking through the forums... someone posted that "sudo aptitude install x-window-system-core gnome-core" would install the gnome gui desktop...11:56
MCROSFT_MONKEYnot working...11:56
hadsI would say `aptitude install ubuntu-desktop` though you are better off learning the hard way.11:57
hadsIf you're using the GUI tools you'll likely also need to ask for assistance in the #ubuntu channel as people here will be using the command line.11:59
MCROSFT_MONKEYok.. wilco.. thanks11:59
tomshubuntu-desktop install xfce?12:48
tomshor gnome?12:48
sorengnome (but this sort of question *really* belongs somewhere else)12:52
slim1i just install mailserver , and notice that ISP block port 25, is it possible to change smtp port for mailserver or this is standard ?12:53
tomshsoren: probably the correct question is "ubuntu-desktop package on ubuntu server install gnome?12:54
ScottKslim1: You can change it.12:55
sorentomsh: It's the same.12:57
sorenScottK: Whuh?12:57
sorenScottK: Er... Yeah, he can listen on a different port, but how's that going to make other mail servers deliver to it?12:57
tomshsoren: ok sorry12:57
ScottKsoren: That's a good question.12:58
* ScottK answered what was asked. 12:58
sorenWell, half of it :)12:59
slim1i'm using webmail for thunderbird to retreive hotmail emails and with wenmail i can change smtp to any value12:59
soren"this is standard"> Yes, port 25 is the standard.12:59
sorenIt's what other servers will attempt to connect to.13:00
slim1in this image i can change smtp port to any value and send through it, http://webmail.mozdev.org/images/screenshots/page1.png13:00
slim1of course, i don't know how it work13:01
sorenEr.. Yeah, if both server and client are yours, you can change their smtp port, but if you're going to be talking smtp to anyone else, they're going to be listening on (and sending to) port 25.13:02
slim1soren but i can use this smtp also not for hotmail but for other mails and still working13:04
lukehasnonameSo according to our offices in Leatherhead, UK, it is almost pm.13:55
lukehasnonameer, 2pm13:55
GeekSquadSFanyone know if x-server is on the orig. ubuntu-serv?13:59
lukehasnonameit is not14:00
GeekSquadSFknow where I can download it? or another gui for managing ubuntu-server?14:02
GeekSquadSFused to windows.. trying to get weined off of gui's14:02
lukehasnonamedownload it onto your server via apt-get14:10
lukehasnonameif you download a window manager it will likely be a dependency14:10
lukehasnonameso say you "apt-get install xfce"14:10
sorenEr.. No, it won't.14:14
sorenYou don't need X to run a window manager.14:14
sorenBesides, these are #ubuntu questions. Not #ubuntu-server questions.14:15
GeekSquadSFhehe... alright... you have a good site with lists of commands that I can use as a guide for managing the mail server and samba?14:15
lukehasnonamehttps://help.ubuntu.com/8.04/serverguide/C/14:16
lukehasnonamesoren pwned me14:16
GeekSquadSFawesome... thanks guys.... hopefully I can quit using problem infested windows14:17
sorensour code? That doesn't sound good.14:23
exothello, can I send a mail to my gamil account using sendmail ?14:47
exot hello, can I send a mail to my gamil account using sendmail, any help ?14:55
krautexot: echo foobar | mail -s "subject foo" foo@bar.com15:01
ScottKOnly 13 pre-requisite MIR needed to get spamassassin in Main.  Everyone is welcome to help ... List is in https://blueprints.launchpad.net/ubuntu/+spec/clamav-spamassassin-in-main15:02
exotkraut, thank you really ..15:04
exotu mean sendmail instead of mail ?15:04
krautmail uses sendmail15:04
krautexot: watch out the manpage15:04
musa22hello people15:47
Petrovhello15:48
musa22pls how can i install ubuntu server on a machine15:48
musa22?15:48
Petrovdo you have the install cd?15:49
musa22yes15:50
musa22i am even running on hardy15:51
Petrovand your question is how can i install ubuntu server ?15:52
musa22yes15:52
Petrovhttp://www.howtoforge.com/perfect-server-ubuntu8.04-lts15:53
musa22install and configure it for a small LAN15:53
musa22ftp, print server, etc15:53
musa22thanks man15:54
Petrovwhen you install ubuntu server you can choose: mail, samba, printer, dns, ...15:55
Petrovno problem15:55
musa22thanks a lot15:56
Petrov:p15:56
musa22but, is it going to work with clients runnin windows15:58
musa22?15:58
Petrovno idea, i never tested, but i think it will work16:01
musa22ok16:08
uvirtbot`New bug: #242956 in bind9 (main) "Bind9 (8.04) not returning 'ad' flag when dnssec is enabled" [Undecided,New] https://launchpad.net/bugs/24295616:08
=== bamed_ is now known as bamed
zulmathiaz: apache sru taken care of16:52
=== dan_ is now known as dantalizing
=== specialK1vin is now known as specialKevin
lamontsoren: around?17:53
lamontdm_crypt hates me17:53
lamontI hear you have the beating-stick17:53
* delcoyote hi18:01
sorenlamont: I might. :)18:07
lamontso I have 2 partitions that I put into dm_crypt... and the bootup process politely asks for the passphrase for the first (swap), and then dies because / isn't found18:07
lamontcan I recover that from initramfs's prompt, or do I need to be back in the installer?18:08
lamontsoren?18:11
sorenlamont: Sorry, bad timing. I have to run. I'll be back later.18:11
lamontmeh18:12
lamontI may get bored and just install it without encryption.18:12
blukhi there; I just installed Hardy server, and set up some service there, but although I can access them via LAN, I can't see them from the outside. I've disabled ufw and stopped apparmor; iptables seem to be empty. I also set another test-server to the same local IP, and it worked, so it's not a router misconfiguration. Any help would be very welcome.18:15
Deepsbluk: netstat -anp|grep <service>, check what ips its bound to18:18
jdstrandbluk: if you are switching around machines and using the same ip, you'll need for your arp cache to clear, or make sure that the interfaces use the same mac address18:18
Deepsbluk: or rathar, sudo netstat -anp18:18
Deepsand what jdstrand said18:18
blukok, a minute (I think messages are delayed because of server split)18:19
blukso the service is bound to IP 0.0.0.018:21
blukalso the ssh is the only service bound to an IPv6 address (dunno if this might be a problem)18:22
blukjdstrand, it seems the arp cache was automatically cleared, it seems ok18:23
ScottKssh binding to IPv6 is normal.18:25
blukmaybe i didn't really stopped the firewalls: i issued "ufw disable" and "/etc/init.d/apparmor stop" is this sufficient?18:25
ScottKNeither should be needed.18:26
ScottKufw by default doesn't block anything and apparmor isn't a firewall.18:26
jdstrandbluk: apparmor doesn't have anything to do with the firewall. unless you explicitly enabled ufw, it wasn't on18:26
blukcan you confirm iptables won't block anything by default too?18:26
jdstrandbluk: you can run 'ufw status' to see the status, and run 'iptables -L -n' to be ultra-sure18:27
blukok, i just wanted to make sure it wasn't interferring so i enabled/disabled it18:27
blukok i'll do it again :-)18:27
blukso ufw is "not loaded" and iptables just contain a rule i added (maybe useless but I had to try)18:28
blukACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:5018:29
bluk(in chain INPUT, policy ACCEPT)18:29
blukwas a test rule (I'm testing with nc -l -p 50)18:29
jdstrandbluk: mind, I don't know your network, but all the arp caches along the way need to clear18:29
blukok I have 3; this comp, the server, and the router, I'll do that18:30
sorenlamont: You should be able to fix that from initramfs.18:38
sorenlamont: You have cryptsetup in there, so you should be able to grab the right options from /etc/cryptblahb/blah18:39
lamontexcept that when it prompts for the key, it does that in the usplash screen, which I can't get back to once I get into innitramfs18:39
sorenlamont: Unless it's luksFormat'ed, in which case it's much easier.18:39
sorenlamont: It can ask on the console, too.18:39
* lamont does a swapless install attempt for now18:39
lamontwell, it doesn't ask on the console18:39
bluk_hi again; unfortunately, no progress with arp cache reset18:40
sorenlamont: Try booting without splash on the kernel cmdline.18:40
sorenlamont: Maybe it decides based on that.18:40
lamontI already flattened it.18:40
sorenOh, ok.18:40
lamontbtw, my normal trick of booting to the partitioner and then bringing up a shell?  not so good for recovery with dm_crypt.18:41
lamontpls to fix0r that. kthx18:41
bluk_something in Hardy-server is blocking incoming internet packets, but allows incoming local packets, but it's neither uwf nor iptables... what can it be?18:42
bluk_i mean ufw*18:42
=== bluk_ is now known as bluk
jklockbluk: the second machine that you tried, did it have iptables installed and configured?18:56
mathiazsoren: have you tried running a 2.6.26 based intrepid vm on a hardy host ?19:16
mathiazsoren: It seems to be stuck in the boot process, just after the kernel has booted19:16
mathiazsoren: http://people.ubuntu.com/~mathiaz/ifail.png19:17
Fenix|workGreetings19:21
Fenix|workanyone have a sendmail how-to for 8.04?19:22
ScottKIt starts with apt-get install postfix.19:22
Fenix|workhehe19:22
Fenix|workok, and then with postfix, to set it up as a relay...19:23
ScottKIIRC relayhost is an option presented to you when you install.19:24
ScottKThe server guide has docs on setting it up.19:25
Fenix|workI'm reading it now19:25
Fenix|workI assume I'm installing as 'internet with smart host'19:25
=== bluk_ is now known as bluk
lamontsoren: screw it.  it doesn't like to boot without swap, either.19:35
* lamont decides that the laptop gets to be his dm_crypt playground, and leaves the desktop machine to post-boot happiness19:36
Fenix|workScottK, ok... postfix installed and working... now how do I make all local user accounts use a different domain name?19:47
blukI solved my server problem; the default gateway was incorrectly set by default, but the effect was weird: incoming local packets were accepted only if they were local: internet incoming packets were dropped. All of this because of an incorrect gateway, I noticed this by accident, I'm feeling lucky :-)20:04
=== MatBoy is now known as MatBoys
=== MatBoys is now known as MatBoy
lukehasnonameScottK: what is the name of that dedicated host20:23
uvirtbot`New bug: #243061 in openldap2.3 (main) "slapd error while update from feisty to hardy" [Undecided,New] https://launchpad.net/bugs/24306120:51
mathiazScottK: do you plan to integrate clamav and spamassassin in the mail-server task once they're moved to main ?21:00
Koonmathiaz: there is a known problem with 2.6.26-based intrepid VMs.21:00
Koonmathiaz: iirc colin pushed the issue to the kernel guys.21:01
mathiazKoon: ok - thanks.21:08
mathiazScottK: I've created a wiki page to keep of MIR for spamassassin and clamav21:13
mathiazScottK: https://wiki.ubuntu.com/ClamavSpamassassinInMain21:13
mathiazScottK: could you update the spec url in the blueprint to point to it ?21:14
sorenlamont: I'm not sure I understood why you didn't just use the default encryption options in the installer (splits the drive into a boot partition and an encrypted PV, and puts everything else on LVM)?21:22
lamontsoren: show me where in the default installer options I get a 4 drive wide RAID setup with encryption on top of it.21:22
leonelmathiaz:  ScottK  If you need help to test  clamav spamassassin  to move it to main   Just let me know ..   This is a great news21:23
lamontsoren: for bonus points, give me RAID5 for the filesystems, and raid0 for swap (so as to have one partition spread across the bunch of them, letting the partition sizes be sane, etc.21:24
lamontand then you'll run into the issue that it only actually initializes one dm_crypt partition, and then blithely goes on to try mounting things (root, for example) from the others21:24
* lamont freely admits that his use case is maybe 2 sigma out21:25
lamontsoren: hence my "I give up.  I'll just do dm_crypt on the single-disk laptop, which is clearly the use case"21:26
lamontalso, it'd be nice if the partman screen wouldn't let me go change the raid drive parameters after the dm_crypt setup runs (and the raid drive gets smacked back to "do not use" instead of "physical partition for encryption"21:30
lamontand it would be extra nice if I could go in and say just do the config portion of dm_crypt without overwriting all the data"21:30
lamontsince that's my trusty tried-n-true method for doing recovery on disks: boot up to the partitioner, bail, exec a shell, and presto.21:31
lamontfor RAID, add in a "configure software raid" in the middle to start md0 et al21:31
sorenlamont: Er.. I suggest you talk to Colin about all of that :)21:38
lamontheh21:38
sorenIn such a case, I'd set everything up manually, but that's rather painful, too.21:39
sorenpainful, but possible. Unlike through the installer, apparantly.21:39
lamontwell, I expect that it's just a matter of catching it at the "please hit return after removing the CD" and fixing cryptroot to have more than one line in it21:41
lamontOTOH, I grew tired21:41
ScottKmathiaz: From my perspective integration is dependent on the server flavor spec.  That's how I'd do it.21:41
ScottKmathiaz: wiki page is linked21:42
ScottKlamont: http://archives.neohapsis.com/archives/postfix/2008-06/1215.html enjoy.21:45
* ScottK runs off.21:45
lamontScottK: heh21:47
lukehasnonameScottK: what is that dedicated server hosting you recommendeD?21:50
osmosishow can I check if cpu frequency scaling is being used?21:53
lukehasnonamesoren: have you looked at xVM?21:56
osmosisdoes  the linux-image-server  have support for cpu-frequency scaling ?21:56
lukehasnoname...21:59
lukehasnonameScottK and soren: set up an intelligent bot to respond to questions directed at y'all 24/722:16
=== RoAk is now known as RoAkSoAx
bigfootmachadoalguem utiliza msn-proxy ???????22:48
hansinDoes anyone know why the standard Ubuntu Server 8.04 install (I only chose to install the SSH services) runs Exim4 as a deamon?  It appears to be listening to the loopback host, but not sure.  I am not expert on this matter, and just want to get a sense of its purpose.  Thanks.22:48
hadshansin: Exim is a mail server23:05
ScottKSomeone please tell lukehasnoname http://www.softlayer.com/ if he shows up again.23:10
ScottKhansin: exim4 is not installed by default.  You installed something else that needed a mail server.23:10
hansinhads: Thanks.23:14
hansinScottK: Thanks, I'll try nd figure out what did it.  I don't remember what it could have been, but will take a look.  I'll see if I can hit port 25 from the outside, or if it truely is just listening on loopback.23:15
ScottKhansin: If you set this up recently you can grep /var/log/dpkg.log* for exim and then see what else was installed about that time.23:18
hadsA mail server is usually a good thing to have installed anyway (I prefer postfix but that's personal preference) you can just firewall it (which you should have anyway).23:18
ScottKhads: I'd argue installing the minimal set of services is generally better.23:18
hadsYou can also try uninstalling it with aptitude and it will complain if something depends on it and show you what it is.23:18
hadsScottK: True, that is a good thing, but a bunch of things will try and mail if there is a problem on the system so I like to have an MTA installed personally.23:19
ScottKYes.  But then you want to configure it to deliver mail where it's wanted and so you should have it on purpose and not by accident.23:20
hadsQuite23:21
ScottKleonel: It would be good to get some help doing the MIR paperwork.  That's the main thing needed.23:21
hansinThanks all.  But can you not just call the MTA on an "as needed" basis instead of running as an daemon, or maybe I am off here?23:23
ogra<slangasek> I wonder if ScottK was interested in taking care of the selinux merges?23:23
ogra^^^^^ from -meeting23:23
uvirtbot`ogra: Error: "^^^^" is not a valid command.23:23
ScottKogra: If I do it I only promise a minimal diff from Debian.  I don't know enough to get them working.23:24
ograi'll forward that to steve, thanks23:25

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