/srv/irclogs.ubuntu.com/2010/05/11/#ubuntu-server.txt

JohnA1i am thinking of using 10.04 for my SMB server. I have several questions that I would like to get answer00:07
JohnA1Oops, -- to. first off , why does ubuntu use exim as its mta, in the tasksel setup. Is there some advantage to exim over postfix?00:09
JohnA1alt, could somebody point me to a paper or other discussion as to why?00:11
bronsonhow do I make a networking device come up by default on boot?00:29
bronsonI've added it to /etc/network/interfaces, and ifup eth0 works...  it just doesn't happen when the machine boots.00:29
bronsonThe http://tinyurl.com/ubuntuserv link in the topic is broken.00:31
bronsontinyurl: Error: Unable to find site's URL to redirect to.00:31
billybigriggeranyone here run an nfs file server over a gigabit network?01:22
Zidersorry, only 100Mbit here so far01:37
axisyshow 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:38
Zideron a server..?01:39
axisysmight be offtopic for this channel.. will ask #ubuntu or #ubuntu-offtopic01:39
Zideryou could encrypt the entire email instead.. :)01:40
mikelifeguardI 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:46
axisysZider: i am using gmail... i will just encrypt using openssl and give him the password on separate email01:47
Zideraxisys: gmail webmail or via mail application?01:47
axisysgmail webmail01:47
axisysZider: ^01:47
mikelifeguard`check-bios-ns --verbose` says http://sprunge.us/MiXI01:48
axisysi just need to encrypt the attachment .. and we both are in US01:48
Zideraxisys: yeah, you can encrypt with any tool and just mail it then01:51
axisysZider: yep.. looking for the syntax with openssl01:52
Zideror rar, it can encrypt too01:52
axisysopenssl enc -ciphername [-in filename] [-out filename] [-pass arg] <-- looks like this will do01:52
lavishhi all01:53
lavish"Doc and resources: http://tinyurl.com/ubuntuserv" -> it's broken ;)01:53
hackeronhey, 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?01:54
nick58bhackeron: check out pg_upgradecluster02:03
hackeronnick58b: thanks02:05
axisysZider: like rar.. thanks02:09
axisysZider: tested .. works pretty good02:09
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:25
sebas891hi folks,  I wonder why ubuntu 10.04 take more than 60 minutes to install using the alternate cd installer.02:35
uvirtbotNew bug: #578587 in samba (main) "umount.cifs does not work on logout with libpam-mount" [Undecided,New] https://launchpad.net/bugs/57858702:36
RickyWhanyone know why the images are not loading on my site?  http://ec2-204-236-201-28.compute-1.amazonaws.com/02:49
RickyWhit's weird02:50
mikelifeguardRickyWh: 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
RickyWhoh wait, those are linking to the domain, right02:51
RickyWhok thx :)02:51
mikelifeguardnp02:51
RickyWhi was worried there for a few lol02:52
mikelifeguardAlso, I'm not sure if url(...) is valid CSS. You might want url('...')02:52
elnurI'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?04:05
=== mikelifeguard is now known as Mike||gone
=== clintb is now known as SpamapS
kaushalhi05:40
kaushalcan some one help me with the usage of mcelog ?05:40
kaushalI have got this http://fpaste.org/z9XT/05:43
kaushalI am running ubuntu 8.04 server05:45
kaushali did /usr/sbin/mcelog --ascii b200000000070f0f it did not worked for me05:46
MTecknologyAny ideas what would be causing this? sshd[32308]:06:44
kaushalchecking in again for my query ?06:45
=== swift_ is now known as twister
maxagazsorry to ask here, but is there a free vnc server to put on a windows vista system ?06:58
maxagazI have tried RealVNC but can't connect to it from ubuntu06:59
maxagazalthough the port is openned06:59
twbmaxagaz: I don't know.  Try asking ##windows.06:59
twbIIRC on NT5.0 and NT5.1 I used Tight VNC.07:00
twbI expect your VNC server is running, but Vista is firewalling it somehow.07:00
twb(Obviously, using Windows' native RDP server would be VASTLY preferable to VNC.)07:01
SpamapSyeah there's a native RDP client called rdesktop for X07:04
SpamapSworks quite well most of the time07:04
twbAnd from NT5.1 onwards, even single-seat Windows SKUs ship with the RDP server pre-installed (but off by default).07:04
twbFrom 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:05
timboytime on my machine is an hour off. how can i fix it?07:10
MTecknologytimboy: ntpdate07:11
timboy11 May 00:11:18 ntpdate[2107]: no servers can be used, exiting07:11
twbtimboy: what release?  Lucid?07:12
timboytwb, how can I tell from command line?07:13
twblsb_release -a07:14
timboytwb, 8.0407:15
twbntpdate-debian, then.07:15
timboytwb, that updated the time properly. should I put that in my cron jobs?07:16
twbNo.07:16
twbntpdate-debian should automatically be run at boot time, and ntpd should be invoked at boot time.07:16
twbAs at 8.04, ntpdate[-debian] is responsible for large jumps, and ntpd performs incremental resyncs.07:16
timboytwb, this system never reboots it's been slowly losing time daily about 2 mins a day or so07:17
twb(In later releases, both roles are performed by ntpd.)07:17
twbtimboy: that suggests that ntpd is either not installed or not being started at boot time.07:17
timboytwb, ntpd doesn't appear to be installed should I install ntp or openntpd?07:18
twbntp.07:20
timboyok thx twb07:21
dominicdinadaHow do I auto mount a usb drive at boot?07:38
timboydominicdinada, add it to /etc/fstab07:38
dominicdinadaas in the drive name ?07:39
dominicdinada!fstab07:39
ubottuThe /etc/fstab file indicates how drive partitions are to be used or otherwise integrated into the file system. See https://help.ubuntu.com/community/Fstab and http://www.tuxfiles.org/linuxhelp/fstab.html and !Partitions07:39
twbdominicdinada: no, the UUID or LABEL07:43
dominicdinadaok and if the drive isnt there will it just skip it?07:44
=== dendro-afk is now known as dendrobates
uvirtbotNew bug: #578665 in dbconfig-common (main) "package dbconfig-common 1.8.44ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10" [Undecided,New] https://launchpad.net/bugs/57866508:21
uvirtbotNew bug: #578668 in awstats (main) "Please sync awstats from Debian unstable" [Undecided,New] https://launchpad.net/bugs/57866808:27
l3iggsi 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
l3iggsi would appreciate any help in that matter08:44
twbCan't be done with the POSIX DAC.08:45
l3iggsif the SUID bit worked on directories, this would be quite easy08:45
l3iggsreally!? this is a totally impossible task?08:45
twbHigh bits have different meanings on directories (compared to binaries).08:45
twbl3iggs: yes, totally impossible.08:46
l3iggswell darn08:46
twbThe 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
twbDepending on your wider goal, you might want a set-uid program that allows students to submit files, but not to delete them.08:47
l3iggsyeah, that's a sticking point, i don't want the owner to be able to modify or delete it08:47
twbAnother 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:48
l3iggslet me elaborate,08:49
l3iggsi'm running a web server in which users upload files through a web portal08:49
l3iggsthe file appears on my hard drive with www-data as the owner08:49
l3iggsi don't want the next user to be able to delete this file through the web page08:50
l3iggsor modify it for that matter08:50
twbThat's up to your crappy web app, then08:50
qman__that's something that would normally be handled in the web application08:50
l3iggsyeah, i'll have to modify the web app08:51
l3iggsi was hoping to avoid that08:51
l3iggsi appreciate your help08:52
twbIf you REALLY didn't want to edit the web app, you could do something totally horrble08:54
l3iggsgo on...08:54
twbe.g. write a FUSE module along the lines of fuse-rofs that only allows OPEN write syscalls, and not much else.08:54
twbAnd returns ENOPERM or so for everything else.08:55
twbPossibly a MAC like apparmor or selinux could express the same thing, but I doubt they're set up for that level of granularity08:55
l3iggsthe web app is open source and fairly heavily developed, i think i'm better off looking for support from its devs08:57
* twb grumbles about web apps08:58
l3iggsi thought there might be some quick permissions or ACL trick that i don't know that could solve the problem easily08:58
l3iggsbut i guess not08:58
twbl3iggs: not trivially, no.08:58
l3iggswell this points me in the right direction. i really appreciate the help08:59
jnsshreyt09:07
jnsshey!09:07
jnssso, does 10 come with nicely colored terminal colors09:08
jpdsKMS?09:09
twbjpds: define "nicely colored terminal colors"09:09
=== dendrobates is now known as dendro-afk
jpdsjnss: ^--.09:10
jnssdoing ls -la shows files colored by their type09:11
l3iggsthe new terminal is slightly transparent, which is kinda neat09:15
l3iggsby the way,09:15
l3iggsif anyone was reading on about the issue i brought up earlier,09:15
l3iggsi have solved it09:15
l3iggswith an .htaccess file that contains:09:15
l3iggs<Limit DELETE>09:16
l3iggsRequire user root09:16
l3iggs</Limit>09:16
twbOh, nice idea09:16
l3iggs:-) thankyou09:16
twbOf course it assumes your httpd will honour .htaccess files.09:16
RoyKallowoverride authconfig :þ09:16
twbRoyK: well, I normally run busybox httpd, not apache httpd.09:17
uvirtbotNew bug: #578681 in apache2 (main) "apache2 crashes on svn query with kerberos + ssl" [Undecided,New] https://launchpad.net/bugs/57868109:21
dominicdinadai got this error during update E: Sub-process /usr/bin/dpkg returned an error code (1)09:35
dominicdinadahttp://pastebin.com/YfGXvftM09:37
iclebyte-workDoes 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:30
JuliaHey 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:40
twbiclebyte-work: pastebin your squid.conf so I don't have to go find mine10:46
iclebyte-workone second!10:46
twbHoly wavering attention span, Batman!10:52
iclebyte-worktwb, http://pastebin.com/ZpQNzjUS10:53
twbiclebyte-work: that's the whole file?10:54
sporedihow to use reverse proxy with ubuntu using apache10:54
SpamapSsporedi: do you want to use apache as the reverse proxy, or the backend HTTP server?10:56
sporedii want my intenal web services to be acess over internet10:58
twbHmm, is mod_proxy full of sexy HTTP/1.1 pipelining goodness?10:58
iclebyte-worktwb, has that pastebin given you any clues?11:00
recsaHi, 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:01
twbiclebyte-work: answer the question, please11:02
iclebyte-worktwb, yea that's the whole file. It's a simple rule I'm trying to implement.11:04
iclebyte-worktwb, 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-workbut 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:05
twbI thought more like "acl whitelist domainlist allowed/domains.txt" and then "http_access allow whitelist"11:06
twbacl defines a pattern; http_access applies it11:07
twbThat's pretty much what I have, except url_regex instead of domainlist11:10
iclebyte-worktwb, is that squid.conf your talking about or squidGuard.conf?11:18
twbsquid.conf11:18
twbWhich is what I asked you to paste.11:18
twb(I don't use squidguard; IMO it doesn't add much value.)11:18
iclebyte-workright i shall try with squid alone then =)11:25
ravionrailscan anyone tell me how to set up subdomain in ec2 cloud11:29
erichammondravionrails: EC2/AWS does not provide DNS service.  You are responsible for providing this yourself.11:34
erichammondravionrails: or are you looking for something else?11:34
ravionrailserichammond: actually i want to know how to set up in apache configuration11:35
erichammondravionrails: ah.  EC2 does not support multiple IP addresses per instance, but you can support it with standard Apache virtual hosts.11:37
ravionrailserichammond: can u point me to  the settings in apache configuration file to setup subdomain11:39
erichammondravionrails: Sure, Google "apache virtual host"11:41
uvirtbotNew bug: #578729 in augeas (main) "Sync augeas 0.7.1-2 (main) from Debian unstable (main)" [Wishlist,New] https://launchpad.net/bugs/57872911:41
=== Mike||gone is now known as mikelifeguard
ujjainI 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:11
=== mikelifeguard is now known as Mike||gone
=== Mike||gone is now known as mikelifeguard
=== mikelifeguard is now known as [[Mike]]
a_okHow can I renumber the ethernet ports? Mine start at eth2 now I have disabled the on board stuff13:47
Jeeves_a_ok: /etc/udev/rules.d/70-persistent-net13:47
Jeeves_or something like that13:47
a_okJeeves_: thank you13:47
Jeeves_yw!13:49
a_okJeeves_: can I simply remove that file?13:54
uvirtbotNew bug: #578773 in dhcp3 (main) "dhclient waits a random 0-4 seconds before trying to acquire a lease" [Undecided,New] https://launchpad.net/bugs/57877313:56
Jeeves_a_ok: Yes. If you remove it, Udev will recreate it the next boot13:58
mcashiho14:12
=== oubiwann is now known as oubiwann_
=== oubiwann_ is now known as oubiwann
tesseracterI 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:29
tesseracteranything else able to cause it not to be able to be written to?14:30
zultesseracter: have you looked at your log files on your server?14:33
tesseracterzul, it was even easier - the folders were set to 755, i just did chmod 777 and it was fixed.14:35
=== oubiwann is now known as oubiwann_
SpamapSping!15:07
=== oubiwann_ is now known as oubiwann
RoAkSoAxkirkland, ping?15:26
kirklandRoAkSoAx: pong15:26
RoAkSoAxkirkland, where you at? I just fixed the bug I had and I think its ready for merging if you wanna review it15:26
RoAkSoAx(testdrive)15:26
kirklandRoAkSoAx: in a session in cocobolo-315:27
RoAkSoAxkirkland, ok be there in a bit15:27
timboy_do all printers get added to lp group?15:30
kirklandbug #47161515:36
uvirtbotLaunchpad bug 471615 in lxc "Linux containers not working on EC2" [Undecided,New] https://launchpad.net/bugs/47161515:36
a_okhow do I install sun java ?15:38
a_okinstead of openjdk15:38
Picia_ok: In Lucid, sun's java is in the partner repository.15:39
Pici!partner15:39
ubottuCanonical's partner repositories provide packages a location for software vendors to publish applications. The repo itself can be added by running this in a !terminal: « sudo add-apt-repository "deb http://archive.canonical.com/ RELEASE partner" » where RELEASE is lucid/karmic/etc15:39
a_okPici: is sun-java6-jre the right package?15:40
Picia_ok: If you want the runtime environment, you'd need the sun-java6-jdk package for the jdk15:40
a_okok15:41
sveinseHi. 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:48
sveinseA 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:49
sveinseAny ideas to where to start debugging this? If I use the install CD and rescue, I find all partitions of the LVM perfectly intact15:50
alvinsveinse: Look into bug 360378 and bug 577353. Not sure if the situation is exactly the same.15:59
uvirtbotLaunchpad bug 360378 in linux "Gave up waiting for root device after upgrade then busybox console" [High,Confirmed] https://launchpad.net/bugs/36037815:59
uvirtbotLaunchpad bug 577353 in linux "System can not find root device with kernel 2.6.32-22" [Undecided,Incomplete] https://launchpad.net/bugs/57735315:59
alvinI still have to restest that last bug on the same machine without LVM. reinstall as soon as I have time.16:00
alvinXDMCP 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
alvinWhere can I get logs of XDMCP sessions?16:01
alvinThere's only Xorg.0.log16:01
sveinsealvin: 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
alvinsveinse: 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:07
alvinThe other workarounds in the report (kernel options) do not work for me16:08
=== oubiwann is now known as oubiwann_
sveinsealvin: 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 now16:09
=== oubiwann_ is now known as oubiwann
alvinsveinse: Yes, do that (see bug 563117)16:09
uvirtbotLaunchpad bug 563117 in ubuntu "Release upgrade converts /dev/mapper entries in /etc/fstab to UUID" [Undecided,Confirmed] https://launchpad.net/bugs/56311716:09
alvinThis doesn't happen to everyone. Happened to me on some machines. On most, it stayed /dev/mapper16:10
sveinseStrange thing is that the test upgrade machine is now running lucid perfectly in the same settings as this one16:10
sveinseSo I cannot say the error is occurring randomly16:11
sveinseIs fstab updated to initramfs? (I.e. do I need to run update-initramfs after updating fstab?)16:15
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:16
sveinsealvin: What does it mean that it asks for password during booting?16:20
sveinseIIRC there is no root pwd set per default16:21
sveinseHmm. Backup seems to be extremely important right now. Again this being a production server.16:23
sveinseWhich live CD can I use which will recognize the LVM partitions from Ubuntu (Intrepid)?16:23
guntbertsveinse: if I remember correctly every (newer) live CD will be able to handle LVM16:49
sveinseIt 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 all16:54
alvinlunaphyte_: Yes, install grub2 afterwards (it's called grub-pc)16:57
alvinsveinse: Oh, I didn't log that bug yet. It asked my (non-existing) root password also16: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
alvinlunaphyte_: then run upgrade-from-grub-legacy16:58
alvinYes, most of my upgrades told me that I had chosen not to install grub16:59
alvin(I didn't)16:59
alvinYou can set it right afterwards16:59
sveinseAre this issues related to server upgrades or lucid in total regardless of upgrade/fresh install?16:59
lunaphyte_alvin: thanks.  it seems to be fine - i just would like to understand why ubuntu thinks this.17:00
RoyKis there a good reason to upgrade to grub2? i mean, grub1 works on my upgraded systems17:01
alvinI don't think there is (yet)17:01
DrNick_apart from grub2 being a pita to configure17:02
p1und3rhey 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
p1und3ri removed bind9... thinking it was DNS messing up17:03
sveinse*bump* Sorry for being persistent: Can I trust lucid on a production server (yet)?17:03
alvinlunaphyte_: grub 1 supports lvm17:03
lunaphyte_i see.17:03
DrNick_if internet works when you reset your router, its the router's fault17:03
p1und3rDrNick_ the router is just crappy out and it's not my settings 100%?17:04
p1und3rcrapping*17:04
DrNick_p1und3r: if it works fine after you reset the router, how can it be your settings?17:04
p1und3rDrNick_ i don't know, before I implemented the server it never did this17:04
p1und3rDrNick_ i didn't think it was my settings but that's why I'm here17:05
p1und3rDrNick_ i17: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:05
p1und3rDrNick_ no they use a windows server on the network17:06
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
alvinsveinse: I'd love to chat about that (I'm not sure either), but I have to go home now. Bye17:07
p1und3ryea it sux cause it only happens once in a blue moon17:07
sveinsealvin: Thanks anyways.17:07
p1und3rand the fact that my office is using the shares on the linux server :|17:07
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:08
p1und3rNrNick_ the only symptom is all the internet goes out thats it17:09
DrNick_i wouldn't say the problem is the server then17:10
[[Mike]]sveinse: You can trust lucid if you test it and find it to be trustworthy :P17:10
p1und3rDrNick_ well thanks for info im gunna look in to it more17:11
p1und3rDrNick_ the windows server on the network is a mess..17:11
p1und3rDrNick_ and it does the Ips :D17:11
DrNick_that might have something to do with it.17:11
p1und3rDrNick_ maybe it doesn't like linux :p17:12
p1und3rDrNick_ prior to addin the supplement everything was groovey except for exchange server17:12
p1und3rlol17:12
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 something17:13
dominicdinadaso if i add an external drive in fstab will the system error and lock if the drive is not present?17:18
DrNick_dominicdinada: no it'll just fail to mount it17:20
dominicdinadaok :)17:20
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 ages17:25
DrNick_er, samba4 *17:26
RoyKDrNick_: last I heard it's still in development - try #samba17:28
DrNick_cheers17:28
DrNick_would be pretty nice to run a full Windows Domain on linux servers :)17:30
RoyKit's possible, but currently only for winnt4-type domains17:32
DrNick_of course17:33
DrNick_but i don't know many people who'd want that kind of domain anymore.17:33
RoyKDrNick_: well, it works, mostly17:35
enavhi guys i got i little and noob question17:35
RoyKDrNick_: you can probably try and run the alpha17:36
DrNick_RoyK: might be interesting to play with on a virtual network or something yeah17:36
RoyKjust use a VM17:36
RoyKno need for a vnet17:36
enavbefore install ebox on my server... ubuntu manual says: to access ebox  go to        https://yourserver/ebox      but is does not work17:36
RoyKenav: _before_ installing?17:37
enavsorry after install17:37
RoyKyou may have to configure apache17:37
RoyKdunno - I don't use webstuff for administration :)17:37
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
enavroyk humm that sound cool... i mean you say console is better17:38
RoyKenav: by far17:38
enavthanks mate17:39
RoyKtakes a little while to learn it, but when you know it, it is way faster17:39
RoyKenav: "a little while" is something between some weeks to several years, depending on the level of knowledge and how fast you learn17:40
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 learning17:41
enavi learn fast17:42
RoyKI installed my first linux box in 1994, and I'm still learning17:42
mikedep333hey, 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
RoyKenav: go for it :)17:42
RoyKit's very powerful17:42
DrNick_mikedep333: thats exactly what i do assuming i want the whole disks in the array and i never have problems17:42
RoyKmikedep333: it doesn't really matter17:43
RoyKmikedep333: linux treats all block devices the same17:43
mikedep333DrNick_, thanks, now I need to figure out why I can't mount it17: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 matter17:43
mikedep333it says /dev/md0p1 already mounted or /media/backups busy17:44
RoyKas opposed to opensolaris that turns off disk cache on partitions/slices by default "just in cse"17:44
DrNick_heheh17:44
mikedep333I did blkid and stuff, along with mdadm -D, it looks fine17:44
RoyKmikedep333: seems automount mounted it already17:45
mikedep333/etc/mtab doesn't show it mounted17:45
RoyKtry to umount it17:45
mikedep333can't I check the mount point?17:45
DrNick_is it reported when you issues the 'mount' command with no arguments?17:45
mikedep333"mount" does not show it17:46
mikedep333umount /dev/md0p1: not mounted17:46
DrNick_i can only assume you have something else mounted under /media/backups17:47
RoyKcat /proc/mounts17:47
mikedep333I tried mounting it on /backups, no luck17:48
mikedep333note that when I try mount without -t ext3, it says "unknown filesystem linux_raid_member17:48
RoyKadd it to /etc/fstab and try to reboot17:48
RoyKit really shouldn't mount unless you have asked it to17:48
mikedep333I did17:49
mikedep333let me make sure my fstab options are ok17:49
RoyKhave you put an fs on it?17:49
mikedep333you know what17:49
mikedep333previously I had /dev/md0 in fstab, rather than /dev/md0p117:49
mikedep333let me see if that fixes it17: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
mikedep333I created it a long time ago17:50
mikedep333with ubuntu 9.0417:50
RoyKpartition type?17:51
mikedep333I had it mounted before I rebooted17:51
mikedep333ext317:51
mikedep333I just restarted17:51
mikedep333it's checking an fs17:51
RoyKthat's fs type17:51
RoyKnot partition type17:51
mikedep333won't say which one17:51
mikedep333oh17:51
RoyKfdisk says17:51
AmokPauleHello, where i do find the config for the update manager?17:52
DrNick_what's the output of 'fdisk -l /dev/md0'?17:52
mikedep333it's fsck-ing17:52
DrNick_o17:52
AmokPauleWhen i do do-release-upgrade and i have hardy lts shouldn't it say me that there is a new lts available?17:56
RoyKthat depends on the settings in /etc/update-manager/release-updates17:57
AmokPauleits set to lts17:57
RoyKthen it should, but I'm not sure if ubuntu-server is flagged for updates yet17:57
mikedep333DrNick_, the fsck didn't help. ID: 83 System: Linux17:57
AmokPauleok ty17:58
RoyKmikedep333: wtf? did fsck finish without warnings?17:58
mikedep333RoyK, yes17:58
RoyKwhich release is this?17:58
mikedep333RoyK, at least I think so. Which log does fsck output to?17:59
mikedep33310.0417:59
RoyKcheck /var/log/messages17:59
RoyKhope 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 stable18:01
mikedep333cat /var/log/messages | grep fsck just says checktime reached18:01
mikedep333I think I had this problem with 9.0418:01
mikedep333something to do with a process already accessing the array18:01
RoyKdoes mount show something?18:02
RoyKand what does /proc/mdstat say about it?18:02
mikedep333RoyK, no, mount says nothing, I'll check mdstat18:02
mikedep333oh18:03
mikedep333I think I see the problem18:03
mikedep333md_d0 exists18:03
mikedep333and it has a few fewer blocks than md018:03
mikedep333is it raiding the partitions or something?18:04
RoyKnever did that on itself while I was using md18:04
RoyKand that was for fairly large volumes18:04
RoyKwhat 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 on18:04
mikedep333md_d0: inactive md0p1[0](S)18:05
mikedep333raid118: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 blown18:05
mikedep333lol, thanks18:05
RoyKmikedep333: is /dev/md0p1 the first partition on md0?18:06
* RoyK never partitions md18:06
DrNick_(alternatively a nice idea is to make your raid device a physical volume for LVM, but thats another story)18:06
mikedep333md0: active raid1 /dev/sdc[1] /dev/sdb[0]18:06
mikedep333RoyK, yes, /dev/md0p1 is the sole partition on md018:06
RoyKwouldn't it better to partition the drives and then put a mirror on those partitions?18:07
RoyKs/a mirror/mirrors/18:07
mikedep333DrNick_ said he mirrored drives (block devices) without problems, and that's how linux works18:07
mikedep333hmmm, http://ubuntuforums.org/showthread.php?t=116836018:08
mikedep333oh18:09
mikedep333it may be something with the UUIDs18:09
DrNick_well, you specify the name of the raid array when you create it18:09
mikedep333DrNick_, yeah md018:09
mikedep333/dev/sdb1, /dev/sdc1 & /dev/md0p1 all have the same UUID18:09
mikedep333although I was mounting the partition by /dev/md0p1, not by UUID18:10
DrNick_:s18:10
mikedep333(partial) success18:12
mikedep333mdadm --stop /dev/md_d0 made mount -a work18:12
RoyKmikedep333: that seems to answer it quite well18:12
mikedep333RoyK, yeah18:12
RoyKdo you have any devices under /dev/md/ ?18:13
mikedep333yes, d0, d0p1, d0p2, d0p3, d0p418:13
RoyKtry to mount /dev/md/d018:13
mikedep333I think they're links to the devices under /dev/dm_d0*18:13
mikedep333RoyK, I think those were the issue18:13
RoyKthanks - I need to remember that18:14
RoyKseems the old devices names might have been removed in recent kernels18:14
* RoyK has a few soft-mirrored installations18:15
mikedep333or rather /dev/md_d0* are links to /dev/md/d0*18:15
mikedep333let me check my mdadm.conf18:15
DrNick_i've never known anyone have such a confusing situation with softRAID18:16
RoyKseens like a udev issue somehow18:16
RoyKDrNick_: I haven't seen Jesus either, but rumors reports his existence18:17
mikedep333my mdadm seems to identify the disks by uuid18:17
mikedep333maybe I should identify by whatever you call it (/dev/sd*)18:18
RoyKthat might break md18:18
RoyKnot a good idea18:18
mikedep333ok18:18
RoyKsince md might be working on the devices at the same time18:18
RoyKcan you mount /dev/md/d0 ?18:19
RoyKor something?18:19
RoyKtry dd if=/dev/md/something count=10 | file -18:19
RoyKsee if you can find an ext3 fs18:19
RoyKperhaps count=10018:19
mikedep333alright, it worked!18:20
mikedep333mdadm --stop seemed to fix it permanently18:20
mikedep333(eg after reboot)18:20
mikedep333and best of all18:20
RoyKcould you restart it?18:20
mikedep333/dev/sdb1 and /dev/sdc1 don't show up in the side of gnome18:20
RoyKor are you on single drives now?18:20
mikedep333RoyK, yes, I restarted it18:20
mikedep333it's mounted properly18:21
RoyKcheck mount, then, and rewrite fstab18:21
RoyKand please report the final fstab :)18:21
RoyKI might have to go through this myself18:21
mikedep333md0p1 is mounted18:21
RoyKis /dev/md0 and /dev/md0p1 the same dev?18:22
mikedep333-hegem/dev/md0p1 /media/backupsext3errors=remount-ro 0118:23
mikedep333-hegemI copied the errors=remount-r 0 1 from my root partition18:23
mikedep333-hegembut still18:23
mikedep333-hegemthat alone did not make it work18:23
mikedep333-hegemI had to do mdadm --stop /dev/md_d018:23
mikedep333-hegemthat made it work18:23
RoyKmikedep333-hegem: ls -lS /dev/md0 /dev/md_d018:25
RoyKI mean ls -lLi18:26
mikedep333-hegemRoyK, the /dev/md_d0 devices do not exist18:26
mikedep333-hegemjust /dev/md0 and /dev/md0p118:27
RoyKwhat are the devnums for those?18:27
mikedep333umm, how do I check?18:28
RoyKls -l18:28
RoyKroy@fred:~$ ls -l /dev/ttyS018:28
RoyKcrw-rw---- 1 root dialout 4, 64 2010-04-25 16:33 /dev/ttyS018:28
RoyK4,64 are the devnums18:28
RoyKmajor,minor18:29
mikedep333-hegembrw-rw---- 1 root disk   9, 0 2010-05-11 13:19 /dev/md018:29
mikedep333-hegembrw-rw---- 1 root disk 259, 0 2010-05-11 13:19 /dev/md0p118:29
RoyKhuh? wierd18:29
RoyKcan you pastebin /proc/devices?18:30
mikedep333RoyK, I'm not familiar with devnums18:30
RoyKmikedep333: devices in unix (and linux) have major and minor numbers - the major says which devices is used and the minor which part of it - basically18:31
RoyKmd0 and md0p1 have separate major numbers18:31
mikedep333-hegemhttp://paste.ubuntu.com/431797/18:31
mikedep333-hegemgotcha18:31
mikedep333-hegemoh18:31
mikedep333brb, bathroom18:32
RoyKerm - so they changed from md to blkext?18:32
mikedep333RoyK, I'm not sure what you mean18:34
RoyKit's two different drivers18:35
RoyKin kernel18:35
* RoyK checks18:35
kaushalhi18:40
kaushalis there a mailing list in Ubuntu for reporting Hardware issues ?18:41
wvusportman1280hello. 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:42
RoyKkaushal: http://kurl.no/5KZ418:44
mikedep333kaushal, you mean the drivers for th hardware have bugs?18:45
kaushalI have a Machine check Exception18:46
RoyKthose are usually driver bugs18:46
RoyKreport it18:46
RoyKor google first18:47
mikedep333speaking 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
mikedep333nexuiz (demanding 3d game) ran slow as balls on this low-end card, but still. compiz fusion ran great18:47
kaushalRoyK: shall i pastebin my issue ?18:56
RoyKkaushal: no, report a bug18:57
RoyKit's probably something noone in here can fix, but perhaps the ubuntu wizards can18:57
kaushalI have posted it to the Ubuntu Server Mailing list but did not get any answer18:57
RoyKjust report it as a bug18:57
kaushalIts a Hardware level Machine check exception18:58
RoyKadd all possible info18:58
RoyKa machine check exception is mostly due to bad drivers in my experience18:58
RoyKeither that or bad hardware18:59
RoyKheh - 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 :D19:00
mikedep333-hegemhmm, I used a linux serial terminal emulator before with text interactive interface. does anyone know what it is called?19:05
kaushalRoyK: can you please paste me the URL to report bug ?19:05
kaushalI have been going through https://help.ubuntu.com/community/ReportingBugs19:06
alvinRoyK: Do you have a link about Opera dropping dupport for Solaris?19:06
mikedep333-hegemoh, minicom19:06
RoyKalvin: I got the story from the opensolaris ml - opera dropping solaris is on opera's website19:07
alvinI use Opera on Solaris :-(19:08
alvinI heard 2 things about Opera today: support for Opera on Maemo is coming, but they drop it for Solaris.19:12
RoyKhttp://my.opera.com/desktopteam/blog/2010/04/29/the-setting-sun19:15
binBASHHi all19:47
binBASHsomeone got a package for 64 bit lucid? I would need varnish 2.1.219:47
binBASHSeen lucid only has 2.1.019:47
RoyKis there a big difference?19:49
binBASH2.1.0 has memleak bug afaik19:49
RoyKthe bugfix might be backported19:50
RoyKit's quite common to stick to a version a backport the fixes19:50
binBASHRoyK: How would I know that? :)19:50
RoyKit's probably done already19:51
RoyKthey backport the fixes in the repositories19:51
RoyKdebian has been doing that for 10 years or so19:51
RoyKother distros as well19:51
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 revisions19:53
binBASHhow to see what patches are applied?19:54
qman__well, on the packages site, there's options to download the original source, the patched source, and the diff between the two19:55
qman__probably a changelog somewhere, though I'm not sure where to get it19:56
uvirtbotNew bug: #578930 in qemu-kvm (main) "Lucid qemu-kvm: ksmd default config is CPU hog" [Undecided,New] https://launchpad.net/bugs/57893020:02
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:27
pmatulisziesemer_: /usr/share/doc/apt/examples/sources.list ?20:33
pmatulisziesemer_: now investigate etckeeper, it helps with this kind of thing20:34
ziesemer_pmatulis: Thanks.  Unfortunately, though, that one doesn't like anything like the default.  Will look at etckeeper, though!20:35
pmatulisziesemer_: what release are you running?20:35
ziesemer_10.0420:36
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:37
pmatulisziesemer_: you can download the source (of 'apt' in this case).  but that yields the same file for me as the one given previously20:41
dominicdinadaneed a hand with fstab20:51
uvirtbotNew bug: #578947 in mysql-dfsg-5.1 (main) "Doesn't work after upgrade" [Undecided,New] https://launchpad.net/bugs/57894720:56
dominicdinadaneed a hand with fstab please20:59
docta_vthe xen packages on 10.04 don't have xen-create-image21:24
docta_vso what is the preferred way to setup guest domains now?21:25
theriancan UEC process graphics at host level?21:32
therianand also can you use nodes for input and output?21:36
therianthanks guys21:36
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 found21:47
alvinIsn't it apt-add-repository?21:54
Tyler--sudo: apt-add-repository: command not found21:55
alvinIt's part of the python-software-properties package. probably not installed on a server21:55
alvinYou don't need it anyway. Add the sources in /etc/apt/sources.d/<whateveryouwant>.list and apt-key the key21:56
Tyler--alvin: thank you21:58
alvinsudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com <insertkeyhere>21:59
enav1hello i got a question the ServerAdmin  on apache config for a new site  it could be any email i want???22:36
juanjoA hi, I cant install ubuntu 10.04 lucid with raid1 from installation (ALERT! dev/by-uuid.... busibox).  Is a bug?22:51
juanjoAubuntu server i386 / asus p5kpl-am epu / seagate 500GB x 222:52
enav1juanjoA im doing some tests on virtualbox so far no problem with raid with 3 hdds22:54
enav1juanjoA this is the guide to install raids http://is.gd/c4OPI22:55
juanjoAthx, I have installed karmic and dapper without problems22:57
juanjoAbut over lucid I dont have chance22:57
juanjoAI see on the forums many problems with same result = busybox22:58
enav1moss open console an type this:  update-grub223:01
enav1moss show me the outcome using http://pastebin.com/23:01
itsonlymehi, 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
itsonlymeany ideas?23:02
therianhow 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 me23:03
itsonlymetherian: press alt - f1 to alt -623:04
itsonlymeis that what you want?23:04
therianno23:04
itsonlymesorry23:04
therianlol its ok23:04
itsonlymeX11 virtual desktops?23:04
theriani already run compiz23:04
therianya23:04
theriani learned it in school just forgot how to do it lol23:05
itsonlymeoh... hang on.  I saved instructions for that, if I can find it.23:05
therianthank itsonlyme23:05
chrismsnzhey guys, is there a support channel for wrangling netboot?23:11
brianhermanOk, so I installed wordpress on my ubuntu server23:12
artisananyone knows of a xen4 ppa?23:12
brianhermanhow do I make it so it follows symlinks so when i goto <ip address of my server >/wordpress it goes to wordpress23:13
artisanor at least dom0 kernel?23:13
artisanbrianherman: which webserver?23:13
brianhermanubuntu 9.04 server23:13
artisanbrianherman: which webserver software?23:13
brianhermanoh apache223:13
artisansec23:13
artisanbrianherman: http://www.linuxquestions.org/questions/linux-software-2/redirecting-apache2-to-wordpress-site-by-default-669117/23:14
brianhermanartisan: THANKS!23:15
artisannp23:15
artisananyone knows of a xen4 ppa? or at least dom0 kernel?23:16
artisan(for lucid)23:16
brianhermanwait I want to do the opposite23:16
brianhermanoh man artisan23:16
brianherman9.04 was the last release to support xen23:16
brianherman:(23:17
itsonlymetherian sorry man, couldn't find it.23:19
therianitsonlyme: thats ok, thanks for looking, and you pointed me in the right direction23:20
brianhermanartisan: 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
artisanbrianherman: no thanks, that is not xen4, but thanx for the effort23:20
brianhermanOk real easy question How do I get apache2 to execute .php files23:21
artisanbrianherman: hehe23:21
artisanmy apache knowledge is a bit rotten, but imho it was via mod_php23:21
artisanthere is actually a recent dom0 kernel in debian/sid23:22
artisanhm, seems I'll go for this one, regarding xen4: http://publications.jbfavre.org/virtualisation/migration_form_xen3_to_xen4_lvm_drbd_debian23:23
artisansame same for ubuntu :)23:24
brianhermanartisan: Good luck, I hope nothing breaks.23:26
artisanbrianherman: will go for it on a testing cluster first :)23:27
brianhermanMy place systeminplace uses xen, but I only know that xen virtualizes... thats about it.23:27
brianhermanI mean hosting provider23:27
brianhermanhi u0324 and msantos23:33
brianhermanWhats crackin?23:33

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