[00:20] New bug: #347881 in dovecot (main) "dovecot-imapd incompatible with ntpdate use" [Undecided,Confirmed] https://launchpad.net/bugs/347881 === ScottK2 is now known as ScottK [01:26] hi Id like some help with a crontab line [01:27] for some reason this isnt every run: */1 * * * * [`/bin/date +%d` -eq '26'] && /home/tom/scripts/script.php [01:27] not sure if there is a mistake in the date command [01:27] Alysum: % has special meaning in a crontab line [01:28] by the way, the /1 is redundant [01:28] even with the ` ` ? [01:28] i know Im testing it every min [01:28] what are yiy trying to do with your date ? [01:28] s/yiy/you [01:28] Alysum: * = every minute [01:28] II know [01:28] Alysum: escape the % as \% [01:29] ok will try [01:29] the ` ` don't matter - they are processed by the shell - the % processing happens by cron itself before the string ever gets executed [01:29] but that doesn't make any sense executing the result of date [01:30] what does % do in a cron? [01:31] hmm it still didnt work [01:31] * * * * * [`/bin/date +\%d` -eq '25'] && /home/tom/scripts/script.php [01:31] this is syslog /USR/SBIN/CRON[17874]: (tom) CMD ([`/bin/date +%d` -eq '25'] && /home/tom/scripts/script.php) [01:32] Alysum: spaces are mandatory inside [ ] [01:32] you mean after [ and before ] ? [01:33] yes [01:33] ok it worked [01:33] thanks mate [01:33] but why don't you just write: * * 1-24 * * /home/tom/scripts/script.php [01:33] no I'm testing it cause Im going to run it on the last day of each month [01:34] ah [01:37] yeah it will be like this [01:37] 59 23 * * * [ `/bin/date -d tomorrow +\%d` -eq '01' ] && /home/tom/scripts/script.php [01:37] the first day %d is 01 not 1 right ? [01:42] howdy [01:50] Alysum: -eq does a numeric comparison anyway [01:50] ok [04:45] New 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/348283 [05:25] I have a swap entry in fstab [05:25] why isnt my server using it? [05:25] How do I check? top and free -m shows 0kb/0kb for swap [05:32] hey all === Noah0504 is now known as Noah0504|away [05:46] oh_noes: cat /proc/swaps [05:46] oh_noes: see also swapon -a and swapoff -a [05:46] oh_noes: does fstab identify the swap by UUID, or device? [05:50] i 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] how do i know if the slave is replicating? [05:53] it 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 swap [05:56] oh_noes: normally it should [05:56] oh_noes: unless you somehow boot without udev [05:56] e.g. I have [05:56] 319998ce-e734-4b5d-abb7-cceeef72a62e -> ../../mapper/lvm-swap [05:56] ...in that dir [06:00] yeah, I manually added mine in. not sure why it wasnt in there ... fixed now [06:09] oh_noes: um, you are not supposed to put files in /dev/disk/by-uuid [06:09] oh_noes: they'll disappear on reboot anyway; it's udev's job to manage that dir. [06:09] If 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:10] Then reboot and see if udev can see the UUID [06:11] oh, ok [06:11] thanks [06:25] Hello, how to see network-address to be conf in named.conf.local (bind9)? [06:26] what? [06:27] named.conf.local is the zone configuration file [06:28] zone definition for reverse DNS sir? [06:28] rev.0.168.192.in-addr.arpa [06:29] where to see "network-address" to replace 0.168.192. [06:48] <^law^> hello guys ;) [06:48] Received disconnect: 2: server_input_channel_req: unknown channel -1 [06:48] <^law^> oops sorry 4got to change nick [06:49] intresting error. i have newer seen it before. /newer as in last 8 years when i have used ssh daily ) === ^law^ is now known as _law_ [06:53] <_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:55] <_law_> XD [06:57] _law_: do you want use X on it or X app from it ? [06:59] <_law_> hmm wat is the best? [07:00] <_law_> haha i'm very new in linux world [07:00] _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 + browser [07:00] _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 too [07:01] <_law_> my ubuntuserver is just fresh installed and no GUI [07:01] _law_: console is quite good for everything server stuff :) [07:02] <_law_> yaya i agree [07:02] _law_, i agree, also [07:02] <_law_> so i just want my server start in console mode by default [07:02] _law_, have you considered something web-based, like ebox or webmin? [07:03] <_law_> n if i need to use gui then i just calling the applicaion i need [07:03] _law_, there are 3 applications that run in the terminal that do what you're looking for, aptitude, mc, and w3c [07:03] _law_: im not 100% how ubuntu installs Xorg package, but for minimal X you could try install Xorg and xterm [07:04] _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 terminal [07:04] _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 desktop [07:05] that i s what i do. i run rhytmbox from my home fileserver etc.. and just keep gui on my desktop [07:05] _law_, many people would (including myself) strongly suggest you not install Xorg for security reasons [07: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 up [07:05] _law_, especially if you plan on hooking the server up to the internet (i.e. a public-type server) [07:06] agree.. if you want use X programs use X tunneling instead [07:06] <_law_> x tunneling? how to do that? [07:07] <_law_> i have very lack of knowledge XD [07:07] besides. 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 link2 [07:07] _law_: do you have 2 linux machines ? [07:07] <_law_> yaya i have [07:08] <_law_> ubuntu server that hasi no x [07:08] _law_: then do following, from desktop : ssh -X user@server [07:08] <_law_> n centos sever that has gui [07:08] _law_: server dosent need it [07:08] _law_: but you need that openssh-server in server [07:09] _law_, yes, openssh-server is the 'new [07:09] _law_, ' telnet [07:10] actually you should newer use telnet to login systems. it good tool to debug stuff like mailserver etc.. but newer transfer anything importand over it [07:11] those days.. even i could hack into other peoples accounts when we had hubs and telent server in school [07:11] <_law_> i just execute ssh -X user@server from terminal [07:11] its even strongly suggested not to even install telnet... [07:12] <_law_> then? [07:12] then type xterm [07:12] <_law_> but my ubuntuserver still don't has it [07:12] if it gives error then type apt-get install xterm [07:13] <_law_> hmm i'm confuse now [07:13] please explain [07:13] <_law_> i wanna know [07:13] <_law_> what should i install in my ubuntu server [07:13] <_law_> xorg or xterm? [07:14] <_law_> n wat r those? [07:14] only xterm [07:14] <_law_> then wat is xterm? [07:14] it shouldnt offer you xorg-server, only xterm package [07:15] <_law_> wat xterm usage? [07:16] _law_: ?? its terminal program for x, and very light weight [07:16] <_law_> ooo [07:16] <_law_> ok then i'm install it 1st [07:16] <_law_> wait :) [07:17] double check that it dosent wnat to install alot stuff [07:17] it while when i installed xterm to server so cant rememeber all [07:24] <_law_> ok now i'm installing it [07:25] <_law_> my internet very slow [07:25] its sloow [07:25] <_law_> ya my internet [07:25] is it ready ? [07:25] <_law_> not yet [07:25] <_law_> XD [07:26] it isnt that big, you connection is sloowww [07:26] but when its ready you just type xterm ... hard aint ? [07:26] <_law_> ok [07:27] <_law_> simplexio, yesterday i read on the net that wecan use PuTTY 4 remote via ssh from windows [07:27] then 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 transmission [07:27] <_law_> then i installed it [07:28] umm.. . [07:28] <_law_> ok but i need to install nautilus 1st rite [07:29] <_law_> u ever used PuTTy? [07:29] when i used windows on desktop [07:29] and now, when i ssh to home server from here [07:30] <_law_> hmm i just installed it n when i run it it's defaultly use my windows username to connect to my linuxbox [07:30] <_law_> but on the web i c that we can type te username we want to use [07:30] <_law_> the username [07:30] havent used latest putty, i think this versio is older one.. you could try user@server syntax [07:31] if i recall right, putty supports that [07:31] bit now to smoke [07:31] <_law_> where to type that line? [07:33] <_law_> i mean where to type user@server [07:35] <_law_> ? [07:38] in putty to connection address [07:38] <_law_> oh [07:38] <_law_> ok [07:45] how to use nis netgroup for user authntication? [07:45] I mean where do I specify to use the netgroups? [07:46] Some where in PAM? [07:46] i wasnt to do this for telnet sessions.. [07:47] newer done it , but there is "good" howtos in google, i recal lrading one or two [07:48] well most of them suggest using /etc/passwd file...but tht is i the compt mode... [08:11] Greetings. 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] s/that/than/ [08:25] <_ruben> owh: 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:26] _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:28] s/:)/:(/ [08:36] sommer: please ping me when you're around [08:42] moin [08:56] kirkland: Yes, you are right, my brain is going to mush. [08:56] kirkland: It was sispoty :) [08:57] +t === mdz_ is now known as mdz [11:55] anyone can recommend me an app to act as a SIP/VoIP server? [11:58] asterisk [11:59] or freepbx [11:59] both have web guys aswell [12:02] kwork: thanks. I think asterisk may be a bit too much for a inicial tryout [12:03] but I'll install it on a VB server and test [12:03] quite fancy device is audiocodes [12:03] it has asterisk on oen board aswell bunch of E1's [12:05] boss wants to connect local branch and another office via VoIP [12:05] already started talking to VoIP ISPs [12:05] to know what I've available [12:06] so I can go from the simplest solution (webphones/ip phones) [12:06] to more complext server based [12:10] BUGabundo, check out audiocodes devices they are nice voip gateways, thou they are more to VOIP ISPs [12:10] more inteneted to isps even [12:11] yeah [12:11] I just need 4 local and one remote [12:30] ttx: yo [12:30] sommer: want to discuss likewise-open 5 now ? [12:31] ttx: sure [12:31] sommer: so I'm not sure how this should appear... but it seems interesting to at least mention likewise-open5 on those pages [12:32] even if the main/supported alternative is still likewise-open (4.1) [12:32] sommer: we expect likewise-open5 to work better in most scenarios [12:33] sommer: installing likewise-open5 will uninstall likewise-open. So it will make you leave any joined domain. [12:33] ttx: is the interface for 5 different from 4? [12:33] sommer: Instructions for one work for the other. Same CLI/GUI interfaces [12:34] ttx: that's cool, should be pretty simple [12:34] ttx: I'll add information about the upgrade issue from 4 to 5 and note that 5 should work better [12:35] sommer: sounds good, ping me when you have something to review. [12:36] ttx: sure will do [12:37] sommer: I'm available for all questions in the 4 next hours. [13:12] hi, can someone link to LAMP installation guide ? [13:13] <\sh> spt-get install apache2 libapache2-mod-php5 php5-mysql mysql-server === Noah0504|away is now known as Noah0504 [13:15] <\sh> orudie: 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] is there a dpkg command for this ? [13:16] <\sh> orudie: sudo apt-get install apache2 libapache2-mod-php5 php5-mysql mysql-server as mentioned before [13:19] i installed 8.10 server on a VPS account, and there is no /etc/hostname file, is this normal ? [13:19] ttx: here's a diff of the likewise-open5 content: http://paste.ubuntu.com/137489/ [13:22] sommer: 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] ah [13:22] * sommer adjusting [13:23] kirkland: 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:24] the common scenario is an Ubuntu installation. I boot from the CD, do the install, reboot, and it doesn't come up again [13:25] mdz: I noted that too. it's not a regression though, the behavior was the same for intrepid. [13:25] ttx: yes, it seems familiar, though I thought it started working again at some point [13:26] mdz: I was wondering if it wasn't obeying some virtual ejection at the end of the install. [13:27] since you reboot rather than restart the VM completely. [13:27] ttx: that sounds like a likely hypothesis [13:28] well 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-eject [13:28] sommer: maybe add something about replacing one with the other [13:29] ttx: version two: http://paste.ubuntu.com/137496/ [13:30] i installed 8.10 server on a VPS account, and there is no /etc/hostname file, is this normal ? [13:32] orudie: no [13:32] orudie: How did you install? From a debootstrap it is :) [13:33] Daviey, there is an option which distro to deploy, among many i picked ubuntu 8.10 server [13:33] orudie: who is the provider? [13:33] linode [13:33] *shrug* [13:33] they've borked it :).. Even so, you can create one :) [13:33] i'm talking to them right now, there response was Without the /etc/hostname file, DHCP assigns the hostname. [13:34] * ttx proposes an alternate version [13:34] orudie: Please tell me they don't ship DHCP for IP's! [13:34] i dont know that Daviey [13:35] but yeah, my goal is to host multiple drupal sites on this host [13:35] have to configure everything [13:36] i'm used to setting a server up for just one domain , but not multiple [13:36] sommer: 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 warning [13:36] orudie: vhosts are your friend! [13:36] thats why i'm kinda concerned about this from the very start [13:37] vhosts? [13:37] apache virtual hosts.. allows you to have many domains one one IP address [13:37] on one* [13:37] oooh, yeah thats right i started reading about this last night [13:37] sommer: I also removed the "For most scenarios..." since it should work at least as well in all cases [13:38] orudie: (incompatiable with SSL) [13:38] sommer: otherwise it's a bug :) === Noah0504 is now known as Noah0504|away [13:41] so /etc/hosts will have multple hosts line hostname.example1.com , hostname.exmplae2.com etc. ? [13:41] like* === aZaFred_ is now known as aZaFred [13:46] ttx: that makes sense... I'll commit it [13:46] ttx: thanks [13:47] sommer: you're welcome :) I'll try to review the euca/opennebula chapters today. === Noah0504|away is now known as Noah0504 [13:48] ttx: that would be awesome [13:53] ttx: 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 well === Noah0504 is now known as Noah0504|away [14:13] anyone here skilled in bug reporting? [14:14] found a bug in an ubuntu package which has been reported already for the equivalent debian-unstable package [14:14] yet i'm not sure if the ubuntu folks are aware of it or not [14:14] figured i might just report it and link to the debian bug [14:15] might ask in ubuntu-bugs now that i think of it... [14:15] Sam-I-Am: you could post it on the launchpad.net [14:15] yeah [14:15] bugs.launchpad.net? [14:16] Sam-I-Am: yes [14:16] https://bugs.launchpad.net/bugs/+filebug [14:16] yeah thought so [14:16] it'll just be a copy of the debian package bug [14:16] i'll reference it... [14:17] already updated another db-4.7 bug there a few mins ago [14:17] Sam-I-Am: you can mark your bug as "also affecting" the Debian distribution of the same package. [14:17] that way the bug watch allows us to track progress on the debian bug. [14:18] cool, i'll do that [14:18] never wound up in this situation before heh [14:23] sommer: 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:24] or the second one should be renamed to "eucalyptus-nc" [14:28] ttx: that makes sense... I am still a little fuzzy on how all the pieces fit together [14:29] well, 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:30] So the "node controller" requires node-controller-packages to be deployed on compute nodes. [14:30] sommer: so the text in the doc is correct, but confusing. [14:31] That's why I would refer to "Node controller" for the function... and "eucalyptus-nc" for the package required on nodes [14:31] ttx: I see, I'll rename it to Management Node... that does seem more consice [14:32] sommer: might be simpler to just s/runs the Node Controller component of Eucalyptus/runs the eucalyptus-nc component/ [14:32] since "Node controller" is used everywhere else [14:33] also you use "Compute nodes" and "Cluster nodes" interchangeably. Pick one :) [14:33] mmm, bug posted and cross-referenced [14:33] sommer: I'd choose "Compute nodes". [14:33] mdz: you want to boot from the cdrom on reboot? [14:33] ttx: heh, sure [14:33] mdz: what does your boot order say? [14:35] kirkland: the boot order still shows "CDROM". But reboot fails with "No boot device" while the CDROM ISO file is still "mounted" in virt-manager [14:37] mdz: are you seeing the same thing as ttx? is this in virt-manager? [14:37] kirkland: I didn't check the boot order, but that sounds like what I'm seeing [14:37] kirkland: I'm using plain kvm [14:37] kirkland: 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:39] mdz: so normally, i start with something like 'kvm -hda foo.img -cdrom jaunty-server-amd64.img' [14:39] mdz: do an installation... install completes [14:40] mdz: it tells me to reboot, i warm reboot the kvm [14:40] mdz: at this reboot, the boot order is handled 'properly', by booting from my -hda [14:40] kirkland: that's exactly what I'm doing, and it fails [14:41] kirkland: 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] mdz: yes, i'm testing now [14:41] mdz: i've been doing exactly ^^^ that just about every day this cycle, and it's never failed me [14:42] kirkland: that == normal shutdown sequence, or something else? [14:42] mdz: normal shutdown sequence [14:42] mdz: server or desktop iso? [14:44] kirkland: desktop [14:44] maybe they use different methods of ejecting the CD, but it seems unlikely [14:46] * kirkland is installing jaunty-desktop into a kvm .... [14:51] guys i've copied over an installation to another machine (different network card) and it won't detect it [14:51] is there any way I can re-set up the network card on the new machine? [14:51] using 8.10 [14:58] mdz: okay, i just did the following without reproducing the problem [14:59] mdz: downloaded jaunty-desktop-amd64.iso -> 4a9d522d06f118fa72dbd613a02ca43e [15:00] mdz: kvm-img create -f qcow2 jaunty-desktop.img 4G [15:00] mdz: kvm -m 1024 -hda jaunty-desktop.img -cdrom ../iso/jaunty-desktop-amd64.iso [15:00] mdz: completed an install, pressed the "reboot now" button [15:01] mdz: i did have to hit "enter" one time more than i remember in the vm, something about ejecting the cd [15:01] mdz: and then my newly installed system came up and booted fine [15:01] kirkland: weird [15:01] kirkland: kvm command line? [15:01] mdz: kirkland@t61p:/local/virt/img$ kvm -m 1024 -hda jaunty-desktop.img -cdrom ../iso/jaunty-desktop-amd64.iso [15:01] mdz: okay, i'm going to ask you something strange .... [15:02] mdz: what's your cpu running at? [15:02] mdz: ie, freq scaling? [15:02] kirkland: yes, I use frequency scaling, it typically idles at 800MHz [15:03] mdz: apw and identified earlier this morning some weird behavior with degraded md raid that changes based on the host's cpu freq [15:03] mdz: i've been trying to chase that issue down for several days [15:03] mdz: possibly unrelated, but ondemand has introduced non-deterministic behavior in that bug at least [15:17] if trying to get kerberos logins to work but failed, now i cant login normal.. what to do ? still have one root shell to that computer [15:18] common-account :) [15:42] kirkland: interesting [15:42] ttx: are you using cpufreq as well? [15:43] mdz: yes [15:44] kirkland: btw couldn't reproduce my VM freeze with a fixed frequency... Doesn't really prove anything, but... [15:45] ttx: good to know [15:51] mdz: have you experienced this issue more than once? [15:51] kirkland: yes [15:52] kirkland: every time so far tday [15:52] today [15:53] mdz: can you post a screenshot of the error you see? [15:56] kirkland: yes [15:57] anyone know of a good guide to setup a connection to a mssql server? [15:57] all the guides I've found either don't work, or are ... shit heh [16:00] kirkland: http://people.ubuntu.com/~mdz/temp/Screenshot-kvm-cd-boot-failed.png [16:00] kirkland: notably, kvm still has the file open [16:00] lrwx------ 1 mdz mdz 64 2009-03-25 16:00 /proc/22847/fd/8 -> /home/mdz/iso/jaunty-desktop-i386.img [16:04] mdz: i'm testing again [16:08] how do i install LAMP on a brand new ubuntu 8.10 server ? [16:09] sudo taskel [16:09] orudie: start tasksel and choose LAMP there [16:10] mdz: 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:17] hi i have problem with nfs, pam and kerberos [16:18] when i mount my nfs volume i can't access the pam ldap account [16:21] http://pastebin.com/m49c16c94 [16:21] leonel: Debian just uploaded clamav (it went to New of course) so what's in Git now ought to be good. [16:22] mdz: okay, I'm clicking "Restart Now" after installation [16:22] mdz: and i'm watching my iso in the host with lsof [16:23] ScottK I was getting to that point .. :) [16:23] leonel: Excellent. I'm ready for a package any second now. [16:23] mdz: my host dropped the open file to the iso [16:23] the version I tested got me we working with no results ... [16:24] mdz: and now my guest has me waiting to hit enter to remove the disk and close the tray [16:24] scottK I'll pull it [16:24] Excellent. [16:24] mdz: it hit enter, and i boot into my newly installed guest image [16:24] mdz: curious, are you using the kvm in our kernel, or the kvm built from kvm-source? [16:32] mdz: i just uninstalled my kvm-source dkms built kvm module, and i'm rebooting now [16:47] mdz: hrm, still can't reproduce, even with the stock kvm in linux-image === Noah0504|away is now known as Noah0504 [17:01] New 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/348532 [17:09] leonel: The whole package is published at http://people.debian.org/~mt/clamav/ [17:09] leonel: Unless you're really close to uploading, I'll grab that at put it in the PPA? [17:10] scottK I guess that package would be better packaged .. [17:10] I would generally assume so. [17:10] scottK so the plan is to get that package port it to jaunty and ... all the rdepends? [17:11] leonel: First we go to the PPA. If we get the rdepends working, then we ask for a freeze exception. [17:11] I assume if we have working rdepends we'll get it. [17:11] ok [17:12] getting that package to my jaunty and latter today start the show .. [17:12] kirkland: I'm using all stock jaunty stuff [17:13] mdz: understood [17:13] mdz: i've been trying -amd64 [17:13] mdz: i see you're testing i386 [17:13] mdz: i'll download that [17:13] hi. 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:14] jwstolk1: sudo apt-get install wakeonlan [17:14] done [17:14] jwstolk1: that doesn't get you what you need for WoL? [17:14] I get "send : Operation not permitted at /usr/bin/wakeonlan line 126" [17:14] when trying to send the magic packet [17:15] jwstolk1: which version of ubuntu? [17:15] jwstolk1: you might need "sudo wakeonlan" ? [17:15] i'm already root :) (ubuntu-server 8.10) [17:15] rst-uanic, so the command is just tasksel ? [17:17] kirkland: 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] jwstolk1: see line 126 of /usr/bin/wakeonlan [17:17] send(S, $pkt, 0, $them) or die "send : $!"; [17:17] send is not a command [17:17] it's a perl function [17:17] ok [17:18] and it's telling you that you don't have permission to send on that socket [17:19] if i see the error unable to resolve host njnode (njnode is the hostname) , how can i fix it ? [17:20] mdz: 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:21] kirkland: 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 gone [17:23] leonel and nxvl: Clamav 0.95 is uploaded to the PPA. [17:29] sommer: hi - I've been talking with ara about organizing a ubuntu-server testing day [17:30] sommer: 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:31] mathiaz: okay, but SF is in like 4 hours [17:33] sommer: hm.. ok [17:33] sommer: the testing day could focus on the instructions. [17:33] cemc: ^^^ (about 3 lines up) - We have a clamav package so we can start working on rdepends. [17:33] sommer: like the command to be used. [17:34] (or maybe 6) [17:34] sommer: the commands (verbatim content) aren't translated [17:34] sommer: so we could still change them after StringFreeze? [17:35] mathiaz: possibly, it's been discouraged in the past... mdke likes to focus on translations and packaging after SF [17:35] sommer: ok. [17:35] mathiaz: if it's just command or config file issues, and there are bugs it probably won't be a big deal [17:36] sommer: right. I think it would still be valuable input. [17:36] sommer: at least we'd know what would be wrong... [17:36] mathiaz: sure, we can always apply the changes for karmic [17:37] mathiaz: do you have a list of sections in mind? [17:37] sommer: not really. [17:37] sommer: It's just an idea for now. Is doc.ubuntu.com up-to-date? [17:38] sommer: and for the next release cycle, we should organize such a testing day ealier in the release cycle :) [17:38] mathiaz: yeppers, and the list of "Needs Review" is here: https://wiki.ubuntu.com/JauntyServerGuide [17:38] mathiaz: ya a testing day with serverguide stuff would be awesome [17:39] sommer: but it would have to be done *after* FeatureFreeze [17:39] sommer: but *before* DocumentationStringFreeze [17:39] mathiaz: that would probably be the best time [17:40] scottK Thanks Here just builded the package from http://people.debian.org/~mt/clamav/ [17:40] leonel: It's also built in the PPA. It still lacks (from our perspective) the apparmor profile, but should be perfectly suitable for testing. [17:41] scottK the wiki will be used for tracking advances in rdepends ? [17:42] leonel: Yes. [17:42] nxvl and cemc: ^^^ === _jmedina is now known as jmedina [17:43] here [17:44] nxvl: Do you think you could grab the libclamav rdepends listed on the wiki (less klamav) and upload them to the PPA? [17:44] Then we'll have build failure logs .... [17:46] ok === hessml|away is now known as hessml|away|away [18:06] leonel: Can you join #debian-clamav on OFTC. We can discuss it there. [18:07] what is OFTC? [18:07] irc.oftc.net:6667 [18:09] thanks [18:18] hi [18:19] anybody here using jboss AS ? [18:27] guys i've compiled this ;php5-mssql_5.1.6-1ubuntu2.1_i386.deb [18:28] anyone know how I can now use it to connect to mssql from ubuntu server? [18:32] its probably documented in the package for php [18:33] which is what you built... [18:33] the docs should give you the functions and maybe some examples [18:38] mdz: tested the same procedure on i386 guest -- no problem there either [18:39] mdz: what format are your disk images? qcow2? [18:39] kirkland: default for kvm-img create [18:39] * kirkland goes check what that is... [18:40] mdz: fmt=raw [18:40] mdz: i'll test with that now [18:40] kirkland: maybe I should just open a bug report about this and move on [18:40] it's not blocking my work or anything [18:40] mdz: sure, whatever you'd prefer [18:41] mdz: i certainly can't reproduce it for all i've tried [18:41] that's very puzzling [18:46] I wish 2.4 Mbps were a standard download speed :P [18:46] New bug: #348454 in nut (universe) "PDU support not working" [Medium,In progress] https://launchpad.net/bugs/348454 [18:47] it'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) === LoveGuru is now known as Remo === Remo is now known as LoveGuru [19:04] Does anyone know if Adaptec SAS-51245 works well under ubuntu? Official support is for SUSE, SCO, UnixWare, Sun Solaris, FreeBSD and VMWare ESX [19:05] hi... does anybody knows a way to modify the tomcat startup parameters? [19:13] albertico: tried here? http://tomcat.apache.org/tomcat-3.3-doc/tomcat-ug.html [19:15] theunixgeek, i was looking into it right now... [19:16] New bug: #347525 in ec2-api-tools (multiverse) "[jaunty] Please package ec2-api-tools for i386" [Undecided,New] https://launchpad.net/bugs/347525 [19:18] Do any of you know a list of PCI dial up modems that will work in ubuntu-server? [19:19] I have used trendnet external serial modems in a few servers without problems [19:19] I don't have external ones [19:19] conexant [19:19] but never PCI they are really hard to get [19:19] you'll have to buy a driver [19:19] How about USR? [19:19] usr are softmodems [19:20] and no driver is provided [19:20] So is there any that work OOTB? [19:20] buying a driver, that *ucks [19:20] jmedina: driver costs more than device :D [19:20] ivoks: yeap I know [19:20] but at least we are supporting linux oriented company [19:21] I dont use modems, but I have a customers that always ask for external modem for failover admin [19:21] i use them for fax service [19:21] they have servers in some cities where there is no adsl/cablemodem [19:22] So if I use a conexant what do I have to do? [19:22] fax? :O [19:22] yep [19:22] mdz: 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] Yes fax from a PC to a fax machine or other PC lol [19:22] its been a lot since I used a fax [19:22] fax2mail is great [19:22] here the last fax we received was 2 years ago [19:22] or mail2fax [19:22] or ftp2fax [19:24] ivoks: well that is fine [19:27] yay, my installation is finished [19:27] no!!! [19:27] "This kernel requires the following features not present on the CP: pae" [19:27] What should I do? I installed it on VirtualBox [19:27] haha vbox [19:28] install linux-386 package and boot 386 kernel [19:28] in guest [19:28] ivoks: how? I can't even book [19:28] you can boot from iso/cd and boot into rescue mode [19:31] New bug: #348627 in openssh (main) "motd disappears when using PasswordAuthentication in OpenSSH server" [Undecided,New] https://launchpad.net/bugs/348627 [19:32] ivoks: how do I boot into rescue mode? [19:32] "rescue a broken system?" [19:32] yes [19:33] ok, I'll try that [19:34] http://www.linuxprinting.org/show_printer.cgi?recnum=HP-PhotoSmart_7350 how do I download this driver? [19:36] kirkland: I noticed that kvm doesn't have an apport hook. are you interested in adding one? [19:36] mdz: yes! [19:37] mdz: bdmurray was going to help me with that at some point ... [19:37] mdz: i noticed this today, reading your bug post [19:37] kirkland: what info would you want included? [19:37] probably the exact kernel version [19:37] mdz: and guiltily thinking, "man, i never even used ubuntu-bug..." [19:37] though maybe the new versioning makes uname good enough [19:38] mdz: the kernel version of both host and guest [19:38] driver used for network [19:38] kirkland: can you get the host info from inside the guest? [19:38] mdz: whether the host is using the kvm-source kernel module, or the de facto one [19:38] mdz: no [19:38] virtio/e1000/realtek [19:38] mdz: yeah, ivoks ^ [19:38] mdz: network type [19:38] mdz: disk image format (qcow, qcow2, raw, etc), and virtio or not [19:39] mdz: i'd expect that the report should come from the host [19:39] kirkland: hmm, a lot of that stuff is going to vary at runtime for a particular instance of kvm, no? [19:39] should we be doing this at the libvirt level then? [19:39] mdz: yes, the command line actually used is very valuable [19:39] mdz: you can get that from libvirt [19:40] if user is using libvirt, why not just whole config file? [19:40] mdz: the libvirt level might provide more information, but would muddy the waters as to where the bug is [19:40] mdz: soren "owns" libvirt and virt-manager, so he should be consulted on those [19:40] mdz: dendrobates has tasked me with specifically kvm [19:41] kirkland: I filed bug 348633 btw [19:41] Launchpad bug 348633 in kvm "Fails to boot from CD after reboot: CDROM boot failure code: 0003" [Undecided,New] https://launchpad.net/bugs/348633 [19:42] mdz: thanks [19:42] kirkland: 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 rather than ubuntu-bug kvm [19:43] that way we can see the command line they're using, and hopefully gather some of the other info you're looking for [19:43] kirkland: writing hooks is really easy; if you can gather the info you want with shell commands then converting that to a hook is very straightforward [19:43] mdz: 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 be [19:43] mdz: tremendously helps me in sorting, to have at least something [19:43] Launchpad bug 1 in ubuntu "Microsoft has a majority market share" [Critical,In progress] https://launchpad.net/bugs/1 [19:44] uvirtbot: take a break :) [19:44] ivoks: Error: "take" is not a valid command. [19:45] mdz: cool ... where do I put these shell commands? [19:46] ivoks: thanks; it works now :D [19:47] http://www.linuxprinting.org/show_printer.cgi?recnum=HP-PhotoSmart_7350 how do I download this driver? [19:47] mdz: oh ... [19:47] mdz: dude [19:47] mdz: drop the -boot d [19:47] mdz: since your disk image is empty, kvm will default to booting from the cdrom the first time [19:48] mdz: the second time, you'll have grub love [19:48] theunixgeek: np [19:48] kirkland: that's fine the first time, but then the second time it will boot from the disk (which I don't want) [19:48] mdz: and you'll boot just fine, i bet ;-) [19:48] now, how do I find out my local IP address? ifconfig isn't helping [19:48] kirkland: I want it to work regardless of what junk happens to be in the disk image when I sit down to work [19:49] theunixgeek: 'ip a' is better than ifconfig, but ifconfig should show ip address [19:49] ivoks: the local one [19:49] kirkland: have the kvm package install /usr/share/apport/source_kvm.py [19:49] kirkland: sorry, /usr/share/apport/package-hooks/source_kvm.py [19:49] theunixgeek: local like localhost or from local network? [19:49] ivoks: local network [19:50] theunixgeek: ifconfig and ip a [19:50] something like 192.168.etc... [19:50] thanks [19:50] kirkland: check out source_splix.py for a really simple example [19:50] kirkland: and pydoc apport.hookutils for some convenience functions [19:50] kirkland: basically, you define a function add_info(report) which treats report as a python dictionary to store key/value pairs in [19:51] you can put pretty much anything you want in there, and apport will do the right thing with it [19:51] mdz: that part looks simple enough [19:51] binary data gets base64 encoded and attached, etc. [19:51] I have a custion, and I think I know a answer [19:51] mdz: and my set of magic shell scripts go ...? [19:51] which command can be used to see the reserved blocks count for a filesystem [19:51] ivoks: 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] I have used dumpe2fs (ext3) [19:51] kirkland: see the source_apparmor.pu hook for a more complex example [19:52] is there any other tool you know? [19:52] theunixgeek: did you install apache? [19:52] kirkland: add_info(report): report['OutputOfMagicShellCommand'] = command_output(['ls','-l','/dev/null']) [19:52] mdz: neat, this looks easy enough [19:52] kirkland: I want to add an apport hook for mdadm, to capture users raid configuration. [19:52] sbeattie: oh, snap [19:52] ivoks: I installed a LAMP server configuration [19:53] sbeattie: be my guest ... that's another that's used in really complicated ways that users don't even always understand [19:53] kirkland: the only thing I'm unsure about is how you can get the PID so that you can poke at the process [19:53] theunixgeek: is apache running? (ps ax | grep apache) [19:53] kirkland: it's included in report['ProcStatus'] but not in a very convenient way [19:53] ivoks: /usr/sbin/apache2 -k start [19:53] mdz: isn't that the reporter's responsibility? [19:53] theunixgeek: only one instance? [19:54] ivoks: six [19:54] then it's running [19:54] telnet localhost 80 [19:54] kirkland: 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 info [19:54] ivoks: I did; it says it's connected [19:54] so, it works [19:54] kirkland: 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 hook [19:55] ivoks: I still don't know what my local IP address is :P [19:55] kirkland: you should email pitti on that one [19:55] mdz: okay [19:55] mdz: can i parse it out of report['ProcStatus'] ? [19:55] mdz: with some fancy regexing? [19:56] theunixgeek: 20:51 < theunixgeek> ivoks: I'm getting 10.0.2.15 [19:56] kirkland: you can, but pitti might prefer to just make it available to the hook more cleanly [19:56] ivoks: yeah, but I get nothing in my browser [19:56] mdz: cool [19:56] "Safari can’t open the page “http://10.0.2.15/” because the server where this page is located isn’t responding." [19:56] sbeattie: apport hook for mdadm -> great idea, do you need help with it? [19:56] mdz: is this something I can get into the archive after beta? [19:56] theunixgeek: on server, try telnet 10.0.2.15 80 [19:57] kirkland: 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 risk [19:57] ivoks: "Connected to 10.0.2.15" [19:57] and wget'ing from it works [19:57] theunixgeek: maybe your browser doesn't know where 10.0.2.15 is [19:57] try: netstat -pltn | grep apache [19:58] ivoks: what do you mean? [19:58] theunixgeek: it's a server in vbox, right? [19:58] ttx: perhaps you could chime in on bug 348633 [19:58] Launchpad bug 348633 in kvm "Fails to boot from CD after reboot: CDROM boot failure code: 0003" [Undecided,New] https://launchpad.net/bugs/348633 [19:58] bah.. [19:58] ivoks: yes [19:58] theunixgeek: and the browser is on another machine? [19:58] ivoks: yes; even Firefox on the same machine won't open it [19:58] <\sh> guys, does anyone run ubuntu server (hardy or intrepid) on something like BLc7000 with bl46x or bl495 with flex10 virtualization solutions of hp fame? [19:59] theunixgeek: so, have you considered that your other machine doesn't know how to reach 10.0.2.15? [19:59] theunixgeek: routing problem [19:59] theunixgeek: try pinging 10.0.2.15 from that machine, or even better traceroute it [19:59] ivoks: 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) [20:00] mdz: looks very familiar. Will try to reproduce in the same conditions and report on the bug. [20:00] ivoks: seems like it can tracerout it [20:00] *tracerout [20:00] theunixgeek: it is working, it isn't available from other machines cause of your network setup [20:00] *traceroute [20:00] mdz: I'm happy to implement it (I've already done a few); ideas for exactly what to capture would be useful. [20:01] ivoks: how should I go about editing my network setup? [20:01] theunixgeek: 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 position [20:01] ivoks: no problem; thanks for your help [20:02] How do I edit my network setup so that a website on an Ubuntu Server virtual machine can be accessed from other computers? [20:03] theunixgeek, what do you need to do? [20:04] Elite|Jeti: I want to be able to view an HTML file on other computers [20:04] it's already in /var/www [20:05] I can traceroute to my server, but not ping to it, nor access its files from other computers [20:05] Do you use DHCP on the network? [20:05] Elite|Jeti: to be honest, I don't know [20:05] sbeattie: debian/bugscript should give you an excellent starting point [20:06] Elite|Jeti: I'm relatively new to networking [20:06] Do you use a router? [20:06] sbeattie: (aka /usr/share/bug/mdadm/script) [20:06] Elite|Jeti: yes [20:07] The other computers in the house do they run linux or windows? [20:07] sbeattie: 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 excellent [20:09] mdz: okay, now that i have my source_kvm.py, can i dry-run it? [20:09] ivoks, hi [20:10] mdz: just to see what it's gathering, without really barfing a real bug? [20:10] does anyone here have slapd running on intrepid with TLS? [20:10] Elite|Jeti: one runs Mac OS X, the other, Fedora [20:11] kirkland: sure, if you do ubuntu-bug -p [pid] it'll let you see the report before shoving it to launchpad. [20:11] theunixgeek, is that one running OS X a mac? [20:11] Elite|Jeti: yes [20:11] I know there are some issues with gnutls and openldap.. I'm wondering if my issues are related? [20:11] kirkland: the easiest way is as sbeattie says [20:11] or is it a hack [20:11] Reepicheep: what are your issues? [20:11] mdz: sbeattie: cheers, thanks. [20:11] ok [20:12] slapd doesn't start when I add the TLS to the config [20:12] Reepicheep: what's the error message? [20:13] I get an error "main: TLS init def ctx failed: -64" [20:13] kirkland: if you want a closer look, you can do this:http://pastebin.com/f15196f43 [20:13] Reepicheep: is the openldap user able to read the private key and the certificate? [20:13] Elite|Jeti: so, any ideas? [20:14] yeah.. they are world readable [20:14] Reepicheep: the private key is world readable? [20:14] Reepicheep: do you have apparmor messages related to slapd in your dmesg? [20:14] mathiaz: I noticed samba doesn't have an apport hook either; it could surely use one [20:14] Reepicheep: I would load slapd by hand with -d option [20:15] I remember there was some incompatibilities disscused in openldap mailing list about slapd compiled agains gnutls [20:15] I used the "-d" to get the error message. and yeah the private key is world readable [20:15] but I have never had those problems using my own CA [20:15] I set it that way thinking it was passably a permissions thing [20:15] Reepicheep: is that all the message? [20:16] mdz: yes - it's on my TODO list now that I wrote up the DebuggingSamba wiki page [20:16] I have am using my own CA [20:16] with openssl [20:16] Reepicheep: where are the cert and private key files located? [20:16] but openldap is built with gnutls [20:16] Reepicheep: slapd apparmor profile may deny access to them if they're not located in the standard directory [20:17] Reepicheep: you can check that by reading the output of dmesg [20:17] theunixgeek,msg me [20:18] dmesg reports "[153869.332435] type=1505 audit(1238000019.270:4): operation="profile_replace" name="/usr/sbin/slapd" name2="default" pid=5178" [20:18] my certs are in /etc/ssl/certs/server.crt and /etc/ssl/private/server.key [20:19] I also have my CA cert as /etc/ssl/certs/cacert.pem [20:19] Reepicheep: is the openldap user part of the ssl-cert group? [20:20] Reepicheep: etc/ssl/private/ is only readable by the ssl-cert group. [20:21] ok.. I don't have that group.. let me set that up [20:21] sbeattie: mdz: what's wrong with this? http://pastebin.ubuntu.com/137749/ [20:21] i'm expecting a CpuInfo field in my report [20:22] oh, hmm, it's triggering the report against bash [20:22] so i don't think my kvm hooks are running [20:22] Reepicheep: you should make sure that the openldap user is able to read the private key [20:22] Reepicheep: and its directory. [20:23] mdz: sbeattie: this file is /usr/share/apport/package-hooks/source_kvm.py [20:23] I did test that by "su -s /bin/bash openldap" and was able to read /etc/ssl/private/server.key [20:24] oh.. maybe that doesn't work.. I thought I tested that [20:24] let me check that out [20:26] that was it.. thanks [20:26] mdz: sbeattie: okay, i have it now! [20:27] mdz: sbeattie: i had to explicitly call "ubuntu-bug -P 1234 -p kvm" [20:27] but now i'm cooking ;-) [20:27] kirkland: FYI, attach_harware() already includes /proc/cpuinfo [20:27] sbeattie: thanks, i see that now ... [20:27] I created the ssl-cert group added openldap user and made the private directory group ssl-cert with "g+rx" permissions [20:28] sbeattie: before, my reports were being generated against bash [20:28] sbeattie: and i wasn't getting that [20:28] I spent way to much time on that for it being that simple [20:29] mathiaz|kirkland: any chance we can get the apport package included in ubuntu-server? [20:29] the crash catcher is disabled by default on release, so it should be safe from a performance perspective. [20:31] sbeattie: hmm, is there a very lightweight, few-deps, cli-only package? [20:31] kirkland: yes. [20:32] sbeattie: I don't see why we shouldn't do that. [20:33] kirkland: just the apport package; apport-{gtk,qt} include the gui bits. [20:33] sbeattie: cool, i'll leave it to mathiaz to add to the seed [20:34] hy there, any reason the -F option was removed from shutdown command? [20:35] in hardy LTS [20:35] mathiaz: that would be awesome, thanks. [20:35] I see the option in dapper in the manpage, but in hardy and intrepid [20:48] Any of you guys use hplip? [20:49] kirkland: "ubuntu-bug kvm" should be sufficient, as should "ubuntu-bug 1234" (if 1234 is a running kvm process) [20:49] Launchpad 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/1234 [20:49] I do, but I upgrade to 2.8.10 becaus some tray problems with customers printers [20:49] kirkland: also note there's a convenience function for "attach this file or tell me if it doesn't exist" [20:50] jmedina, were you talking to me? [20:51] uvirtbot: ha! [20:51] mdz: Error: "ha!" is not a valid command. [20:51] Elite|Jeti: yeap [20:54] jmedina, can you help me? [20:55] Elite|Jeti: how? [20:55] Elite|Jeti: you never said your problem [20:55] Elite|Jeti: I have not HP printer here, it is in customers site [20:55] I dont even have a printer configured in my system, I dont like wasting paper :D [20:56] jmedina, I have a hp photosmart 7350 photo printer I wish to install to my ubuntu server and share via samba [20:56] Elite|Jeti: and what is the problem? [20:57] don't know how [20:57] Elite|Jeti: plug in the printer, then enter to http://127.0.0.1:631 [20:57] I did sudo apt-get install hplip and it downloaded something [20:58] and installed but now what do I do? [20:58] tellme when you are in the admin page [20:58] It says page failed to load [21:00] install hpijs-ppd package [21:02] why share it over samba? [21:02] windows support http/ipp protocol [21:02] it can't discover it and use the ppd, but, well, you can add it as network printer :) [21:02] huh? [21:02] what? [21:03] What you said makes no sense to me [21:03] what doesn't? [21:03] linux/unix/osx can discover printers on another linux/unix/osx and use it without any user configuration [21:04] cups provides real client-server printing [21:04] windows never did real client-server printing [21:04] each windows client needs driver [21:04] cups clients don't need drivers, only ppd file [21:04] windows can be cups client, but it can't discover printers without interaction [21:05] and it needs driver to 'print' postscript to cups [21:05] so, if you already have cups on ubuntu, and you do, why adding another (samba) layer and make things even more complicated? [21:06] just add network printer with url http://ip_of_server:631/printers/name_of_printer [21:06] Greetings :) [21:06] How is everyone today? [21:06] any server admins using vsftpd? [21:11] ivoks: how do I set that up? [21:11] what exactly? printer? or windows client? [21:12] Printer [21:12] install hpijs-ppd package [21:12] restart cups [21:12] plug in printer [21:12] go to http://localhost:631/admin [21:12] and add recognized printer [21:13] I did sudo apt-get install hpijs-ppd and says not found [21:13] hpijs-ppds [21:14] what is the difference in hpijs and hplip, I always used hplip [21:14] sbeattie: mdz: is it possible to prompt the reporter for certain questions I can't determine automatically? [21:14] ohh yea ijs is for inkjet [21:14] hplip for lasers, sint it? [21:14] sbeattie: mdz: I can't see how i can determine the guest os, or the guest disk image format [21:14] hpijs is a driver [21:15] sbeattie: mdz: i have source_kvm.py collecting the other things i need, now [21:15] hplip is a system for scanning, printing, faxing... [21:15] kirkland: not that I'm aware of, but that's a question/suggestion pitti can answer best. [21:15] sbeattie: cool, i'll ping him [21:16] how many MB is 1904Kbs? [21:17] erm kB* [21:17] 1904/1024 [21:18] So a bit better than one meg [21:20] kirkland: 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 cases [21:20] kirkland: you should check with pitti on that one [21:21] kirkland: 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 files [21:22] kirkland: qemu/block.c has a routine for detecting the disk image format. [21:23] I'm not sure, but I believe it's exposed in {kvm,qemu}-img as an "info" subcommand or something. [21:23] If that's already been mentioned: Sorry, just joined the conversation now. [21:39] mdz: i'm regexing out the kvm command line, retrieving that properly === Elite|Jeti is now known as Elite [21:39] mdz: any idea on how to ask ps what path dir is this command executing from? [21:39] You have a software kvm? [21:40] mdz: ie, the -hda foo.img will likely be a relative path [21:40] mdz: if i can get that to an absolute path, then i can run soren's block.c routine for finding the format [21:40] * kirkland is away for bit ... messages logged [21:40] kirkland: os.path.join('/proc/pid/cwd', 'hda.img') [21:40] Elite: kvm = kernel virtual machine, that's virtualization [21:40] Ah lol [21:41] Too bad there wasn't a way you could switch using software that was silent not vnc but something that wasn't IP dependant [21:42] kirkland: Use "kvm-img info" instead. [21:42] kirkland: It detects the format and gives a bit more meta-data. It looks quite useful. [21:43] kirkland: I think you may get the command line in report['ProcCmdLine'] [21:43] er, ProcCmdline [21:43] kirkland: see e.g. https://bugs.edge.launchpad.net/ubuntu/+source/vlc/+bug/348669 [21:43] mdz: Error: This bug is private [21:43] oops, that's an untriaged crash report [21:43] That's odd. I thought ubuntu-dev were allowed to see those? [21:45] soren: we are, but uvirtbot apparently isn't [21:45] mdz: I'm not. [21:45] mdz: Launchpad says I'm not allowed there. :/ [21:45] mdz: Are you part of the security team, perhaps? [21:48] soren: it's not a security bug [21:48] soren: (I can't see it either) [21:48] The plot thickens.. [21:49] mdz is a member of the Launchpad Security Team (by extension). Perhaps that is why? [21:49] soren: I'm a member of the LPST, and I can't see it. [21:50] Alright, I'm fresh out of hypotheses. [21:50] fwiw, I can't see it either... [21:53] kees: 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:58] kees: Does it only affect md devices, or any devmapper device (specifically lvm2 devices)? [21:59] soren: it's (to my knowledge) only in Keybuk's PPA, not the general archive. [21:59] soren: based on other people's reports, it is only broken for md devices. [22:00] kees: Oh, ok. Lovely. [22:00] * soren reboots [22:01] hi, it seems like the ubuntu 8.10 tomcat6 service ignores the parameters I defined on the setenv.sh file [22:01] has anyone dealt with this? [22:05] setenv.sh file? [22:06] \o/ [22:06] o/ [22:07] acicula, already defined the setenv.sh file on the /usr/share/tomcat6/bin directory, but seems that tomcat ignores it [22:07] acicula, it keeps starting without the parameters I defined [22:10] ivoks: you stilll around? [22:12] albertico: what are you trying to do? [22:12] acicula, change the tomcat6 parameters when starting the jvm [22:13] acicula, basically, start tomcat6 with the following jvm parameters: "-server -Xms48M -Xmx256M -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:MaxPermSize=128m" [22:14] acicula, I have been searching around, and it says that one should modify the setenv.sh file and add such parameters [22:14] the setenv.sh file from where? [22:15] dont think the ubuntu tomcat6 service start script use that anyhow [22:15] acicula, I understood the setenv.sh file on the same directory where the tomcat6 scripts are installed, which is the /usr/share/tomcat6/bin path [22:15] tried modifying /etc/defaults/tomcat6? [22:16] albertico: dont see a setenv.sh there [22:16] dont se a setenv.sh in the tomcat6 distro either? [22:16] acicula, the guys on the #tomcat channel say I must create it... [22:16] acicula, so I did, but it does not work [22:17] acicula, let me check with the /etc/defaults/tomcat6 [22:17] # Arguments to pass to the Java virtual machine (JVM). [22:17] #JAVA_OPTS="-Djava.awt.headless=true -Xmx128M" [22:17] seems pretty selfexplanatory [22:22] other than downloading an entire cd.iso, loop back mounting it and pulling the netboot images out, is there anywhere in /ubuntu-releases/ that has the netboot images, particularly if they are under one of the numeric version directories? [22:22] warthog9: should be there [22:22] warthog9: correction, they are there [22:23] acicula: got a pointer, I'm not seeing *just* the netboot images on http://mirrors.kernel.org/ubuntu-releases/ [22:23] look on http://cdimage.ubuntu.com/ i think [22:23] or google ubuntu netboot? [22:23] warthog9: google, dont have an url for you, but you can find the linux/initrd images you want somehwere in the three [22:24] * warthog9 goes to run find on the kernel.org box for it then [22:24] eh? [22:24] How do I install a printer? its an HP Photosmart 7350 and I have cups installed [22:24] 'cause I know I can find them in just /ubuntu/ but I wasn't seeing the vmlinuz & initrd's in the releases directory structure [22:25] acicula, 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 works [22:25] acicula, thanks for your advice [22:27] albertico: 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 something [22:28] albertico: did you try setting CATALINA_OPTS in the /etc/default/tomcat6 ? [22:28] Anyone? [22:29] Elite: Elite did you enter to cups admin interface? [22:29] acicula, yes, but tomcat ignored the CATALINA_OPTS [22:29] albertico: think those options only work if you use the startup script from tomcat [22:29] albertico: which is entirely different from the init.d script [22:30] jmedina, I agree... will do so :) [22:30] jmedina, how? [22:30] Elite: I and ivoks already told yu so [22:31] albertico: thanks [22:31] through the :631? [22:31] acicula: 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 that [22:31] I can find something that lists Ubuntu 6.06 is dapper? [22:32] lsb_release -a [22:32] :S [22:32] jmedina: I'm also making the assumption that I'm not on an ubuntu box, and I need to translate it for all versions of ubuntu [22:32] Me? [22:33] Elite: so do you have cupsys installed and running? [22:34] warthog9: https://help.ubuntu.com/community/Installation/NetbootInstallFromInternet [22:34] ? [22:35] acicula, 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 daemon [22:35] acicula: 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:36] jmedina, that ip thing doesn't work [22:36] warthog9: different question, dunno [22:36] any svnserve experts in here... i'm trying to setup svnsync [22:36] Elite: try with the server's IP [22:36] svnsync hangs with an empty svnserve.conf [22:36] if i change one thing in svnserve.conf... like add an authz line [22:36] then it works but then breaks access for normal users [22:36] I did [22:36] acicula: 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:37] Elite: again, is cupsys installed and running? [22:37] see ya guys... thanks again! [22:37] Elite: read the server guide [22:37] http://doc.ubuntu.com/ubuntu/serverguide/C/cups.html [22:37] warthog9: i have no idea what you are on about, you were looking for netboot images yes? [22:37] there are instruccions about configuring cups to allow remote printing and admin [22:38] Elite: then when you enabled remote access and enter to the admin interface please tell me [22:39] well in fact there is a lot of documentation about howto configure printeres in cups [22:39] just a little clics [22:41] God damn this is shit [22:41] I can't find out how to enable that crap [22:49] ... [22:49] Elite: enable what? [22:50] The admin web interfact [22:54] Elite: did you read that guide? [22:54] http://doc.ubuntu.com/ubuntu/serverguide/C/cups.html [22:54] What guide? [22:54] ¬¬ [23:20] Elite: so? === asac_ is now known as asac [23:38] jmedina, not yet still dling cupsys [23:40] Elite: did you change Listen in cupsd.conf? [23:40] and restart cupsys [23:40] ? [23:40] How do I restart it? [23:41] I tried the /etc/init.d/cupsys restart but nothing [23:41] Elite: show the output from: [23:41] netstat -plutn | grep cups [23:41] run it on the server [23:41] not in your computer [23:42] I know [23:43] I dont [23:43] What? [23:43] I dont know if you know [23:45] tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 8535/cupsd [23:45] udp 0 0 0.0.0.0:631 0.0.0.0:* 8535/cupsd [23:45] and what is the server's IP? [23:46] I don't run linux on my desktops so you don't need to tell me where to run the command ;) [23:46] 192.168.0.100 [23:46] ok then [23:46] http://192.168.0.100:631 [23:47] page load error [23:47] it should work, unless you have a firewall or simething, in your desk or server, [23:47] which error? [23:47] Firefox can't establish a connection to the server at 192.168.0.100:631. [23:48] mmm, are you in the same subnet? [23:48] 255.255.255.0 [23:49] yes [23:49] Want the file from my network? [23:50] that is a subnet mask [23:50] nop [23:50] do you have firewall in server? [23:50] 255.255.255.0 [23:51] Don't think so, I do have SWAT installed and it works [23:52] mm [23:52] please show me the lines you change in cupsd.conf [23:53] where is that file? [23:55] did you read the guide? [23:55] # Only listen for connections from the local machine. [23:56] Listen 192.168.0.100:631 [23:56] Listen /var/run/cups/cups.sock [23:56] that is all I changed [23:56] I only edited the IP [23:56] so you only have those Listen lines in your file? [23:56] did you restart cups? [23:57] /etc/init.d/cupsys restart [23:57] plase restart it again [23:57] and showme again the output from "netstat -plutn | grep cups"