/srv/irclogs.ubuntu.com/2009/03/25/#ubuntu-server.txt

uvirtbotNew bug: #347881 in dovecot (main) "dovecot-imapd incompatible with ntpdate use" [Undecided,Confirmed] https://launchpad.net/bugs/34788100:20
=== ScottK2 is now known as ScottK
Alysumhi Id like some help with a crontab line01:26
Alysumfor some reason this isnt every run:   */1 * * * * [`/bin/date +%d` -eq '26'] && /home/tom/scripts/script.php01:27
Alysumnot sure if there is a mistake in the date command01:27
maxbAlysum: % has special meaning in a crontab line01:27
maxbby the way, the /1 is redundant01:28
Alysumeven with the ` ` ?01:28
Alysumi know Im testing it every min01:28
nat2610what are yiy trying to do with your date ?01:28
nat2610s/yiy/you01:28
giovaniAlysum: * = every minute01:28
AlysumII know01:28
maxbAlysum: escape the % as \%01:28
Alysumok will try01:29
maxbthe ` ` don't matter - they are processed by the shell - the % processing happens by cron itself before the string ever gets executed01:29
nat2610but that doesn't make any sense executing the result of date01:29
Alysumwhat does % do in a cron?01:30
Alysumhmm it still didnt work01:31
Alysum* * * * * [`/bin/date +\%d` -eq '25'] && /home/tom/scripts/script.php01:31
Alysumthis is syslog  /USR/SBIN/CRON[17874]: (tom) CMD ([`/bin/date +%d` -eq '25'] && /home/tom/scripts/script.php)01:31
maxbAlysum: spaces are mandatory inside [ ]01:32
Alysumyou mean after [ and before ] ?01:32
maxbyes01:33
Alysumok it worked01:33
Alysumthanks mate01:33
maxbbut why don't you just write:   * * 1-24 * * /home/tom/scripts/script.php01:33
Alysumno I'm testing it cause Im going to run it on the last day of each month01:33
maxbah01:34
Alysumyeah it will be like this01:37
Alysum59 23 * * * [ `/bin/date -d tomorrow +\%d` -eq '01' ] && /home/tom/scripts/script.php01:37
Alysumthe first day %d is 01 not 1 right ?01:37
Sam-I-Amhowdy01:42
maxbAlysum: -eq does a numeric comparison anyway01:50
Alysumok01:50
uvirtbotNew bug: #348283 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 won't install when /tmp mounted 'noexec'" [Undecided,New] https://launchpad.net/bugs/34828304:45
oh_noesI have a swap entry in fstab05:25
oh_noeswhy isnt my server using it?05:25
oh_noesHow do I check?  top and free -m shows 0kb/0kb for swap05:25
bitsbamhey all05:32
=== Noah0504 is now known as Noah0504|away
twboh_noes: cat /proc/swaps05:46
twboh_noes: see also swapon -a and swapoff -a05:46
twboh_noes: does fstab identify the swap by UUID, or device?05:46
bitsbami am having trouble with slave replication on MySQL, i set it up and it said slave io is not running, but slave sql is.05:50
bitsbamhow do i know if the slave is replicating?05:50
oh_noesit identifies the uuid.  I think I found the problem, the uuid wasnt listed in /dev/disk/by-uuid so on reboot it didnt mount any swap05:53
twboh_noes: normally it should05:56
twboh_noes: unless you somehow boot without udev05:56
twbe.g. I have05:56
twb319998ce-e734-4b5d-abb7-cceeef72a62e -> ../../mapper/lvm-swap05:56
twb...in that dir05:56
oh_noesyeah, I manually added mine in.  not sure why it wasnt in there ... fixed now06:00
twboh_noes: um, you are not supposed to put files in /dev/disk/by-uuid06:09
twboh_noes: they'll disappear on reboot anyway; it's udev's job to manage that dir.06:09
twbIf I were you, I'd swapoff, then use mkswap to reinitialize it with a specific UUID, and then match that UUID in /etc/fstab.06:09
twbThen reboot and see if udev can see the UUID06:10
oh_noesoh, ok06:11
oh_noesthanks06:11
RaNdYHello, how to see network-address to be conf in named.conf.local (bind9)?06:25
fr500what?06:26
fr500named.conf.local is the zone configuration file06:27
RaNdYzone definition for reverse DNS sir?06:28
RaNdYrev.0.168.192.in-addr.arpa06:28
RaNdYwhere to see "network-address" to replace 0.168.192.06:29
^law^hello guys ;)06:48
simplexioReceived disconnect: 2: server_input_channel_req: unknown channel -106:48
^law^oops sorry 4got to change nick06:48
simplexiointresting error. i have newer seen it before. /newer as in last 8 years when i have used ssh daily )06:49
=== ^law^ is now known as _law_
_law_guys , i have no-GUI for my ubuntu server, but now i want to  add minimal GUI for it , i wan to have   file manager, package manager n web browser, so what should i do ?06:53
_law_XD06:55
simplexio_law_: do you want use X on it or X app from it ?06:57
_law_hmm wat is the best?06:59
_law_haha i'm very new in linux world07:00
simplexio_law_: and you get somekind desktop installong ubuntu-desktop ( i think its full) off course you could do it old fashion way and try install only Xorg + xterm + browser07:00
simplexio_law_: when i need to run some "local" hd stuff in my server i start nautilus or similiar gui filemanager from X tunnel to my desktop which is linux too07:00
_law_my ubuntuserver is just fresh installed and no GUI07:01
simplexio_law_: console is quite good for everything server stuff :)07:01
_law_yaya i agree07:02
rdw200169_law_, i agree, also07:02
_law_so i just want my server start in console mode by default07:02
rdw200169_law_, have you considered something web-based, like ebox or webmin?07:02
_law_n if i need to use gui then i just calling the applicaion i need07:03
rdw200169_law_, there are 3 applications that run in the terminal that do what you're looking for, aptitude, mc, and w3c07:03
simplexio_law_: im not 100% how ubuntu installs  Xorg package, but for minimal X you could try install Xorg and xterm07:03
rdw200169_law_, mc is 'midnight commander', w3c is the browser that comes with a standard installation (like lynx), and aptitude is a very good front end for the package manager that runs in the terminal07:04
simplexio_law_: and if you have another desktop linux or windows with cygwin you can do stuff like " ssh -X me@server ; firefox " and firefox actually run in server but windows comes to your desktop07:04
simplexiothat i s what i do. i run rhytmbox from my home fileserver etc.. and just keep gui on my desktop07:05
rdw200169_law_, many people would (including myself) strongly suggest you not install Xorg for security reasons07:05
_law_u now my point is i want my server start in console mode by default. then .i.e. if i need to browse internet i just need to type firefosx n the firefox gui shows up07:05
rdw200169_law_, especially if you plan on hooking the server up to the internet (i.e. a public-type server)07:05
simplexioagree.. if you want use X programs use X tunneling instead07:06
_law_x tunneling? how to do that?07:06
_law_i have very lack of knowledge XD07:07
simplexiobesides. link2 is actually quite good browser. whjo needs pictures :) had to use it yesterday when for somereason http proxy started acting, so ssh to my server and link207:07
simplexio_law_: do you have 2 linux machines ?07:07
_law_yaya i have07:07
_law_ubuntu server that hasi no x07:08
simplexio_law_: then do following, from desktop : ssh -X user@server07:08
_law_n centos sever that has gui07:08
simplexio_law_: server dosent need it07:08
simplexio_law_: but you need that openssh-server in server07:08
rdw200169_law_, yes, openssh-server is the 'new07:09
rdw200169_law_, ' telnet07:09
simplexioactually you should newer use telnet to login systems. it good tool to debug stuff like mailserver etc.. but newer transfer anything importand over it07:10
simplexiothose days.. even i could hack into other peoples accounts when we had hubs and telent server in school07:11
_law_i just execute ssh -X user@server from terminal07:11
rdw200169its even strongly suggested not to even install telnet...07:11
_law_then?07:12
simplexiothen type xterm07:12
_law_but my ubuntuserver still don't has it07:12
simplexioif it gives error then type apt-get install xterm07:12
_law_hmm i'm confuse now07:13
simplexioplease explain07:13
_law_i wanna know07:13
_law_what should i install in my ubuntu server07:13
_law_xorg or xterm?07:13
_law_n wat r those?07:14
simplexioonly xterm07:14
_law_then wat is xterm?07:14
simplexioit shouldnt offer you xorg-server, only xterm package07:14
_law_wat xterm usage?07:15
simplexio_law_: ?? its terminal program for x, and very light weight07:16
_law_ooo07:16
_law_ok then i'm install it 1st07:16
_law_wait :)07:16
simplexiodouble check that it dosent wnat to install alot stuff07:17
simplexioit while when i installed xterm to server so cant rememeber all07:17
_law_ok now i'm installing it07:24
_law_my internet very slow07:25
simplexioits sloow07:25
_law_ya my internet07:25
simplexiois it ready ?07:25
_law_not yet07:25
_law_XD07:25
simplexioit isnt that big, you connection is sloowww07:26
simplexiobut when its ready you just type xterm ... hard aint ?07:26
_law_ok07:26
_law_simplexio, yesterday i read on the net that wecan use PuTTY 4 remote via ssh from windows07:27
simplexiothen xterm should start to your centos desktop, all command that you run from that xterm go straight to server... now if you need run nautilus in server, then just ssh -X user@server and start nautilus, or linuxdcpp, or rhytmbox, or transmission07:27
_law_then i installed it07:27
simplexioumm.. .07:28
_law_ok but i need to install nautilus 1st rite07:28
_law_u ever used PuTTy?07:29
simplexiowhen i used windows on desktop07:29
simplexioand now, when i ssh to home server from here07:29
_law_hmm i just installed it n when i run it it's defaultly use my windows username to connect to  my linuxbox07:30
_law_but on the web i c that we can type te username we want to use07:30
_law_the username07:30
simplexiohavent used latest putty, i think this versio is older one.. you could try user@server syntax07:30
simplexioif i recall right, putty supports that07:31
simplexiobit now to smoke07:31
_law_where to type that line?07:31
_law_i mean where to type user@server07:33
_law_?07:35
simplexioin putty to connection address07:38
_law_oh07:38
_law_ok07:38
llragsllhow to use nis netgroup for user authntication?07:45
llragsllI mean where do I specify to use the netgroups?07:45
llragsllSome where in PAM?07:46
llragslli wasnt to do this for telnet sessions..07:46
simplexionewer done it , but there is "good" howtos in google, i recal lrading one or two07:47
llragsllwell most of them suggest using /etc/passwd file...but tht is i the compt mode...07:48
owhGreetings. In the range of silly questions. I have a hardy server and a google apps domain. I want to pop email from 24 accounts and store them in a user account on the server. Is there a better way that enumerating 24 accounts in /etc/fetchmailrc ?08:11
owhs/that/than/08:11
_rubenowh: unless gmail supports bsmtp (which i dont think it does), i'd say that's about the only solution you got .. (with bsmtp gmail would push the mail to you)08:25
owh_ruben: Yeah, I don't think they'd do that :-)  If the machines were in different domains I could just forward the mail from within gmail, but that ain't the case :( Ah well, more copies of passwords on hard-disks :)08:26
owhs/:)/:(/08:28
ttxsommer: please ping me when you're around08:36
krautmoin08:42
owhkirkland: Yes, you are right, my brain is going to mush.08:56
owhkirkland: It was sispoty :)08:56
owh+t08:57
=== mdz_ is now known as mdz
BUGabundoanyone can recommend me an app to act as a SIP/VoIP server?11:55
kworkasterisk11:58
kworkor freepbx11:59
kworkboth have web guys aswell11:59
BUGabundokwork: thanks. I think asterisk may be a bit too much for a inicial tryout12:02
BUGabundobut I'll install it on a VB server and test12:03
kworkquite fancy device is audiocodes12:03
kworkit has asterisk on oen board aswell bunch of E1's12:03
BUGabundoboss wants to connect local branch and another office via VoIP12:05
BUGabundoalready started talking to VoIP ISPs12:05
BUGabundoto know what I've available12:05
BUGabundoso I can go from the simplest solution (webphones/ip phones)12:06
BUGabundoto more complext server based12:06
kworkBUGabundo,  check out audiocodes devices they are nice voip gateways, thou they are more to VOIP ISPs12:10
kworkmore inteneted to isps even12:10
BUGabundoyeah12:11
BUGabundoI just need 4 local and one remote12:11
sommerttx: yo12:30
ttxsommer: want to discuss likewise-open 5 now ?12:30
sommerttx: sure12:31
ttxsommer: so I'm not sure how this should appear... but it seems interesting to at least mention likewise-open5 on those pages12:31
ttxeven if the main/supported alternative is still likewise-open (4.1)12:32
ttxsommer: we expect likewise-open5 to work better in most scenarios12:32
ttxsommer: installing likewise-open5 will uninstall likewise-open. So it will make you leave any joined domain.12:33
sommerttx: is the interface for 5  different from 4?12:33
ttxsommer: Instructions for one work for the other. Same CLI/GUI interfaces12:33
sommerttx: that's cool, should be pretty simple12:34
sommerttx: I'll add information about the upgrade issue from 4 to 5 and note that 5 should work better12:34
ttxsommer: sounds good, ping me when you have something to review.12:35
sommerttx: sure will do12:36
ttxsommer: I'm available for all questions in the 4 next hours.12:37
orudiehi, can someone link to LAMP installation guide ?13:12
\shspt-get install apache2 libapache2-mod-php5 php5-mysql mysql-server13:13
=== Noah0504|away is now known as Noah0504
\shorudie: and if you need more infos...e.g. howtoforge is a good catch...http://www.howtoforge.com/ubuntu_lamp_for_newbies e.g.13:15
orudieis there a dpkg command for this ?13:15
\shorudie: sudo apt-get install apache2 libapache2-mod-php5 php5-mysql mysql-server as mentioned before13:16
orudiei installed 8.10 server on a VPS account, and there is no /etc/hostname file, is this normal ?13:19
sommerttx: here's a diff of the likewise-open5 content: http://paste.ubuntu.com/137489/13:19
ttxsommer: it's not really in universe because upgrading means rejoining. It's a separate package because upgrading would have meant rejoining... and we can't have both versions in main at the same time.13:22
sommerah13:22
* sommer adjusting13:22
mdzkirkland: I'm seeing an issue with KVM where after rebooting, the CD-ROM no longer works (boot fails).  Closing KVM and then opening it again gets it working.  have you seen this?13:23
mdzthe common scenario is an Ubuntu installation.  I boot from the CD, do the install, reboot, and it doesn't come up again13:24
ttxmdz: I noted that too. it's not a regression though, the behavior was the same for intrepid.13:25
mdzttx: yes, it seems familiar, though I thought it started working again at some point13:25
ttxmdz: I was wondering if it wasn't obeying some virtual ejection at the end of the install.13:26
ttxsince you reboot rather than restart the VM completely.13:27
mdzttx: that sounds like a likely hypothesis13:27
Davieywell it is an upstream bug IMO, that if the cd is set to the primary boot device, then the VM has it own rules on what to boot from.. ignores the cd post virtual-eject13:28
ttxsommer: maybe add something about replacing one with the other13:28
sommerttx: version two: http://paste.ubuntu.com/137496/13:29
orudiei installed 8.10 server on a VPS account, and there is no /etc/hostname file, is this normal ?13:30
Davieyorudie: no13:32
Davieyorudie: How did you install?  From a debootstrap it is :)13:32
orudieDaviey, there is an option which distro to deploy, among many i picked ubuntu 8.10 server13:33
Davieyorudie: who is the provider?13:33
orudielinode13:33
Daviey*shrug*13:33
Davieythey've borked it :).. Even so, you can create one :)13:33
orudiei'm talking to them right now, there response was Without the /etc/hostname file, DHCP assigns the hostname.13:33
* ttx proposes an alternate version13:34
Davieyorudie: Please tell me they don't ship DHCP for IP's!13:34
orudiei dont know that Daviey13:34
orudiebut yeah, my goal is to host multiple drupal sites on this host13:35
orudiehave to configure everything13:35
orudiei'm used to setting a server up for just one domain , but not multiple13:36
ttxsommer: see http://paste.ubuntu.com/137500/ -- I removed the justification for Universe which isn't really useful and added an 4.1->5.0 upgrade warning13:36
Davieyorudie: vhosts are your friend!13:36
orudiethats why i'm kinda concerned about this from the very start13:36
orudievhosts?13:37
Davieyapache virtual hosts.. allows you to have many domains one one IP address13:37
Davieyon one*13:37
orudieoooh, yeah thats right i started reading about this last night13:37
ttxsommer: I also removed the "For most scenarios..." since it should work at least as well in all cases13:37
Davieyorudie: (incompatiable with SSL)13:38
ttxsommer: otherwise it's a bug :)13:38
=== Noah0504 is now known as Noah0504|away
orudieso /etc/hosts will have multple hosts line hostname.example1.com , hostname.exmplae2.com etc. ?13:41
orudielike*13:41
=== aZaFred_ is now known as aZaFred
sommerttx: that makes sense... I'll commit it13:46
sommerttx: thanks13:46
ttxsommer: you're welcome :) I'll try to review the euca/opennebula chapters today.13:47
=== Noah0504|away is now known as Noah0504
sommerttx: that would be awesome13:48
sommerttx: I think there are some issues with openebula networking, so you might want to keep an eye out for that... I'm planning on working on it this morning as well13:53
=== Noah0504 is now known as Noah0504|away
Sam-I-Amanyone here skilled in bug reporting?14:13
Sam-I-Amfound a bug in an ubuntu package which has been reported already for the equivalent debian-unstable package14:14
Sam-I-Amyet i'm not sure if the ubuntu folks are aware of it or not14:14
Sam-I-Amfigured i might just report it and link to the debian bug14:14
Sam-I-Ammight ask in ubuntu-bugs now that i think of it...14:15
rst-uanicSam-I-Am: you could post it on the launchpad.net14:15
Sam-I-Amyeah14:15
Sam-I-Ambugs.launchpad.net?14:15
rst-uanicSam-I-Am: yes14:16
rst-uanichttps://bugs.launchpad.net/bugs/+filebug14:16
Sam-I-Amyeah thought so14:16
Sam-I-Amit'll just be a copy of the debian package bug14:16
Sam-I-Ami'll reference it...14:16
Sam-I-Amalready updated another db-4.7 bug there a few mins ago14:17
ttxSam-I-Am: you can mark your bug as "also affecting" the Debian distribution of the same package.14:17
ttxthat way the bug watch allows us to track progress on the debian bug.14:17
Sam-I-Amcool, i'll do that14:18
Sam-I-Amnever wound up in this situation before heh14:18
ttxsommer: in the Eucalyptus page: Cloud Computing environment will consist of three machines [...] One Node Controller: [...] Two Compute Nodes: runs the Node Controller component of Eucalyptus --- There are Node controllers all over. The first machine should probably not be called "Node controller" but something like "Management node" ?14:23
ttxor the second one should be renamed to "eucalyptus-nc"14:24
sommerttx: that makes sense... I am still a little fuzzy on how all the pieces fit together14:28
ttxwell, it's the unfortunate naming of eucalyptus-nc. Node controller has a master sense (I control nodes) and a slave sense (I'm a slave and I need to run a node controller software to be controlled)14:29
ttxSo the "node controller" requires node-controller-packages to be deployed on compute nodes.14:30
ttxsommer: so the text in the doc is correct, but confusing.14:30
ttxThat's why I would refer to "Node controller" for the function... and "eucalyptus-nc" for the package required on nodes14:31
sommerttx: I see, I'll rename it to Management Node... that does seem more consice14:31
ttxsommer: might be simpler to just s/runs the Node Controller component of Eucalyptus/runs the eucalyptus-nc component/14:32
ttxsince "Node controller" is used everywhere else14:32
ttxalso you use "Compute nodes" and "Cluster nodes" interchangeably. Pick one :)14:33
Sam-I-Ammmm, bug posted and cross-referenced14:33
ttxsommer: I'd choose "Compute nodes".14:33
kirklandmdz: you want to boot from the cdrom on reboot?14:33
sommerttx: heh, sure14:33
kirklandmdz: what does your boot order say?14:33
ttxkirkland: the boot order still shows "CDROM". But reboot fails with "No boot device" while the CDROM ISO file is still "mounted" in virt-manager14:35
kirklandmdz: are you seeing the same thing as ttx? is this in virt-manager?14:37
mdzkirkland: I didn't check the boot order, but that sounds like what I'm seeing14:37
mdzkirkland: I'm using plain kvm14:37
ttxkirkland: I'm not sure it's a bug, tbh. The behavior looks like what you would get with a slot-in CDROM drive (CD ejected and won't be swallowed back at reboot)14:37
kirklandmdz: so normally, i start with something like 'kvm -hda foo.img -cdrom jaunty-server-amd64.img'14:39
kirklandmdz: do an installation... install completes14:39
kirklandmdz: it tells me to reboot, i warm reboot the kvm14:40
kirklandmdz: at this reboot, the boot order is handled 'properly', by booting from my -hda14:40
mdzkirkland: that's exactly what I'm doing, and it fails14:40
mdzkirkland: when you say "i warm reboot the kvm", do you just let the normal shutdown sequence occur (including ejecting the CD) or something else?14:41
kirklandmdz: yes, i'm testing now14:41
kirklandmdz: i've been doing exactly ^^^ that just about every day this cycle, and it's never failed me14:41
mdzkirkland: that == normal shutdown sequence, or something else?14:42
kirklandmdz: normal shutdown sequence14:42
kirklandmdz: server or desktop iso?14:42
mdzkirkland: desktop14:44
mdzmaybe they use different methods of ejecting the CD, but it seems unlikely14:44
* kirkland is installing jaunty-desktop into a kvm ....14:46
Ethosguys i've copied over an installation to another machine (different network card) and it won't detect it14:51
Ethosis there any way I can re-set up the network card on the new machine?14:51
Ethosusing 8.1014:51
kirklandmdz: okay, i just did the following without reproducing the problem14:58
kirklandmdz: downloaded jaunty-desktop-amd64.iso -> 4a9d522d06f118fa72dbd613a02ca43e14:59
kirklandmdz: kvm-img create -f qcow2 jaunty-desktop.img 4G15:00
kirklandmdz: kvm -m 1024 -hda jaunty-desktop.img -cdrom ../iso/jaunty-desktop-amd64.iso15:00
kirklandmdz: completed an install, pressed the "reboot now" button15:00
kirklandmdz: i did have to hit "enter" one time more than i remember in the vm, something about ejecting the cd15:01
kirklandmdz: and then my newly installed system came up and booted fine15:01
mdzkirkland: weird15:01
mdzkirkland: kvm command line?15:01
kirklandmdz: kirkland@t61p:/local/virt/img$ kvm -m 1024 -hda jaunty-desktop.img -cdrom ../iso/jaunty-desktop-amd64.iso15:01
kirklandmdz: okay, i'm going to ask you something strange ....15:01
kirklandmdz: what's your cpu running at?15:02
kirklandmdz: ie, freq scaling?15:02
mdzkirkland: yes, I use frequency scaling, it typically idles at 800MHz15:02
kirklandmdz: apw and identified earlier this morning some weird behavior with degraded md raid that changes based on the host's cpu freq15:03
kirklandmdz: i've been trying to chase that issue down for several days15:03
kirklandmdz: possibly unrelated, but ondemand has introduced non-deterministic behavior in that bug at least15:03
Coff3if trying to get kerberos logins to work but failed, now i cant login normal.. what to do ? still have one root shell to that computer15:17
Coff3common-account  :)15:18
mdzkirkland: interesting15:42
mdzttx: are you using cpufreq as well?15:42
ttxmdz: yes15:43
ttxkirkland: btw couldn't reproduce my VM freeze with a fixed frequency... Doesn't really prove anything, but...15:44
kirklandttx: good to know15:45
kirklandmdz: have you experienced this issue more than once?15:51
mdzkirkland: yes15:51
mdzkirkland: every time so far tday15:52
mdztoday15:52
kirklandmdz: can you post a screenshot of the error you see?15:53
mdzkirkland: yes15:56
Ethosanyone know of a good guide to setup a connection to a mssql server?15:57
Ethosall the guides I've found either don't work, or are ... shit heh15:57
mdzkirkland: http://people.ubuntu.com/~mdz/temp/Screenshot-kvm-cd-boot-failed.png16:00
mdzkirkland: notably, kvm still has the file open16:00
mdzlrwx------ 1 mdz mdz 64 2009-03-25 16:00 /proc/22847/fd/8 -> /home/mdz/iso/jaunty-desktop-i386.img16:00
kirklandmdz: i'm testing again16:04
orudiehow do i install LAMP on a brand new ubuntu 8.10 server ?16:08
Ethossudo taskel16:09
rst-uanicorudie: start tasksel and choose LAMP there16:09
kirklandmdz: one more question ... is today the first time you've noticed this?  how recently can you say that you knew this to work previously?16:10
Tuxisthi i have problem with nfs, pam and kerberos16:17
Tuxistwhen i mount my nfs volume i can't access the pam ldap account16:18
Tuxisthttp://pastebin.com/m49c16c9416:21
ScottKleonel: Debian just uploaded clamav (it went to New of course) so what's in Git now ought to be good.16:21
kirklandmdz: okay, I'm clicking "Restart Now" after installation16:22
kirklandmdz: and i'm watching my iso in the host with lsof16:22
leonelScottK  I was getting to that point .. :)16:23
ScottKleonel: Excellent.  I'm ready for a package any second now.16:23
kirklandmdz: my host dropped the open file to the iso16:23
leonelthe version I tested  got me we working with no results ...16:23
kirklandmdz: and now my guest has me waiting to hit enter to remove the disk and close the tray16:24
leonelscottK I'll pull it16:24
ScottKExcellent.16:24
kirklandmdz: it hit enter, and i boot into my newly installed guest image16:24
kirklandmdz: curious, are you using the kvm in our kernel, or the kvm built from kvm-source?16:24
kirklandmdz: i just uninstalled my kvm-source dkms built kvm module, and i'm rebooting now16:32
kirklandmdz: hrm, still can't reproduce, even with the stock kvm in linux-image16:47
=== Noah0504|away is now known as Noah0504
uvirtbotNew bug: #348532 in mysql-dfsg-5.0 (main) "mysql apparmor profile does not allow access to /var/log/mysql.*" [Medium,Triaged] https://launchpad.net/bugs/34853217:01
ScottKleonel: The whole package is published at http://people.debian.org/~mt/clamav/17:09
ScottKleonel: Unless you're really close to uploading, I'll grab that at put it in the PPA?17:09
leonelscottK  I guess that package would be better  packaged ..17:10
ScottKI would generally assume so.17:10
leonelscottK so the plan is to  get that package    port it to jaunty  and  ... all the rdepends?17:10
ScottKleonel: First we go to the PPA.  If we get the rdepends working, then we ask for a freeze exception.17:11
ScottKI assume if we have working rdepends we'll get it.17:11
leonelok17:11
leonelgetting that package  to my jaunty   and  latter today start the show ..17:12
mdzkirkland: I'm using all stock jaunty stuff17:12
kirklandmdz: understood17:13
kirklandmdz: i've been trying -amd6417:13
kirklandmdz: i see you're testing i38617:13
kirklandmdz: i'll download that17:13
jwstolk1hi. I need the "send" program on my server (for the wake-on-lan tool), and installed both of the packages where it was supposed to be in. but I still have no "send" (but I do have the man page for it).  and "send" is a difficult thing to google for....17:13
kirklandjwstolk1: sudo apt-get install wakeonlan17:14
jwstolk1done17:14
kirklandjwstolk1: that doesn't get you what you need for WoL?17:14
jwstolk1I get "send : Operation not permitted at /usr/bin/wakeonlan line 126"17:14
jwstolk1when trying to send the magic packet17:14
kirklandjwstolk1: which version of ubuntu?17:15
kirklandjwstolk1: you might need "sudo wakeonlan" ?17:15
jwstolk1i'm already root :)  (ubuntu-server 8.10)17:15
orudierst-uanic, so the command is just tasksel ?17:15
jwstolk1kirkland: the package manager tells me send is not installed, and should be in  mailutils-mh and nmh. I installed those, but still have no "send"17:17
kirklandjwstolk1: see line 126 of /usr/bin/wakeonlan17:17
kirkland        send(S, $pkt, 0, $them) or die "send : $!";17:17
kirklandsend is not a command17:17
kirklandit's a perl function17:17
jwstolk1ok17:17
kirklandand it's telling you that you don't have permission to send on that socket17:18
orudieif i see the error unable to resolve host njnode (njnode is the hostname) , how can i fix it ?17:19
kirklandmdz: i didn't see a response from you on one other question ... if this is something that recently regressed, or if you've been seeing this for a while?17:20
mdzkirkland: I have definitely seen it before, but I don't use kvm every week, so I'm not sure I would notice if it has come and gone17:21
ScottKleonel and nxvl: Clamav 0.95 is uploaded to the PPA.17:23
mathiazsommer: hi - I've been talking with ara about organizing a ubuntu-server testing day17:29
mathiazsommer: what about picking up a couple of sections of the jaunty server guide and making the instructions given there are still working for jaunty?17:30
sommermathiaz: okay, but SF is in like 4 hours17:31
mathiazsommer: hm.. ok17:33
mathiazsommer: the testing day could focus on the instructions.17:33
ScottKcemc: ^^^ (about 3 lines up) - We have a clamav package so we can start working on rdepends.17:33
mathiazsommer: like the command to be used.17:33
ScottK(or maybe 6)17:34
mathiazsommer: the commands (verbatim content) aren't translated17:34
mathiazsommer: so we could still change them after StringFreeze?17:34
sommermathiaz: possibly, it's been discouraged in the past... mdke likes to focus on translations and packaging after SF17:35
mathiazsommer: ok.17:35
sommermathiaz: if it's just command or config file issues, and there are bugs it probably won't be a big deal17:35
mathiazsommer: right. I think it would still be valuable input.17:36
mathiazsommer: at least we'd know what would be wrong...17:36
sommermathiaz: sure, we can always apply the changes for karmic17:36
sommermathiaz: do you have a list of sections in mind?17:37
mathiazsommer: not really.17:37
mathiazsommer: It's just an idea for now. Is doc.ubuntu.com up-to-date?17:37
mathiazsommer: and for the next release cycle, we should organize such a testing day ealier in the release cycle :)17:38
sommermathiaz: yeppers, and the list of "Needs Review" is here: https://wiki.ubuntu.com/JauntyServerGuide17:38
sommermathiaz: ya a testing day with serverguide stuff would be awesome17:38
mathiazsommer: but it would have to be done *after* FeatureFreeze17:39
mathiazsommer: but *before* DocumentationStringFreeze17:39
sommermathiaz: that would probably be the best time17:39
leonelscottK  Thanks  Here  just builded the package from http://people.debian.org/~mt/clamav/17:40
ScottKleonel: It's also built in the PPA.  It still lacks (from our perspective) the apparmor profile, but should be perfectly suitable for testing.17:40
leonelscottK  the  wiki will be used  for tracking advances in rdepends ?17:41
ScottKleonel: Yes.17:42
ScottKnxvl and cemc:  ^^^17:42
=== _jmedina is now known as jmedina
nxvlhere17:43
ScottKnxvl: Do you think you could grab the libclamav rdepends listed on the wiki (less klamav) and upload them to the PPA?17:44
ScottKThen we'll have build failure logs ....17:44
nxvlok17:46
=== hessml|away is now known as hessml|away|away
ScottKleonel: Can you join #debian-clamav on OFTC.  We can discuss it there.18:06
jmedinawhat is OFTC?18:07
Deepsirc.oftc.net:666718:07
jmedinathanks18:09
Kaushalhi18:18
Kaushalanybody here using jboss AS ?18:19
Ethosguys i've compiled this ;php5-mssql_5.1.6-1ubuntu2.1_i386.deb18:27
Ethosanyone know how I can now use it to connect to mssql from ubuntu server?18:28
Sam-I-Amits probably documented in the package for php18:32
Sam-I-Amwhich is what you built...18:33
Sam-I-Amthe docs should give you the functions and maybe some examples18:33
kirklandmdz: tested the same procedure on i386 guest -- no problem there either18:38
kirklandmdz: what format are your disk images?  qcow2?18:39
mdzkirkland: default for kvm-img create18:39
* kirkland goes check what that is...18:39
kirklandmdz: fmt=raw18:40
kirklandmdz: i'll test with that now18:40
mdzkirkland: maybe I should just open a bug report about this and move on18:40
mdzit's not blocking my work or anything18:40
kirklandmdz: sure, whatever you'd prefer18:40
kirklandmdz: i certainly can't reproduce it for all i've tried18:41
mdzthat's very puzzling18:41
theunixgeekI wish 2.4 Mbps were a standard download speed :P18:46
uvirtbotNew bug: #348454 in nut (universe) "PDU support not working" [Medium,In progress] https://launchpad.net/bugs/34845418:46
theunixgeekit's so nice watching an Ubuntu Server disk image being downloaded in under  6 minutes (granted, it's from a local computer, but it's still nice)18:47
=== LoveGuru is now known as Remo
=== Remo is now known as LoveGuru
geniiDoes anyone know if Adaptec SAS-51245  works well under ubuntu? Official support is for SUSE, SCO, UnixWare, Sun Solaris, FreeBSD and VMWare ESX19:04
alberticohi... does anybody knows a way to modify the tomcat startup parameters?19:05
theunixgeekalbertico: tried here? http://tomcat.apache.org/tomcat-3.3-doc/tomcat-ug.html19:13
alberticotheunixgeek, i was looking into it right now...19:15
uvirtbotNew bug: #347525 in ec2-api-tools (multiverse) "[jaunty] Please package ec2-api-tools for i386" [Undecided,New] https://launchpad.net/bugs/34752519:16
Elite|JetiDo any of you know a list of PCI dial up modems that will work in ubuntu-server?19:18
jmedinaI have used trendnet external serial modems in a few servers without problems19:19
Elite|JetiI don't have external ones19:19
ivoksconexant19:19
jmedinabut never PCI they are really hard to get19:19
ivoksyou'll have to buy a driver19:19
Elite|JetiHow about USR?19:19
ivoksusr are softmodems19:19
ivoksand no driver is provided19:20
Elite|JetiSo is there any that work OOTB?19:20
jmedinabuying a driver, that *ucks19:20
ivoksjmedina: driver costs more than device :D19:20
jmedinaivoks: yeap I know19:20
ivoksbut at least we are supporting linux oriented company19:20
jmedinaI dont use modems, but I have a customers that always ask for external modem for failover admin19:21
ivoksi use them for fax service19:21
jmedinathey have servers in some cities where there is no adsl/cablemodem19:21
Elite|JetiSo if I use a conexant what do I have to do?19:22
jmedinafax? :O19:22
ivoksyep19:22
kirklandmdz: fwiw, also just tried with raw disk image (like yours) ... still no reproduce (fyi, i'm backgrounding these tests, and just keeping you apprised)19:22
Elite|JetiYes fax from a PC to a fax machine or other PC lol19:22
jmedinaits been a lot since I used  a fax19:22
ivoksfax2mail is great19:22
jmedinahere the last fax we received was 2 years ago19:22
ivoksor mail2fax19:22
ivoksor ftp2fax19:22
jmedinaivoks: well that is fine19:24
theunixgeekyay, my installation is finished19:27
theunixgeekno!!!19:27
theunixgeek"This kernel requires the following features not present on the CP: pae"19:27
theunixgeekWhat should I do? I installed it on VirtualBox19:27
ivokshaha vbox19:27
ivoksinstall linux-386 package and boot 386 kernel19:28
ivoksin guest19:28
theunixgeekivoks: how? I can't even book19:28
ivoksyou can boot from iso/cd and boot into rescue mode19:28
uvirtbotNew bug: #348627 in openssh (main) "motd disappears when using PasswordAuthentication in OpenSSH server" [Undecided,New] https://launchpad.net/bugs/34862719:31
theunixgeekivoks: how do I boot into rescue mode?19:32
theunixgeek"rescue a broken system?"19:32
ivoksyes19:32
theunixgeekok, I'll try that19:33
Elite|Jetihttp://www.linuxprinting.org/show_printer.cgi?recnum=HP-PhotoSmart_7350   how do I download this driver?19:34
mdzkirkland: I noticed that kvm doesn't have an apport hook.  are you interested in adding one?19:36
kirklandmdz: yes!19:36
kirklandmdz: bdmurray was going to help me with that at some point ...19:37
kirklandmdz: i noticed this today, reading your bug post19:37
mdzkirkland: what info would you want included?19:37
mdzprobably the exact kernel version19:37
kirklandmdz: and guiltily thinking, "man, i never even used ubuntu-bug..."19:37
mdzthough maybe the new versioning makes uname good enough19:37
kirklandmdz: the kernel version of both host and guest19:38
ivoksdriver used for network19:38
mdzkirkland: can you get the host info from inside the guest?19:38
kirklandmdz: whether the host is using the kvm-source kernel module, or the de facto one19:38
kirklandmdz: no19:38
ivoksvirtio/e1000/realtek19:38
kirklandmdz: yeah, ivoks ^19:38
kirklandmdz: network type19:38
kirklandmdz: disk image format (qcow, qcow2, raw, etc), and virtio or not19:38
kirklandmdz: i'd expect that the report should come from the host19:39
mdzkirkland: hmm, a lot of that stuff is going to vary at runtime for a particular instance of kvm, no?19:39
mdzshould we be doing this at the libvirt level then?19:39
kirklandmdz: yes, the command line actually used is very valuable19:39
kirklandmdz: you can get that from libvirt19:39
ivoksif user is using libvirt, why not just whole config file?19:40
kirklandmdz: the libvirt level might provide more information, but would muddy the waters as to where the bug is19:40
kirklandmdz: soren "owns" libvirt and virt-manager, so he should be consulted on those19:40
kirklandmdz: dendrobates has tasked me with specifically kvm19:40
mdzkirkland: I filed bug 348633 btw19:41
uvirtbotLaunchpad bug 348633 in kvm "Fails to boot from CD after reboot: CDROM boot failure code: 0003" [Undecided,New] https://launchpad.net/bugs/34863319:41
kirklandmdz: thanks19:42
mdzkirkland: it sounds like in most cases we'll want the user to try to report based on a running kvm instance, i.e. ubuntu-bug <pid> rather than ubuntu-bug kvm19:42
mdzthat way we can see the command line they're using, and hopefully gather some of the other info you're looking for19:43
mdzkirkland: writing hooks is really easy; if you can gather the info you want with shell commands then converting that to a hook is very straightforward19:43
kirklandmdz: one minor point that I haven't added to your bug discussions yet...  i try to *always* set the Importance of a bug 1st, regardless of whether or not I can reproduce it and what its Status might be19:43
kirklandmdz: tremendously helps me in sorting, to have at least something19:43
uvirtbotLaunchpad bug 1 in ubuntu "Microsoft has a majority market share" [Critical,In progress] https://launchpad.net/bugs/119:43
ivoksuvirtbot: take a break :)19:44
uvirtbotivoks: Error: "take" is not a valid command.19:44
kirklandmdz: cool ...  where do I put these shell commands?19:45
theunixgeekivoks: thanks; it works now :D19:46
Elite|Jetihttp://www.linuxprinting.org/show_printer.cgi?recnum=HP-PhotoSmart_7350   how do I download this driver?19:47
kirklandmdz: oh ...19:47
kirklandmdz: dude19:47
kirklandmdz: drop the -boot d19:47
kirklandmdz: since your disk image is empty, kvm will default to booting from the cdrom the first time19:47
kirklandmdz: the second time, you'll have grub love19:48
ivokstheunixgeek: np19:48
mdzkirkland: that's fine the first time, but then the second time it will boot from the disk (which I don't want)19:48
kirklandmdz: and you'll boot just fine, i bet ;-)19:48
theunixgeeknow, how do I find out my local IP address? ifconfig isn't helping19:48
mdzkirkland: I want it to work regardless of what junk happens to be in the disk image when I sit down to work19:48
ivokstheunixgeek: 'ip a' is better than ifconfig, but ifconfig should show ip address19:49
theunixgeekivoks: the local one19:49
mdzkirkland: have the kvm package install /usr/share/apport/source_kvm.py19:49
mdzkirkland: sorry, /usr/share/apport/package-hooks/source_kvm.py19:49
ivokstheunixgeek: local like localhost or from local network?19:49
theunixgeekivoks: local network19:49
ivokstheunixgeek: ifconfig and ip a19:50
theunixgeeksomething like 192.168.etc...19:50
theunixgeekthanks19:50
mdzkirkland: check out source_splix.py for a really simple example19:50
mdzkirkland: and pydoc apport.hookutils for some convenience functions19:50
mdzkirkland: basically, you define a function add_info(report) which treats report as a python dictionary to store key/value pairs in19:50
mdzyou can put pretty much anything you want in there, and apport will do the right thing with it19:51
kirklandmdz: that part looks simple enough19:51
mdzbinary data gets base64 encoded and attached, etc.19:51
jmedinaI have a custion, and I think I know a answer19:51
kirklandmdz: and my set of magic shell scripts go ...?19:51
jmedinawhich command can be used to see the reserved blocks count for a filesystem19:51
theunixgeekivoks: I'm getting 10.0.2.15 but I don't get an Apache test page when I open that in my browser(s)19:51
jmedinaI have used dumpe2fs (ext3)19:51
sbeattiekirkland: see the source_apparmor.pu hook for a more complex example19:51
jmedinais there any other tool you know?19:52
ivokstheunixgeek: did you install apache?19:52
mdzkirkland: add_info(report): report['OutputOfMagicShellCommand'] = command_output(['ls','-l','/dev/null'])19:52
kirklandmdz: neat, this looks easy enough19:52
sbeattiekirkland: I want to add an apport hook for mdadm, to capture users raid configuration.19:52
kirklandsbeattie: oh, snap19:52
theunixgeekivoks: I installed a LAMP server configuration19:52
kirklandsbeattie: be my guest ... that's another that's used in really complicated ways that users don't even always understand19:53
mdzkirkland: the only thing I'm unsure about is how you can get the PID so that you can poke at the process19:53
ivokstheunixgeek: is apache running? (ps ax | grep apache)19:53
mdzkirkland: it's included in report['ProcStatus'] but not in a very convenient way19:53
theunixgeekivoks: /usr/sbin/apache2 -k start19:53
kirklandmdz: isn't that the reporter's responsibility?19:53
ivokstheunixgeek: only one instance?19:53
theunixgeekivoks: six19:54
ivoksthen it's running19:54
ivokstelnet localhost 8019:54
mdzkirkland: the reporter will provide the PID for a running instance.  apport will take care of the basics like figuring out which binary was run and what package it is in, and getting /proc info19:54
theunixgeekivoks: I did; it says it's connected19:54
ivoksso, it works19:54
mdzkirkland: if you wanted to do something fancier, like parse the command line args and figure out the file type of the disk image in use, you'd need to know the PID inside your hook19:54
theunixgeekivoks: I still don't know what my local IP address is :P19:55
mdzkirkland: you should email pitti on that one19:55
kirklandmdz: okay19:55
kirklandmdz: can i parse it out of report['ProcStatus'] ?19:55
kirklandmdz: with some fancy regexing?19:55
ivokstheunixgeek: 20:51 < theunixgeek> ivoks: I'm getting 10.0.2.1519:56
mdzkirkland: you can, but pitti might prefer to just make it available to the hook more cleanly19:56
theunixgeekivoks: yeah, but I get nothing in my browser19:56
kirklandmdz: cool19:56
theunixgeek"Safari can’t open the page “http://10.0.2.15/” because the server where this page is located isn’t responding."19:56
mdzsbeattie: apport hook for mdadm -> great idea, do you need help with it?19:56
kirklandmdz: is this something I can get into the archive after beta?19:56
ivokstheunixgeek: on server, try telnet 10.0.2.15 8019:56
mdzkirkland: I don't see why not; it's just adding an inert file on disk.  it's only used when reporting a bug, and if it crashes, apport continues gracefully.  it's very low risk19:57
theunixgeekivoks: "Connected to 10.0.2.15"19:57
theunixgeekand wget'ing from it works19:57
ivokstheunixgeek: maybe your browser doesn't know where 10.0.2.15 is19:57
jmedinatry: netstat -pltn | grep apache19:57
theunixgeekivoks: what do you mean?19:58
ivokstheunixgeek: it's a server in vbox, right?19:58
mdzttx: perhaps you could chime in on bug 34863319:58
uvirtbotLaunchpad bug 348633 in kvm "Fails to boot from CD after reboot: CDROM boot failure code: 0003" [Undecided,New] https://launchpad.net/bugs/34863319:58
ivoksbah..19:58
theunixgeekivoks: yes19:58
ivokstheunixgeek: and the browser is on another machine?19:58
theunixgeekivoks: yes; even Firefox on the same machine won't open it19:58
\shguys, does anyone run ubuntu server (hardy or intrepid) on something like BLc7000 with bl46x or bl495 with flex10 virtualization solutions of hp fame?19:58
ivokstheunixgeek: so, have you considered that your other machine doesn't know how to reach 10.0.2.15?19:59
ivokstheunixgeek: routing problem19:59
ivokstheunixgeek: try pinging 10.0.2.15 from that machine, or even better traceroute it19:59
theunixgeekivoks: how do I get it to work, then? (I'm new at networking stuff, so sorry if I don't know much of some of this)19:59
ttxmdz: looks very familiar. Will try to reproduce in the same conditions and report on the bug.20:00
theunixgeekivoks: seems like it can tracerout it20:00
theunixgeek*tracerout20:00
ivokstheunixgeek: it is working, it isn't available from other machines cause of your network setup20:00
theunixgeek*traceroute20:00
sbeattiemdz: I'm happy to implement it (I've already done a few); ideas for exactly what to capture would be useful.20:00
theunixgeekivoks: how should I go about editing my network setup?20:01
ivokstheunixgeek: sorry, i have lots of work to do, it's 9PM and i don't have time atm to teach you network basics... maybe someone else is in better position20:01
theunixgeekivoks: no problem; thanks for your help20:01
theunixgeekHow do I edit my network setup so that a website on an Ubuntu Server virtual machine can be accessed from other computers?20:02
Elite|Jetitheunixgeek, what do you need to do?20:03
theunixgeekElite|Jeti: I want to be able to view an HTML file on other computers20:04
theunixgeekit's already in /var/www20:04
theunixgeekI can traceroute to my server, but not ping to it, nor access its files from other computers20:05
Elite|JetiDo you use DHCP on the network?20:05
theunixgeekElite|Jeti: to be honest, I don't know20:05
mdzsbeattie: debian/bugscript should give you an excellent starting point20:05
theunixgeekElite|Jeti: I'm relatively new to networking20:06
Elite|JetiDo you use a router?20:06
mdzsbeattie: (aka /usr/share/bug/mdadm/script)20:06
theunixgeekElite|Jeti: yes20:06
Elite|JetiThe other computers in the house do they run linux or windows?20:07
mdzsbeattie: that's the hook for Debian's bug tool, which spits out a big text file with everything in it.  if you take the individual pieces of that and put them into the apport report separately, that would be excellent20:07
kirklandmdz: okay, now that i have my source_kvm.py, can i dry-run it?20:09
orudieivoks, hi20:09
kirklandmdz: just to see what it's gathering, without really barfing a real bug?20:10
Reepicheepdoes anyone here have slapd running on intrepid with TLS?20:10
theunixgeekElite|Jeti: one runs Mac OS X, the other, Fedora20:10
sbeattiekirkland: sure, if you do ubuntu-bug -p [pid] it'll let you see the report before shoving it to launchpad.20:11
Elite|Jetitheunixgeek, is that one running OS X a mac?20:11
theunixgeekElite|Jeti: yes20:11
ReepicheepI know there are some issues with gnutls and openldap.. I'm wondering if my issues are related?20:11
mdzkirkland: the easiest way is as sbeattie says20:11
Elite|Jetior is it a hack20:11
mathiazReepicheep: what are your issues?20:11
kirklandmdz: sbeattie: cheers, thanks.20:11
Elite|Jetiok20:11
Reepicheepslapd doesn't start when I add the TLS to the config20:12
mathiazReepicheep: what's the error message?20:12
ReepicheepI get an error "main: TLS init def ctx failed: -64"20:13
mdzkirkland: if you want a closer look, you can do this:http://pastebin.com/f15196f4320:13
mathiazReepicheep: is the openldap user able to read the private key and the certificate?20:13
theunixgeekElite|Jeti: so, any ideas?20:13
Reepicheepyeah.. they are world readable20:14
mathiazReepicheep: the private key is world readable?20:14
mathiazReepicheep: do you have apparmor messages related to slapd in your dmesg?20:14
mdzmathiaz: I noticed samba doesn't have an apport hook either; it could surely use one20:14
jmedinaReepicheep: I would load slapd by hand with -d option20:14
jmedinaI remember there was some incompatibilities disscused in openldap mailing list about slapd compiled agains gnutls20:15
ReepicheepI used the "-d" to get the error message. and yeah the private key is world readable20:15
jmedinabut I have never had those problems using my own CA20:15
ReepicheepI set it that way thinking it was passably a permissions thing20:15
jmedinaReepicheep: is that all the message?20:15
mathiazmdz: yes - it's on my TODO list now that I wrote up the DebuggingSamba wiki page20:16
ReepicheepI have am using my own CA20:16
Reepicheepwith openssl20:16
mathiazReepicheep: where are the cert and private key files located?20:16
Reepicheepbut openldap is built with gnutls20:16
mathiazReepicheep: slapd apparmor profile may deny access to them if they're not located in the standard directory20:16
mathiazReepicheep: you can check that by reading the output of dmesg20:17
Elite|Jetitheunixgeek,msg me20:17
Reepicheepdmesg reports "[153869.332435] type=1505 audit(1238000019.270:4): operation="profile_replace" name="/usr/sbin/slapd" name2="default" pid=5178"20:18
Reepicheepmy certs are in /etc/ssl/certs/server.crt and /etc/ssl/private/server.key20:18
ReepicheepI also have my CA cert as /etc/ssl/certs/cacert.pem20:19
mathiazReepicheep: is the openldap user part of the ssl-cert group?20:19
mathiazReepicheep: etc/ssl/private/ is only readable by the ssl-cert group.20:20
Reepicheepok.. I don't have that group.. let me set that up20:21
kirklandsbeattie: mdz: what's wrong with this?  http://pastebin.ubuntu.com/137749/20:21
kirklandi'm expecting a CpuInfo field in my report20:21
kirklandoh, hmm, it's triggering the report against bash20:22
kirklandso i don't think my kvm hooks are running20:22
mathiazReepicheep: you should make sure that the openldap user is able to read the private key20:22
mathiazReepicheep: and its directory.20:22
kirklandmdz: sbeattie: this file is /usr/share/apport/package-hooks/source_kvm.py20:23
ReepicheepI did test that by "su -s /bin/bash openldap" and was able to read /etc/ssl/private/server.key20:23
Reepicheepoh.. maybe that doesn't work..  I thought I tested that20:24
Reepicheeplet me check that out20:24
Reepicheepthat was it.. thanks20:26
kirklandmdz: sbeattie: okay, i have it now!20:26
kirklandmdz: sbeattie: i had to explicitly call "ubuntu-bug -P 1234 -p kvm"20:27
kirklandbut now i'm cooking ;-)20:27
sbeattiekirkland: FYI, attach_harware() already includes /proc/cpuinfo20:27
kirklandsbeattie: thanks, i see that now ...20:27
ReepicheepI created the ssl-cert group added openldap user and made the private directory group ssl-cert with "g+rx" permissions20:27
kirklandsbeattie: before, my reports were being generated against bash20:28
kirklandsbeattie: and i wasn't getting that20:28
ReepicheepI spent way to much time on that for it being that simple20:28
sbeattiemathiaz|kirkland: any chance we can get the apport package included in ubuntu-server?20:29
sbeattiethe crash catcher is disabled by default on release, so it should be safe from a performance perspective.20:29
kirklandsbeattie: hmm, is there a very lightweight, few-deps, cli-only package?20:31
mathiazkirkland: yes.20:31
mathiazsbeattie: I don't see why we shouldn't do that.20:32
sbeattiekirkland: just the apport package; apport-{gtk,qt} include the gui bits.20:33
kirklandsbeattie: cool, i'll leave it to mathiaz to add to the seed20:33
jmedinahy there, any reason the -F option was removed from shutdown command?20:34
jmedinain hardy LTS20:35
sbeattiemathiaz: that would be awesome, thanks.20:35
jmedinaI see the option in dapper in the manpage, but in hardy and intrepid20:35
Elite|JetiAny of you guys use hplip?20:48
mdzkirkland: "ubuntu-bug kvm" should be sufficient, as should "ubuntu-bug 1234" (if 1234 is a running kvm process)20:49
uvirtbotLaunchpad bug 1234 in launchpad-foundations "Gina is an unmaintainable mess of command line options, environment variables and shell scripts" [Medium,Fix released] https://launchpad.net/bugs/123420:49
jmedinaI do, but I upgrade to 2.8.10 becaus some tray problems with customers printers20:49
mdzkirkland: also note there's a convenience function for "attach this file or tell me if it doesn't exist"20:49
Elite|Jetijmedina, were you talking to me?20:50
mdzuvirtbot: ha!20:51
uvirtbotmdz: Error: "ha!" is not a valid command.20:51
jmedinaElite|Jeti: yeap20:51
Elite|Jetijmedina, can you help me?20:54
jmedinaElite|Jeti: how?20:55
jmedinaElite|Jeti: you never said your problem20:55
jmedinaElite|Jeti: I have not HP printer here, it is in customers site20:55
jmedinaI dont even have a printer configured in my system, I dont like wasting paper :D20:55
Elite|Jetijmedina, I have a hp photosmart 7350 photo printer I wish to install to my ubuntu server and share via samba20:56
jmedinaElite|Jeti: and what is the problem?20:56
Elite|Jetidon't know how20:57
jmedinaElite|Jeti: plug in the printer, then enter to http://127.0.0.1:63120:57
Elite|JetiI did sudo apt-get install hplip and it downloaded something20:57
Elite|Jetiand installed but now what do I do?20:58
jmedinatellme when you are in the admin page20:58
Elite|JetiIt says page failed to load20:58
ivoksinstall hpijs-ppd package21:00
ivokswhy share it over samba?21:02
ivokswindows support http/ipp protocol21:02
ivoksit can't discover it and use the ppd, but, well, you can add it as network printer :)21:02
Elite|Jetihuh?21:02
ivokswhat?21:02
Elite|JetiWhat you said makes no sense to me21:03
ivokswhat doesn't?21:03
ivokslinux/unix/osx can discover printers on another linux/unix/osx and use it without any user configuration21:03
ivokscups provides real client-server printing21:04
ivokswindows never did real client-server printing21:04
ivokseach windows client needs driver21:04
ivokscups clients don't need drivers, only ppd file21:04
ivokswindows can be cups client, but it can't discover printers without interaction21:04
ivoksand it needs driver to 'print' postscript to cups21:05
ivoksso, if you already have cups on ubuntu, and you do, why adding another (samba) layer and make things even more complicated?21:05
ivoksjust add network printer with url http://ip_of_server:631/printers/name_of_printer21:06
Fenix|workGreetings :)21:06
Fenix|workHow is everyone today?21:06
Fenix|workany server admins using vsftpd?21:06
Elite|Jetiivoks: how do I set that up?21:11
ivokswhat exactly? printer? or windows client?21:11
Elite|JetiPrinter21:12
ivoksinstall hpijs-ppd package21:12
ivoksrestart cups21:12
ivoksplug in printer21:12
ivoksgo to http://localhost:631/admin21:12
ivoksand add recognized printer21:12
Elite|JetiI did sudo apt-get install hpijs-ppd and says not found21:13
ivokshpijs-ppds21:13
jmedinawhat is the difference in hpijs and hplip, I always used hplip21:14
kirklandsbeattie: mdz: is it possible to prompt the reporter for certain questions I can't determine automatically?21:14
jmedinaohh yea ijs is for inkjet21:14
jmedinahplip for lasers, sint it?21:14
kirklandsbeattie: mdz: I can't see how i can determine the guest os, or the guest disk image format21:14
ivokshpijs is a driver21:14
kirklandsbeattie: mdz: i have source_kvm.py collecting the other things i need, now21:15
ivokshplip is a system for scanning, printing, faxing...21:15
sbeattiekirkland: not that I'm aware of, but that's a question/suggestion pitti can answer best.21:15
kirklandsbeattie: cool, i'll ping him21:15
Elite|Jetihow many MB is 1904Kbs?21:16
Elite|Jetierm kB*21:17
ivoks1904/102421:17
Elite|JetiSo a bit better than one meg21:18
mdzkirkland: I don't think anything prevents you from popping up a dialog and asking a question, but I'm not sure that it will work properly in all cases21:20
mdzkirkland: you should check with pitti on that one21:20
mdzkirkland: you should be able to get the guest disk image format by looking at the command line as I suggested (to get the pathname of the image files), and examining the image files21:21
sorenkirkland: qemu/block.c has a routine for detecting the disk image format.21:22
sorenI'm not sure, but I believe it's exposed in {kvm,qemu}-img as an "info" subcommand or something.21:23
sorenIf that's already been mentioned: Sorry, just joined the conversation now.21:23
kirklandmdz: i'm regexing out the kvm command line, retrieving that properly21:39
=== Elite|Jeti is now known as Elite
kirklandmdz: any idea on how to ask ps what path dir is this command executing from?21:39
EliteYou have a software kvm?21:39
kirklandmdz: ie, the -hda foo.img will likely be a relative path21:40
kirklandmdz: if i can get that to an absolute path, then i can run soren's block.c routine for finding the format21:40
* kirkland is away for bit ... messages logged21:40
mdzkirkland: os.path.join('/proc/pid/cwd', 'hda.img')21:40
ivoksElite: kvm = kernel virtual machine, that's virtualization21:40
EliteAh lol21:40
EliteToo bad there wasn't a way you could switch using software that was silent not vnc but something that wasn't IP dependant21:41
sorenkirkland: Use "kvm-img info" instead.21:42
sorenkirkland: It detects the format and gives a bit more meta-data. It looks quite useful.21:42
mdzkirkland: I think you may get the command line in report['ProcCmdLine']21:43
mdzer, ProcCmdline21:43
mdzkirkland: see e.g. https://bugs.edge.launchpad.net/ubuntu/+source/vlc/+bug/34866921:43
uvirtbotmdz: Error: This bug is private21:43
mdzoops, that's an untriaged crash report21:43
sorenThat's odd. I thought ubuntu-dev were allowed to see those?21:43
mdzsoren: we are, but uvirtbot apparently isn't21:45
sorenmdz: I'm not.21:45
sorenmdz: Launchpad says I'm not allowed there. :/21:45
sorenmdz: Are you part of the security team, perhaps?21:45
keessoren: it's not a security bug21:48
keessoren: (I can't see it either)21:48
sorenThe plot thickens..21:48
sorenmdz is a member of the Launchpad Security Team (by extension). Perhaps that is why?21:49
keessoren: I'm a member of the LPST, and I can't see it.21:49
sorenAlright, I'm fresh out of hypotheses.21:50
jdstrandfwiw, I can't see it either...21:50
sorenkees: So... that blkid thing you talked asbout yesterday.. What was it? I've just finished a dist-upgrade and am trying to decide if I should reboot. :)21:53
sorenkees: Does it only affect md devices, or any devmapper device (specifically lvm2 devices)?21:58
keessoren: it's (to my knowledge) only in Keybuk's PPA, not the general archive.21:59
keessoren: based on other people's reports, it is only broken for md devices.21:59
sorenkees: Oh, ok. Lovely.22:00
* soren reboots22:00
alberticohi, it seems like the ubuntu 8.10 tomcat6 service ignores the parameters I defined on the setenv.sh file22:01
alberticohas anyone dealt with this?22:01
aciculasetenv.sh file?22:05
soren\o/22:06
aciculao/22:06
alberticoacicula, already defined the setenv.sh file on the /usr/share/tomcat6/bin directory, but seems that tomcat ignores it22:07
alberticoacicula, it keeps starting without the parameters I defined22:07
Eliteivoks: you stilll around?22:10
aciculaalbertico: what are you trying to do?22:12
alberticoacicula, change the tomcat6 parameters when starting the jvm22:12
alberticoacicula, basically, start tomcat6 with the following jvm parameters: "-server -Xms48M -Xmx256M -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:MaxPermSize=128m"22:13
alberticoacicula, I have been searching around, and it says that one should modify the setenv.sh file and add such parameters22:14
aciculathe setenv.sh file from where?22:14
aciculadont think the ubuntu tomcat6 service start script use that anyhow22:15
alberticoacicula, I understood the setenv.sh file on the same directory where the tomcat6 scripts are installed, which is the /usr/share/tomcat6/bin path22:15
aciculatried modifying /etc/defaults/tomcat6?22:15
aciculaalbertico: dont see a setenv.sh there22:16
aciculadont se a setenv.sh in the tomcat6 distro either?22:16
alberticoacicula, the guys on the #tomcat channel say I must create it...22:16
alberticoacicula, so I did, but it does not work22:16
alberticoacicula, let me check with the /etc/defaults/tomcat622:17
acicula# Arguments to pass to the Java virtual machine (JVM).22:17
acicula#JAVA_OPTS="-Djava.awt.headless=true -Xmx128M"22:17
aciculaseems pretty selfexplanatory22:17
warthog9other than downloading an entire cd.iso, loop back mounting it and pulling the netboot images out, is there anywhere in <mirror>/ubuntu-releases/ that has the netboot images, particularly if they are under one of the numeric version directories?22:22
aciculawarthog9: should be there22:22
aciculawarthog9: correction, they are there22:22
warthog9acicula: got a pointer, I'm not seeing *just* the netboot images on http://mirrors.kernel.org/ubuntu-releases/22:23
Deepslook on http://cdimage.ubuntu.com/ i think22:23
Deepsor google ubuntu netboot?22:23
aciculawarthog9: google, dont have an url for you, but you can find the linux/initrd images you want somehwere in the three22:23
* warthog9 goes to run find on the kernel.org box for it then22:24
aciculaeh?22:24
EliteHow do I install a printer? its an HP Photosmart 7350 and I have cups installed22:24
warthog9'cause I know I can find them in just /ubuntu/ but I wasn't seeing the vmlinuz & initrd's in the releases directory structure22:24
alberticoacicula, it worked using the /etc/default/tomcat6 file... the tomcat docs say you can use the CATALINA_OPTS option for such definition, but it doesn't work... so the JAVA_OPTS is the option that works22:25
alberticoacicula, thanks for your advice22:25
jmedinaalbertico: you should send this comments to the ubuntu server documentation team, I think is worth to have this info in the ubuntu server guide or something22:27
aciculaalbertico: did you try setting CATALINA_OPTS in the /etc/default/tomcat6 ?22:28
EliteAnyone?22:28
jmedinaElite: Elite did you enter to cups admin interface?22:29
alberticoacicula, yes, but tomcat ignored the CATALINA_OPTS22:29
aciculaalbertico: think those options only work if you use the startup script from tomcat22:29
aciculaalbertico: which is entirely different from the init.d script22:29
alberticojmedina, I agree... will do so  :)22:30
Elitejmedina, how?22:30
jmedinaElite: I and ivoks already told yu so22:30
jmedinaalbertico: thanks22:31
Elitethrough the :631?22:31
warthog9acicula: ok I'm not seeing just the vmlinuz and initrd's from releases.ubuntu.com &/or any mirror thereof.  I can find them trivially in a normal mirror of ubuntu's normal mirrored tree (I.E. http://mirrors.kernel.org/ubuntu/) but the later here doesn't export the numeric version (6.06 for example) it just has dapper, hardy, etc.  So I suppose since the netboot images aren't available in releases, is there a know place that22:31
warthog9I can find something that lists Ubuntu 6.06 is dapper?22:31
jmedinalsb_release -a22:32
jmedina:S22:32
warthog9jmedina: I'm also making the assumption that I'm not on an ubuntu box, and I need to translate it for all versions of ubuntu22:32
EliteMe?22:32
jmedinaElite: so do you have cupsys installed and running?22:33
aciculawarthog9: https://help.ubuntu.com/community/Installation/NetbootInstallFromInternet22:34
acicula?22:34
alberticoacicula, that makes sense... I tried to use the startup.sh script, but I get various errors... and it seems that the init.d script uses the jsvc for starting the tomcat as daemon22:35
warthog9acicula: no, let me make the question simpler - is there a way to translate dapper, hardy, etc (like a txt file somewhere) to the ubuntu version number?22:35
Elitejmedina, that ip thing doesn't work22:36
aciculawarthog9: different question, dunno22:36
docta_vany svnserve experts in here... i'm trying to setup svnsync22:36
jmedinaElite: try with the server's IP22:36
docta_vsvnsync hangs with an empty svnserve.conf22:36
docta_vif i change one thing in svnserve.conf... like add an authz line22:36
docta_vthen it works but then breaks access for normal users22:36
EliteI did22:36
warthog9acicula: well if a normal $joe user is presented with a list that just has hardy, dapper, etc is this going to be more or less useless to them?22:36
jmedinaElite: again, is cupsys installed and running?22:37
alberticosee ya guys...  thanks again!22:37
jmedinaElite: read the server guide22:37
jmedinahttp://doc.ubuntu.com/ubuntu/serverguide/C/cups.html22:37
aciculawarthog9: i have no idea what you are on about, you were looking for netboot images yes?22:37
jmedinathere are instruccions about configuring cups to allow remote printing and admin22:37
jmedinaElite: then when you enabled remote access and enter to the admin interface please tell me22:38
jmedinawell in fact there is a lot of documentation about howto configure printeres in cups22:39
jmedinajust a little clics22:39
EliteGod damn this is shit22:41
EliteI can't find out how to enable that crap22:41
Elite...22:49
jmedinaElite: enable what?22:49
EliteThe admin web interfact22:50
jmedinaElite: did you read that guide?22:54
jmedinahttp://doc.ubuntu.com/ubuntu/serverguide/C/cups.html22:54
EliteWhat guide?22:54
jmedina¬¬22:54
jmedinaElite: so?23:20
=== asac_ is now known as asac
Elitejmedina, not yet still dling cupsys23:38
jmedinaElite: did you change Listen in cupsd.conf?23:40
jmedinaand restart cupsys23:40
jmedina?23:40
EliteHow do I restart it?23:40
EliteI tried the /etc/init.d/cupsys restart but nothing23:41
jmedinaElite: show the output from:23:41
jmedinanetstat -plutn | grep cups23:41
jmedinarun it on the server23:41
jmedinanot in your computer23:41
EliteI know23:42
jmedinaI dont23:43
EliteWhat?23:43
jmedinaI dont know if you know23:43
Elitetcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      8535/cupsd23:45
Eliteudp        0      0 0.0.0.0:631             0.0.0.0:*                           8535/cupsd23:45
jmedinaand what is the server's IP?23:45
EliteI don't run linux on my desktops so you don't need to tell me where to run the command ;)23:46
Elite192.168.0.10023:46
jmedinaok then23:46
jmedinahttp://192.168.0.100:63123:46
Elitepage load error23:47
jmedinait should work, unless you have a firewall or simething, in your desk or server,23:47
jmedinawhich error?23:47
EliteFirefox can't establish a connection to the server at 192.168.0.100:631.23:47
jmedinammm, are you in the same subnet?23:48
Elite255.255.255.023:48
Eliteyes23:49
EliteWant the file from my network?23:49
jmedinathat is a subnet mask23:50
jmedinanop23:50
jmedinado you have firewall in server?23:50
Elite255.255.255.023:50
EliteDon't think so, I do have SWAT installed and it works23:51
jmedinamm23:52
jmedinaplease show me the lines you change in cupsd.conf23:52
Elitewhere is that file?23:53
jmedinadid you read the guide?23:55
Elite# Only listen for connections from the local machine.23:55
EliteListen 192.168.0.100:63123:56
EliteListen /var/run/cups/cups.sock23:56
Elitethat is all I changed23:56
EliteI only edited the IP23:56
jmedinaso you only have those Listen lines in your file?23:56
jmedinadid you restart cups?23:56
jmedina /etc/init.d/cupsys restart23:57
jmedinaplase restart it again23:57
jmedinaand showme again the output from "netstat -plutn | grep cups"23:57

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