/srv/irclogs.ubuntu.com/2009/11/28/#ubuntu-server.txt

uvirtbot`New bug: #489418 in krb5 (main) "Strange behavior of libkrb5 since karmic ..." [Undecided,New] https://launchpad.net/bugs/48941800:22
=== lamont` is now known as lamont
=== FireCrotch_ is now known as FireCrotch
khelvanHello, I have a quick question - what is the proper shutdown command to shut down the server completely and not have it reboot to the recovery console?02:17
epinkykhelvan: sudo init 002:18
rykerkhelvan: or 'halt' should work as well02:37
=== nxvl_ is now known as foobar23
orudieI still can't figure out how to make thunderbird stop asking me to verify the certificate on the server that I have set up03:29
Elofftrying to install php5, but it tries to pull in libapache2-mod-php5, which removes mpm-worker and replaces it with mpm-prefork03:31
Eloffthat's not acceptable to me, how can I just install php5 without the apache crap?03:31
Eloff(forgot to mention I'm using karmic)03:33
orudieI had the same problem with my other server and I fixed it somehow just don't remember how :)03:38
Eloffwoot, just figured it out, install php5-cgi first03:38
EloffI got the idea looking at the package at: http://packages.ubuntu.com/karmic/php503:39
Eloffdepends on libapache2-mod-php5 or php5-cgi or ...03:39
khelvanepinky, ryker, thanks - sudo init 0 works great.03:59
X-M4-XAH!04:40
X-M4-Xim getting more and more issues every minute04:43
pulledteethI'm trying to install samba4 and having a hell of a time with it. I can't access the shares from windows 7. I can, however, from XP05:36
pulledteeth(Using ubutnu server, so hince why I am here)05:37
pulledteethAnyone at all got /any/ ideas?05:54
jmarsdenpulledteeth: Google for samba windows 7 problems and you will see plenty of ideas...!  Here is one example: http://www.tomshardware.com/forum/75-63-windows-samba-issue05:58
pulledteethbeen there05:59
pulledteethworked for a bit05:59
pulledteethkept bluescreening my PC. So I wiped samba. Now I can't even get back to where I can see the shares :|05:59
jmarsdenpulledteeth: You could try asking in #samba06:01
* pulledteeth nods06:01
pulledteethalready am06:01
uvirtbot`New bug: #485106 in euca2ools "euca2ools should read config and credentials from config file" [Wishlist,Confirmed] https://launchpad.net/bugs/48510606:01
mickster04hey how do i change the text displayed after a remote logon thru ssh?06:58
ninjahIs there a way to get Ubuntu to reread /etc/hosts?06:59
ninjahNot sure if that's needed07:00
mickster04?07:01
ninjahI'm trying to install the email system Zimbra. It's reading /etc/hosts but it doesn't like it07:01
ninjahI don't know why07:01
ninjahI made some changes but it still doesn't like it07:02
ninjahShould be correct.07:02
mickster04oh07:02
mickster04i dunno im askin for help meself07:03
ninjahI guess we're both lost07:04
ninjahWhat's your problem? I must have mist it.07:05
mickster04hey how do i change the text displayed after a remote logon thru ssh?07:05
mickster04os my exacct question:/07:05
ninjahchange.... What kinda change?07:06
mickster04well atm it tells me stuff like load an users etc07:06
mickster04i wanna add to it07:06
billybigriggermickster04, you need to change your MOTD07:06
billybigriggermessage of the day07:07
billybigriggeredit /etc/motd07:07
mickster04i tried that it didnt seem to work:/07:07
ninjahmotd is the file.07:08
ninjahyou need to log out and log back in to see the change07:08
mickster04i did07:08
mickster04an it hasnt kept the changes07:08
ninjahis this the message you see when you log in?07:08
mickster04sudo nano /etc/motd07:08
mickster04the one i had before i changed owt07:08
ninjahhmm...07:09
ninjahThat's the file07:09
ninjahand that's the command07:09
ninjahstrange07:09
mickster04yeah07:09
mickster04:/07:09
mickster04i also get Last login: Sat Nov 28 06:53:54 2009 from mike-laptop.lan added07:10
mickster04linux "servername" 2.6.31-15-generic-pae #50-Ubuntu SMP Tue Nov 10 16:12:10 UTC 2009 i68607:11
mickster04at the top..07:11
mickster04so it seems to match07:11
mickster04but it never seems to save07:11
billybigriggersudo update-motd07:12
mickster04command not found07:12
mickster04wait07:12
mickster04not still not found07:12
mickster04ooh motf.tail allowed me to change sumat07:14
billybigriggeroh update-motd is part of landscape07:14
billybigriggersorry07:14
mickster04motd,tail*07:14
mickster04how to set up a samba share properly?07:43
alkisgHi, I'm trying to use /etc/network/if-up.d/ethtool to specify some ethtool settings. Where does it get its $SETTINGS variable from? From /etc/network/interfaces? How would I export environment variables from /etc/network/interfaces?08:08
alkisgI think what I'm asking is related to this sentence from `man interfaces`, but I'm not sure of its meaning: "Additionally, all options given in an interface definition stanza are exported to the environment in upper case  with  "IF_"  prepended  and  with hyphens converted to underscores and non-alphanumeric characters discarded."08:12
=== Jeeves__ is now known as Jeeves_
mickster04anyone how to set up a samba share properly?08:45
abbeci have a problem with the lockd in nfs4, anyone care to help?10:14
abbecit says svc: failed to register lockdv1 RPC service (errno 97)10:15
abbecthis is causing problems with bazaar for example cause bzr stat makes os-level locking...10:15
abbechow do i fix this?10:15
abbecanyone having an idea????10:26
abbechow do i start the lockd service?10:26
mickster04samba isnt working!10:51
baccenfutterhi folks... am I assuming correctly, that if I have OpenSSH in my ufw app list, ssh connection should work? or must I set additionalö port rules?10:51
mickster04well aslong as your router is set up? across a lan a shoulnt see why not?10:51
baccenfutterI am testing in my LAN10:52
baccenfutterwhen i disable ufw ssh works fine10:53
baccenfutterwhen I enable it, it times out10:53
baccenfuttersecond it = ssh10:53
mickster04hmm10:53
baccenfutterwhat's the sense of app filters, if I have to add additional port rules? 0o10:53
mickster04well rules are for when its not just an app?10:54
mickster04iunno10:54
baccenfutterhm... *confused*10:54
baccenfutterI'll get into trial-error then10:54
mickster04have fun10:56
AnirbanHazraA bad guy has pointed his domain name to my VPS ip .. and it is eating up my BW. How to block it. I am on Hardy12:01
uvirtbot`New bug: #489535 in ethtool (main) "Sync ethtool 6+20090323-3 (main) from Debian testing (main)" [Undecided,New] https://launchpad.net/bugs/48953512:11
frojndHello there12:11
frojndI am on a 8.4 LTS 32bit server at home12:12
frojndbut I have to make / bigger since the server will also have lxde installed for my sis...12:12
baccenfutterAnirbanHazra: man hosts.deny12:12
frojndso.. how can I backup settings?12:12
frojndI'll also install a 64bit version not since cpu is 64bit...12:12
frojndnot=now12:12
baccenfutterfrojnd: don't install 64 just because your cpu is 64 bit12:14
baccenfuttergreat...12:14
baccenfutterAnirbanHazra: sry, that seems to not be what you are lookign for...12:18
AnirbanHazra??12:18
baccenfutterAnirbanHazra: you could go about and tell apache to respond 0 bytes to a query on domain xy.tld12:18
AnirbanHazrabaccenfutter: How to do that ?12:19
baccenfutterAnirbanHazra: hm... you could create a vhost pointing to an ampty dir12:20
baccenfutters/ampty/empty/12:20
baccenfutterthat would not be 0 byte respond, since headers are still transmitted, however it should lower the traffic volume12:23
baccenfutterAnirbanHazra: what's the domain name pointing to you?12:24
baccenfutterthe one you wanna get rid of?12:24
baccenfutterthe "not your's"12:24
serpentologisthow to install git in Ubuntu? i installed git-core package from repository, but git-init-db command is not present12:24
baccenfutterAnirbanHazra: if you wanna go cool, just place a google ad-sense klicky botty earning you mony on every page load coming from that domain ;)12:26
baccenfutterAnirbanHazra: that should pi... the attacker off xP12:26
uvirtbot`New bug: #489539 in ethtool (main) "Please sync ethtool 6+20090323-3 (main) from Debian unstable (main)." [Wishlist,New] https://launchpad.net/bugs/48953912:26
baccenfutterAnirbanHazra: teh write a sencire email to the domain owner asking if he could link more domains on your IP^^12:46
baccenfutters/teh/then/12:46
baccenfutterAnirbanHazra: other than that, I found this for you on google: http://mediakey.dk/~cc/block-referer-spam/12:51
peterlhwhy does dspam mysql driver have Mysql-Server as a dependency? :/13:12
peterlhwoops.. nevermind13:15
Malekois it possible to check the state of server deamon app by pinging its port?13:22
AnirbanHazrabaccenfutter:  www.GalaxyMu.net ( sorry for late response )13:23
baccenfutterAnirbanHazra: no bad, chat is an asynchronous medium13:24
baccenfutterAnirbanHazra: check your query13:27
epinkyMaleko: mmm, ping on a port? maybe "tcping" could do the work13:29
Malekoepinky the daemon app uses udp13:29
epinkyMaleko: http://www.helsinki.fi/~jppesone/code/UDPing/13:31
Malekojava?13:35
uvirtbot`New bug: #458352 in mountall (main) "Karmic - Corrupted Recovery Menu (dup-of: 456806)" [High,Incomplete] https://launchpad.net/bugs/45835213:46
ravensteinHello, is somebody using unionfs in the amazon ec2?14:53
uvirtbot`New bug: #489585 in ntp (main) "Incorrectly messaging "Starting/Stopping NTP server" in ifup/ifdown scripts" [Undecided,New] https://launchpad.net/bugs/48958515:16
jdstrand_baccenfutter: on the machine you want to allow ssh on, do 'sudo ufw allow OpenSSH' followed by 'sudo ufw enable'. That is all that should be required. If you have changed the port ssh listens on (ie, in /etc/ssh/sshd_config), then you will have to use 'sudo ufw allow <port>/tcp' instead15:59
jdstrand_well, or change /etc/ufw/applications.d/openssh-server instead15:59
baccenfutterjdstrand_: ah, now it makes sense, too ;) thx16:21
uvirtbot`New bug: #489540 in mysql-dfsg-5.1 (main) "package zoneminder 1.24.1-1ubuntu2 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1" [Undecided,Incomplete] https://launchpad.net/bugs/48954016:46
=== crohakon is now known as crohakon|afk
uvirtbot`New bug: #489307 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 (not installed) failed to install/upgrade:  (dup-of: 108189)" [Undecided,Confirmed] https://launchpad.net/bugs/48930718:12
Jimbohi.. need little help with some crazy stuff.. when i'm trying to start app bash says no such file or directory, but.. when ls -l file is there.. i checked rights three times appears to be correct, but still nothing... i'm stucked.. could somebody help me? ;) or give an advice?18:57
buddyrndI'm trying to run powerdns on an ec2 instance... nslookup and dig are working fine from the instance itself but when i try from outside (via an elastic ip) i get a "connection timed out; no servers could be reached". port 53 is open, showing up on an nmap and i can telnet in to port 5321:02
jmarsdenbuddyrnd: DNS uses both TCP and UDP, telnet only tests TCP... is UDP being blocked somehow?21:06
jmarsdenbuddyrnd: also, see whether dig @yourserver example.com +tcp      works21:06
buddyrndjmarsden: i didn't open udp, i'll try that now thanks!21:08
jmarsdenYou're welcome21:08
buddyrndthat was it :D21:10
=== LyonJT_ is now known as LyonJT
eqx311hi21:17
eqx311ec2-init and metadata .. is there some url reference to this subject ?21:17
trimetaHow easy is it to use the server install CD to set up a RAID 5 with 3+1 drives, but only physically have three drives at install-time (and drop in the fourth drive at some later point)?22:19
trimetaIn my setup, the fourth drive is going to be holding the data from an old system, which I'll first want to copy onto my new system before it gets integrated into the array.22:20
billybigriggermdadm should support a hotswap device22:21
trimetaIt's not hotswap, per se; it's a four-drive array with one parity drive, only I'm only going to be using three of those drives when actually installing.22:21
billybigriggersorry, i'm not familiar with R522:22
trimetaAh, OK.22:22
billybigriggeronly have ever setup 1 and 1022:22
trimetaWhat I currently have is effectively 10, though I'm using LVM to join the two RAID 1 devices rather than a RAID 0.22:22
trimetaSo the plan is to break one of those RAID 1s by swapping one of the drives for one of my new drives, copy everything onto the new drive, swap out the other three for my three new drives, make a new RAID 5 with those, copy over the data, then integrate the drive-with-old-data into the RAID 5.22:24
trimetaIt'd be nice if I could do much of that directly via the installer, rather than having to switch over to a different vterm and mess with mdadm and the vgstuff myself.22:25
trimetaEspecially since I don't entirely trust myself to set up the RAID 1 boot partition properly to ensure that I'll still boot regardless of which drive fails.22:25
trimetaHmm, I could create a new virtual machine to model the system and see how difficult setting things up is on it...22:26
=== crohakon|afk is now known as crohakon
trimetaOK, the RAID setup in the server install CD will let me create my first device illegally; that is, I set up my RAID 1 boot area with 4 devices but don't actually assign the fourth spot (since it'll be added with the last drive). But when trying to make my RAID 5 with 4 slots and only 3 actual RAID physical volumes left, it won't let me even try.22:55
trimetaAny advice for working around that? Or will I have to just do everything manually and then scan the drives to get the areas to install onto?22:56
trimetaBefore I go on, does anyone here know much about RAID?23:17
trimetaI know there's "don't ask to ask, just ask," but if the room's empty...23:17
cemchow can I calculate the exact size of a partition?23:19
kane_cemc: depending how exact, df or fdisk will tell you23:23
jmarsdentrimeta: The room is not empty.  So ask your real question23:24
trimetajmarsden: I'd been asking before about related things with no answer; anyway, here it is.23:24
trimetaI'm trying to set up a RAID 1, but I'm getting the error "mdadm: /dev/sda1 is too small: 0K". fdisk /dev/sda confirms that sda1 isn't that small; what's going on?23:24
trimetaThis was starting from a blank disk and creating the partitions in fdisk; nothing else has been done with the disk.23:25
jmarsdentrimeta: Is /dev/sda1 really the device node you think it is?  Googling for that error shows several threads about it, did you already read them?23:27
trimetaIt's the one I created with fdisk, yes.23:27
trimetaType fd, before you ask.23:27
jmarsdenUm.  So the device node is definitely a block device major 8 minor 1, you checked?23:28
trimetafdisk /dev/sda shows me the two partitions on that drive, sda1 and sda2.23:29
trimetaAnd neither are zero in size.23:29
jmarsdentrimeta: That is not what I asked you at all.23:29
jmarsdenDid you verify that the device node /dev/sda1 is a block device with major 8 and minor 1?23:29
trimetaHow would I do that?23:30
jmarsdenPlease don't answer "yes" when you mean "I don't know"... what does    ls -l /dev/sda1   output?23:30
trimetabrw-rw----  1 root    root     9, 127   Nov 28 18:11 /dev/sda123:31
jmarsdenBingo.  9,127 ?23:31
trimeta(Not copy-pasted per se, since I don't have shared buffer, but that's what it looks like.)23:31
jmarsdenHas this system used a SCSI disk as sda before?23:32
trimetaIt's a virtual machine with completely fresh disks connected to the virtual SATA controller.23:32
trimetaSo I have no idea what effect that has on this.23:32
trimetaI figured that before I tried to do something complex with real hardware, I'd see what problems I ran into when using VirtualBox.23:33
jmarsdenHmmm.  Something feels odd here.  In a (VirtualBox) VM here, /dev/sda is 8,0 and /dev/sda1 is 8,1.  Yours is 9,127...23:34
jmarsdenSomehow your set of device nodes is ... unusual, and that is what is causing this error.23:34
trimetaJust ls'ing sda, sdb, and sdc gives me 8,0, 8,16, and 8,32.23:34
jmarsdenOK, so sda is 8,0 at least.  As a "dirty" fix, try    sudo mknod /dev/sda1 b 8 123:35
jmarsdenand then try creating the array again.23:35
jmarsdenMight need to sort out sda2 similarly.23:35
trimetaFile exists.23:35
jmarsdenOK, rm it and then mknod it.23:35
trimetasda2 is correct, oddly enough.23:36
trimetaOK, removing it and recreating it seems to have worked, at least insofar as ls is concerned...let's see what mdadm says.23:36
trimetaSeems to have worked. Thanks!23:37
jmarsdenNo problem.23:37

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