/srv/irclogs.ubuntu.com/2011/03/30/#ubuntu-server.txt

=== skaet is now known as skaet_afk
=== tschundeee_ is now known as tschundeee
=== dendrobates is now known as dendro-afk
axisysi installed latest lucid 10.04.2 on my refurbised ibm box and I am only getting bug soft lockup cpu#0 stuck for 61s! on the screen a reboot after the fresh install00:20
twbaxisys: so piss about with notsc, noapic, acpi=off, etc?00:21
andygraybeal_with kvm, can i use a real physical nic dedicated to a virtual machine?00:22
andygraybeal_so i can have a virtual machine connected directly to a hardware network?00:23
twbandygraybeal_: almost certainly00:23
twbWOrst case: you bridge it but don't assign an IP on the dom0 for that iface00:23
andygraybeal_awesome thank you twb.  i nee to play with this.00:23
andygraybeal_twb, *nods*00:24
andygraybeal_thank you00:24
axisystwb: don't follow01:08
axisysso want me to try acpi=off ?01:08
axisysbut i do not see the grub01:08
axisyshow do I catch the grub during boot01:08
JasonnHold shift while bootin01:11
Jasonnbooting*01:11
axisysJasonn: ok.. let me try01:11
JasonnOkies01:11
JasonnIts shift on all the newer versions01:11
Jasonnescape, or delete on the older ones01:11
axisysok shift gave me the grub01:14
axisysJasonn: thanks01:14
JasonnNo problem :)01:14
twbaxisys: *I* don't care01:15
axisysi installed 10.04.2 server 32bit.. but the kernel shows 2.6.32-28-generic-pae instead of server01:15
axisysso append acpi=off in the kernel line may be?01:15
Jasonnnah, it doesnt matter01:15
Jasonni suppose01:16
JasonnYer probably gonna get better help if you ask in #ubuntu for that one mate01:16
axisysJasonn: ok01:16
twbcrond tries to reduce the "nice" and "nproc" ulimits of its child processes.  How do I prevent this?01:17
twbHmm, it mentions pam_limits, so maybe it's pam not crond at fault...01:17
twbFuck it, I'm just going to ignore the complains in the log01:19
twbI'm even getting... pam_limits(cron:session): Could not set limit for 'nice' to soft=20, hard=20: Operation not permitted; uid=0,euid=001:19
twbWhich *can't* be widening a limit, so it's clearly just not allowed to change limits at all01:20
axisystwb: thanks for your help.. acpi=off worked.. system finally up01:30
=== jjohansen is now known as jj-afk
twbOK, WTF02:09
twbI have a new CUPS server, and it ONLY works if I refer to it as its unqualified hostname.02:09
twbhttp://paste.debian.net/112372/02:11
=== share is now known as Guest57190
twbWhere is /etc/cups/mime.convs supposed to come from?04:59
=== skaet_afk is now known as skaet
=== skaet is now known as skaet_
=== airtonix_ is now known as airtonix
=== DrDetroit is now known as DrD_awat
=== DrD_awat is now known as DrD_away
dschuettnot really a big deal, but does anyone know how to change the order of the interfaces in the systen information that comes up during login?05:55
juzzy__hi06:06
twbWhat "system information" ?06:15
=== dendro-afk is now known as dendrobates
YankDownUnderdschuett, Um...the stats?06:20
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== skaet_ is now known as skaet_afk
=== jj-afk is now known as jjohansen
kaushalhi08:17
kaushalwhen i run dmidecode i get Type: Unknown Speed: Unknown in http://pastebin.ubuntu.com/587238/ Any clue ?08:17
twbany clue about what?08:21
kaushaltwb: about Type: Unknown Speed: Unknown08:23
kaushalis there anyother way to know the RAM Speed and Type ?08:24
twbTry lshw08:24
twbor open the box08:24
kaushaltwb: ok08:25
_rubenor your hardware inventory documents ;)08:26
twbhaha08:27
twb"ask your hardware vendor"08:27
kaushaltwb: its colocated08:29
shaunoI don't suppose it's a VM that's giving you empty results because there's technically no hardware?08:44
BbluEHello all.08:55
twbGrmph08:57
twbWhy does nagios3 use /usr/bin/mail but not recommend on it08:57
twbApparently because bsd-mailx meets its deps, but provides a slightly different binary09:02
BbluEAre you running Nagios on your server?09:03
twbI am.09:05
kaushalshauno: its a physical hardware09:06
BbluENice monitoring solution.09:06
twbPersonally I think it could do with a massive cleanup09:07
twbI mean step #1 would be to use execvp instead of system() FFS09:07
BbluEI have a question for anyone who might be able to answer it...09:07
BbluEI used apt-get to install php5... is there a format or anything I can put into the php.ini, to comment out extensions I know I'm not going to use?09:08
twbThat's a question for #php, I think09:08
BbluEAh,I figured someone here might have ran into that issue... installing it on Ubuntu Server 10.10.. but, you're right. I should go check there. Thank you.09:09
=== BbluE is now known as fosterdv
uvirtbotNew bug: #745522 in dovecot (main) "ucf prompt on server-tasks upgrade profile" [Undecided,New] https://launchpad.net/bugs/74552209:16
nick_namehello09:40
nick_nameis there a way to disable ttys temporarily?09:45
twbstop tty209:50
katmandoudouHello, I have configured my server to run JBoss as service. It works almost except that I have some exceptions when I try to stop it10:05
katmandoudouhttp://pastebin.com/y0at57Mv10:05
katmandoudouCaused by: java.net.ConnectException: Connection refused10:05
katmandoudouCould someone help me ?10:05
rcconftry with /etc/init.d/10:05
katmandoudourcconf, ok10:06
katmandoudourcconf, it has changed nothing ...10:12
rcconfk10:12
katmandoudourcconf, would you want to see my /etc/init.d/jboss file ?10:18
rcconfim not geek10:19
katmandoudourcconf, ah ...10:19
jamespagekatmandoudou: I'm a little rusty on Jboss but from memory the shutdown command should be connecting to a control port to initiate the shutdown10:23
jamespagekatmandoudou: /etc/init.d/jboss might be helpful to diagnose10:24
jamespagekatmandoudou: netstat -a would also handy with JBoss up and running10:24
katmandoudoujamespage, ok at first I paste my /etc/init.d/jboss script to pastebin10:25
jamespagekatmandoudou: great10:25
katmandoudoujamespage, ok http://pastebin.com/5ikL1Erp for the jboss script10:27
=== taneli_ is now known as xampart
jamespagekatmandoudou: well it looks like it still works the same way as it did in 4.3 and 510:30
katmandoudoujamespage, yes but it doesn't work for the shutdown :)10:30
jamespagekatmandoudou: yeah - so we need to figure out why the shutdown code can't connect to the JBoss instance10:31
jamespagekatmandoudou: some log data from jboss would also be helpful as I think the containers output what ports they are listening on10:32
katmandoudoujamespage, the server.log ?10:32
jamespagekatmandoudou: yep -that should contain the right info10:33
katmandoudoujamespage, here my boot.log http://pastebin.com/eST0qhku10:50
jamespagekatmandoudou: looking now10:56
katmandoudoujamespage, and after having cleaned my server.log, I don't have a lot of interesting things inside10:56
katmandoudoujamespage, here my server.log http://pastebin.com/NFRLFHLS10:57
katmandoudoujamespage, I must leave for a while now. See you after, just the time to go to home11:00
brontosaurusrex_in karmic server, what would be a working way to setup internet time adjustement once per day?11:02
Cariboubrontosaurusrex_: why would you want to do that, instead of running a ntp daemon ?11:03
CaribouThis will cause sudden offset in your time reference (i.e. changing once a day)11:04
brontosaurusrex_Caribou, ok, that makes sense, so: sudo apt-get install htp ?11:04
guampabrontosaurusrex_: add something like * * * * * ntpdate time.nist.gov to crontab, mind that some servers, notably dovecot, will die if time moves backwards too much11:04
Caribouwell, afaik, ntp is installed by default.11:05
Cariboulemme check11:05
brontosaurusrex_Caribou, ok, that makes sense, so: sudo apt-get install ntp ? > related: can i use ntp on desktop as well?11:07
Caribouas long as you have a internet connection, it should work fine either on desktop or server11:09
brontosaurusrex_also, can i assume that ntp comes with some sane defaults? and can i assume i dont need to play with crontab with ntp?11:09
* Caribou is looking at it right now11:11
guampabrontosaurusrex_: ntp is the ntp daemon, not ntpdate which is a different program. ntpd doesn't need crontabs11:12
brontosaurusrex_guampa, i understand11:12
guampait will run at startup and stay in background syncing time while the system is up11:12
brontosaurusrex_i understand that as well11:12
CaribouI just installed it. Seems to configure without a glitch and sync with ntp.ubuntu.com11:13
tigretonhi11:26
tigretoncould you recommend an admin panel like webmin? i didn't find nothing11:26
brontosaurusrex_Caribou, ok, thanks for help11:26
Caribounp11:26
tigretoni have problems win openldap too, if someone can recommend some tutorials too, thanks11:29
uvirtbotNew bug: #745599 in samba (main) "fails on automatic update" [Undecided,New] https://launchpad.net/bugs/74559911:51
katmandoudoujamespage, I'm back11:54
uvirtbotNew bug: #745601 in whois (main) "Update whois server for .li TLD" [Undecided,New] https://launchpad.net/bugs/74560111:58
katmandoudoujamespage, are you still here ?12:21
katmandoudoujamespage, it should comes from my run.conf !12:21
jf_hi, I'm having a really irritating problem installing ubuntu server on my server machine12:28
jf_after installing and rebooting multiple times, everything is okay with the network12:28
jf_but as soon as I install dhcp 3 and reboot, every last bit of networking fails to work properly (it's fine before restarting)12:29
jf_*dhcpd12:29
jf_ah it is actually dhcp3-server12:30
pmatulisjf_: "every last bit of networking" meaning other systems affected?12:30
jamespagekatmandoudou: sorry - just popped out for a bit12:31
jamespagekatmandoudou: I tried to reproduce your issue; with no success (i.e. I was able to startup and shutdown as the init script does)12:32
jamespagekatmandoudou: some of the init script looks a bit suspect when compared to the shutdown.sh that comes as part of JBoss12:33
katmandoudoujamespage, sorry wait a minute I've almost solved the problem12:37
jf_pmatulis: no, just the server12:39
etrisnantohello12:41
pmatulisjf_: check the logs12:43
jf_i looked at dmesg, everything's fine there12:44
pmatulisjf_: /var/log/daemon.log12:44
jf_okay, from dhcpd there are only warnings there (host declarations are global, not limited to scope declared in)12:47
pmatulisjf_: you need to discover what is actually happening.  do you lose your IP address assignment?12:55
jf_what do you mean? the server itself has a static ip (which it retains) and all other network devices eventually don't get a new dhcp lease12:58
jf_but since the server has a static ip and the router does too, it should at least have internet13:05
uvirtbotNew bug: #745642 in bind9 (main) "FTBFS in ubuntu natty" [Undecided,New] https://launchpad.net/bugs/74564213:06
hallynDaviey: (haven't updated yet) did you enable modpython in your ppa's new znc yesterday?  (if you ever got around to updating)13:10
=== dendro-afk is now known as dendrobates
jf_pmatulis: I also just noticed that nothing in ifconfig changes if I remove the network cable13:25
jf_or put it into another rj45 slot13:25
pmatulisjf_: and when dhcpd is not running that behaviour changes?13:25
tigretonwell bye13:25
jf_no it does not13:27
jf_everything breaks after installing dhcpd13:28
jf_*dhcp3-server13:28
pmatulisjf_: so it's the installation and not the running of it13:28
jf_even if I remove the package, it's still broken13:28
pmatulisjf_: remove package and reboot mabye.  sounds very odd13:28
pmatulisjf_: i'm starting to think that dhcpd has nothing to do with your problem13:32
jf_it does seem rather weird13:33
Davieyhallyn, no... but i did email the debian maintainer asking why it wasn't enabled13:35
Davieyit could have very good reason... but doesn't seem so13:36
Davieyhallyn, if you are bored, and have a diff.... :)13:36
hallynDaviey: no to both13:37
hallynthanks :)13:37
hallynDaviey: today i hope to get testing done on vmware13:37
hallynfirst need to update the hallyn labs infrastructure :)13:38
Davieyhallyn, Yeah... the latest bug update wasn't clear if it was good or bad.13:38
hallynoh, it was bad13:39
DavieyI think it indicated that it tried to modprobe before it had been dkms built13:39
Davieywhich isn't necessarily a problem, is it?13:39
zulmorning13:44
hallynDaviey: oh, no I thought it was saying that the debian packaging was trying to install two modules which no longer exist.13:49
hallynbut his second msg said that clipboar doesn't work13:49
hallynanyway i just need to test it13:49
hallynbiab, time for a reboot13:50
katmandoudoujamespage, still here ?13:52
jamespagekatmandoudou: sure am13:52
jamespagedid you manage to fix your issue?13:52
katmandoudoujamespage, ok so after some tests I can say that the problem is from the run.conf13:52
katmandoudouwhen I put the option -Djboss.service.binding.set=ports-02 into the JAVA_OPTS variable13:53
Disconnectis there a way to use preseeding to manually create a partition before partman runs? (if i can do that, i can get a reasonable number of inodes, then i can just tell partman to keep the now-existing partition..)13:54
katmandoudouwithout it, I can stop jboss normally13:54
katmandoudouwith I have the exceptions you have seen before13:54
katmandoudouthis option is to change the ports of JBoss, to add 200 to each ports13:55
jamespagekatmandoudou: OK - that was a new feature in JBoss 513:55
katmandoudoujamespage, and ?13:56
jamespagekatmandoudou: so the way the init script calls the Shutdown code needs to be modified - see http://community.jboss.org/wiki/configureports (right at the bottom)13:58
jamespageit does not observer the settings in run.conf13:58
katmandoudoujamespage, thanks I try to start and stop jboss and I tell you the results14:02
talntidI'm trying to solve an issue. I have an app that sends many emails to the same addresses every day. Recently, it stopped "working". Seems the emails are going out, from what I can see.. but none of the addresses are receiving them. The mail HOST is gmail. Unlikely that I am being blocked. It responds and says mail accepted for delivery -- just, it's not happening. Any ideas on troubleshooting?14:13
ScottKIf your logs say gmail accepted them, then it's an issue internal to gmail.  You'll have to talk to them.14:14
=== dendrobates is now known as dendro-afk
Disconnectnot to point out the obvious, but check spam. gmail sometimes decides that automated mail like that is spam..14:15
=== nihe_ is now known as nihe
=== dendro-afk is now known as dendrobates
talntidI did check the spam mail.14:16
talntidIt's not in there :)14:16
talntidI am under the impression that it's internal to GMail too, ScottK. Just wanted to make sure I wasn't missing something dumb...14:17
pmatulistalntid: you might want to pastebin some mail logs14:17
Disconnectand its not under 'all mail'?14:18
pmatulisfg14:18
katmandoudoujamespage, it should be not exactly the same values to pass14:18
katmandoudoujamespage, I did this : JBOSS_CMD_STOP=${JBOSS_CMD_STOP:-"java -classpath $JBOSSCP org.jboss.Shutdown --shutdown -s jnp://localhost:11299"}14:19
katmandoudoujamespage, and I get this exception : Exception in thread "main" java.net.MalformedURLException: Service URL must start with service:jmx:14:20
katmandoudouat javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:143)14:20
katmandoudouat org.jboss.Shutdown.main(Shutdown.java:234)14:20
talntidcorrect, Disconnect14:20
Disconnectdunno then. we had that problem with large mailer reports, just sucked it up and moved them to the internal server14:21
talntidI want to convince my office staff that the crap they are having me auto-email me them, is crap ;)14:21
talntidThey can view the info live, any time, using the intranet page. Instead, they want it emailed to them every day. weak. :P14:22
jamespagekatmandoudou: I don't like the way the init script calls the java code directly; it would be better if it called shutdown.sh with appropriate parameters '-p 1290 -o localhost' should work14:22
katmandoudoujamespage, yes let's try14:23
=== dendrobates is now known as dendro-afk
katmandoudoujamespage, I changed my JBOSS_CMD_STOP like this : JBOSS_CMD_STOP="cd $JBOSS_HOME/bin; ./shutdown.sh -p 1290 -o localhost"14:28
katmandoudoubut the problem is the same14:28
katmandoudouI have still the ConnectException14:28
jamespagekatmandoudou: so are you still using the -Djboss.service.binding.set=ports-02 setting?14:35
katmandoudouyes normally14:36
katmandoudouyes I have just checked14:36
jamespagekatmandoudou: sorry - thats my fault the parameter for the port should be '-r 1290' not -p14:37
RoAkSoAxmorning14:37
jamespage./shutdown.sh with no args give you all of the options14:38
jamespagehey RoAkSoAx14:38
RoAkSoAxjamespage: howdy! how's it going today?14:39
jamespageRoAkSoAx: good thanks! hows yours?14:39
RoAkSoAxjamespage: good good14:39
katmandoudoujamespage, ok it was the -r14:48
katmandoudoujamespage, thanks a lot !!14:48
jamespagekatmandoudou: no problem - might be worth reporting that as a bug back to jboss as its pretty broken how it is today.14:48
zulSpamapS: ping when you around....is squid upstart stuff fixed in lucid?14:48
SpamapSzul: I think so.. I think the reports we got were largely busted conffiles from people who had never re-started their squid.14:55
zulSpamapS: so we should be ok to make the changes in maverick?14:56
SpamapSzul: yeah should be fine unless I missed more bug reports coming in15:07
AdvoWorkHi there, i have paths set like: mirror_lenny = http://cdn.debian.net/debian  for something im using, how would i specify the path for the latest server version?15:07
zulSpamapS: cool15:11
shaunoAdvoWork: archive.ubuntu.com/archive would be the equivalent of that.15:13
shaunoerr, /ubuntu rather15:13
=== skaet_afk is now known as skaet_
uvirtbotNew bug: #735072 in samba "The hostname proposed by installer is too long for file sharing to work correctly." [High,Confirmed] https://launchpad.net/bugs/73507215:53
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== unreal_ is now known as unreal
Error404NotFoundi am following http://www.linuxjournal.com/content/centralized-logging-web-interface to send my syslog to a center server. How would i also send other logs such as apache as well?17:26
airtonixError404NotFound: well apache has some custom errorloging modules17:36
Error404NotFoundairtonix: so, the only option is to send those messages to syslog as well?17:37
airtonixit's been a while since i looked at it, but i think you can "stream" it to a custom handler17:37
SpamapSError404NotFound: apache can log to syslog very easily17:42
SpamapSError404NotFound: the simplest way is just   CustomLog |logger -t apachelogs -p user.info17:44
SpamapSactually you need the full path to logger, so   CustomLog | /usr/bin/logger -t whatever -p something.somethingelse common17:45
evilsushidoes syslog.conf come installed on the ubuntu 10.04 lts distro?17:46
evilsushiroot@ironman:/etc# find / -name syslog.conf17:47
evilsushiroot@ironman:/etc#17:47
evilsushierm17:48
evilsushirsyslog?17:48
evilsushiwhat is rsyslog?17:48
pmatulisevilsushi: the logging framework since 9.1017:49
evilsushicool so ill just install ng then17:50
pmatulisevilsushi: why?17:50
evilsushipmatulis: because its the norm and works great?17:51
pmatulisevilsushi: rsyslog works great too17:51
evilsushido you have config examples?17:51
pmatulisevilsushi: to do what?17:52
Slyboots_Mm.. Anyone know how to get wget to name files it downloads correctly18:24
Slyboots_Say I .. give it wget http://fake.com/download?12345 , Wget will save the file as download?12345 instead of filename.zip18:24
=== hikeonpast___ is now known as hikeonpast
=== hallyn is now known as hallyn_afk
genii-aroundSlyboots_: You can try something like wget -O filename.zip http://wherever/something?1234518:39
Slyboots_genii-around: Yea, but it would be preferable for wget to follow the link as it should and obtain the correct filename18:41
genii-aroundSlyboots_: It does follow the link, but the file is being named differently by some server side script.18:47
fosterdvwget http://longname -O short_name18:54
Anon275nick/starwarsfan18:57
=== Anon275 is now known as starwarsfan
=== dendrobates is now known as dendro-afk
=== Anon589 is now known as jewman
=== dendro-afk is now known as dendrobates
uvirtbotNew bug: #745930 in cloud-init (main) "cloud-init timeout waiting for metadata service on EC2" [Undecided,New] https://launchpad.net/bugs/74593019:11
semiosisSlyboots_: according to the wget man page, a new exprimental option called "--content-disposition" will do what you want19:37
Slyboots_Mmm..19:38
semiosisSlyboots_: idk what version introduced that option, i'm looking at maverick's man pages19:39
Guest98493hi room19:39
Slyboots_I'll gve it a try, see how it goes19:39
semiosisSlyboots_: cool, let us know how it goes19:40
smoserSpamapS, ping19:41
smoserbug 74593019:41
uvirtbotLaunchpad bug 745930 in cloud-init "cloud-init timeout waiting for metadata service on EC2" [Undecided,Incomplete] https://launchpad.net/bugs/74593019:41
smoserrequest upstart job help. jhunt__ would also be helpful possibly.19:41
smoserhm... that wasnt the bug that i meant to say, but your input might be useful there also. i meant to ask about bug 74594619:42
uvirtbotLaunchpad bug 745946 in cloud-init "cloud-final job did not run" [Undecided,New] https://launchpad.net/bugs/74594619:42
SpamapSsmoser: looking now19:44
SpamapSsmoser: the udev one, btw, I totally stalled out on. Its really puzzling.19:45
smoseri'm not convinced that the first bug above is not related to udev.19:46
smoserie, it would fail to find the metadata service if the job ran, but the network interface wasn't really up.19:46
SpamapSAgreed.19:46
uvirtbotNew bug: #745946 in cloud-init (main) "cloud-final job did not run" [Undecided,New] https://launchpad.net/bugs/74594619:47
SpamapSsmoser: but in that case, udev appears to have started normally19:47
SpamapSsmoser: is it possible cloud-config never stopped?19:49
Guest98493Can anyone help me to setup a web server?19:51
smoserSpamapS, i can't be sure, but i dont think its likely.19:51
smoserSpamapS, we are moving to a different test suite, and so i dont have some logs that i would have had :-(.19:51
Guest98493I have ubuntu 10.10 installed with LAMP19:53
Guest98493where to go from now?19:53
PiciGuest98493: Then you already have a webserver setup.19:53
SpamapSGuest98493: well what do you want your web server to do?19:53
* SpamapS hopes the answer is "PROFIT"19:53
Guest98493none profit19:53
Guest98493:D19:54
Guest98493just hosting myself and my buddies19:54
Guest98493I want to have hosting panel something close to cpanel19:54
Guest98493so the idea is just setup a web server and forget about it19:55
SpamapSudevd[59]: worker [66] did not accept message -1 (Connection refused), kill it19:55
SpamapSsmoser: have to figure that one out. So weird.19:55
smoserbut SpamapS regarding the 'start on' for those two jobs19:56
smoserdoes that seem sane ?19:56
SpamapStotally19:56
smosercould any race condition cause cloud-final to not start ?19:56
smoserok.19:56
SpamapSThose two things, rc and cloud-config, are decoupled from one another19:56
SpamapSso its a safe and19:56
slim_hello all, is there a sip server to use it for chat (text/audio/video) and can communicate with MS OCS server ?19:57
SpamapSone thing that I don't like about that tho, is that it will block running 'runlevel 1'19:57
SpamapSactually thats not true.. runlevel does not wait19:58
SpamapSand.. single user on a cloud instance is.. a bit silly19:58
smoseryou have a better suggestion? i need "rc.local"19:58
smoserhm...19:58
smoserhm... maybe there should be an upstart job called rc.local19:58
SpamapSsmoser: stopped rc RUNLEVEL=[2345] is about as close to rc.local as it gets19:58
smoserright.19:59
smoseri was suggesting there should be a job though19:59
smoserso that people dont have to write "stopped rc RUNLEVEL=[2345]" many times19:59
SpamapSno19:59
SpamapS;)19:59
SpamapSrc.local is still in /etc/init.d IIRC20:00
semiosisGuest98493: check out webmin for server control panel20:00
smoser59 jobs in /etc/init on the system i'm looking at20:01
smoser5 of them (almost 10%) have "stopped rc RUNLEVEL=[2345]"20:01
smoserthat would seem a reasonable thing to abstract20:01
smoserand then run rc.local via it.20:01
Guest98493semiosis: thanks20:02
SpamapSsmoser: start on boot-finished ?20:02
SpamapSor maybe 'post-boot'20:02
smoserbasically, yes, that is what rc.local starts on20:02
smoser:)20:02
SpamapSnice thing is you can just dump that in rc.conf's post-stop .. 'initctl emit post-boot'20:03
smoserbut scott will tell you that boot has never finished20:03
SpamapSpost-automatic-boot20:03
SpamapSpost-system-boot20:03
SpamapSwhatever we call it.. it means that the stuff we run at the beginning has completed.20:04
lderhi.  i am running a server on a closed network and want to deliver updates via CDROM once a week.  is there a special day of the week that security updates are released on the repo?20:04
SpamapSlder: no.20:05
SpamapSlder: they're released "as fast as possible"20:05
lderSpamapS: ok, thanks.20:06
=== skaet_ is now known as skaet_otp
RoAkSoAxkirkland: I NQA preseed + SSD rockS!!20:34
kirklandRoAkSoAx: :-)20:34
kirklandRoAkSoAx: + TestDrive for extra speedy options20:34
=== DrD_away is now known as DrDetroit
RoAkSoAxkirkland: indeed, can we pass the nqa arguments by default though? This way I can just make an option available in testdrive (In the preferences "Enable NQA" "Enter Pressed file location"), so that's even faster?20:37
kirklandRoAkSoAx: nope20:37
kirklandRoAkSoAx: however, in a few months, it'll get easier20:37
kirklandRoAkSoAx: you can actually add kernel command line arguments on the kvm line20:38
kirklandRoAkSoAx: however, you have to provide both the kernel and initrd parameters too20:38
kirklandRoAkSoAx: aliguori (upstream QEMU) has a brand new, super cool hack for qemu that will let you address the kernel/initrd in the -cdrom argument by a url style cdrom://path/to/vmlinuz20:39
kirklandRoAkSoAx: once we have that in qemu, then, yes, you will be able to add such support to TestDrive ;-)20:39
RoAkSoAxkirkland: cool!! that;s great then. I guess that for now I can have a customized ISO to "Install from Pressed" defaulting to your preseed20:39
RoAkSoAxso that I don't have to enter it manually20:40
kirklandRoAkSoAx: cool20:45
RoAkSoAxkirkland: have you though on having this included in the official ISO?20:46
RoAkSoAx(the pressed file)20:47
RoAkSoAxor a hidden option to not have to enter it manually20:47
kirklandRoAkSoAx: i've discussed the concept of having a "no-questions-asked" seed file in the /preseed directory of the Ubuntu Server before with cjwatson20:48
RoAkSoAxkirkland: that'd we great20:49
kirklandRoAkSoAx: as i recall, cjwatson didn't like the idea because a true "no questions asked" install would probably need to blow away the whole disk (as my sample preseed does)20:49
kirklandRoAkSoAx: and that can be dangerously destructive20:49
kirklandRoAkSoAx: however, I still think providing just such a file in /preseed would be extremely high value, low cost effort20:50
=== cole is now known as Guest67662
RoAkSoAxkirkland: indeed! but with proper documentation I don't think it would be dangerous because the administrator would know what they are duing if they use the preseed. And I also agree with you on having it shipped in /preseed (at least) would be awesome20:51
kirklandRoAkSoAx: moreover, i'd love to have that as an option in the F4 Modes menu of syslinux, and additionally append the "priority=critical locale=en_US" to the kernel line when selected20:51
kirklandRoAkSoAx: so I suggest your toss this out there as an Oneiric-Topic on the mailing list20:52
kirklandRoAkSoAx: perhaps CC cjwatson so that he can comment on it20:52
RoAkSoAxkirkland: cool, I will20:52
=== hallyn_afk is now known as hallyn
hallynhey dn21:07
hallynhey d'nalrick, how's it going21:07
cjwatsonkirkland: a preseed file might be one thing, but I refuse to put it in the F4 Modes menu - it's far too dangerous for exposure there21:11
cjwatsonabsolutely no way21:11
cjwatsona preseed file can have comments and such21:11
kirklandcjwatson: fair enough21:11
kirklandcjwatson: any suggestions as to avoiding the need for the locale=en_US additional parameter?21:12
kirklandcjwatson: perhaps making an assuming from the language chosen on the first language prompt in syslinux?21:12
cjwatsonjust document it in the preseed file21:13
kirklandcjwatson: and I'm pretty sure that I could avoid the priority=critical with a more complete preseed, right?21:13
cjwatsonsure, though many preseeders use priority=critical anyway21:13
cjwatsonsaves hassle21:13
cjwatsonyou could use Kickstart, that's able to set locale parameters from a file21:14
kirklandcjwatson: right, so ideally, I would just add file=/preseed/no-questions-asked.seed21:14
=== Guest67662 is now known as cole
cjwatson(with a disgusting hack)21:14
kirklandcjwatson: and if that's the case, then we assume a locale and priority=critical21:14
kirklandand "no-questions-asked" should probably be something shorter, save keystrokes21:15
cjwatsonI wish there were less focus on this and more on server team members fixing bugs in the server installer :-/21:15
cjwatsonTBPH21:15
cjwatsonhttps://help.ubuntu.com/10.10/installation-guide/i386/automatic-install.html documents using Kickstart, FWIW21:15
kirklandhallyn: howdy :-)21:16
kirklandcjwatson: thanks21:16
bastidrazori used the 64bit install CD and now i notice Linux servitude 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux ..21:18
kirklandcjwatson: TBPH, I wish we had more leverage to change the server installer in positive ways21:19
bastidrazorsince i don't have the 64bit kernel nor mroe than 3.2GB of RAM, can i safely install the -server kernel?21:19
Guest98493hi guys21:20
Guest98493I'm quite stuck trying to install shorewall following this guide http://net.tutsplus.com/tutorials/php/how-to-setup-a-dedicated-web-server-for-free/21:21
Guest98493when I type "sudo cp /usr/share/doc/shorewall-common/examples/one-interface/* /etc/shorewall/"21:21
pixel13let's try this again... ( I should've known there was an ubuntu-server channel!) ;)21:22
Guest98493it gave me cp: cannot stat ......21:22
smwGuest98493, why do you need shorwall?21:22
pixel13anyone here successfully used DRBD 8 / OCFS2 on Maverick?21:22
pixel13...specifically _with_ Pacemaker?21:22
smwGuest98493, please get a real nick21:22
Guest98493How do I get real nick?21:22
Guest98493:)21:22
RoyKGuest98493: type /nick mynick21:23
smwGuest98493, type /nick aname21:23
=== Guest98493 is now known as itsme
RoyKwhat a nick...21:23
=== itsme is now known as yessir
yessirhehhe21:23
yessirsmw: I don't know anything21:23
pixel13For those of you familiar with DRBD, I'm referring specifically to this guide:21:24
pixel13https://wiki.edubuntu.org/ClusterStack/LucidTesting#Pacemaker,%20drbd8%20and%20OCFS2%20or%20GFS221:24
smwyessir, ok, I suggest against shorewall21:24
yessirI was just trying to follow th guide21:24
yessirsmw: so I don't need shorewall at all?21:24
smwyessir, it is not worth the time.21:24
smwyessir, no21:24
pixel13I know it's for Lucid, and DRBD + OCFS2 is not a problem, that's been really easy to setup...it's just I have not been able to get Pacemaker work with O2CB for the life of me, really hoping someone on this board can help point me in the right direction21:25
smwyessir, shorewall is more of a pain than anything else when used on a local server.21:25
smwyessir, (local server == not on the internet)21:25
yessiroh21:25
yessirI'm trying to setup a web server21:25
yessircan you have a look at this guide: http://net.tutsplus.com/tutorials/php/how-to-setup-a-dedicated-web-server-for-free/21:26
smwyessir, one that will be available to others?21:26
yessirYes.21:26
smwyessir, run from home?21:26
yessirYup.21:26
smwyessir, you don't need a fw because your router will block ports for you.21:27
yessirI'm planning also to install a hosting panel21:27
yessirOh, I see.21:27
cjwatsonkirkland: I can think of lots of ways we could do really useful things for server users in the installer21:27
yessirI should the skip to step 7?21:27
smwyessir, but, just a warning, most ISPs do not allow you to host a website on port 8021:27
cjwatsonkirkland: for example, I intend to propose that I spend time rearranging the preseeding format so that LVM and RAID preseeding is much more straightforward21:28
cjwatson*that's* the sort of server installer work I want us to be doing21:28
yessirhow can I test am I allowed or not?21:28
smwof course, if you have a "business account"...21:28
pixel13hmm..no one here using DRBD for Ubuntu clustering??21:28
=== skaet_otp is now known as skaet
smwcjwatson, what?21:29
cjwatsonsmw: wasn't talking to you?21:29
pmatulispixel13: try the ubuntu-server ML21:30
pixel13thx @pmatulis, good call. I may just give that a try...21:31
kirklandcjwatson: sounds useful;  we'll have quite a bit of work around OpenStack next cycle, and we'll need a good experience installing it;  I'm hoping we explore ways to make this work well with less invasive changes required to d-i than we did with UEC21:32
cjwatsonkirkland: right, that sort of thing I also think is useful.  What I'm worried about is spinning wheels on nice-to-haves21:33
yessir"ECONNREFUSED - Connection refused by server".21:34
yessirI tried to connect to the server using Filezilla21:35
kirklandcjwatson: such as a functional no-questions-asked seed?  that's just file in rootskel, right?21:35
smwyessir, maybe shorewall is messing with you? lol21:35
pixel13@pmatulis ...dang it, seems most recent talk of OCFS2 on ubuntu-server ML is over a year ago!21:35
kirklandcjwatson: don't worry about my request for the priority/locale selections, i can see that as being more of a pain, and more of a nice-to-have21:35
pixel13how can I ask a fresh question on the ML?21:35
yessirOh no..21:36
cjwatsonkirkland: changes to several different udebs, all of which require testing, QA, bug-fixes, ongoing merges, etc.21:36
yessirCan you guide me how to uninstall it?21:36
cjwatsonpreseeding aliases live in preseed, for instance21:36
cjwatsonpreseed files live in cdimage, not rootskel21:36
smwyessir, sudo apt-get remove shorewall21:37
smw!who | yessir21:37
ubottuyessir: As you can see, this is a large channel. If you're speaking to someone in particular, please put their nickname in what you say (use !tab), or else messages get lost and it becomes confusing :)21:37
kirklandcjwatson: interesting, i had no idea;  i think i'd be satisified with shipping a single file somewhere in the server cd filesystem21:37
cjwatsonif that's all it takes, I don't care; but scope creep is a problem21:37
yessirubottu: Yes sir! :)21:37
ubottuError: I am only a bot, please don't think I'm intelligent :)21:37
cjwatsonwhat I'm trying to say isn't "I'll obstruct any useful change you want to make", but more "I wish server effort went slightly more in the direction of the giant stack of bugs and feature requests we already have from users, rather than adding new ones"21:39
SpamapScjwatson: ++21:40
cjwatsonI mean server installer effort, sorry - I don't see the rest of it21:40
SpamapSWhether intentional or not, You captured my exact stance on the server product quite well there.21:41
yessirHow do I check if I have installed OpenSSH  or not21:42
yessirmy memory did not serve me well :o21:43
SpamapSwhich ssh21:43
SpamapSssh --version might also work21:43
semiosisdpkg -l | grep ssh21:44
semiosisTMTOWTDI (tm)21:44
yessirsemiosis: dpkg: unknown option -121:45
SpamapSyessir: thats an l not a 121:46
semiosisl as in list21:46
yessirsemiosis: do you mean l letter?21:46
semiosisno i mean l as in list21:46
yessirI got it21:47
yessir:)21:47
yessirAnyone know how can I connect to my server using Filezilla via SFTP?21:51
semiosisyessir: thats actually pretty easy, if you can SSH into your server, you should be able to SFTP in as well... make sure you use SFTP (SSH File Transfer Protocol) and not the other choice FTPS (which is something different)21:53
yessirSounds too simple but yet too difficult for me21:55
yessir:(21:55
yessirHow can I make sure it's SFTP not FTPS21:55
semiosisit's the Server Type option in Filezilla, when you are setting up the connection options21:56
yessirsemiosis: Should I use HTTP/1.1 using CONNECT method or SOCKS 521:59
yessiralso which port should I use?21:59
SpamapSyessir: thats for proxy!22:00
semiosisyessir: just leave that stuff alone unless the defaults dont work22:00
semiosisyessir: you should only need hostname, server type, username and password22:00
yessirhostname is my ip, right?22:07
yessiras you could tell I'm quite noob22:07
yessir:)22:07
=== skaet is now known as skaet_afk
semiosisyessir: yes sir22:08
=== shirgall is now known as jrp-afk
uvirtbotNew bug: #746052 in samba (main) "rpcclient deldriver does not remove drivers from all architectures" [Undecided,New] https://launchpad.net/bugs/74605222:36
SpamapSkirkland: your new challenge.. do for mutt what byobu did for screen. :)22:38
kirklandSpamapS: :-)22:40
kirklandSpamapS: i spent about 6 months using sup22:41
yessirI think I messup something22:41
SpamapSseriously.. mutt is awesome but you have to read 9 pages of docs to figure out how to make it do the basics.22:41
kirklandSpamapS: i liked it, but it was buggy, and being in ruby, i didn't hack on it much22:41
kirklandSpamapS: i've heard "notmuch" is pretty cool22:41
yessirI typed "yes" and pressed entered... now I see on y letters running22:41
SpamapSI've always been an Evolution user..22:41
kirklandSpamapS: but i like your challenge :-)22:41
yessirhow can I make it stop22:41
kirklandSpamapS: i may well take a stab at that22:41
SpamapSBut I try to do mutt about once every 9 months22:41
semiosisyessir: ctrl+c22:41
yessirsemiosis: thanks22:42
yessirwhat is apt-get update22:42
semiosisyessir: software is distributed in "packages" which can be managed with apt-get, the update command (of apt-get) will refresh the list of packages available from the package repositories.  type "man apt-get" to see the manual for apt-get, it will explain more about it22:45
yessirsemiosis: 13: Permission denied22:46
yessirUnable to lock the administration directory ......, are you root?22:46
KB1JWQyessir: sudo that.22:47
yessirKB1JWQ: Can you give me presise command for that22:47
yessir:)22:47
KB1JWQyessir: Have you read the fine documentation? :-)22:50
yessirKB1JWQ: I have not22:51
yessir*shame on me*22:52
yessirgetting quite late now.. I should be in bed....22:52
yessirThanks for everyone that helped me this far22:52
semiosisyw22:52
jibelhi all, there is only 1 mandatory testcase left for natty beta 1 iso testing : Install (default + RAID1) http://iso.qa.ubuntu.com/qatracker/result/5241/286 , any volunteer ?22:58
hggdhDaviey: if you are there... Dan seems to have found the issue23:02
hggdhwhich is sort of weird23:02
=== skaet_afk is now known as skaet
SpamapSkirkland: hmmm.. notmuch seems pretty good23:15
jibelhggdh, smoser, are you testing ubuntu server ec2 images ?23:19
skaethggdh, around?23:19
jibel:-)23:19
skaet:)23:19
hggdhskaet, jibel: sorry, got involved in raid1 tests and my critically unloved bug23:20
skaethggdh,  we're just wondering if the ec2 tests are close to be finished off?23:23
osmosishow do I stop a service from starting at boot?23:29
hggdhskaet: I did not have time yet to look at them, but Jenkins ran a series of tests. I will collate them now to the tracker23:30
semiosisosmosis: which service?23:30
skaethggdh,  cool.    they're the biggest unknown at this point in time.23:30
osmosisany service23:31
* skaet will be glad when jenkins talks to iso tracker directly ;)23:31
* hggdh also23:31
skaetjibel, ^^23:31
osmosismy friend is telling me that ubuntu has no chkconfig and its problematic.23:31
hggdhskaet: I intend to have at least one session on UDS on this23:31
skaethggdh,  please sign me up.  :)23:31
hggdhskaet: roger wilco23:32
ejvhi guys, partitioning new disks to be assembled into a new mdadm software raid, because the disks are 2TB, 4k format, I used GPT this time around. Is setting: `parted /dev/<device> set <partition number> raid on` akin to setting fd for Linux raid autodetect? or are they fundamentally different? should I not set any 'flags' at all? thank you! :)23:37
osmosissemiosis, ^23:39
cjwatsonejv: kind of similar, I guess; it makes the GUID of that partition be one that means "this is a RAID physical volume"23:44
ejvcjwatson: ok23:45
cjwatsonyou should set that flag, yes23:45
ejvheheh ok, i want to be able to (in the future) call `mdadm --auto-detect` and have it pick up these GPT partitions and roll them together back into the array23:45
osmosisim being told that upstart is inferior to sysV because it doesnt factor in USR1, USR2 signals that some daemons use for log rotation and graceful reloading23:49
SpamapSosmosis: in that case, sysv's init daemon stays out of that game entirely. The scripts implement those signals.23:50
SpamapSosmosis: I'd say that in this regard, upstart is deficient when compared to LSB-init ..not sysv23:50
cjwatsonwouldn't you send those signals directly to the daemon anyway?23:51
SpamapSosmosis: anyway, custom reload actions is an open bug in upstart.23:51
cjwatsonoh, I guess you mean how reload is hardcoded to be SIGHUP23:51
SpamapScjwatson: the init script allowed aggregating all of the things relevant to that daemon in one place23:51
cjwatsonyeah.  it wouldn't be hard to implement custom reload actions, I suspect23:52
SpamapSit was sort of the operational clearing house for the daemon.. upstart is more "do it our way or don't do it"23:52
SpamapS'tis an old bug .. bug 9487323:52
uvirtbotLaunchpad bug 94873 in upstart "init: support custom actions" [Wishlist,Triaged] https://launchpad.net/bugs/9487323:52
SpamapSMost daemons that implement such things have their own control program too.... apachectl .. mysqladmin.. pg_ctl ..23:53
osmosisgood info. thanks23:55

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