[00:07] <JohnA1> i am thinking of using 10.04 for my SMB server. I have several questions that I would like to get answer
[00:09] <JohnA1> Oops, -- to. first off , why does ubuntu use exim as its mta, in the tasksel setup. Is there some advantage to exim over postfix?
[00:11] <JohnA1> alt, could somebody point me to a paper or other discussion as to why?
[00:29] <bronson> how do I make a networking device come up by default on boot?
[00:29] <bronson> I've added it to /etc/network/interfaces, and ifup eth0 works...  it just doesn't happen when the machine boots.
[00:31] <bronson> The http://tinyurl.com/ubuntuserv link in the topic is broken.
[00:31] <bronson> tinyurl: Error: Unable to find site's URL to redirect to.
[01:22] <billybigrigger> anyone here run an nfs file server over a gigabit network?
[01:37] <Zider> sorry, only 100Mbit here so far
[01:38] <axisys> how do I password protect a pdf file.. i need to send it to someone over the email .. i will call the person and give the password over the phone ..
[01:39] <Zider> on a server..?
[01:39] <axisys> might be offtopic for this channel.. will ask #ubuntu or #ubuntu-offtopic
[01:40] <Zider> you could encrypt the entire email instead.. :)
[01:46] <mikelifeguard> I have a 'server' (really an old desktop) that now says http://sprunge.us/CaIV about NX... but I don't think the processor supports NX - certainly I don't see a setting for it in BIOS. How likely is it that check-bios-nx is wrong here?
[01:47] <axisys> Zider: i am using gmail... i will just encrypt using openssl and give him the password on separate email
[01:47] <Zider> axisys: gmail webmail or via mail application?
[01:47] <axisys> gmail webmail
[01:47] <axisys> Zider: ^
[01:48] <mikelifeguard> `check-bios-ns --verbose` says http://sprunge.us/MiXI
[01:48] <axisys> i just need to encrypt the attachment .. and we both are in US
[01:51] <Zider> axisys: yeah, you can encrypt with any tool and just mail it then
[01:52] <axisys> Zider: yep.. looking for the syntax with openssl
[01:52] <Zider> or rar, it can encrypt too
[01:52] <axisys> openssl enc -ciphername [-in filename] [-out filename] [-pass arg] <-- looks like this will do
[01:53] <lavish> hi all
[01:53] <lavish> "Doc and resources: http://tinyurl.com/ubuntuserv" -> it's broken ;)
[01:54] <hackeron> hey, I dist-upgraded to lucid which removed postgres-8.3 so now I cant access any of my databases? - and it seems I can't reinstall 8.3 as it's no longer available. What do I do?
[02:03] <nick58b> hackeron: check out pg_upgradecluster
[02:05] <hackeron> nick58b: thanks
[02:09] <axisys> Zider: like rar.. thanks
[02:09] <axisys> Zider: tested .. works pretty good
[02:25] <Rodney_> I am trying to load 10.4LTS on my server but it fails even though the cd was verified.... Fails at every step once I get to "select and install software" step.. If I continue it will fail with Grub no mater if I install grub 1 or 2 and also fails if I try LILO...  Am I missing something? I am installing the 64 bit system on a 64 bit intel system.
[02:35] <sebas891> hi folks,  I wonder why ubuntu 10.04 take more than 60 minutes to install using the alternate cd installer.
[02:49] <RickyWh> anyone know why the images are not loading on my site?  http://ec2-204-236-201-28.compute-1.amazonaws.com/
[02:50] <RickyWh> it's weird
[02:51] <mikelifeguard> RickyWh: The webpage at http://graffitihousewars.com/sliver.png might be temporarily down or it may have moved permanently to a new web address.
[02:51] <RickyWh> oh wait, those are linking to the domain, right
[02:51] <RickyWh> ok thx :)
[02:51] <mikelifeguard> np
[02:52] <RickyWh> i was worried there for a few lol
[02:52] <mikelifeguard> Also, I'm not sure if url(...) is valid CSS. You might want url('...')
[04:05] <elnur> I'm upgrading my server through ssh from 9.10 to 10.04. My VPS is based on Xen. Should I upgrade to GRUB 2 or there are problems with GRUB 2 and Xen?
[05:40] <kaushal> hi
[05:40] <kaushal> can some one help me with the usage of mcelog ?
[05:43] <kaushal> I have got this http://fpaste.org/z9XT/
[05:45] <kaushal> I am running ubuntu 8.04 server
[05:46] <kaushal> i did /usr/sbin/mcelog --ascii b200000000070f0f it did not worked for me
[06:44] <MTecknology> Any ideas what would be causing this? sshd[32308]:
[06:45] <kaushal> checking in again for my query ?
[06:58] <maxagaz> sorry to ask here, but is there a free vnc server to put on a windows vista system ?
[06:59] <maxagaz> I have tried RealVNC but can't connect to it from ubuntu
[06:59] <maxagaz> although the port is openned
[06:59] <twb> maxagaz: I don't know.  Try asking ##windows.
[07:00] <twb> IIRC on NT5.0 and NT5.1 I used Tight VNC.
[07:00] <twb> I expect your VNC server is running, but Vista is firewalling it somehow.
[07:01] <twb> (Obviously, using Windows' native RDP server would be VASTLY preferable to VNC.)
[07:04] <SpamapS> yeah there's a native RDP client called rdesktop for X
[07:04] <SpamapS> works quite well most of the time
[07:04] <twb> And from NT5.1 onwards, even single-seat Windows SKUs ship with the RDP server pre-installed (but off by default).
[07:05] <twb> From memory you hit "properties > advanced" on the "My Computer" icon and turn on RDP, then go into the MMC and add your user to the appropriate "remote access" group.
[07:10] <timboy> time on my machine is an hour off. how can i fix it?
[07:11] <MTecknology> timboy: ntpdate
[07:11] <timboy> 11 May 00:11:18 ntpdate[2107]: no servers can be used, exiting
[07:12] <twb> timboy: what release?  Lucid?
[07:13] <timboy> twb, how can I tell from command line?
[07:14] <twb> lsb_release -a
[07:15] <timboy> twb, 8.04
[07:15] <twb> ntpdate-debian, then.
[07:16] <timboy> twb, that updated the time properly. should I put that in my cron jobs?
[07:16] <twb> No.
[07:16] <twb> ntpdate-debian should automatically be run at boot time, and ntpd should be invoked at boot time.
[07:16] <twb> As at 8.04, ntpdate[-debian] is responsible for large jumps, and ntpd performs incremental resyncs.
[07:17] <timboy> twb, this system never reboots it's been slowly losing time daily about 2 mins a day or so
[07:17] <twb> (In later releases, both roles are performed by ntpd.)
[07:17] <twb> timboy: that suggests that ntpd is either not installed or not being started at boot time.
[07:18] <timboy> twb, ntpd doesn't appear to be installed should I install ntp or openntpd?
[07:20] <twb> ntp.
[07:21] <timboy> ok thx twb
[07:38] <dominicdinada> How do I auto mount a usb drive at boot?
[07:38] <timboy> dominicdinada, add it to /etc/fstab
[07:39] <dominicdinada> as in the drive name ?
[07:39] <dominicdinada> !fstab
[07:43] <twb> dominicdinada: no, the UUID or LABEL
[07:44] <dominicdinada> ok and if the drive isnt there will it just skip it?
[08:44] <l3iggs> i would like to create a folder in which any user can create a file, yet only root can modify or delete the files once they're created.
[08:44] <l3iggs> i would appreciate any help in that matter
[08:45] <twb> Can't be done with the POSIX DAC.
[08:45] <l3iggs> if the SUID bit worked on directories, this would be quite easy
[08:45] <l3iggs> really!? this is a totally impossible task?
[08:45] <twb> High bits have different meanings on directories (compared to binaries).
[08:46] <twb> l3iggs: yes, totally impossible.
[08:46] <l3iggs> well darn
[08:47] <twb> The closest you can get is the permissions on /tmp, which (broadly) allow anyone to create a file, but only the owner to subequently modify it.
[08:47] <twb> Depending on your wider goal, you might want a set-uid program that allows students to submit files, but not to delete them.
[08:47] <l3iggs> yeah, that's a sticking point, i don't want the owner to be able to modify or delete it
[08:48] <twb> Another approach would be to simply have students submit their assignment via email, and have a procmail script place it in a world-readable, owner-writable directory.
[08:49] <l3iggs> let me elaborate,
[08:49] <l3iggs> i'm running a web server in which users upload files through a web portal
[08:49] <l3iggs> the file appears on my hard drive with www-data as the owner
[08:50] <l3iggs> i don't want the next user to be able to delete this file through the web page
[08:50] <l3iggs> or modify it for that matter
[08:50] <twb> That's up to your crappy web app, then
[08:50] <qman__> that's something that would normally be handled in the web application
[08:51] <l3iggs> yeah, i'll have to modify the web app
[08:51] <l3iggs> i was hoping to avoid that
[08:52] <l3iggs> i appreciate your help
[08:54] <twb> If you REALLY didn't want to edit the web app, you could do something totally horrble
[08:54] <l3iggs> go on...
[08:54] <twb> e.g. write a FUSE module along the lines of fuse-rofs that only allows OPEN write syscalls, and not much else.
[08:55] <twb> And returns ENOPERM or so for everything else.
[08:55] <twb> Possibly a MAC like apparmor or selinux could express the same thing, but I doubt they're set up for that level of granularity
[08:57] <l3iggs> the web app is open source and fairly heavily developed, i think i'm better off looking for support from its devs
[08:58]  * twb grumbles about web apps
[08:58] <l3iggs> i thought there might be some quick permissions or ACL trick that i don't know that could solve the problem easily
[08:58] <l3iggs> but i guess not
[08:58] <twb> l3iggs: not trivially, no.
[08:59] <l3iggs> well this points me in the right direction. i really appreciate the help
[09:07] <jnss> hreyt
[09:07] <jnss> hey!
[09:08] <jnss> so, does 10 come with nicely colored terminal colors
[09:09] <jpds> KMS?
[09:09] <twb> jpds: define "nicely colored terminal colors"
[09:10] <jpds> jnss: ^--.
[09:11] <jnss> doing ls -la shows files colored by their type
[09:15] <l3iggs> the new terminal is slightly transparent, which is kinda neat
[09:15] <l3iggs> by the way,
[09:15] <l3iggs> if anyone was reading on about the issue i brought up earlier,
[09:15] <l3iggs> i have solved it
[09:15] <l3iggs> with an .htaccess file that contains:
[09:16] <l3iggs> <Limit DELETE>
[09:16] <l3iggs> Require user root

[09:16] <twb> Oh, nice idea
[09:16] <l3iggs> :-) thankyou
[09:16] <twb> Of course it assumes your httpd will honour .htaccess files.
[09:16] <RoyK> allowoverride authconfig :þ
[09:17] <twb> RoyK: well, I normally run busybox httpd, not apache httpd.
[09:35] <dominicdinada> i got this error during update E: Sub-process /usr/bin/dpkg returned an error code (1)
[09:37] <dominicdinada> http://pastebin.com/YfGXvftM
[10:30] <iclebyte-work> Does anyone know how you would configure squidguard to block all except specified domains? I'm using 'pass !allowed none' but it's still blocking everything.
[10:40] <Julia> Hey People! Im trying to figure out, where an old partition started. The partition before ends at cylinder 6879 according to fdisk. I tried 6880 for the next partitions, but the fs (reiser) cannot be mounted. Can it be, that the next partition starts at 6879? Can one partition start in the cylinder in wich the one before ends?
[10:46] <twb> iclebyte-work: pastebin your squid.conf so I don't have to go find mine
[10:46] <iclebyte-work> one second!
[10:52] <twb> Holy wavering attention span, Batman!
[10:53] <iclebyte-work> twb, http://pastebin.com/ZpQNzjUS
[10:54] <twb> iclebyte-work: that's the whole file?
[10:54] <sporedi> how to use reverse proxy with ubuntu using apache
[10:56] <SpamapS> sporedi: do you want to use apache as the reverse proxy, or the backend HTTP server?
[10:58] <sporedi> i want my intenal web services to be acess over internet
[10:58] <twb> Hmm, is mod_proxy full of sexy HTTP/1.1 pipelining goodness?
[11:00] <iclebyte-work> twb, has that pastebin given you any clues?
[11:01] <recsa> Hi, i have read that in order to gonfig vncserver you have to edit /etc/sysconfig/vncservers file, i have look for it but that file is not present at my Karmic .... how can i make my second vnc4server desktop to run as a specific user?
[11:02] <twb> iclebyte-work: answer the question, please
[11:04] <iclebyte-work> twb, yea that's the whole file. It's a simple rule I'm trying to implement.
[11:05] <iclebyte-work> twb, i've had it working in the other direction i.e. allowing everything except the contents of the allowed domain file by using 'pass !allowed all'
[11:05] <iclebyte-work> but I need to block everything EXCEPT the contents of that file and for some reason google is not turning up much, nor is the squidguard documentation..
[11:06] <twb> I thought more like "acl whitelist domainlist allowed/domains.txt" and then "http_access allow whitelist"
[11:07] <twb> acl defines a pattern; http_access applies it
[11:10] <twb> That's pretty much what I have, except url_regex instead of domainlist
[11:18] <iclebyte-work> twb, is that squid.conf your talking about or squidGuard.conf?
[11:18] <twb> squid.conf
[11:18] <twb> Which is what I asked you to paste.
[11:18] <twb> (I don't use squidguard; IMO it doesn't add much value.)
[11:25] <iclebyte-work> right i shall try with squid alone then =)
[11:29] <ravionrails> can anyone tell me how to set up subdomain in ec2 cloud
[11:34] <erichammond> ravionrails: EC2/AWS does not provide DNS service.  You are responsible for providing this yourself.
[11:34] <erichammond> ravionrails: or are you looking for something else?
[11:35] <ravionrails> erichammond: actually i want to know how to set up in apache configuration
[11:37] <erichammond> ravionrails: ah.  EC2 does not support multiple IP addresses per instance, but you can support it with standard Apache virtual hosts.
[11:39] <ravionrails> erichammond: can u point me to  the settings in apache configuration file to setup subdomain
[11:41] <erichammond> ravionrails: Sure, Google "apache virtual host"
[13:11] <ujjain> I have a server here and only a HDMI cable, my monitor supports both HDMI and other type, but I don't have such a cable. Small chance I will be able to install VMWare ESXi on the server without such a cable, right?
[13:47] <a_ok> How can I renumber the ethernet ports? Mine start at eth2 now I have disabled the on board stuff
[13:47] <Jeeves_> a_ok: /etc/udev/rules.d/70-persistent-net
[13:47] <Jeeves_> or something like that
[13:47] <a_ok> Jeeves_: thank you
[13:49] <Jeeves_> yw!
[13:54] <a_ok> Jeeves_: can I simply remove that file?
[13:58] <Jeeves_> a_ok: Yes. If you remove it, Udev will recreate it the next boot
[14:12] <mcas> hiho
[14:29] <tesseracter> I set up a NFS mount based on https://help.ubuntu.com/community/SettingUpNFSHowTo but even with the rw option, I cannot write to the mounted drive - read works fine.
[14:30] <tesseracter> anything else able to cause it not to be able to be written to?
[14:33] <zul> tesseracter: have you looked at your log files on your server?
[14:35] <tesseracter> zul, it was even easier - the folders were set to 755, i just did chmod 777 and it was fixed.
[15:07] <SpamapS> ping!
[15:26] <RoAkSoAx> kirkland, ping?
[15:26] <kirkland> RoAkSoAx: pong
[15:26] <RoAkSoAx> kirkland, where you at? I just fixed the bug I had and I think its ready for merging if you wanna review it
[15:26] <RoAkSoAx> (testdrive)
[15:27] <kirkland> RoAkSoAx: in a session in cocobolo-3
[15:27] <RoAkSoAx> kirkland, ok be there in a bit
[15:30] <timboy_> do all printers get added to lp group?
[15:36] <kirkland> bug #471615
[15:38] <a_ok> how do I install sun java ?
[15:38] <a_ok> instead of openjdk
[15:39] <Pici> a_ok: In Lucid, sun's java is in the partner repository.
[15:39] <Pici> !partner
[15:40] <a_ok> Pici: is sun-java6-jre the right package?
[15:40] <Pici> a_ok: If you want the runtime environment, you'd need the sun-java6-jdk package for the jdk
[15:41] <a_ok> ok
[15:48] <sveinse> Hi. I just recently upgraded from 8.10 to 10.04, and now the server wont boot. The server is a machine running on a vmware host.
[15:49] <sveinse> A fresh install into a separate guest machine works perfectly. I get a (initramfs) prompt and it complains about not finding the rootfs (which is a LVM2)
[15:50] <sveinse> Any ideas to where to start debugging this? If I use the install CD and rescue, I find all partitions of the LVM perfectly intact
[15:59] <alvin> sveinse: Look into bug 360378 and bug 577353. Not sure if the situation is exactly the same.
[16:00] <alvin> I still have to restest that last bug on the same machine without LVM. reinstall as soon as I have time.
[16:01] <alvin> XDMCP is not working anymore since upgrade to lucid. (configuration unchanged). I can see the kdm on the server, and type login and password, but then I get thrown out.
[16:01] <alvin> Where can I get logs of XDMCP sessions?
[16:01] <alvin> There's only Xorg.0.log
[16:07] <sveinse> alvin: Yes, my server misbehaves the same way as the bug reports indicate. Problem now is to find which remedy works best. If course this happened on a production server!
[16:07] <alvin> sveinse: In the second case, I boot the previous kernel. The other bug. well, that one was introduced with karmic. Keep rebooting until it works is my current workaround...
[16:08] <alvin> The other workarounds in the report (kernel options) do not work for me
[16:09] <sveinse> alvin: No, kernel options is not it for me either, since root=/dev/mapper/xxx. However /etc/fstab uses uuid, so I'm trying to alter that now
[16:09] <alvin> sveinse: Yes, do that (see bug 563117)
[16:10] <alvin> This doesn't happen to everyone. Happened to me on some machines. On most, it stayed /dev/mapper
[16:10] <sveinse> Strange thing is that the test upgrade machine is now running lucid perfectly in the same settings as this one
[16:11] <sveinse> So I cannot say the error is occurring randomly
[16:15] <sveinse> Is fstab updated to initramfs? (I.e. do I need to run update-initramfs after updating fstab?)
[16:16] <lunaphyte_> dpkg-reconfigure says "you chose not to install grub to any devices - are you sure you want to continue?" - i did not do this - why does it think i did?
[16:20] <sveinse> alvin: What does it mean that it asks for password during booting?
[16:21] <sveinse> IIRC there is no root pwd set per default
[16:23] <sveinse> Hmm. Backup seems to be extremely important right now. Again this being a production server.
[16:23] <sveinse> Which live CD can I use which will recognize the LVM partitions from Ubuntu (Intrepid)?
[16:49] <guntbert> sveinse: if I remember correctly every (newer) live CD will be able to handle LVM
[16:54] <sveinse> It seems reinstall is inevitable for me. Is it at all safe to use Lucid for this? I mean, due to the above bug reports and all
[16:57] <alvin> lunaphyte_: Yes, install grub2 afterwards (it's called grub-pc)
[16:58] <alvin> sveinse: Oh, I didn't log that bug yet. It asked my (non-existing) root password also
[16:58] <lunaphyte_> alvin: it's installed.
[16:58] <lunaphyte_> this appears to be related to the upgrade from 9.10 to 10.04 i just did.
[16:58] <alvin> lunaphyte_: then run upgrade-from-grub-legacy
[16:59] <alvin> Yes, most of my upgrades told me that I had chosen not to install grub
[16:59] <alvin> (I didn't)
[16:59] <alvin> You can set it right afterwards
[16:59] <sveinse> Are this issues related to server upgrades or lucid in total regardless of upgrade/fresh install?
[17:00] <lunaphyte_> alvin: thanks.  it seems to be fine - i just would like to understand why ubuntu thinks this.
[17:01] <RoyK> is there a good reason to upgrade to grub2? i mean, grub1 works on my upgraded systems
[17:01] <alvin> I don't think there is (yet)
[17:02] <DrNick_> apart from grub2 being a pita to configure
[17:03] <p1und3r> hey all, I just put up an ubuntu server with samba and whatnot, strange thing is that I lose internet every once in a while and I must reset my router to regain internet, can anyone point in the right direction of how to fix this?
[17:03] <lunaphyte_> i like that grub 2 supports lvm.  does grub 1?
[17:03] <p1und3r> i removed bind9... thinking it was DNS messing up
[17:03] <sveinse> *bump* Sorry for being persistent: Can I trust lucid on a production server (yet)?
[17:03] <alvin> lunaphyte_: grub 1 supports lvm
[17:03] <lunaphyte_> i see.
[17:03] <DrNick_> if internet works when you reset your router, its the router's fault
[17:04] <p1und3r> DrNick_ the router is just crappy out and it's not my settings 100%?
[17:04] <p1und3r> crapping*
[17:04] <DrNick_> p1und3r: if it works fine after you reset the router, how can it be your settings?
[17:04] <p1und3r> DrNick_ i don't know, before I implemented the server it never did this
[17:05] <p1und3r> DrNick_ i didn't think it was my settings but that's why I'm here
[17:05] <p1und3r> DrNick_ i
[17:05] <DrNick_> does the server have anything to do with your internet connection?  i.e. do the stations on your LAN go through your server as a router, get DHCP addresses from it, or use it as a DNS server?
[17:06] <p1und3r> DrNick_ no they use a windows server on the network
[17:07] <DrNick_> it can't be much to do with the linux box then.  if you want to convince yourself tho, unplug the linux server for a bit and see if it does it.
[17:07] <alvin> sveinse: I'd love to chat about that (I'm not sure either), but I have to go home now. Bye
[17:07] <p1und3r> yea it sux cause it only happens once in a blue moon
[17:07] <sveinse> alvin: Thanks anyways.
[17:07] <p1und3r> and the fact that my office is using the shares on the linux server :|
[17:08] <DrNick_> i very much doubt its anything to do with the server.  is the server itself displaying odd behaviour during the problems? have you noticed any other things in common when the problems happen?
[17:09] <p1und3r> NrNick_ the only symptom is all the internet goes out thats it
[17:10] <DrNick_> i wouldn't say the problem is the server then
[17:10] <[[Mike]]> sveinse: You can trust lucid if you test it and find it to be trustworthy :P
[17:11] <p1und3r> DrNick_ well thanks for info im gunna look in to it more
[17:11] <p1und3r> DrNick_ the windows server on the network is a mess..
[17:11] <p1und3r> DrNick_ and it does the Ips :D
[17:11] <DrNick_> that might have something to do with it.
[17:12] <p1und3r> DrNick_ maybe it doesn't like linux :p
[17:12] <p1und3r> DrNick_ prior to addin the supplement everything was groovey except for exchange server
[17:12] <p1und3r> lol
[17:13] <DrNick_> i admit its odd if the problems actually did start after you bought the linux machine online, but i could just be chance that your router started playing up at the same time.   next time it happens i'd pay more attention to whats actually happening on your LAN - use wireshark or something
[17:18] <dominicdinada> so if i add an external drive in fstab will the system error and lock if the drive is not present?
[17:20] <DrNick_> dominicdinada: no it'll just fail to mount it
[17:20] <dominicdinada> ok :)
[17:25] <DrNick_> not that i expect anyone will know, but out of interest, anyone got an idea of how close sambe4 is to completion?  the wiki seems to have been the same for ages
[17:26] <DrNick_> er, samba4 *
[17:28] <RoyK> DrNick_: last I heard it's still in development - try #samba
[17:28] <DrNick_> cheers
[17:30] <DrNick_> would be pretty nice to run a full Windows Domain on linux servers :)
[17:32] <RoyK> it's possible, but currently only for winnt4-type domains
[17:33] <DrNick_> of course
[17:33] <DrNick_> but i don't know many people who'd want that kind of domain anymore.
[17:35] <RoyK> DrNick_: well, it works, mostly
[17:35] <enav> hi guys i got i little and noob question
[17:36] <RoyK> DrNick_: you can probably try and run the alpha
[17:36] <DrNick_> RoyK: might be interesting to play with on a virtual network or something yeah
[17:36] <RoyK> just use a VM
[17:36] <RoyK> no need for a vnet
[17:36] <enav> before install ebox on my server... ubuntu manual says: to access ebox  go to        https://yourserver/ebox      but is does not work
[17:37] <RoyK> enav: _before_ installing?
[17:37] <enav> sorry after install
[17:37] <RoyK> you may have to configure apache
[17:37] <RoyK> dunno - I don't use webstuff for administration :)
[17:38] <DrNick_> RoyK: yes thats what i was refering to.  a virtual network inside a hypervisor.  i can have other VM's as test clients and member servers then.
[17:38] <enav> royk humm that sound cool... i mean you say console is better
[17:38] <RoyK> enav: by far
[17:39] <enav> thanks mate
[17:39] <RoyK> takes a little while to learn it, but when you know it, it is way faster
[17:40] <RoyK> enav: "a little while" is something between some weeks to several years, depending on the level of knowledge and how fast you learn
[17:41] <DrNick_> in my case, it took a year or so of dabling 'part time' so to speak to be able to do most routine stuff.  its so powerful though that people who've been using UNIX for 40 odd years are still learning
[17:42] <enav> i learn fast
[17:42] <RoyK> I installed my first linux box in 1994, and I'm still learning
[17:42] <mikedep333> hey, I have a system running ubuntu-desktop 10.04, but my question is about mdraid. is it a bad idea to create an mddraid array from two block devices (eg /dev/sdb and /dev/sdc) rather than from partitions?
[17:42] <RoyK> enav: go for it :)
[17:42] <RoyK> it's very powerful
[17:42] <DrNick_> mikedep333: thats exactly what i do assuming i want the whole disks in the array and i never have problems
[17:43] <RoyK> mikedep333: it doesn't really matter
[17:43] <RoyK> mikedep333: linux treats all block devices the same
[17:43] <mikedep333> DrNick_, thanks, now I need to figure out why I can't mount it
[17:43] <DrNick_> mikedep333: all it means is that instead of creating a partition table on the disks, the RAID metadata is on there instead, which might mean other OS's will recognise them as "new" drives so be careful there, but as far as linux is concerned it won't really matter
[17:44] <mikedep333> it says /dev/md0p1 already mounted or /media/backups busy
[17:44] <RoyK> as opposed to opensolaris that turns off disk cache on partitions/slices by default "just in cse"
[17:44] <DrNick_> heheh
[17:44] <mikedep333> I did blkid and stuff, along with mdadm -D, it looks fine
[17:45] <RoyK> mikedep333: seems automount mounted it already
[17:45] <mikedep333> /etc/mtab doesn't show it mounted
[17:45] <RoyK> try to umount it
[17:45] <mikedep333> can't I check the mount point?
[17:45] <DrNick_> is it reported when you issues the 'mount' command with no arguments?
[17:46] <mikedep333> "mount" does not show it
[17:46] <mikedep333> umount /dev/md0p1: not mounted
[17:47] <DrNick_> i can only assume you have something else mounted under /media/backups
[17:47] <RoyK> cat /proc/mounts
[17:48] <mikedep333> I tried mounting it on /backups, no luck
[17:48] <mikedep333> note that when I try mount without -t ext3, it says "unknown filesystem linux_raid_member
[17:48] <RoyK> add it to /etc/fstab and try to reboot
[17:48] <RoyK> it really shouldn't mount unless you have asked it to
[17:49] <mikedep333> I did
[17:49] <mikedep333> let me make sure my fstab options are ok
[17:49] <RoyK> have you put an fs on it?
[17:49] <mikedep333> you know what
[17:49] <mikedep333> previously I had /dev/md0 in fstab, rather than /dev/md0p1
[17:50] <mikedep333> let me see if that fixes it
[17:50] <DrNick_> hang on....
[17:50] <DrNick_> have you done makefs on it?  i'm assuming you didn't create a partition on it with type "linux RAID"?
[17:50] <mikedep333> I created it a long time ago
[17:50] <mikedep333> with ubuntu 9.04
[17:51] <RoyK> partition type?
[17:51] <mikedep333> I had it mounted before I rebooted
[17:51] <mikedep333> ext3
[17:51] <mikedep333> I just restarted
[17:51] <mikedep333> it's checking an fs
[17:51] <RoyK> that's fs type
[17:51] <RoyK> not partition type
[17:51] <mikedep333> won't say which one
[17:51] <mikedep333> oh
[17:51] <RoyK> fdisk says
[17:52] <AmokPaule> Hello, where i do find the config for the update manager?
[17:52] <DrNick_> what's the output of 'fdisk -l /dev/md0'?
[17:52] <mikedep333> it's fsck-ing
[17:52] <DrNick_> o
[17:56] <AmokPaule> When i do do-release-upgrade and i have hardy lts shouldn't it say me that there is a new lts available?
[17:57] <RoyK> that depends on the settings in /etc/update-manager/release-updates
[17:57] <AmokPaule> its set to lts
[17:57] <RoyK> then it should, but I'm not sure if ubuntu-server is flagged for updates yet
[17:57] <mikedep333> DrNick_, the fsck didn't help. ID: 83 System: Linux
[17:58] <AmokPaule> ok ty
[17:58] <RoyK> mikedep333: wtf? did fsck finish without warnings?
[17:58] <mikedep333> RoyK, yes
[17:58] <RoyK> which release is this?
[17:59] <mikedep333> RoyK, at least I think so. Which log does fsck output to?
[17:59] <mikedep333> 10.04
[17:59] <RoyK> check /var/log/messages
[18:01] <RoyK> hope it's not a bug, although I haven't upgraded my 8.04 boxes yet, it'd be nice for 10.04 to be somehow stable
[18:01] <mikedep333> cat /var/log/messages | grep fsck just says checktime reached
[18:01] <mikedep333> I think I had this problem with 9.04
[18:01] <mikedep333> something to do with a process already accessing the array
[18:02] <RoyK> does mount show something?
[18:02] <RoyK> and what does /proc/mdstat say about it?
[18:02] <mikedep333> RoyK, no, mount says nothing, I'll check mdstat
[18:03] <mikedep333> oh
[18:03] <mikedep333> I think I see the problem
[18:03] <mikedep333> md_d0 exists
[18:03] <mikedep333> and it has a few fewer blocks than md0
[18:04] <mikedep333> is it raiding the partitions or something?
[18:04] <RoyK> never did that on itself while I was using md
[18:04] <RoyK> and that was for fairly large volumes
[18:04] <RoyK> what sort of array is this?
[18:04] <DrNick_> no idea what you've done there... basically when you create your raid device from the block devices, you should end up with /dev/md0 (assuming your first array), then thats the device you can put your filesystem on
[18:05] <mikedep333> md_d0: inactive md0p1[0](S)
[18:05] <mikedep333> raid1
[18:05] <[[Mike]]> mikedep333: Did you know that `grep fsck /var/log/messages` is equivalent to `cat /var/log/messages | grep fsck`? I didn't for the longest time :)
[18:05]  * [[Mike]] 's mind was blown
[18:05] <mikedep333> lol, thanks
[18:06] <RoyK> mikedep333: is /dev/md0p1 the first partition on md0?
[18:06]  * RoyK never partitions md
[18:06] <DrNick_> (alternatively a nice idea is to make your raid device a physical volume for LVM, but thats another story)
[18:06] <mikedep333> md0: active raid1 /dev/sdc[1] /dev/sdb[0]
[18:06] <mikedep333> RoyK, yes, /dev/md0p1 is the sole partition on md0
[18:07] <RoyK> wouldn't it better to partition the drives and then put a mirror on those partitions?
[18:07] <RoyK> s/a mirror/mirrors/
[18:07] <mikedep333> DrNick_ said he mirrored drives (block devices) without problems, and that's how linux works
[18:08] <mikedep333> hmmm, http://ubuntuforums.org/showthread.php?t=1168360
[18:09] <mikedep333> oh
[18:09] <mikedep333> it may be something with the UUIDs
[18:09] <DrNick_> well, you specify the name of the raid array when you create it
[18:09] <mikedep333> DrNick_, yeah md0
[18:09] <mikedep333> /dev/sdb1, /dev/sdc1 & /dev/md0p1 all have the same UUID
[18:10] <mikedep333> although I was mounting the partition by /dev/md0p1, not by UUID
[18:10] <DrNick_> :s
[18:12] <mikedep333> (partial) success
[18:12] <mikedep333> mdadm --stop /dev/md_d0 made mount -a work
[18:12] <RoyK> mikedep333: that seems to answer it quite well
[18:12] <mikedep333> RoyK, yeah
[18:13] <RoyK> do you have any devices under /dev/md/ ?
[18:13] <mikedep333> yes, d0, d0p1, d0p2, d0p3, d0p4
[18:13] <RoyK> try to mount /dev/md/d0
[18:13] <mikedep333> I think they're links to the devices under /dev/dm_d0*
[18:13] <mikedep333> RoyK, I think those were the issue
[18:14] <RoyK> thanks - I need to remember that
[18:14] <RoyK> seems the old devices names might have been removed in recent kernels
[18:15]  * RoyK has a few soft-mirrored installations
[18:15] <mikedep333> or rather /dev/md_d0* are links to /dev/md/d0*
[18:15] <mikedep333> let me check my mdadm.conf
[18:16] <DrNick_> i've never known anyone have such a confusing situation with softRAID
[18:16] <RoyK> seens like a udev issue somehow
[18:17] <RoyK> DrNick_: I haven't seen Jesus either, but rumors reports his existence
[18:17] <mikedep333> my mdadm seems to identify the disks by uuid
[18:18] <mikedep333> maybe I should identify by whatever you call it (/dev/sd*)
[18:18] <RoyK> that might break md
[18:18] <RoyK> not a good idea
[18:18] <mikedep333> ok
[18:18] <RoyK> since md might be working on the devices at the same time
[18:19] <RoyK> can you mount /dev/md/d0 ?
[18:19] <RoyK> or something?
[18:19] <RoyK> try dd if=/dev/md/something count=10 | file -
[18:19] <RoyK> see if you can find an ext3 fs
[18:19] <RoyK> perhaps count=100
[18:20] <mikedep333> alright, it worked!
[18:20] <mikedep333> mdadm --stop seemed to fix it permanently
[18:20] <mikedep333> (eg after reboot)
[18:20] <mikedep333> and best of all
[18:20] <RoyK> could you restart it?
[18:20] <mikedep333> /dev/sdb1 and /dev/sdc1 don't show up in the side of gnome
[18:20] <RoyK> or are you on single drives now?
[18:20] <mikedep333> RoyK, yes, I restarted it
[18:21] <mikedep333> it's mounted properly
[18:21] <RoyK> check mount, then, and rewrite fstab
[18:21] <RoyK> and please report the final fstab :)
[18:21] <RoyK> I might have to go through this myself
[18:21] <mikedep333> md0p1 is mounted
[18:22] <RoyK> is /dev/md0 and /dev/md0p1 the same dev?
[18:23] <mikedep333-hegem> /dev/md0p1	 /media/backups	ext3	errors=remount-ro 0	1
[18:23] <mikedep333-hegem> I copied the errors=remount-r 0 1 from my root partition
[18:23] <mikedep333-hegem> but still
[18:23] <mikedep333-hegem> that alone did not make it work
[18:23] <mikedep333-hegem> I had to do mdadm --stop /dev/md_d0
[18:23] <mikedep333-hegem> that made it work
[18:25] <RoyK> mikedep333-hegem: ls -lS /dev/md0 /dev/md_d0
[18:26] <RoyK> I mean ls -lLi
[18:26] <mikedep333-hegem> RoyK, the /dev/md_d0 devices do not exist
[18:27] <mikedep333-hegem> just /dev/md0 and /dev/md0p1
[18:27] <RoyK> what are the devnums for those?
[18:28] <mikedep333> umm, how do I check?
[18:28] <RoyK> ls -l
[18:28] <RoyK> roy@fred:~$ ls -l /dev/ttyS0
[18:28] <RoyK> crw-rw---- 1 root dialout 4, 64 2010-04-25 16:33 /dev/ttyS0
[18:28] <RoyK> 4,64 are the devnums
[18:29] <RoyK> major,minor
[18:29] <mikedep333-hegem> brw-rw---- 1 root disk   9, 0 2010-05-11 13:19 /dev/md0
[18:29] <mikedep333-hegem> brw-rw---- 1 root disk 259, 0 2010-05-11 13:19 /dev/md0p1
[18:29] <RoyK> huh? wierd
[18:30] <RoyK> can you pastebin /proc/devices?
[18:30] <mikedep333> RoyK, I'm not familiar with devnums
[18:31] <RoyK> mikedep333: devices in unix (and linux) have major and minor numbers - the major says which devices is used and the minor which part of it - basically
[18:31] <RoyK> md0 and md0p1 have separate major numbers
[18:31] <mikedep333-hegem> http://paste.ubuntu.com/431797/
[18:31] <mikedep333-hegem> gotcha
[18:31] <mikedep333-hegem> oh
[18:32] <mikedep333> brb, bathroom
[18:32] <RoyK> erm - so they changed from md to blkext?
[18:34] <mikedep333> RoyK, I'm not sure what you mean
[18:35] <RoyK> it's two different drivers
[18:35] <RoyK> in kernel
[18:35]  * RoyK checks
[18:40] <kaushal> hi
[18:41] <kaushal> is there a mailing list in Ubuntu for reporting Hardware issues ?
[18:42] <wvusportman1280> hello. i have 10.04 installed and am trying to do ldap authentication with apache2.  I currently getting "Can't connect to the server" messages in the the apache log. and ldapsearch -d 5 shows that the certificate is being rejected.  However when the dates are being reviewed, its between 2009 and 2012.  Also of note, that if i use ldap:// instead of ldaps://, it works perfectly fine.
[18:44] <RoyK> kaushal: http://kurl.no/5KZ4
[18:45] <mikedep333> kaushal, you mean the drivers for th hardware have bugs?
[18:46] <kaushal> I have a Machine check Exception
[18:46] <RoyK> those are usually driver bugs
[18:46] <RoyK> report it
[18:47] <RoyK> or google first
[18:47] <mikedep333> speaking of hardware support, I was impressed. I bought a radeon 4000 series card (late 2008, latest is 5000 series) and the X.org FOSS driver had 3d acceleration!
[18:47] <mikedep333> nexuiz (demanding 3d game) ran slow as balls on this low-end card, but still. compiz fusion ran great
[18:56] <kaushal> RoyK: shall i pastebin my issue ?
[18:57] <RoyK> kaushal: no, report a bug
[18:57] <RoyK> it's probably something noone in here can fix, but perhaps the ubuntu wizards can
[18:57] <kaushal> I have posted it to the Ubuntu Server Mailing list but did not get any answer
[18:57] <RoyK> just report it as a bug
[18:58] <kaushal> Its a Hardware level Machine check exception
[18:58] <RoyK> add all possible info
[18:58] <RoyK> a machine check exception is mostly due to bad drivers in my experience
[18:59] <RoyK> either that or bad hardware
[19:00] <RoyK> heh - oracle sucks - a bug was filed to oracle about a solaris problem by Opera and Opera was told they didn't have their EUR 500k support contract so they could find out about it themselves, so they simply dropped solaris support :D
[19:05] <mikedep333-hegem> hmm, I used a linux serial terminal emulator before with text interactive interface. does anyone know what it is called?
[19:05] <kaushal> RoyK: can you please paste me the URL to report bug ?
[19:06] <kaushal> I have been going through https://help.ubuntu.com/community/ReportingBugs
[19:06] <alvin> RoyK: Do you have a link about Opera dropping dupport for Solaris?
[19:06] <mikedep333-hegem> oh, minicom
[19:07] <RoyK> alvin: I got the story from the opensolaris ml - opera dropping solaris is on opera's website
[19:08] <alvin> I use Opera on Solaris :-(
[19:12] <alvin> I heard 2 things about Opera today: support for Opera on Maemo is coming, but they drop it for Solaris.
[19:15] <RoyK> http://my.opera.com/desktopteam/blog/2010/04/29/the-setting-sun
[19:47] <binBASH> Hi all
[19:47] <binBASH> someone got a package for 64 bit lucid? I would need varnish 2.1.2
[19:47] <binBASH> Seen lucid only has 2.1.0
[19:49] <RoyK> is there a big difference?
[19:49] <binBASH> 2.1.0 has memleak bug afaik
[19:50] <RoyK> the bugfix might be backported
[19:50] <RoyK> it's quite common to stick to a version a backport the fixes
[19:50] <binBASH> RoyK: How would I know that? :)
[19:51] <RoyK> it's probably done already
[19:51] <RoyK> they backport the fixes in the repositories
[19:51] <RoyK> debian has been doing that for 10 years or so
[19:51] <RoyK> other distros as well
[19:53] <qman__> for example, PHP -- php5-common (5.3.2-1ubuntu4)
[19:53] <qman__> it's 5.3.2, but it's been patched at least 4 revisions
[19:54] <binBASH> how to see what patches are applied?
[19:55] <qman__> well, on the packages site, there's options to download the original source, the patched source, and the diff between the two
[19:56] <qman__> probably a changelog somewhere, though I'm not sure where to get it
[20:27] <ziesemer_> My /etc/apt/sources.list seems to have been modified by something, and is missing many lines - including all the deb-src ones.  What is the easiest way to get it back to a "default"?
[20:33] <pmatulis> ziesemer_: /usr/share/doc/apt/examples/sources.list ?
[20:34] <pmatulis> ziesemer_: now investigate etckeeper, it helps with this kind of thing
[20:35] <ziesemer_> pmatulis: Thanks.  Unfortunately, though, that one doesn't like anything like the default.  Will look at etckeeper, though!
[20:35] <pmatulis> ziesemer_: what release are you running?
[20:36] <ziesemer_> 10.04
[20:37] <ziesemer_> I did just copy over scp from another VM I had just installed, so I'm working for now - but would like to find a better way in case I didn't have a VM available, etc...
[20:41] <pmatulis> ziesemer_: you can download the source (of 'apt' in this case).  but that yields the same file for me as the one given previously
[20:51] <dominicdinada> need a hand with fstab
[20:59] <dominicdinada> need a hand with fstab please
[21:24] <docta_v> the xen packages on 10.04 don't have xen-create-image
[21:25] <docta_v> so what is the preferred way to setup guest domains now?
[21:32] <therian> can UEC process graphics at host level?
[21:36] <therian> and also can you use nodes for input and output?
[21:36] <therian> thanks guys
[21:47] <Tyler--> Just asked in #ubuntu, but its a little crazy :-x. I'm new to ubuntu, but installed lucid on my server and was trying to add some ppa's and of course was following some guides, but ran into this: add-apt-repository: command not found
[21:54] <alvin> Isn't it apt-add-repository?
[21:55] <Tyler--> sudo: apt-add-repository: command not found
[21:55] <alvin> It's part of the python-software-properties package. probably not installed on a server
[21:56] <alvin> You don't need it anyway. Add the sources in /etc/apt/sources.d/<whateveryouwant>.list and apt-key the key
[21:58] <Tyler--> alvin: thank you
[21:59] <alvin> sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com <insertkeyhere>
[22:36] <enav1> hello i got a question the ServerAdmin  on apache config for a new site  it could be any email i want???
[22:51] <juanjoA>  hi, I cant install ubuntu 10.04 lucid with raid1 from installation (ALERT! dev/by-uuid.... busibox).  Is a bug?
[22:52] <juanjoA> ubuntu server i386 / asus p5kpl-am epu / seagate 500GB x 2
[22:54] <enav1> juanjoA im doing some tests on virtualbox so far no problem with raid with 3 hdds
[22:55] <enav1> juanjoA this is the guide to install raids http://is.gd/c4OPI
[22:57] <juanjoA> thx, I have installed karmic and dapper without problems
[22:57] <juanjoA> but over lucid I dont have chance
[22:58] <juanjoA> I see on the forums many problems with same result = busybox
[23:01] <enav1> moss open console an type this:  update-grub2
[23:01] <enav1> moss show me the outcome using http://pastebin.com/
[23:02] <itsonlyme> hi, I just installed 10.04, logged in the first time to updated network/interfaces for astatic ip, and rebooted.  On the reboot the machine booted to a message "fsck from util-linux-ng... clean...." and got stuck.  I can log in from ssh and everything works as expected remotely, but there is no prompt on the local display.
[23:02] <itsonlyme> any ideas?
[23:03] <therian> how do you create more virtual desktops with the command line? and how would you access them with remote desktop? im having a hard time getting the good lord google to tell me
[23:04] <itsonlyme> therian: press alt - f1 to alt -6
[23:04] <itsonlyme> is that what you want?
[23:04] <therian> no
[23:04] <itsonlyme> sorry
[23:04] <therian> lol its ok
[23:04] <itsonlyme> X11 virtual desktops?
[23:04] <therian> i already run compiz
[23:04] <therian> ya
[23:05] <therian> i learned it in school just forgot how to do it lol
[23:05] <itsonlyme> oh... hang on.  I saved instructions for that, if I can find it.
[23:05] <therian> thank itsonlyme
[23:11] <chrismsnz> hey guys, is there a support channel for wrangling netboot?
[23:12] <brianherman> Ok, so I installed wordpress on my ubuntu server
[23:12] <artisan> anyone knows of a xen4 ppa?
[23:13] <brianherman> how do I make it so it follows symlinks so when i goto <ip address of my server >/wordpress it goes to wordpress
[23:13] <artisan> or at least dom0 kernel?
[23:13] <artisan> brianherman: which webserver?
[23:13] <brianherman> ubuntu 9.04 server
[23:13] <artisan> brianherman: which webserver software?
[23:13] <brianherman> oh apache2
[23:13] <artisan> sec
[23:14] <artisan> brianherman: http://www.linuxquestions.org/questions/linux-software-2/redirecting-apache2-to-wordpress-site-by-default-669117/
[23:15] <brianherman> artisan: THANKS!
[23:15] <artisan> np
[23:16] <artisan> anyone knows of a xen4 ppa? or at least dom0 kernel?
[23:16] <artisan> (for lucid)
[23:16] <brianherman> wait I want to do the opposite
[23:16] <brianherman> oh man artisan
[23:16] <brianherman> 9.04 was the last release to support xen
[23:17] <brianherman> :(
[23:19] <itsonlyme> therian sorry man, couldn't find it.
[23:20] <therian> itsonlyme: thats ok, thanks for looking, and you pointed me in the right direction
[23:20] <brianherman> artisan: http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top-of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/
[23:20] <artisan> brianherman: no thanks, that is not xen4, but thanx for the effort
[23:21] <brianherman> Ok real easy question How do I get apache2 to execute .php files
[23:21] <artisan> brianherman: hehe
[23:21] <artisan> my apache knowledge is a bit rotten, but imho it was via mod_php
[23:22] <artisan> there is actually a recent dom0 kernel in debian/sid
[23:23] <artisan> hm, seems I'll go for this one, regarding xen4: http://publications.jbfavre.org/virtualisation/migration_form_xen3_to_xen4_lvm_drbd_debian
[23:24] <artisan> same same for ubuntu :)
[23:26] <brianherman> artisan: Good luck, I hope nothing breaks.
[23:27] <artisan> brianherman: will go for it on a testing cluster first :)
[23:27] <brianherman> My place systeminplace uses xen, but I only know that xen virtualizes... thats about it.
[23:27] <brianherman> I mean hosting provider
[23:33] <brianherman> hi u0324 and msantos
[23:33] <brianherman> Whats crackin?