/srv/irclogs.ubuntu.com/2011/01/20/#ubuntu-server.txt

fbc_after installing php5-curl my server still won't execute curl statements in my PHP00:19
fbc_any ideas why?00:20
Tellmarchdid you restart it? '^^00:34
fbc_Tellmarch, yeah00:37
Tellmarchmaybe there is some module to enable with a2enmod? truth is i don't even know what is curl :p00:37
fbc_Tellmarch, hmm let me check00:37
TheRealJeanLucHey, I'm having a bit of an issue with Ubuntu 10.10 Server (32-bit). I'd like to install the ubuntu-desktop package, but when I run 'sudo apt-get install ubuntu-desktop' I'm told that the package could not be found. When I run 'sudo apt-get update' it takes  VERY long time, but ultimately only "Ign" and a couple of "Err" lines are listed00:38
pmatulisTheRealJeanLuc: pastebin your sources.list file00:38
fbc_TheRealJeanLuc,  does the server have an internet connection?00:38
pmatulisTheRealJeanLuc: and, yes, you need an internet connection00:39
fbc_TheRealJeanLuc,  if you ssh into the server and type "ping yahoo.com" do you get replies?00:39
twbBah, you should test against example.net00:40
fbc_Tellmarch, doesn't look like there are any curl related modules to enable with a2enmod.00:41
Tellmarchsorry, don't know what can be missing then '^^00:41
TheRealJeanLuchere's the sources.list:00:42
TheRealJeanLuchttp://www.texticle.us/9/00:42
TheRealJeanLucI can't ping out due to campus network security restrictions (that's normal), but I can ping devices on-campus00:43
TheRealJeanLucthere's definitely an internet connection, I can wget files on the internet fine00:43
pmatulistesticle?00:44
Tellmarchcan you paste the result of the sudo apt-get update?00:44
Tellmarchmaybe not if it's VERY long time;.. :p00:45
TheRealJeanLucI would paste the result, but I've let it run for about a half hour without it finishing (which I'm sure is due to the same problem)00:45
twbpmatulis: OBVIOUSLY you're meant to read it "Text Icleus"00:46
Tellmarchdo you at least get a few lines fast enough?00:46
twbBoy, that pastebin is dumb.  It puts all the line numbers first, then has all the lines underneath00:46
TheRealJeanLucTellmarch, I do. a Get, two Ign, a Get, and then it goes in to the long series of ignores00:48
Tellmarchjust ignores, no errors?00:49
TheRealJeanLucjust ignores.00:49
Tellmarchstrange.00:49
TheRealJeanLucwhen I let it run for a very long time, I saw a couple of Errs eventually, after probably 30-45 minutes00:49
TheRealJeanLucbut not continuous errors, just on occasion00:49
TellmarchConnection failed errors?00:49
TheRealJeanLucyeah.00:50
Tellmarchand wget fetch those files without trouble?00:51
Tellmarchwget http://archive.ubuntu.com/ubuntu/dists/maverick/Release.gpg00:52
Tellmarchfor instance?00:52
TheRealJeanLucyeah. it saved fine.00:53
Tellmarchstraaaaaaaaaange00:53
TheRealJeanLucmy first thought was that the repo servers had gone down somehow, but they seem to be working fine00:53
Tellmarchmust be something wrong in your configs.00:54
Tellmarchin /etc/apt/apt.conf or something00:54
TheRealJeanLucI don't know apt well enough to know if this is normal, but in /etc/apt I have no apt.conf, just an apt.conf.d with a few files with some individual configuration blocks00:58
Tellmarchye that's normal00:59
Tellmarchbut "something" must be wrong in it, i don't know what though '^^01:00
Tellmarchmaybe you can try temporirarly to just move the apt.conf.d folder to apt.conf.d.back, create an empty apt.conf.d or something and try the apt-get update...01:04
Tellmarchor i just don't know :p01:05
TheRealJeanLuchahah. k. it's a really weird problem, particularly odd since this is a fresh install. I'm starting to wonder if the install messed up.01:06
Tellmarchif it's a fresh install you can try reinstalling all, it's fast :p01:07
fbc_Sounds like you need an open internet connection.. somethign is being filtered.01:09
TheRealJeanLucthat's what I was thinking, but when I wget files manually they come through just fine01:09
TheRealJeanLucand the university uses Ubuntu desktop and server heavily, I can't think they wouldn't have noticed if they're network devices are screwing with updates01:10
TheRealJeanLuc*their01:10
fbc_Not sure if repo fetched are UDP or not..01:10
fbc_WGET I'm pretty sure is TCP.01:10
fbc_Kinda like a triviaftp which is why they are blocked.01:11
fbc_maybe...01:11
fbc_I know that you can try switching your repos from http to ftp and see it that helps.01:11
TheRealJeanLucI'll give that a shot. thanks for the tip.01:12
Tellmarchi'm no expert, but there is a lot of tcp traffic when i do apt-get update. so looks like tcp to me...01:13
Tellmarchbut yeah you can try ftp01:13
Tellmarchthough usually http has more chance of going through than ftp...01:14
TheRealJeanLucwell, I at least know that I can FTP out (from this machine, even)01:16
TheRealJeanLuchuh. that had mixed results. it started out with a bunch of error lines, but it appears to actually be working despite the errors.01:16
fbc_+1 for me01:22
bcessahi there, is there a channel where I can ask specific questions about running an ubuntu server on the cloud, particularlly using aws?02:12
erichammondbcessa: You might try #ubuntu-cloud or ##aws02:15
bcessaerichammond: thnx, I'll do that02:15
fluvvellWhat do the processes ksoftirqd/n and watchdog/n and migration/n  provide in the 10.04 server installations ?02:33
fluvvellI have 7 such groups run by root.02:33
jmarsden7 is a little odd.  One per CPU core is usual.  Are you sure you don't have 8?02:38
fluvvelljmarsden, to be clear I should have noted 0-7 ie 8 groups ;-)02:41
jmarsdenfluvvell: I don't know exactly what these processes/tasks do, but they are normal in Ubuntu, desktop or server.02:41
jmarsdenOn my quadcore desktop here I see 0-3...02:42
fluvvelljmarsden, i must have two quadcore cpus in this ibm System x3100 M3-4253D2X   - I hadn't really noted properly when I installed it.02:43
jmarsdenfluvvell: grep ^processor /proc/cpuinfo   # will confirm that02:44
twbgrep -c, even?02:44
fluvvellCount shows 8.  Pleasing, but a little disturbing, Its displaying some slowness for win clients accessing samba, thought I'd configured it the same as its predecessor,02:45
fluvvellNot much good when the new server appears to run slower than the old.02:45
jmarsdenfluvvell: Time to tune it.  Meanwhile, http://www.tin.org/bin/man.cgi?section=9&topic=ksoftirqd has info on what ksoftirqd is.02:46
jmarsdenhttp://linux.die.net/man/8/watchdog  # has info on watchdog02:47
jmarsdenThe samba docs include a chapter (45) on performance tuning, might be worth exploring for your slowness issue: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/speed.html02:50
twbSo guess what I just discovered02:54
twbPurging ufw from lucid causes it to disable the firewall -- EVEN IF ufw wasn't involved in firewalling02:54
twbThis is especially great when I happen to be removing ufw from a chroot, on a production server running AT A PRISON02:55
jmarsdenGrin!  This is why we should do our learning and trying out new things on a test machine in a safe and controlled environment... I don't think a live production server in a prison counts as a "safe and controlled environment" :)02:56
fluvvelljmarsden, thanks - reading it now - urr once samba.org wakes up!02:57
jmarsdenfluvvell: You're welcome02:57
twbjmarsden: well, yes, we did test things02:57
twbjmarsden: but you tend not to notice when the firewall falls into "allow all" mode on the test box, or you just assume it was one of the other idiot devs that did it02:57
fluvvellurk, ufw is installed by default! I never noticed that when I installed shorewall03:06
twbfluvvell: it's installed but not enabled03:12
twbfluvvell: BUT, purging it doesn't check whether it's enabled first03:12
twbIMO its postrm should say "am I enabled?  If not, leave the firewall the hell alone"03:13
=== erichammond1 is now known as erichammond
jetoleHey guys. I don't know if this is off topic or not but I am not getting much help in #ubuntu. I have many servers. I also just installed ubuntu 10.10 to my workstation at the office. I did ssh-keygen and created a passphrase-less key. I copied this key to the server (either through ssh-copy-id or manually editing the authorized_keys file). I am being prompted for a passphrase for my key. Whatever this pass phrase is supposed to be, I don't know it. ...06:50
jetole... doing ssh -v shows that this happens after we send the key to the server once already. Does anyone know what the hell is going on?06:50
gobbeif it asks passphrase it seems that you gave passphrase during key-generation?07:01
gobbeor did you just press enter when it asked passphrase?07:01
_ruben!jaunty07:04
ubottuUbuntu 9.04 (Jaunty Jackalope) was the tenth release of Ubuntu. End Of Life: October 23, 2010. See !eol and !upgrade for more details.07:04
jetolegobbe: I just pressed enter and I have re-created the key probably a dozen times tonight07:04
_rubenfigured it'd be eol'ed, time to slap some fellow sysadmins07:04
jmarsdenjetole: Also check which keypair is being used here, do you have another keypair (since you have many servers) that it might be asking for a passphrase for?07:05
jetole_ruben: if it's on a server then slap them for installing it in the first place. A server should only have a LTS edition i.e. 6.06, 8.04, 10.0407:05
jetolejmarsden: no. This is a new install after a reformat on a work station. I am doing the initial setup for everything. Using ssh -v I can see that it is sending the key to the server, then it asks for a passphrase afterwards like perhaps the server didn't like the key so it's assuming the key is encrypted and then asking07:06
twbGRAAH07:07
jetoleI have completely deleted and re created the ~/.ssh directory tonight and the workstation might as well be new so I don't think it's getting keys from anywhere else07:07
twbI just noticed that upgrading ifupdown on my lucid router MADE IT WRONG07:07
jetolelemme pastebin something and see if maybe that helps07:07
twbTo wit: it added an "auto lo" line, when there was already a PERFECTLY GOOD line "allow-auto      lo unmanaged managed sandbox dmz isp0 internode"07:07
twbStupid ubuntu! >>>:-/07:08
jetoletwb: it happens07:08
twbGood thing this headless router didn't *reboot* before I caught the error, otherwise it'd be bricked.07:08
jetoleand Stupid Ubuntu seems to be a common phrase these days but still better then RHEL/Fedora/CentOS/SuSE07:08
twbjetole: yes, but not as good as Debian07:09
twbAt least they *test* their releases first :P07:09
jetoletwb: I thought so but debian can't seem to install on lvm on crypt on raid 0 as I just found out since I was going to install debian on this machine07:09
jetoleI tried 5.07 and 6rc1 and both failed what ubuntu did years ago07:10
jetoleI was pretty let down07:10
jmarsdenjetole: pastebin output from an ssh -vv you@server.example.com attempt might reveal something...07:10
jetolejmarsden: oh... ok, I was just reviewing an ssh -v in vim but I can redo it with -vv07:11
twbjetole: well, Debian 6 is the same vintage as 8.0407:11
jetoletwb: ok. I don't know if 8.04 handled this but I used this same setup on two other machines except raid1 instead of raid0 since ubuntu 9.1007:12
jetolejmarsden: http://pastebin.com/vB9uRnVs07:13
twbjetole: There's no Debian equivalent of 9.1007:13
twbjetole: the next release (squeeze) will equate to 10.0407:13
jetoletwb: I didn't know but the rc1 that failed was the next release07:14
jetoleit was dated 01/12/1107:14
twbOh right07:14
twbDid you report the bug?07:14
jetoletwb: no but I had a thurough conversation with it about both issues with a few people in #debian who can report it07:15
jetoleI know. poor answer07:15
twbjetole: should've used #debian-boot; they're the installer guys07:16
jetolejmarsden: see lines 73 and 74 @ http://pastebin.com/vB9uRnVs07:17
jetoletwb: wish I knew. I really wanted to move to debian because I wanted the rolling releases and I was very let down07:17
jetoleI hate upgrading ubuntu (which always breaks something) or being stuck with a system that doesn't have the latest packages07:18
twbSounds like you want arch07:18
jetoleI used debian about a 6 - 8 years ago and was thinking about migrating back but I will have to wait to the next time I reinstall an OS to try again07:18
jetoleno I don't07:18
jetoledebian does rolling releases in the testing branch07:19
jmarsdenjetole: I think lines 77 and 78 are "interesting", and that is where this diverges from my ssh -vv trace...07:19
jetolejmarsden: they are very interesting indeed. Don't suppose you know what it means?07:19
jmarsdennot yet, googling :)07:20
jetolejmarsden: I am too. also, does debug1 refer to the first -v and debug2 to the second / -vv ?07:20
jmarsdenYes07:20
jetolejmarsden: "This is not an error. OpenSSH first tries to read the private key with a no encryption. That fails, so it prompts for a passphrase." http://fixunix.com/ssh/73558-pem_read_privatekey-failed.html07:22
jetolejmarsden: I don't have ssh-agent running. Do you think this is the issue?07:24
jetoleah nevermind. I am going to test it07:24
jmarsdenThat is a difference between your setup and mine, so sure, test it :)07:24
jetoleWell that didn't work07:26
jetolebe back in 10. I need to step out for a smoke quickly07:27
jmarsdenOK.  Just tested here setting my passphrase to empty (using sshkeygen -p ) and it worked fine.07:29
jetolejmarsden: yeah it has always worked fine for me too. I have done this for a long time with empty passphrase ssh key07:37
jmarsdenIf you do it with an actual passphrase for the same workstation and server, does it work fine?07:37
jmarsden(in other words, is the zero-length passphrase really the issue here, or is the problem elsewhere?)07:38
jetoleGot it07:40
jetoleI don't know what it had to do with what but here are the startup services I initially disabled and just re-enabled now07:41
jetoleCertificate and Key Storage, Secret Storage Service, SSH Key Agent07:41
twbjetole: try with -oBatchMode=yes07:42
jetoletwb: I got it working by re-enabling those startup applications in gnome07:42
twbSigh07:42
twbFlipping gnome crunk07:42
jetoleSigh is right. Why should my openssh client be compiled against gnome07:43
jetolejmarsden: thanks a ton though for the help07:43
jmarsdenjetole: No problem, glad you found it.07:43
jetolestill a little upset because of where I found it07:43
jetolebut hey, at least it's working07:44
twbjetole: it's not, but gnome will be hijacking shit07:44
twbjetole: if you didn't run gnome, you wouldn't have any problems at all07:45
jetoletwb: yeah well I tried kde again for the first time in a while tonight and... meh. Don't feel like going back to xfce, haven't used fluxbox in a decade though I did like it then but it seems pretty minimal still... I don't know07:46
twbjetole: no, I mean don't run a GUI07:46
jetoleand the new ubuntu one.. epiphany, entropy, whats it called07:46
jetoleoh well yeah07:46
jetolethen there's that option07:46
jetolelol07:46
twbWhat is the point of going through preschool and learning to read and write if you're going to click on things07:46
jetoletwb: I don't know. The voice recognition on my cell phone is probably more literate then I am07:47
jetoleheh07:47
twbKids these days07:47
jetoletwb: what ripe old age are you?07:47
twbYes.07:47
* jetole rolls eyes07:48
jetoleI've been using ubuntu for 13 years since I was 13 so I think I have surpassed kid status07:48
jetolealso took my first programming class, C++ (not C but thank god it wasn't basic) when I was 1307:48
* jetole wonders what else I want to customize on this workstation07:49
jetolehmmmm... considering going back to fluxbox07:52
jetoleoff topic though so never mind07:52
erwin_wahlhello08:06
erwin_wahlis here anyone active08:07
erwin_wahlquit08:08
sheyCan anyone assist with apache2 setup? php pages will not load. Mods are all enabled... restarted, still no go..08:34
gobbehave you followed docs from ubuntu.com?08:35
sheyall of them.08:35
gobbe!lamp08:35
ubottuLAMP is an acronym for Linux-Apache-MySQL-PHP. However, the term is often used for setups using alternative but different software, such as Perl or Python instead of PHP, and Postgres instead of MySQL. For help with setting up LAMP on Ubuntu, see  https://help.ubuntu.com/community/ApacheMySQLPHP - See also the Server CD installation process (different in Edgy+)08:35
sheyI've been reading for hours now..08:35
gobbethat one08:35
sheygiving it a shot now. thx.08:36
sheyI got all that done already, even userdir works.08:43
sheybut php pages refuse to load.08:43
=== alvin_ is now known as alvin
binBASHmoin \sh09:28
\shmoins09:36
sidd_makhow is ubuntu server different the desktop ??09:45
Tellmarchsidd_mak, no graphical interface (in the default installation)09:51
Tellmarchand few different options in the kernel09:51
sidd_makTellmarch : but we can install X on server right09:53
Tellmarchyes, it's possible09:53
Tellmarchit's the same packages, so...09:53
Tellmarchyou can have the same as on your desktop09:53
sidd_makTellmarch : is the kernel enhanced for server09:53
Tellmarchyes09:53
sidd_makso desktop n server uses different kernels right??09:54
Tellmarch• The Server Edition uses the Deadline I/O scheduler instead of the CFQ scheduler used by the09:54
TellmarchDesktop Edition.09:54
Tellmarch• Preemption is turned off in the Server Edition.09:54
Tellmarch• The timer interrupt is 100 Hz in the Server Edition and 250 Hz in the Desktop Edition.09:54
Tellmarchsame kernel, but different options09:54
sidd_makso if preemption is not there so no jobs are preempted n they a processed at once09:56
Tellmarchhonestly, i don't even know what it means, i'm no specialist of this :p09:57
Tellmarchbut i trust that it's better for servers :)09:57
sidd_makok thanx man09:57
lambda_xanybody here is using libvirt/kvm? Mine virtual machines hang during virsh save, I need to restart libvirt to get access to them again, virsh resume brings it back - i can access them through vnc but I cannot type, network interface does not answer too10:00
\shzul: your feed aggregation is somehwat broken on p.u.c10:02
HelpMeSambahello everyone, i just updated my karmic koala to lucid and I can't connect to my samba shares anymore can anyone help me please? I've tried unstalling the 3 packages to enable personal file sharing and ticked the share box and i'm still unable to access my samba server shares10:10
Tellmarchi'm trying to use rails on ubuntu-server 10.04... should i install the packages of ubuntu for rails etc., or use gem install instead?10:25
gobbei would go with ubuntu-ones if there's no special need to use gem ones10:26
Tellmarchwell, apparently they aren't exactly up to date... and i can't follow my tutorial because of this...10:27
Tellmarchfor instance 'rails server' doesn't work.10:28
Tellmarchbon ok j'ai trouvé le guide pour la vielle version :p10:32
Tellmarchje vais voir si ça suffit à faire tourner l'application que j'ai...10:32
Tellmarchraté.10:39
arahello guys!10:48
araI am trying to install ubuntu server (natty daily) in some servers with preseed, but in most of the systems it is stuck because it asks for a partition table to use10:48
ara could it be that the prior installation (also natty) corrupted the partition table somehow?10:48
ara this is the preseed file that I am using: http://paste.ubuntu.com/556098/10:48
pmatulisara: try to install non-natty11:40
JamesPageHi ara: hggdh spotted this yesterday in the automated server ISO testing.11:48
binBASHHi all, I setup openvpn to accept duplicate cn in certificates. I need some clients to have static ips so I've setup own certifates for these and put them in the client config dir. They are getting static ips now. For  the other clients I use a cert with a generic common name. But for those clients the ips of the static clients get assigned as well. What is wrong?11:48
JamesPageit looks like d-i has changed in someway - I'm not sure how far he got investigating it.11:48
araJamesPage, thanks, I am also with Colin having a look to this. I will talk with hggdh when he gets in11:49
JamesPageara: np - shout if I can help in any way11:50
JamesPagedoes anyone have any experience in setting up ipv6 in virtual machines running under qemu-kvm/libvirt?11:51
TREllishorrah for cobbler in the archive \o/12:05
lynxmanyay for cobbler12:06
=== oubiwann is now known as oubiwann_
=== oubiwann_ is now known as oubiwann
Name141What is it you put after your crontab for it not to send you mail? > /dev/null 0 or something ?12:18
greppyName141: > /dev/null12:18
Name141greppy: that's all I need? like /home/name141/bnc/bncchk > /dev/null12:19
Name141and it'll stop sending me mail after it restarts it?12:19
greppyyes.12:20
Name141greppy: I'm seeing '>/dev/null 2>&1' on google searches , what's the difference ?12:20
greppythat lets stderror through to be emailed but not stdout.12:21
Name141I'm not understanding ?12:21
greppySome programs will output errors on a different file handle, known as STDERROR instead of STDOUT.12:22
pmatulisName141: http://tinyurl.com/6ar7yrz12:23
Name141pmatulis: bbq12:23
Name141so anyway, to stop it fully > /dev/null ?12:25
greppyyes12:26
_rubennot really, just >/dev/null would only "ignore" stdout, not stderr12:30
araJamesPage, hggdh: bug 70537712:38
uvirtbotLaunchpad bug 705377 in debian-installer "Debian installer prompts for partition type when installing Ubuntu server" [Undecided,New] https://launchpad.net/bugs/70537712:38
aracolin is having a look to it12:38
hggdhara: yes, just bypassed it on my local version of Hudson12:56
hggdhara: and... good morning :-)12:56
iclebyte-workhas anyone used openqrm before?13:15
pmatulisName141: bbq?13:15
Name141[06:18:49:AM] <Name141> greppy: I'm seeing '>/dev/null 2>&1' on GOOGLE searches , what's the difference ? [06:21:28:AM] <pmatulis> Name141: http://tinyurl.com/6ar7yrz13:19
Name141yeah , made the same sense13:19
Name141(as telling me to use google when I was using google)13:19
jdstrandtwb: re ufw purge-- this is bug #581744, fixed in maverick. would you mind adding a comment to that bug, saying it affects you on lucid, and I can do an SRU13:21
uvirtbotLaunchpad bug 581744 in ufw "Purging should not set reset policies/chains if ufw wasn't enabled" [Low,Fix released] https://launchpad.net/bugs/58174413:21
twbjdstrand: thanks13:21
* twb tries to log into lp13:22
pmatulisName141: the first hit from the search i gave you contains the answer13:22
twbjdstrand: done via signed email13:27
lambda_xis there anyone who have libvirt/kvm with *working* save and restore vm?13:41
jdstrandtwb: thanks13:42
twblambda_x: I think I did it once with plain qemu13:44
twblambda_x: a long time ago13:44
lambda_xtwb: thats my point. nobody uses ubuntu-server default libvirt / kvm virtualisation technology because it is unstable and does not fit any production environment13:45
lambda_x1.5 a year and none of important issues have been solved wtf...13:46
twbI don't use it because 1) I don't have hardware VT; and 2) I hate libvirt getting in my way.13:46
twbAFAICT libvirt's mainly for people who like XML and don't like knowing what they're doing13:46
lambda_xnah13:46
lambda_xits unix way13:47
lambda_xyou have a tool, then another tool to manage first one, then graphical tool13:47
lambda_xits all ok13:47
twbNo, only losers have a graphical tool13:47
lambda_xbut libvirt sucks13:47
twblibvirt is the webmin of virtualization.13:47
lambda_xtwb: some losers have bosses who need graphical tool to see it is working13:47
twbYou can't solve a social problem (the boss' stupidity) with technology.13:48
twbIt'd be far better to swap in a new boss13:48
twbjdstrand: that's odd, the ticket says *I* created it.13:48
greppytwb: not always a possibility, which is too bad.13:49
jdstrandtwb: I think it is cause you didn't creat a separate task, but a bug against a different 'distribution'. that's fine, I cleaned it up13:53
=== oubiwann is now known as oubiwann_
twbOK.13:58
uvirtbotNew bug: #705425 in php5 (main) "package libapache2-mod-php5 5.3.2-1ubuntu4.7 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 139 zurück" [Undecided,New] https://launchpad.net/bugs/70542514:06
zuljdstrand: umm...cobbler is still in binary new?14:10
jdstrandzul: yes, it wasn't ready when I last checked before eod yesterday. I can look at it now14:12
zuljdstrand: thanks14:12
uvirtbotNew bug: #705429 in irqbalance (main) "Latest update disables  irqbalance  with no offer to configure" [Undecided,New] https://launchpad.net/bugs/70542914:16
=== kiall|AFK is now known as kiall
RoAkSoAxMorning14:19
iclebyte-workmorning14:20
iclebyte-workor afternoon as it is in my case14:20
jdstrandzul: fyi, this looks weird to me:14:23
jdstrand  -rwxr-xr-x root/root      3411 2011-01-19 15:40 ./etc/cobbler/cobblerd14:23
jdstrandzul: looking at it, it seems to be a sysv init script. I'm thinking it is misplaced?14:24
zuljdstrand: interesting14:25
jdstrandzul: I won't nak it, but will file a bug14:25
zuljdstrand: thanks ill get it fixed14:25
uvirtbotNew bug: #705431 in openssh (main) "publickey authentication on dropbear server fails" [Undecided,New] https://launchpad.net/bugs/70543114:27
jdstrandzul: fyi bug #70544114:28
uvirtbotLaunchpad bug 705441 in cobbler "/etc/cobbler/cobblerd executable in cobbler-common" [Undecided,New] https://launchpad.net/bugs/70544114:28
zuljdstrand: thanks14:28
jdstrandsure14:31
uvirtbotNew bug: #705436 in cobbler (universe) "cobbler not lintian clean (lot's of warnings)" [Undecided,New] https://launchpad.net/bugs/70543614:31
jdstrandzul: accepted14:31
zuljdstrand, \o/14:32
uvirtbotNew bug: #705441 in cobbler (universe) "/etc/cobbler/cobblerd executable in cobbler-common" [Undecided,New] https://launchpad.net/bugs/70544114:36
raubvogelEasy question of the day: how do I define a /28 network in bind? Specifically, how do I do the zone definition in named.conf.local?14:38
RoyKbind/dns doesn't care about netmasks14:40
gobbejust configure ips14:41
m_tadeuhi...my server stops after a day or so...it loses the ethernet connection, so no ssh, webserver, no ping...I try to connect a screen with no success. I try to reboot with the 'reboot' command, nothing happens. The logs don't say a thing14:44
m_tadeuwhat can  this be, or where can I check for trouble?14:46
gobbeeh14:46
gobbeso it does nothing?14:46
gobbei would go and chek memory14:46
m_tadeunothing at all...at least at the interfaces14:46
gobbewell...reboot does nothing?14:48
m_tadeunothing....I mean the reboot command...14:48
m_tadeupressing the shutdown button does nothing, which means the APM is not responding14:49
m_tadeuhot shutdown works hehe14:50
raubvogelSo, gobbe and Royk, if I have, say, 128.122.42.80/24, my reverse zone will be simply called 42.122.128.in-addr.arpa14:51
patdk-wksure14:51
patdk-wkanything smaller than a /24 you have to define it per ip14:52
raubvogelThe ip for the network itself (.80)?14:52
RoyK128.122.42.80/24 isn't a valid network14:53
RoyK128.122.42.0/24 is, though, and 128.122.42.80/28 is (iirc)14:54
m_tadeuwhat's the command for mem check?14:54
RoyKbut bind doesn't care - just create the zone file for 128.122.42.0/24 and just register the hosts14:54
RoyKm_tadeu: reboot and choose memtest86 :P14:54
m_tadeuRoyK: that I know....but isn't there a command for that?14:55
RoyKm_tadeu: no - because kernel has already control over the memory after bootup, and you don't want that14:57
blackxoredHello guys, any of you have experience associating an iphone client to a freeradius-enabled wireless setup?15:01
m_tadeuRoyK: I see...well the grub menu is not showing up...the timeout is set for 10secs15:03
raubvogelRoyk, I meant 28 :)15:04
RoyKm_tadeu: hold down shift15:06
m_tadeuRoyK: thanx...now as I remember this is a non-stop memcheck, right?15:08
=== kirkland_ is now known as kirkland
compdocyou running memtest86?15:18
m_tadeuI am15:19
compdocyeah, its non-stop, but if you suspect ram, you should let it run a few passes15:19
m_tadeuok...finished the first pass now15:20
compdocIve seen ram pass one test, but fail after a few15:20
compdocbut its also possible your ram is ok15:20
m_tadeuI'll leave it for the afternoon, then15:21
compdocits nice to run over-night to test a system. they also have programs that stress-test a system15:21
m_tadeucan you point me to those?15:22
m_tadeuguess I'll write a doc for testing procedures15:22
compdocI dont use any - I look for bad caps on older systems, or burned components. If they look ok, I just run memtest86+15:22
compdochaving a problem?15:23
m_tadeuin deed...the server completely stops responding after a day or so...not a fixed time15:23
m_tadeubut I must not use it for a day or so15:23
compdochow old is it?15:24
m_tadeu3months old15:24
compdocso its all new parts?15:24
m_tadeuyep15:24
jeremytooI have recently built a 10.04.01 LTS server with / on a RAID1 setup.  When I boot it, I never get a grub prompt -- it simply goes straight to booting.  Is this by design, or have I misconfigured something?15:25
compdocsome ram needs the voltage set higher than normal - its usually printed on the module. make sure you set it righ15:25
compdocright15:25
compdoctheres also a bios setting that causes raid controllers to not work right, at least for me15:26
m_tadeuI'll check after memtest15:26
compdocits called PCI Latency Timer15:26
sjmjeremytoo, now that you mention it, I think I had the same thing happen to me recently (RAID off a 3ware card).15:27
jeremytoosjm:  did you ever get it to show the grub menu?15:28
sjmjeremytoo, let me boot it up, it's here beside me.15:28
m_tadeuI'm having the same thing happening here...no grub menu15:28
compdocwhat partition type you guys using? msdos? gpt?15:30
sjmnope, no grub15:30
jeremytoocompdoc:  I set everything up through the GUI -- so whatever the default installer uses15:30
sjmI installed off the mini.iso:  bare minimum and then added things through aptitude.15:31
compdocthat should work15:31
m_tadeuext415:31
compdocIm running memtest on a system Im building right now15:31
jeremytooI booted off the server install CD and set it up, two 1 TB SATA drives in a raid1 array.15:31
jeremytooyeah, I'd like to be able to access memtest86 in a pinch...15:32
kirklandsmoser: ping15:32
compdocis it a software raid?15:32
jeremytoocompdoc:  yes15:32
sjmYes, I'd like the grub menu too.  Mine's hardware raid15:32
compdocI use 3ware - great controller15:33
sjmI have a 3ware too15:33
compdocbut I dont boot off my arrays. I like a small drive for the OS15:34
sjmI have a two drive raid 1 for the OS and a 4 drive raid 10 for data.15:35
sjmbut it's all off the 3ware controller.15:35
sjmbut, back to the question... what happened to the grub menu?15:35
compdocyours was working?15:36
sjmno, It was a new install (off the mini.iso)15:36
compdocoh15:36
sjm(I had a debian install before that did show the menu, IIRC)15:37
compdocdont remember - is there a setting in the 3ware bios to set a drive to bootable?15:38
sjmBut it's not just 3ware, jeremytoo has software RAID15:38
compdocyeah, and you could both have completely different problems for that reason15:39
jeremytooit would appear that on bootraid setups, the grub-installer is doing SOMETHING to grub.cfg which precludes a grub menu being displayed15:39
jeremytooI'm trying to find out if that's a happenstance thing, or by design?15:39
jeremytoomy previous 10.04.01 box booted off RAID1, but was an upgrade, so it had a grub boot menu15:40
compdocin the mobo bios, it sees the raid and you have the system set to boot it?15:42
jeremytooit boots 100% fine15:42
JamesPagezul: when do you reckon Samba 4 might make it to the main archive?15:43
jeremytoothe bios do not see the raid, compdoc, because I'm using softraid15:43
jeremytoo(boot partition is on /dev/md0)15:43
zulJamesPage; hehehee15:43
zulJamesPage; its still alpha15:43
JamesPagezul: yep; thought that might be your response :-)15:43
sjmcompdoc, yes, the mobo bios sees the 3ware raid and it is set in the boot order.  my boot partition is "/dev/sda1"15:44
compdocwell, if no one in here can help, you might try the mailing list - lots of ppl read it15:45
gyppohello?15:47
* genii-around hands gyppo a coffee15:47
gyppothanks...15:47
gyppoI was wondering if someone here could point me straighrt15:47
gyppoI'm trying to set up postfix...15:47
compdocpoint to what?15:47
* jeremytoo points due west for gyppo15:48
gyppoand, while I can telnet 192.168...... 2515:48
gyppoI can't telnet from outside the router15:48
gyppoI'm pretty sure I'm port-forwarding 2515:48
compdocyou isp could be blocking 25 - mine does15:48
jeremytoogyppo:  as does mine15:48
gyppoah. any way to check?15:49
compdoctry forwarding port 2525 to 25 on the server, then see iff telnet 2525 works15:49
gyppoof course, excellent idea :)15:49
gyppowhat if it is my isp?15:49
gyppoI assume there's a common solution15:50
gyppo?15:50
gyppoWill I still be able to smtp pop etc, or will it need tweaking?15:50
compdocyou can buy a business plan, that allows all ports, or use a company like dyndns.org to send mail to your port 2525, or whatever port you like15:51
compdocwell, not just any port, but they allow several to choose from15:51
jeremytoogyppo:  how many users do you intend to serve?  As lame an answer as it is, gmail w/ custom domain name is free, and easy to administer15:52
sjmmany also have started using a default port 587 rather than 25.15:52
compdocpop and the other ports usually work. just not 2515:52
gyppodefault port 587? Thanks, that's something. But won't that just move the problem15:52
compdocof course your mileage may vary15:52
gyppoand thanks, jeremytoo, but I'm trying to get away from google :)15:53
jeremytoogyppo:  I'm on comcast -- I had to migrate my SMTP server off to geekindustries.com when comcast sealed down port 25.15:53
compdocyeah, comcast used to allow 2515:53
sjmjeremytoo, try editing the timeouts your /etc/default/grub, run "sudo update-grub" and reboot.15:53
jeremytoosjm:  that's what I'm thinking.15:54
sjmI just got a boot menu15:54
gyppoyeah, I just tried 2525->25, works fine15:54
gyppopesky isp15:54
gyppothanks guys15:55
compdocbtw, its dyndns.com, not .org15:55
jeremytoogyppo:  check your Terms of Service -- you may be violating the ToS by running an SMTP server, exposing yourself to the risk of immediate termination of service and financial penalties15:55
=== oubiwann_ is now known as oubiwann
sjmjeremytoo, I think I found what is happening...15:58
sjmjeremytoo, check this page, section 4, bullet "hidden": http://ubuntuforums.org/showthread.php?t=119527515:59
sjmjeremytoo, I think you (and I) are really getting the menu, but it's hidden.  hold down SHIFT while booting to see the menu.16:00
jeremytoosjm:  I commented out two lines in the grub menu to slow boot slightly and display the menu:16:01
jeremytoo#GRUB_HIDDEN_TIMEOUT=016:01
jeremytoo#GRUB_HIDDEN_TIMEOUT_QUIET=true16:01
jeremytoosjm:  actually, those changes went in /etc/default/grub16:02
jeremytoothere, now the loggers and google can find that answer the next time I lose it.16:02
sjmjeremytoo, I don't think it will slow the boot at all (that's probably GRUB_TIMEOUT), but it will show it.16:03
jeremytooI read through the grub config file -- it was actually bypassing that timeout entirely before -- setting GRUB_HIDDEN_TIMEOUT=016:04
jeremytooso I'd have had to be REALLY fast on the shift key16:04
sjmI'm being dragged into knowing grub2 rather than just grub16:04
jeremytooI still miss lilo.16:05
jeremytooas crappy as it was16:05
* geekbri hisses at jeremytoo16:06
* jeremytoo smirks and promises to watch his language.16:06
sjmjeremytoo, I assumed that the hidden timeout was the time that it would stay hidden rather than showing and when set at zero was "infinity...and beyond" while the GRUB_TIMEOUT sets the actual wait.16:06
jeremytoocould be.16:07
jeremytooI just built this core i7-2600k sandy bridge machine and it boots so dang fast you don't have ANY time to think16:07
geekbrijeremytoo: the only language i was offended by was "lilo"16:07
* jeremytoo chuckles.16:07
* jeremytoo dusts off his turbolinux 3.01 CD16:07
* sjm wonders how jeremytoo is going to watch the sound waves of "language"16:07
jeremytoothrough an oscilloscope, how else?16:07
sjmjeremytoo, the page says you can just hold down the shift key during the whole boot process.16:08
* sjm is getting jealous while booting his "fastest" Pentium D server.16:09
sjmjeremytoo, initial testing says you might be right.  the GRUB_TIMEOUT might only take effect once the menu is shown.16:14
jeremytoothis is my main KVM server, so now that it's working, I'm done testing ;)16:14
sjmjeremytoo, mine is still in the development area, so I have been rebooting it after a few changes to see the effects.16:15
jeremytoosjm: nice.16:15
Naiav10.04 server, 64bit. Failed on installation of kxsldbg-0.4. Was installing it as part of a web development application Quanta Plus. Error at: http://paste.ubuntu.com/556198/16:38
sjmNaia, you might be missing a package or two.  check here: http://astbook.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/asterisk-CHP-3-SECT-8.html16:44
NaiaError: sudo yum install gcc-c++. Setting up Install Process. No package gcc-c++ available. Nothing to do.16:47
NaiaSame error with recommended libstdc++-devel install.16:48
sjmnaia, yum?  are you on ubuntu?16:48
NaiaAye. But the page you recommended said to type yum. I'm only a week old on Ubuntu.16:49
takamarouHi all.. I'm trying to set up ubuntu 10.10 on a 3(ish) year old server I've got.  The server has two dual-core Xeon CPUs in it.  After a fresh install, I'm seeing that the server is only utilizing one of the two CPUs.  Could anyone walk me through enabling that second CPU?  Thanks!16:50
gobbedid you install from server-media?16:51
takamaroume?  I installed from a 10.10 disk16:51
gobbeyep, but is it server-media?16:52
gobbeor alternative or what?16:52
takamarouServer, I believe.  I downloaded the ISO directly from the ubuntu site, server section16:52
gobbeok, and how do you believe that only one cpu is used?16:53
takamarouI'm using that 30 day landscape trial, and only lists one of my Xeon Processors under hardware16:53
gobbehmmh16:55
sjmNaia, try:  sudo aptitude install libstdc++6-4.4-dev16:55
gobbetakamarou:  sudo lshw -c cpu16:55
takamaroubut, sudo lshw | grep Xeon shows up with 2 processors.. it appears so anyways..  Perhaps landscape is just wrong?16:55
NaiaMay I paste 3 lines here?16:55
gobbetakamarou: upload output to pastebin16:55
gobbeit might be that landscape is wrong16:56
takamarouyeah, that definitely outputs two cpus16:56
sjmNaia, I saw your paste from the ubuntu list.  Is it something different?16:56
gobbelandscape is still quite poor, far away from satellite/spacewalk16:56
NaiaYes. New errors.16:56
sjms/list/channel/16:56
sjmNaia, keep it in pastebin for now, i would say.16:57
takamarougobbe, are satellite/spacewalk good alternatives to landscape?  I'm actually a bit put off by the high cost on landscape16:57
gobbetakamarou: they don't work with ubuntu :/16:57
takamarououch.  Know any other good ones?16:57
Naiasjm: new error pasted. http://paste.ubuntu.com/556212/16:57
gobbetakamarou: sorry, no :-/ I remember that some guy was trying to make spacewalk-fork to work with ubuntu16:58
takamaroucool.  I'll look into it.  Thanks for the help.  I suppose I'll trust my own servers output before I trust landscape from now on :)16:58
sjmNaia, you didn't type it in correctly.  you typed: "libstdc__6-4.4-dev" and not "libstdc++6-4.4-dev"  (underscores rather than plus signs)16:59
* Naia blushes.16:59
gobbetakamarou: http://administratosphere.wordpress.com/2010/01/28/system-management-software-spacewalk-and-landscape/17:00
Naiasjm: done.17:00
sjmNaia, now can you try the:  ./configure  and  see if it runs without errors?17:01
Naiasjm: I should try reinstall of original software, now?17:01
Naiasjm: checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!17:02
sjmNaia, sudo aptitude install xlibs-dev   ( You need to install the development packages to be able to compile)17:05
NaiaNot sure what those are. I'm sorry.17:06
sjmNaia, install the xlibs-dev package and then try ./configure again.17:06
Naiasjm: Package xlibs-dev is not available, but is referred to by another package.17:07
raubvogelanyone using opendkim? If so, has anyone experienced the not being able to verify signatures using opendkim-testkey mentioned in http://stackoverflow.com/questions/4102383/debugging-opendkim-postfix-bad-signatures-and-verification-failures?17:09
sjmNaia, what package are you trying to install?17:10
Naiasjm: http://paste.ubuntu.com/556217/17:11
sjmNaia, if it is kxsldbg, can you just install the one already packaged:  sudo aptitude install kxsldbg-kde3  ?17:12
Naiasjm: Couldn't find any package whose name or description matched "kxsldbg-kd3"17:12
sjmNaia, would installing the package  "kdewebdev"  meet your needs?17:16
NaiaLet me paste what started this fiasco.17:17
Naiasjm: http://paste.ubuntu.com/556223/17:20
sjmtry this:  aptitude install kdewebdev cervisia17:23
sjmNaia, ^^ that should get you those two packages without having to compile them.17:24
Naiahttp://paste.ubuntu.com/556225/17:24
sjmNaia, do you want it for kde3 or kde4?17:25
NaiaUnknown answer. I'm only a week old at this ... and all I wanted was to do web editing. ;)17:26
ideamanCan anyone tell me why sudo might take 6 seconds to respond every time?17:26
sjmtry this instead:  sudo aptitude install cervisia kxsldbg-kde317:28
RoyKideaman: strace it17:28
sjmNaia, try this instead:  sudo aptitude install cervisia kxsldbg-kde317:28
ideamanRoyK: wow thanks, I'm still a noob, didnt even know about that. Give me about 10 minutes. thats about how long after a fresh reboot it takes to act up.17:29
RoyKwtf?17:30
RoyK10 minutes to boot ubuntu server?17:31
Naiasjm: Couldn't find any package whose name or description matched "kxsldbg-kd3"17:31
ideamanno no17:31
ideamanafter it boots, i dont have this issue until it's been up for 10 minutes17:31
RoyKideaman: what are you running on this thing?17:32
RoyKany heavy services?17:32
ideamannada in top17:32
RoyKhow much memory?17:32
ideaman2GB, 250HD17:33
ideamanonly it's just an asterisk box17:33
RoyKasterisk .. ugh17:33
RoyKjust basic chan_sip etc?17:33
ideamanyea very basic not even connected to the outside world yet though17:34
sjmNaia, go into synaptic and add the universe repository.17:34
RoyKideaman: well, let's wait some more minutes to see if the error occurs again17:37
Naiasjm: I type universe reposit and it comes up with Kubuntu-restricted-addons, Lubuntu-restricted-addons, xubuntu-restricted-addons and ubuntu-restricted-addons. Only one installed is ubuntu-restricted-addons.17:37
RoyKideaman: next time, don't just reboot to fix an unknown problem - better spend some time digging into it :)17:37
Naiasjm: please don't shoot me.17:38
sjmNaia, are you using synaptic or aptitude or apt-get?17:39
NaiaSynaptic Package Manager.17:39
m_tadeuwhich monitoring tools do you recomend? I want to monitor cpu/mem/disk, http, voip, ssh, mysql17:39
sjmNaia, in the menu, go to Settings ->  Repositories.  Under the Ubuntu Software tab, check the second line that has "universe" at the end of the line.17:40
sjmm_tadeu, depends on what you want and your environment.  You *could* do it all with tcpdump.17:42
Naiasjm: I'm sorry. I see no settings tab and I looked under System>Preferences and System>Administration.17:42
sjmno, inside Synaptic.17:42
NaiaDuh17:42
NaiaIs already checkmarked ....17:43
m_tadeusjm: I'd like to have averages, peaks, notifications for critical status etc...a web client would be nice too :)17:43
sjmNaia, then you need to "reload" and search for kxsldbg-kde317:43
Naiasjm: Please define reload.17:44
NaiaDuh17:44
sjmm_tadeu, I think Nagios can get you most of that.17:44
sjmm_tadeu, maybe cacti17:44
Naiasjm: Found it. Installed. That error gone from Quanta. Only one left is the cervisia.17:45
Naiasjm: Synaptic says cervisia (cvs client for KDE4) is already installed.17:46
sjmNaia, you might be seeing conflicts between kde3 and kde4 stuff.  Unless you are going to use CVS with Quanta, I wouldn't worry about it.17:47
NaiaIs there a reason I should?17:47
m_tadeusjm: cool...thanx...gonna read docs about those17:47
sjmNaia, if you don't know what CVS is, then you probably won't be using it.17:48
NaiaTrue enough. Thank you for all your help. :) I appreciate the patience.17:48
Naiasjm: I looked it up. Nah. I don't worry about tracking changes with the little work that I do. Thank you again for all your help!17:51
sjmNaia, you're welcome.  Have fun.17:51
ideamanRoyK: still there?18:08
RoyKideaman: back18:12
fullstopHi all.  I'm running ubuntu-server 10.04 LTS, and I've run into this issue: https://bugzilla.redhat.com/show_bug.cgi?id=60575718:12
uvirtbotbugzilla.redhat.com bug 605757 in qemu "2tb virtio disk gets massively corrupted filesystems" [Urgent,Closed: errata]18:12
fullstopI'm getting "OOPS-" messages when searching ubuntu's bug database, so I don't know if a bug report exists already.18:13
ideamanso the error is back18:13
fullstopanyway, it is supposedly fixed in qemu 0.12.5... so I rebuilt the appropriate packages from 10.10 and put them on my KVM host.18:14
fullstopI'll know by tomorrow if the problem is gone or not.18:15
RoyKideaman: ok18:15
RoyKideaman: check memory available for a start18:15
ideamanRoyK: memfree in top?18:16
RoyKor just 'free'18:16
RoyKpastebin free18:16
RoyK!pastebin18:16
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.18:16
ideamanRoyK http://pastebin.com/8XH2UsBu18:17
RoyKideaman: pastebin the command resulting in this error, please18:18
RoyKit certainly isn't lack of memory18:18
sheyCan anyone supply help with LAMP? I cannot seem to get .php files to load, always asked to download. Yes, I have followed all instructions as per the How-To... added the modules, restarted, rebooted, kicked it a few times.... nothing...18:18
ideamandone18:19
gobbeshey: upload your configs to pastebin18:19
RoyKshey: a2enmod php5?18:19
sheyRoyK: yeah.18:19
RoyKideaman: we need an url :P18:19
sheygobbe: apache2.conf & httpd.conf?18:20
ideamansorry18:20
ideamanhttp://pastebin.com/SrNzKEUW18:20
gobbeshey: yea18:20
RoyKideaman: does `sudo true` do the same thing as in terms of the delay you're getting?18:21
sheyok, brb, also.. I dont know if this means anything, but I enabled userdir.18:21
RoyKshouldn't matter18:21
uvirtbotNew bug: #705552 in nut (main) "10.04 nut package is missing 52_nut-usbups.rules" [Undecided,New] https://launchpad.net/bugs/70555218:21
sheyok, upping conf's now.18:21
RoyKshey: but php is disabled by default for userdir18:21
RoyKshey: check the userdir config file18:21
ideamanyes18:22
RoyKideaman: can you pastebin `strace sudo true`, please?18:22
ideamanRoyK, so sorry, I have to jump on a webinar with a customer. Will you still be around in 30?18:23
RoyKprobably18:23
ideamanok, I'll message here as soon as its over. thx18:24
takamarouHi all.  I've got a new ubuntu server 10.10 install going.  I'm adding users using 'groupadd -d <dir> -m <user>'.  For some reason, now when I log in as those users my bash .profile is not being loaded?  Anyone ever seen this before?18:34
Wolfsherzshouldn't you use adduser before groupadd?18:35
qman__adduser is the preferred method because it does all the little extra bits like that for you18:35
takamarouuhh, thats what i meant18:35
takamarouim using adduser18:35
Wolfsherztry just using "adduser <username>"...18:36
qman__adduser does not have those arguments18:36
qman__see man adduser18:36
qman__you're probably thinking of useradd18:36
sheygobbe: http://pastebin.com/nwE98EAL18:37
* RoyK uses useradd :P18:37
fullstopI wish there were only one...18:38
RoyKshey: erm - did you check the userdir config?18:38
takamarouthat worked18:38
takamarouthanks18:38
fullstopI am always confused as to which one I should use.18:38
RoyKfullstop: use the one you know18:38
RoyKuseradd -m someuser ; passwd someuser18:39
fullstopcoming from RHEL, it's not always easy.18:39
RoyKor adduser someuser and go through the interactive Q/A18:39
RoyKfullstop: well, welcome :)18:39
fullstopOne of them, by default, will create an account which can sudo.18:40
qman__uh, no18:42
takamaroureally? I don't want that..18:42
takamarouand it's not useradd18:42
qman__only the first account created on the system, automatically, will be added to the admin group by default18:42
qman__the admin group is given sudo privilege18:43
fullstopqman__: the first user after an install or during the install?18:43
qman__during18:43
takamarouso, if it's better to use adduser instead of useradd for creating users... is there something better than usermod for adding users to groups?18:43
qman__takamarou, adduser18:43
qman__adduser <username> <groupname>18:44
takamarouand deluser is good for deleting.. right?  What about adding groups?18:44
sheyRoyK: ammended. http://pastebin.com/3zNXcyTg18:44
qman__addgroup18:44
qman__this is all in the manual for adduser, btw18:45
takamarouboy.. this book I bought sucks!18:45
fullstopqman__: I just tried w/10.04, and neither creates with admin..18:45
fullstoptakamarou: you should have bought a vacuum cleaner.  Then you'd be happy.18:45
RoyKshey: ops - check php5.conf18:46
RoyKthere's where it's disabled for userdir18:46
qman__think of it like this18:46
RoyKhttp://pastebin.com/HEdaFAWU18:47
qman__adduser/addgroup is the automated, easy way18:47
qman__useradd/groupadd/usermod/etc are the manual way18:47
qman__both are correct but the latter requires you to make sure all your options are right18:47
takamarousounds like I will stick with the automated way :) thanks guys18:48
RoyKqman__: useradd -m works well on servers - makes a homedir and copies the skeleton there, then it's up to you as the admin to add group membership and other stuff18:48
takamarouRoyK, but, as I've just learned, that skeleton is buggy.  The bash profile doesn't load.. which pretty much sucks if you're on a server18:49
RoyKtakamarou: works for me (tm)18:49
takamarouodd..  This is a completely fresh install, too.18:49
RoyKtakamarou: or did you run useradd without the -m flag?18:49
takamarouno.  useradd with the -m flag18:49
sheyRoyK: I cannot seem to thank you enough!18:50
RoyK:)18:50
sheyffs, HOURS!!!!!!! I spent scratching my head.18:50
RoyKshey: I had a little issue with that userdir+php myself the other day18:50
sheythat should really be in LAMP server how-to18:50
RoyKimho it's a bit paranoid to disable php for userdir18:51
RoyKbut then, it's way more secure18:51
sheywell, not really if you look at the amateur shell user.18:51
sheyindeed.18:51
sheyagain, thanks for your help man... =]18:52
RoyKwith php in userdir, a user can easily create a nasty php script allowing anyone to run anything, so if a local root exploit is found, no, not if, when, well, there goes your server18:52
sheytrue18:53
RoyKshey: np18:53
sheyBut I am sole user of this server, so I have no need to disable it.18:53
sheyok now to slim down Ubuntu Server a bit.. I'm sure I'll be back when it comes to ROR time.18:54
* RoyK wonders wtf some people tend to want to 'slim down' their installs18:56
m_tadeustill no errors in memtest....most probaly the mem is just fine18:58
m_tadeuwhat else can be stoping my server? any tips?18:59
RoyKm_tadeu: what's happening?19:00
m_tadeuafter a day of not using it, I can't access to it at all...no ssh, no http, no ping :)...no keyboard, no screen, nothing...but the server is on19:01
RoyKm_tadeu: after rebooting, do you find anything in the logs?19:02
RoyKm_tadeu: also, if you have a syslog server somewhere, try to configure the box to log there19:02
m_tadeunothing relevant on logs...no errors no warning19:02
RoyKand - if a panic or oops happen, the server won't restart automatically unless you tell it to19:03
RoyKadd vm.panic = 60 and vm.panic_on_oops = 1 to /etc/sysctl.conf19:03
m_tadeuI never saw a panic yet...but I guess it would be logged, right?19:04
RoyKrun sysctl -p to activate that19:04
RoyKa panic can't be logged if there is a problem with the disk19:04
RoyKsome panics are logged, but most won't19:04
m_tadeuI see....that would be solved by remote logging19:04
RoyKor a network console19:04
RoyKor serial console19:04
* RoyK sticks to serial consoles for that19:05
RoyKget a nullmodem cable, plug it into your server and some other box running some serial software, anything, minicom or even screen will do19:05
RoyKconfigure linux to use that, and the chance of catching a panic output will be increased by a wee bit19:06
=== NG_ is now known as ng_
m_tadeuhehe...a wee bit :)19:07
m_tadeuI'm gonna let memtest run for a little while...guess 12 passes is quite enough...then I'll start on that19:07
RoyKin the meantime, get a serial cable :P19:08
RoyKif you haven't found any errors after 12 passes, I guess it might be something else19:08
m_tadeuif it's a problem in the disk, I would get it if I stress it19:09
RoyKbtw, is autosleep or similar cpu powersaving stuff enabled in the bios?19:10
RoyKthat may lead to headaches19:11
m_tadeugood question...let me check that19:11
fluvvellanyone know how to assign a blkid to a partition that seems to not have one?19:16
m_tadeuI tought every partition should have one19:18
m_tadeuare you checking as sudo?19:18
RoAkSoAxkirkland: were you able to test PowerNap?19:18
fluvvellmy raid1 array has dropped one of its members, and I build by blkid.  Yes I thought they all should have them too. Yes to sudo19:19
patdk-wkonly partitions that have crap have id's :)19:19
patdk-wka partition that isn't formatted with something (ext3/4, lvm, xfs, ...) won't have an id19:19
fluvvellpatdk-wk, its not formatted ist a linux_raid_member  - or should be19:20
fluvvell*its19:20
patdk-wkwell, raid counts too19:20
RoyKpatdk-wk: man blkid19:20
fluvvellRoyk, blkid reads and displays the id, are you aware of anything that can set it ?19:21
patdk-wkroyk, I dunno why you said that to me19:21
patdk-wkif blkid doesn't give into for it, it means blkid doesn't know what it is19:22
RoyKpatdk-wk: sorry - nick fsckup19:22
fluvvellfrom the manual:  blkid  has two main forms of operation: either searching for a device with a specific NAME=value pair, or displaying NAME=value       pairs for one or more devices.19:22
patdk-wkif blkid doesn't know what it is, it's probably corrupt19:22
patdk-wkor not formatted :)19:22
RoyKhm.. shouldn't fdisk create a blkid?19:23
patdk-wkno19:23
RoyKif it's just filesystems, using blkid for md replacements won't work19:23
patdk-wkit's not just filesystems, basically it's any structure19:24
patdk-wkfilesystems, swap, lvm, raid, ...... all create a structure on the disk, therefor have blkid support19:24
patdk-wkfdisk doesn't make structures (unless you count those 40 or so bytes in the first sectore)19:25
RoyKsure, but if two drives are mirrored and one dies, how can one make a blkid on the new replacement drive?19:25
fluvvelloutput of fdisk -lu   http://pastebin.com/ia9TB5XH19:25
patdk-wkroyk, each md partition would have an blkid19:26
fluvvellRoyK, sort of my question really.19:26
patdk-wkin my case:19:26
RoyKfluvvell: can't you just replace the drive with the device name?19:26
patdk-wk/dev/sda: TYPE="isw_raid_member"19:26
patdk-wk/dev/sdb: TYPE="isw_raid_member"19:26
patdk-wk/dev/mapper/isw_bgebcdgcaf_Volume01: UUID="2ef294e7-5015-4b60-86d4-683eb22ddc61" TYPE="ext4"19:26
patdk-wk/dev/mapper/isw_bgebcdgcaf_Volume05: UUID="53681bc0-51fc-487d-b7cd-8639a9e6e5c3" TYPE="ext4"19:26
patdk-wkbut that isn't a md raid, it's a dm raid19:26
fluvvellRoyK, I guess.  My /etc/mdadm/mdadm.conf  has  ARRAY /dev/md0 level=raid1 num-devices=2 UUID=6d4c2a80:85d76dbd:e368bf24:bd0fce4119:27
RoyKfluvvell: md should be detected by the kernel19:27
kirklandRoAkSoAx: on my todo list for today;  i'm going to test it with a few different machines19:27
RoyKwithout need for a config file19:27
fluvvellRoyK, Ive read that. Was just making sure I guess.19:28
RoyKfluvvell: how does your /proc/mdstat look?19:29
fluvvellhttp://pastebin.com/DRnhhLyr19:30
RoyKfluvvell: doesn't look like you've replaced sdb - have you?19:30
fluvvellNo, its a brand new drive - brand new server I installed 10 December19:31
fluvvellIt just seemed to not start the array when I rebooted it last night19:31
fluvvellsorry: started in degraded19:31
RoyKfluvvell: well, seems sdb has issues anyway, since md has offlined it19:32
fluvvellRoyK, Yeah. <sigh>19:32
RoyKfluvvell: check the logs to see if there have been i/o errors on that drive19:32
* RoyK points fluvvell to http://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array19:34
fluvvellRoyK, I did, no I/o errors.  There is  "Jan 20 20:02:39 wilma kernel: [   14.173301] raid1: raid set md0 active with 1 out of 2 mirrors"19:36
fluvvellwhen I rebooted19:36
RoyKfluvvell: mdadm --manage /dev/md0 --add /dev/sdb119:37
RoyKif the partitions are setup like I would do it19:38
RoyKthat is19:38
fluvvellRoyK, thanks,       [>....................]  recovery =  0.7% (762944/102398208) finish=15.5min speed=108992K/sec19:39
m_tadeuRoyK: I have power management set as "active power management"(whatever this means I'm trying to check). should I allow the OS deal with it? or disable it at all?19:41
RoyKm_tadeu: just disable it19:43
m_tadeucrap...can't disable it19:44
m_tadeuI it has a "max performance" option...guess this should be the closest to disabling19:46
RoyKI've seen this happen with win2k8 boxes - they died while idle19:47
RoyKhaven't seen it on linux machines, though19:47
RoyKbut then, the similar 24-core machines we have on linux rarely sleep :P19:47
m_tadeudamn thing is that I have to wait 2 days for testing19:48
RoyKwhy?19:48
m_tadeubecause it takes more then a day idle to freeze19:49
m_tadeuwell I don't know exactly how much time it takes19:50
RoyKwell, just wait it out :)19:50
RoyKdebugging such errors is a PITA19:50
RoyKbeleive me, I know :)19:50
m_tadeu:)19:50
m_tadeuwell...gonna try this out and hope for the best19:51
m_tadeuthanx for the info19:51
elb0wIf I need to execute commands on startup should I make chkconfig startup script? or the remote?19:58
RoyKan init script should do, or even rc.local19:59
lieuwei just pluged in an usb-stick that i want to automount on boot, how do i do this?20:05
lieuwehalp?20:10
RoyKlieuwe: http://tinyurl.com/4g9nkj520:11
lieuweRoyK: i'm doing that, but i kinda need to hurry, so i'd like answers as quickly as possible ;P20:11
qman__add it to fstab with 'auto' option20:13
mrothhhhi I want to offer ubuntu desktop on  20 dumb terminals20:13
mrothhhis their any thing I nee dto do or a product20:13
qman__mrothhh, you want LTSP, it should be on the ubuntu alternate disc20:14
RoyKlieuwe: a quick google is often faster than waiting for someone on irc.....20:14
lieuweRoyK: i'm googling too,20:14
mrothhhI have 20 dumb termnals that have rdp client20:14
mrothhhHP dumb terminals20:14
lieuweRoyK: parralel processing :P20:14
mrothhhoh ltsp20:14
RoyKmrothhh: install ltsp20:15
qman__I only mentioned alternate disc because it has (had?) an easy one-step installer20:16
qman__I haven't used it since 8.04 though20:16
lieuweis it possible to get cp to show a progress bar?20:18
RoyKafaik the alternate disc exists on 10.04 as well20:18
pmatulislieuwe: yes, rsync20:18
RoyKlieuwe: use rsync -P20:18
pmatulisRoyK: slow on the draw there20:19
Tellmarchrsync.... it shows a progress bar per file right? not a global one?20:19
* RoyK kicks pmatulis in the leg20:19
=== kiall is now known as kiall|AFK
RoyKTellmarch: per file, yes, it's recursing, no chance to show a global one with that logic20:20
Tellmarchwell, windows does it (lol)20:20
RoyKwindows does it, but it uses a lot of time to count files before it starts20:21
RoyKand windows can't continue from an interruption20:21
RoyKwhereas rsync -P can20:21
Tellmarchi actually never thought about using rsync instead of cp...20:22
RoyKeven without --partial (part of -P), rsync will continue, but not for single files20:22
=== ng_ is now known as NG_
Tellmarchi've been using it for years instead of scp, but for cp, too strange an idea20:22
Tellmarchlol20:22
jcastrozul: your link to your cobbler blog post is broken on planet ubuntu20:32
elb0wWhat does ubuntu use instead of chkconfig20:33
elb0w?20:33
zuljcastro: yes i know...me and wordpress dont get along20:33
RoyKI and wordpress get along well :)20:36
RoyKlenios: ipv6 didn't work?20:37
leniosRoyK, it's my autoidentify that is taking too much time20:44
pmatuliselb0w: chkconfig, update-rc.d, editing upstart job filenames20:48
pmatuliselb0w: there is no central good-working tool right now (mostly due to upstart)20:49
RoyKlenios: what is autoidentify?20:49
leniosxchat has my identify password, and is taking care of identify for me on connect20:50
leniosa little late, that is20:50
RoyKlenios: didn't you say it was sudo that spent time?20:53
lenios?20:53
RoyKlenios: sorry, I was thinking of something ideaman was saying20:54
RoyKideaman: ping20:56
cr3hi folks, is there a recommended way to automatically provision a configuration for ec2 instances? for example, I'd like to have my own packages and some tweaks to the configuration in ec2 and enable other folks to reproduce the same environment easily21:28
cemcI have a LTSP+dbus problem un 10.04. there's an update for dbus and dbus-x11 package. I'm running chroot /opt/ltsp/i386 apt-get upgrade, and it fails with: http://pastebin.ubuntu.com/556323/ . any ideas?21:30
=== cmagina is now known as cmagina-afk
=== cmagina-afk is now known as cmagina
uvirtbotNew bug: #653220 in cloud-init (main) "remove updates-check from cloud-init" [Low,Triaged] https://launchpad.net/bugs/65322022:32
mrothhhI can't seem to build a 200 dollar 4 bay ubuntu nas22:38
mrothhhfrom parts at newegg or microcenter22:38
uvirtbotNew bug: #322339 in bzr "Integrated permissions/ownership reset on file operations for etckeeper/bzr" [Wishlist,Confirmed] https://launchpad.net/bugs/32233922:52
gyppohello?23:01
gyppodoes anyone know of a way to send mail from a server, without using the isp's relay, when the isp blocks port 25~?23:02
estacion03can anyone help me change the uri of my printer?23:02
gyppoquiet in here...23:04
gyppoI wouldn't know where to start, estaction03, sorry23:04
estacion03can anyone help me change the uri of my printer?23:05
estacion03I have one ubuntu comp hooked up to my pc with a printer and it works fine my other unbuntu (a carbon copy) will not print the uri are different any thoughts23:08
RoAkSoAxkirk/win 923:11
RoAkSoAxklik23:11
RoAkSoAxlol23:11
estacion03I have one ubuntu comp hooked up to my pc with a printer and it works fine my other unbuntu (a carbon copy) will not print the uri are different any thoughts23:13
progre55hi guys. I have some servers behind a corporate firewall in the office, but now it's 12am and I'm at home.. the servers are connected to another database server in the cloud, and I need to disconnect them from there, but dont have access to the office servers. how do I block those IPs? any suggestions, please?23:18
progre55they are connected to port 223:18
progre5522*23:19
thesheff17progre55 are they just connected through ssh?23:22
estacion03can anyone help with printing networking23:23
progre55thesheff17: yep.. tunneled through ssh to port 330623:23
thesheff17progre55: if you ps aux | grep ssh you will see the process running the tunnel and you should just be able to do kill -9 pid.23:24
thesheff17and it will disconnect them.23:24
progre55thesheff17: but they are using "autossh" which would automatically reconnect..23:24
thesheff17I would look into ufw which is a simple firewall program then and you can just deny the IP's23:25
progre55I know the IP address.. could I just block the IP?23:25
thesheff17http://ubuntuforums.org/showthread.php?t=82374123:25
progre55oki, thanks a lot23:26
progre55let me have a look23:26
thesheff17sudo ufw deny from <ip address>23:26
thesheff17estacion03: I don't know much about printing....you may want to check out the #ubuntu room.  That is where many of the desktop users hang out that may know more about printing.23:29
estacion03thesheff17, so this wouldnt be a server issue since this problem is over a lan23:30
estacion03?23:30
thesheff17estacion03: well I'm not sure about the printing aspect....I guess if you are using ubuntu-server to print you can ask here but I'm not sure how many people here print with ubuntu-server.  I would check /var/logs and the services used to print and start from there...Also search google.23:32
estacion03thesheff17, thats why im here my searches have been unfruitful23:33
thesheff17have you looked here: https://help.ubuntu.com/community/Printers23:33
thesheff17there is a Sharing printers section.23:33

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