[00:03] <luckyone> hello all
[00:04] <luckyone> so, I am installing 8.10 server on my new MSI Wind that I want to use as a NAS with RAID 1
[00:04] <luckyone> does anyone have any ideas of packages or web based admin tools I could install on top of the base server so I can easily administer my new machine?
[00:05] <hads> Not familiar myself but I believe ebox is the supported one.
[00:11] <Laney> Hi. Is /var/run/reboot-required created on servers too, or is this just a desktop thing?
[00:11] <Laney> (you may have seen this discussion on identi.ca)
[00:12] <luckyone> also, is there any documentation on creating a software RAID 1 array?
[00:12] <luckyone> I am installing ubuntu on /dev/sdc3, I want to RAID 1 /dev/sdc5 and /dev/sdc6
[00:15] <genii> Probably some postinst script issue
[00:17] <Laney> doesn't check if postgres is running
[00:18] <brianwillis1984> hey everyone i could use some help
[00:19] <brianwillis1984> im installing the server edition in my server and when i do autoconfig on the network it cant pick it up
[00:19] <genii> brianwillis1984: Usually: doesn't know what eth driver or: network not connected
[00:20] <brianwillis1984> ook how do i fix this
[00:20] <brianwillis1984> this is my first server so im new to all of this
[00:23] <brianwillis1984> how do i use a dchp protcol?
[00:23] <brianwillis1984> dhcp~
[00:27] <genii> brianwillis1984: man interfaces     can be interesting reading ;)
[00:36] <ziggles> hi guys, does anyone know what KVM does to VMs running if i shutdown the KVM machine?
[00:36] <ziggles> ie are the VMs gracefully shutdown as if i had executed the showdown command, or is it just like pulling the plug?
[00:52] <vbabiy> Hey is a any else have some issues with vms on Virtual Box using Ubuntu 8.10 server, I network is all messed up
[00:52] <vbabiy> if I do ifconfig it displays nothing, if I do dhclient it finds a ip but doesn't on boot
[01:10] <Gorlist> just got off the phone, they will not do any adjustments to the image, or run a partition adjustment tool their end... Would serial console help at all?
[01:14] <vbabiy> on ubuntu server whats says eth0 is this nic
[01:32] <matt123> is there a gui for mdadm?
[05:31] <twb> I moved my disks into a new server, and now I have eth6 through eth11 instead of eth0 through eth5.
[05:32] <twb> I assume this is because the MACs changed, but I can't see macs defined in /etc/network/interfaces.
[05:34] <twb> OK, the problem is in /etc/udev/rules.d/70-persistent-net.rules
[05:45] <squidly> twb: yea it's defined there
[05:45] <squidly> I acutally use that to remap nic's on my ids sensors to have a standard setup
[05:46] <twb> I understand the need for the file, I just couldn't find it at first.
[05:48] <squidly> ahh
[05:48] <squidly> twb: sorry if I was paying attention I would have said that before
[05:48] <twb> np
[05:48] <twb> In RHEL it's in an even stupider place
[05:56] <squidly> twb: that is why I stay away from RH
[05:57] <squidly> though udev/rules.d is a pretty standard place
[05:58] <twb> squidly: /etc/sysconfig/networking/ifcfg-ethN
[05:58] <twb> or some such
[05:59] <squidly> twb: wtf.. you serious?
[05:59] <squidly> wow
[05:59] <squidly> that makes me so glad that I dont ever use RHEL
[05:59] <squidly> I use ubuntu and debian for my servers
[07:03] <alienseer23> I cannot receive mail. getting the error "poststfix/pipe[8484]: fatal: get_service_attr: unknown username: vmail" where vmail is a val;id user and group, the pipe service is not duplicated or chrooted, and postfix check gives me nothing. What in the world could this be?
[07:40] <larswey> Hi, I managed to delete a user still running irssi in screen, the user has been deleted but screen is still running. How can i stop it?
[07:42] <_ruben> lookup the process id using ps or top, sudo kill <pid>
[07:43] <larswey> When I do ps -U username it says that user doesnt exist :p
[07:43] <_ruben> then look for a numeric username in the complete ps output
[07:43] <larswey> ok, so whats the command for that?
[07:44] <_ruben> ps ax for example
[07:45] <_ruben> ps aux i mean
[07:46] <_ruben> ps uxa | egrep '^[0-9]'
[07:46] <larswey> thanks :)
[07:51] <larswey> It worked.
[08:24] <kraut> moin
[08:30] <SmokeyD> hey, anyone know if there are issues with running apparmor in ubuntu hardy server in a xen guest virtual machine? I seem to remember something like that.
[08:46] <UndertakerX2> Hello, I cant seem to get fluxbox to launch from my ubuntu server command line
[08:47] <UndertakerX2> how can i fix this?
[08:47] <p_quarles> UndertakerX2: what's in your ~/.xinitrc ?
[08:49] <UndertakerX2> quick question before that, is there a copy and paste function in server?
[08:50] <UndertakerX2> and it denies me permsiion to that folder
[08:51] <p_quarles> UndertakerX2: if you're are using ssh + a terminal emulator to access the server, then yes, you can copy and paste
[08:52] <p_quarles> UndertakerX2: if you're using a straight console, then you can install and use pastebinit
[08:52] <UndertakerX2> im just running the terminal from vmware
[08:52] <p_quarles> "the terminal from vmware" most likely counts as a terminal emulator, but I'm sure you can also connect via ssh
[08:53] <p_quarles> more importantly: no, you were not denied permission to that folder
[08:54] <UndertakerX2> :s thats what it said
[08:54] <p_quarles> exactly what did it say?
[08:55] <UndertakerX2> err sorry missed part of the line, getting tired :p it gave me -bash: /home/xplorer4x4/.xinitrc: permision denied
[08:57] <p_quarles> UndertakerX2: can you pastebin the output of the following commands?
[08:57] <p_quarles> 1) whoami
[08:57] <p_quarles> 2) ls -lh ~
[08:58] <UndertakerX2> not much to paste bitn, 1: xplorer4x4 2:total o
[09:02] <p_quarles> UndertakerX2: that is most certainly not the output of either of those commands
[09:03] <UndertakerX2> no i just made it up
[09:03] <UndertakerX2> be happy to provide a screen to proove it
[09:03] <p_quarles> UndertakerX2: you did indeed
[09:04] <p_quarles> UndertakerX2: I don't see how two commands could result in one line of output that doesn't match the data type for either
[09:04] <p_quarles> UndertakerX2: but, please, give me that screenshot :)
[09:04] <UndertakerX2> http://img243.imageshack.us/img243/7738/89862382dk0.jpg
[09:06] <UndertakerX2> see?
[09:07] <UndertakerX2> i wouldnt waste my time or yours to come in here to make stuff up
[09:10] <p_quarles> UndertakerX2: numbering the lines instead of pastebinning was confusing, as it made it look like the output was messed up
[09:10] <UndertakerX2> sorry i just saw you say that
[09:11] <UndertakerX2> my apoligies
[09:11] <p_quarles> UndertakerX2: in any case, what is the output of: touch ~/.xinitrc
[09:12] <UndertakerX2> it did nothing, just took me back to the same comand prompt as before
[09:12] <p_quarles> good, now what is the output of: ls -lh ~
[09:13] <UndertakerX2> total 0
[09:13] <p_quarles> sorry, no, try this: ls -lha ~
[09:15] <UndertakerX2> http://img5.imageshack.us/my.php?image=50772871bt8.jpg
[09:17] <p_quarles> UndertakerX2: okay, looks good, now run: nano .xinitrc
[09:17] <p_quarles> and feel free to pastebin it rather than provide a screenshot
[09:18] <UndertakerX2> sorry, i would but im in vmware player and it wont allow me to copy and paste
[09:19] <UndertakerX2> if you like to help me get set up with shh after this ill be more then happy to pastebin for ya in the future :p
[09:19] <UndertakerX2> http://img11.imageshack.us/my.php?image=27851322od0.jpg
[09:19] <p_quarles> UndertakerX2: most terminal emulators allow you to copy by highlighting, and paste by middle-clicking
[09:20] <p_quarles> okay, put a new line before the current one
[09:20] <p_quarles> it should read: !#/bin/sh
[09:21] <UndertakerX2> middle click doesnt work :(
[09:21] <UndertakerX2> ok got that line in there
[09:21] <p_quarles> save it, exit, and then type at the command line: startx
[09:22] <p_quarles> oops
[09:22] <p_quarles> that should be #!/bin/sh
[09:23] <UndertakerX2> ok corrected, now how do i save? :$
[09:23] <p_quarles> the ^ means "ctrl" -- hit it in combination with the keys indicated in the menu
[09:25] <UndertakerX2> so F2?
[09:25] <larswey> are you going to save nano file?
[09:25] <larswey> then ctrl+x
[09:26] <larswey> y for yes
[09:26] <UndertakerX2> yeah it says F2 or ctrl+x
[09:26] <larswey> then you chose :)
[09:28] <UndertakerX2> ok hold on i got an error on startx
[09:29] <UndertakerX2> http://img502.imageshack.us/my.php?image=60441645fv1.jpg
[09:29] <UndertakerX2> thanks to both of you so helping so far :)
[09:32] <p_quarles> UndertakerX2: looks like X isn't actually fully installed
[09:32] <p_quarles> UndertakerX2: sudo apt-get install xserver-xorg
[09:34] <UndertakerX2> ok installing now, then startx?
[09:34] <p_quarles> yep
[09:35] <UndertakerX2> startx
[09:35] <larswey> wrong window
[09:35] <UndertakerX2> lol yep :p
[09:35] <larswey> :p
[09:35] <p_quarles> happens to everyone eventually :)
[09:37] <larswey> yup
[09:37] <UndertakerX2> hmm doesnt seem to want to fully load, i have a blue background, with a dark blue bar at bottom with a clock on it
[09:37] <p_quarles> that's fluxbox
[09:37] <p_quarles> right-click your mouse/touchpad for the menu
[09:38] <UndertakerX2> oh i thought there was more to it, but new problem, my mouse wont work
[09:38] <UndertakerX2> cant move or click
[09:39] <larswey> probably something to do with vmware
[09:39] <UndertakerX2> i had a feeling youd say that
[09:39] <larswey> try restarting the virtual machine
[09:39] <p_quarles> well, if your mouse is working fine except for inside vmware...
[09:40] <p_quarles> anyway, I have to go to sleep; I will do my best to answer questions that highlight my nick
[09:40] <UndertakerX2> vmwares being very problematic as i have to use vmware player to acutally load ubuntu rather then vmware workstation
[09:40] <p_quarles> good night :)
[09:40] <UndertakerX2> thanks
[09:41] <UndertakerX2> mouse still doesnt work
[09:42] <UndertakerX2> but yeah its 4 am so i suppose i will deal with that tommorow
[09:42] <UndertakerX2> larswey, thanks again
[09:42] <larswey> you have the new version of vmware?
[09:42] <larswey> with that stupid webui?
[09:42] <UndertakerX2> p_quarles: thanks
[09:42] <UndertakerX2> webui?
[09:42] <larswey> no problem :)
[09:43] <larswey> the new version runs a webserver, everything is done with a browser
[09:43] <UndertakerX2> no I have workstation 6.5.1
[09:43] <larswey> ahh, ok
[09:43] <UndertakerX2> is that a better version to run?
[09:43] <larswey> i was thinking of vmware server
[09:43] <larswey> no, its horrid :)
[09:43] <larswey> doesnt support Opera..
[09:43] <UndertakerX2> guess thats why its free eh? :p
[09:44] <larswey> hehe, yeah
[09:44] <UndertakerX2> was amde free*
[09:44] <larswey> but the old version was better
[09:44] <larswey> also free
[09:44] <UndertakerX2> oh i thought they used to charge for server?
[09:46] <larswey> no, that has always been free
[09:47] <UndertakerX2> hmm i swore they used to charge but oh well
[09:47] <larswey> hehe, good night :)
[09:47] <UndertakerX2> but yeah its 4 am gotta sleep sooner or later, thanks again, night
[09:48] <Davedan> I want to backup the installed packages list and all the configuration and customization of my server.
[09:48] <Davedan> I've read that I need to backup /etc /root /var/cache/bind /var/lib/dpkg /var/backups /var/www /usr/local
[09:49] <larswey> Yes?
[09:49] <Davedan> will there be sensitive data in thouse files?
[09:49] <Davedan> like passwords and stuff
[09:50] <larswey> doubt it
[09:50] <larswey> unless you put it there yourself
[09:50] <Davedan> do you an example where passwords are stored
[09:50] <larswey> nano the files and see for yourself
[09:51] <Davedan> because I want to share my server configuration with someone without exposing it to a security risk
[09:51] <larswey> ls and see if theres anything suspicious
[09:52] <Davedan> sound unsecure to me...
[09:52] <Davedan> thanks
[10:10] <simplexio>  /etc/shadow has all system passwords.. someone can attleast run dictionary attacks on them
[10:21] <Davedan> simplexio: is there a safe way I can exclude sensitive data and save only config data?
[10:24] <simplexio> Davedan: just remove /etc/passwd shadown , groups, shadow- from backups if you dont have anyother programs that save passwords
[10:24] <simplexio> Davedan: example i think hat  samba saves attleast users somewhere
[10:26] <Davedan> simplexio: it has to be 100% safe. If ubuntu has a standard place to save sensitive data it is excellent. If usernames, passwords, IP... are spreaded all over the file system I can't take that risk
[10:28] <hads> Then use an opt in method rather than opt out.
[10:30] <simplexio> Davedan: all unix logins are in those shadown and passwd and groups files, i dont know what programs you have installed
[10:57] <soren> Koon: Do you have an example of a source package that uses ant to build? tomcat?
[10:58] <Koon> tomcat6 uses ant... also most of the libcommons-*-java stuff does (through CDBS)
[10:59] <Koon> couldn't use the cdbs helpers for tomcat6 though
[10:59] <soren> Koon: Cool, thanks.
[10:59] <Mohammad[B]> how to i can config squid 2.7 for a proxy server in a web server ? please help me :-s
[11:05] <soren> Koon: Ok, that didn't help, apparantly. I have a package here that doesn't obey $DESTDIR and was hoping I could work that out from another package, but I can't seem to spot how it's implemented when using ant?
[11:09] <soren> Koon: I chose libcommons-net-java (at random), but it seems to not use ant to do the install bit.
[11:09] <soren> That explains.
[11:10] <yann2> soren > ever tried solaris on kvm?
[11:21] <Koon> soren: in most cases I would say you won't find "ant install" run
[11:21] <Koon> more an "ant package" thing that will produce a built/foo.jar file that you would list in your install.THING file
[11:22] <Koon> not sure what your problem is... let me come and see you
[11:51] <piquadrat> Hi! Any nginx-experts around? I can't get it to gzip any content, altough I have "gzip on;" in nginx.conf
[12:20] <soren> piquadrat: I doubt you'll find much help here. AFAIK, we don't even ship nginx, so I think you'd be better helped in another channel. Probably an nginx specific one.
[12:24] <piquadrat> soren: Ubuntu has nginx in its repositories (0.5.33 in hardy, 0.6.32 in intrepid). I already asked on #nginx, and the one person that was there confirmed that my configuration should be OK. That's why I suspect that there could be a problem with Ubuntu's nginx package
[12:29] <maxb> piquadrat: Compiling nginx yourself would be a straightforward way to clarify this
[12:29] <piquadrat> maxb: I'm already on it :)
[12:51] <soren> piquadrat: Oh, you're right. I can't spell, apparantly.
[13:29] <frippz> I have vague memories of a way to find out which process that is using a specific file (or in this case a mounted file system). anyone who knows what I'm referring to?
[13:30] <frippz> ah, now I remember! lsof :D
[14:00] <alex_joni> hello, short issue installing ubuntu 8.04.2 server on an Fujitsu Siemens Primergy server..
[14:01] <alex_joni> there is a RAID card in there, which is recognized, partitioning works ok, but grub doesn't want to install the boot loader
[14:01] <dtcrshr> hi folks, i need a server that can capture 2 adsl connections, on two eth different eth cards, and share the connection with load ballance trough a third one. The main issue is that i need to set a vpn tunnel to a pptp vpn micro$oft server, and allow all the netowork to use this tunnel. Is there a case study for this kind of use of ubuntu server as a router/firewall?
[14:07] <ivoks> hm...
[14:07] <ivoks> alex_joni: what raid card is that?
[14:07] <alex_joni> http://eneas.juve.ro/~juve/primergy/
[14:08] <alex_joni> Mylex Corporation AcceleRAID 352/170/160 support Device [1069:0050]
[14:10] <ivoks> how many disks do you have?
[14:10] <ivoks> a lot, right?
[14:10] <alex_joni> 10 x 32G
[14:11] <domas> mylex! smells like history!
[14:11] <ivoks> is that a hardware raid?
[14:11] <alex_joni> ivoks: one thing I thought about doing is getting a small IDE drive, and use that as boot.. but it would be nice if I could make it work
[14:11] <domas> wooo, 32G drives too
[14:12] <alex_joni> ivoks: yup.. big PCI 64bit card
[14:12] <alex_joni> domas: U320 SCSI though, not _that_ old
[14:12] <alex_joni> I guess it's 36G not 32..
[14:12] <ivoks> so, you created two partitions?
[14:13] <ivoks> swap and /?
[14:13] <alex_joni> 3.. /boot / and swap
[14:13] <alex_joni> I tried initially to let it use the auto partitioner
[14:13] <alex_joni> (that did a similar thing, but grub failed to install)
[14:14] <ivoks> hm... very odd:
[14:14] <alex_joni> then I booted the server disk in rescue mode, and tried to install grub
[14:14] <ivoks> Error running 'tune2fs -l /dev/rd/c0d0'
[14:14] <alex_joni> then run various incantations of grub-install
[14:14] <ivoks> why would it run tune2fs on disk anyway?
[14:14] <alex_joni> c0d0 is the RAID volume
[14:14] <ivoks> but, that's a disk
[14:14] <ivoks> tune2fs is for partitions
[14:14] <alex_joni> I think.. (didn't use funny letters before ;)
[14:15] <alex_joni> only software raid so far on regular i386 hardware
[14:15] <ivoks> cannot open /dev/rd/c0d0p3: No such file or directory
[14:16] <ivoks> 10 disks in raid0?
[14:17] <ivoks> you just want to loose your data, right?
[14:17] <ivoks> lose
[14:17] <ivoks> or whatever
[14:18] <ivoks> lose
[14:18] <ivoks> :)
[14:20] <ivoks> i can't figure out why grub failed
[14:21] <soren> ivoks: I only just joined the conversation, but stuff might call "tune2fs -l" on a disk to make sure there's not already a filesystem on it before it starts to partition it..
[14:21] <soren> Could that explain it in this context?
[14:21]  * soren is too bored to read all of the scrollback :)
[14:21] <ivoks> soren: that could be it
[14:21] <soren> Is this in the installer, perhaps?
[14:21] <ivoks> since this happend 2 seconds after 'Reading all physical volumes.  This may take a while...
[14:21] <ivoks> '
[14:22] <ivoks> EXT3 FS on rd/c0d0p3, internal journal
[14:22] <ivoks> EXT3 FS on rd/c0d0p1, internal journal
[14:22] <soren> Ok. I don't know if that's the reason (I would actually expect it to use udev for that), but it's a possible explanation.
[14:22] <ivoks> and p2 is swap
[14:22] <frippz> is it possible to mount an NFS share as any other than root in 8.10?
[14:23] <soren> frippz: No.
[14:23] <ivoks> alex_joni: have you tried with lilo?
[14:24] <luckyone> does anyone know of a good tutorial to make a bootable USB drive from an iso image? I need to install ubuntu-server, I have tried UNetbootin, but it isn't working (my machine isn't booting from it...)
[14:24] <frippz> great... Linksys NSS4000 uses root_squash so I can't mount anything on that brick now
[14:24] <ivoks> dtcrshr: i don't see how you load balance two adsl connections
[14:25] <ivoks> dtcrshr: you get an IP for each connection, you don't decide which IP on which interface, your ISP does that
[14:26] <ivoks> so, you can't bond them
[14:27] <alex_joni> ivoks: lilo does the same thing
[14:28] <soren> ivoks: You can do load balancing without bonding, though.
[14:28] <alex_joni> ivoks: with lilo I can specify the installation target
[14:29] <ivoks> soren: qos, yes, but i think that dtcrshr wants to load balance VPN tunnel
[14:29] <alex_joni> but neither /dev/rd nor /dev/rd/c0d0 nor /dev/rd/c0d0p1 work
[14:29] <ivoks> alex_joni: and what c0d0 should work, hm...
[14:29] <ivoks> lol
[14:29] <ivoks> alex_joni: make that 'c0d0 should work'
[14:30] <ivoks> alex_joni: did you create empty partition table on disks?
[14:30] <alex_joni> ivoks: The path /dev/rd/c0d0 does not represent a partition or hard disk device. Please try again.
[14:30] <alex_joni> ivoks: empty partition table? not that I know..
[14:31] <ivoks> alex_joni: hm...
[14:31] <soren> ivoks: Well, in that case you can get two vpn connections to the vpn server and bond those on both client and server.
[14:31] <soren> ivoks: I would  /never/ do anything like that, but it's certainly possible :)
[14:32] <ivoks>  /dev/rd...
[14:33] <ivoks> alex_joni: i'm clueless
[14:35] <alex_joni> ivoks: I selected continue without a bootloader
[14:36] <alex_joni> and it tells me "to boot manually with the /vmlinuz kernel on partition /dev/rd/c0d0p3 and root=/dev/rd/c0d0p3 passed as a kernel argument."
[14:36] <alex_joni> does /vmlinuz on /dev/rd/c0d0p3 look ok? shouldn't it come from /boot (c0d0p1) ?
[14:36] <ivoks> it should, yes
[14:37] <alex_joni> maybe it tries the same thing with lilo/grub and that fails
[14:37] <alex_joni> (I don't see an actual error from grub)
[14:38] <ivoks> try with just / and swap
[14:38] <ivoks> wihtout /boot
[14:38] <ivoks> create swap as p1 and / as p2
[14:40] <alex_joni> trying now
[14:40] <alex_joni> will take a while.. a fresh boot takes about 2 minutes :D
[14:43] <ivoks> heh
[14:43] <alex_joni> i386 only detects 4G of ram, should I try x86_64 maybe?
[14:45] <alex_joni> a hard boot takes way longer
[14:55] <alex_joni> do you know what the syntax is to boot from HDD via the install cd
[14:55] <alex_joni> ?
[14:56] <dtcrshr> [ivoks]: actually, im doing that with a linux router box, and the load balance works just fine
[14:57] <dtcrshr> the issue is that i need a pptpclient on the box, to fetch a tunnel on our vpn
[14:57] <dtcrshr> and the box isnt too friendly to new addons
[14:57] <dtcrshr> i just wondered if i started a ubuntu server configuration, ill be able to do what i want. My biggest problem its time
[15:01] <luckyone> hello all, I have used the create a USB Startup disk to hopefully boot from a USB drive
[15:02] <alex_joni> ivoks: no luck with swap and / either
[15:02] <ivoks> :/
[15:03] <alex_joni> any idea how to boot from the install cd?
[15:03] <alex_joni> I mean what boot params to pass to it..
[15:07] <ivoks> i386 linux detect 16GB or RAM
[15:08] <ivoks> but you should use 64bit OS on 64bit CPU
[15:08] <alex_joni> ivoks: should.. I have 8G in this box, but I saw only 4G in the logs
[15:08] <ivoks> that's installer kernel
[15:08] <ivoks> once you boot it, you should see all 64
[15:08] <ivoks> er... 8
[15:08] <ivoks> :)
[15:14] <Mark______> Is there anything special that needs to be done for Vista clients to work with dhcpd in intrepid?
[15:15] <ivoks> nope
[15:23] <Mark______> I'm having trouble with the clients getting leases.  I can see in syslog it tries to send out the dhcpdiscover packet to the clients, but it doesn't show up on the vista machines.
[15:24] <Mark______> I have the broadcast address specified, and the always-broadcast flag on.  I'm just not sure what else to do
[15:25] <Mark______> I have linux thin clients that work fine, as well as XP machines.
[15:46] <fw1> when using apt-mirror, i only get the hardware arch of my current platform,  I would like to get both 32bit and 64bit arch's
[15:56] <luckyone> anyone have any idea why my system won't boot from the usb drive?
[16:00] <crazygir> why is installing vmware server so difficult
[16:01]  * crazygir wonders if he should be doing something differently
[16:01] <soren> luckyone: Some systems just on't boot from USB.
[16:01] <soren> luckyone: Some USB devices just don't let you boot from them.
[16:02] <soren> luckyone: And some combinations of systems and USB devices just don't boot.
[16:02] <ircleuser> hey everybody
[16:03] <ircleuser> have anybody skills at Freeradius configure ?
[16:03] <ircleuser> I have a question
[16:04] <ircleuser> I setup it and always get in log Auth: Login incorrect:
[16:05] <ircleuser> I check freeradius server as: radtest user1 password1 localhost 1812 test
[16:05] <luckyone> soren: I have booted from it twice last night
[16:05] <luckyone> soren: it just isnt letting me anymore
[16:06] <ircleuser> please somebody explain me where I must search answer ?
[16:06] <ircleuser> I configure server reading this - http://www.debian-administration.org/articles/245
[16:07] <ircleuser> and it's not working for me
[16:13] <frippz> I'm trying to mount an SMB-share but I keep getting "wrong fs type". I thought that the package samba-client would provide all necessary stuff to mount SMB/CIFS
[16:19] <soren> luckyone: You didn't think that was relevant information?
[16:24] <luckyone> totally relevant
[16:24] <luckyone> I just was able to boot it and do an install from it last night (but I am stupid and don't know how to setup partitions very well)
[16:29] <luckyone> but now I don't know what is going on... why it can't boot from the USB drive...
[16:59] <nomego> hey guys, how can I check what packages depend on a certain installed package?
[17:05] <Koon> nomego: apt-cache rdepends <package> ?
[17:07] <nomego> thank you
[17:10] <nomego> apparently some packages want to install mysql-server even though it's not needed (since we have a dedicated mysql server)
[17:10] <nomego> is there any proper way to resolve this without having to install mysql-server?
[17:10] <nomego> none of the packages I've seen require the actual libs that come with the server packages
[17:11] <nomego> also, are there commands to manage the .dpkg-new files ?
[17:14] <nomego> or rather .dpkg-dist and .ucf-dist
[17:17] <deadbattery> anyone here?
[17:17] <deadbattery> i need quick help please =D
[17:18] <deadbattery> anyone here?
[17:21] <ScottK> !ask > deadbattery
[17:22] <deadbattery> i did, sry xD
[17:23] <ScottK> Then the answer to your question is 'yes'.
[17:50] <Mohammad[B]> How to i can setting up squid for a proxy server and tunneling ?
[18:27] <nomego> have anyone upgraded vmware server 1 to 2 on ubuntu server?
[19:12] <luckyone> hello all, when I do sudo lshw | less, it shows eth0 as disabled, does anyone know how I can enable it so I can access my server?
[19:13] <p_quarles> luckyone: can you pastebin the line for the eth0 device?
[19:17] <luckyone> sure, from ls hw?
[19:19] <luckyone> ello?
[19:25] <luckyone> sudo ifconfig eth0 up enabled it
[19:25] <luckyone> but it isn't getting an ipaddress
[19:29] <nnn> Hi everybody. Anybody can help me with freeradius configure at Ubuntu server ?
[19:29] <nnn> I making like this http://www.debian-administration.org/articles/245
[19:30] <nnn> But when I make radtest user1 password1 localhost 1812 test
[19:30] <p_quarles> luckyone: sudo dhclient
[19:30] <nnn> in log Auth: Login incorrect:
[19:31] <luckyone> p_quarles: why no love from my dhcp server???
[19:31] <p_quarles> luckyone: I don't know what that means
[19:32] <luckyone> p_quarles: I am not getting any DHCPOFFERS
[19:32] <p_quarles> luckyone: pastebin the output from the dialogue
[19:33] <luckyone> hard to do - I am terminal only on the machine with no eth0
[19:33] <luckyone> rebooting now, going to see if that fixes it
[19:33] <p_quarles> !info pastebinit | luckyone
[19:54] <kansan>  i'm having trouble installing on ubuntu server  http://pastie.org/379766
[19:59] <kansan> is there a way i can configure mysql server from the command line?  i am scripting its installation so i cant be there to use the ui?  (specifically the set a root password screen)?
[19:59] <sommer> kansan: sudo dpkg-reconfigure mysql-server may be what you're looking for
[20:00] <sommer> err sudo dpkg-reconfigure mysql-server-5.0
[20:00] <kansan> what about the latter question?
[20:01] <sommer> you can script sql statements with mysql -u user -ppassword database -e "sql_statements"
[20:01] <sommer> not sure if that's exactly what you want though
[20:02] <kansan> i want to to script installation of mysql-server as i cant be there to type in a root password
[20:05] <sommer> kansan: you might be able to use kickstart or preseed for that
[20:05] <kansan> hats that
[20:06] <kansan> /usr/sbin/dpkg-reconfigure: mysql-server-5.0 is broken or not fully installed
[20:06] <kansan> why is it so hard to get mysql-server installed ;p?
[20:07] <sommer> how did you install it?  sudo apt-get install mysql-server ?  was there any error messages?
[20:28] <erichammond1> kansan: This installs mysql-server without a prompt and without a root password:
[20:28] <erichammond1> export DEBIAN_FRONTEND=noninteractive
[20:28] <erichammond1> sudo apt-get install -y mysql-server
[20:28] <erichammond1> kansan: You can then script setting the root password.
[20:31] <erichammond1> Or as one line: sudo DEBIAN_FRONTEND=noninteractive apt-get install -y mysql-server
[20:31] <Davedan> I'm installing a package with apt-get install. If this package has config files, can I find out where these files are using a script?
[20:32] <erichammond1> Davedan: You might check out the "apt-file" package and command.
[20:33] <maxb> Hmm, isn't apt-file for finding out about packages you *don't* have installed?
[20:34] <erichammond1> or perhaps "dpkg -L"
[20:34] <maxb> Davedan: dpkg -L packagename will list all files (config and not) contained in the package
[20:34] <Davedan>  maxb: how can I filter out only the config files?
[20:35] <erichammond1> Davedan: Who's to say what files can be labeled "config" and which are "data" or "programs" or "other" :)
[20:35] <maxb> Well, "those that are in /etc/" is a good start
[20:35] <Davedan> I'll explain what I'm trying to do
[20:36] <Davedan> I'm following a post on lifehacker that explain how to save the list of installed packages on ubuntu
[20:36] <Davedan> I want to save the config files as well so I can reinstall my ubuntu server
[20:36] <Davedan> http://lifehacker.com/5146028/save-synaptic-markings-to-speed-up-ubuntu-reinstallatoin
[20:36] <Davedan> this is for the desktop but it can be done on the server too
[20:38] <erichammond1> Every time I make a change to a config file I either automate it or document the steps for future installs.
[20:39] <maxb> Saving complete configuration is challenging indeed. Especially if you may not be reinstalling the exact same package versions. Also, some config files are not necessarily registered with dpkg. Really the best you can do is tarball /etc/. But even then I'd not blindly overwrite a new installation's /etc with my backup
[20:41] <ScottK> Davedan: You might look into the etckeeper package.
[20:42] <Davedan> wow. I couldn't imagine it is that complicated :)
[20:44] <Davedan> are there any more folders other then /etc ?
[20:45] <Spear> well
[20:45] <Spear> you're best bet is to pick the services that you need config files for
[20:45] <Spear> and then find out where they store config files
[20:45] <ScottK> Preferences for indivdual users are kept in $HOME/.various places.
[20:45] <Spear> ^^
[20:46] <ScottK> Some packages put stuff in /var too.
[20:46] <Spear> if you backup /etc/ and /home/ you're pretty safe
[20:46] <Spear> :P
[20:46] <Spear> But, it if the config files are critical, I would go through each critical service, work out where config files are stored and back them up individually
[20:47] <Davedan> thank you. I will
[20:47] <Davedan> I hoped the default pagackage config place is documented somewhere but I guess I'll have to hunt it down
[20:51] <maxb> Davedan: The default place is /etc
[20:53] <kansan> um i cant even install mysql-server interactively!
[20:53] <kansan> dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.0; however:  Package mysql-server-5.0 is not configured yet.
[20:53] <kansan> dpkg: error processing mysql-server (--configure):
[20:53] <ScottK> sudo apt-get -f install
[20:54]  * ScottK 's fingers do that one almost automatically.
[20:54] <kansan> force install?
[20:54] <maxb> It's more like "fix install"
[20:55] <kansan> http://pastie.org/379827
[20:55] <kansan> didnt work :(
[20:56] <maxb> No, "apt-get -f install" and no packagenames after
[20:56] <ScottK> look in /etc/init.d for the mysql init script.  Edit it to add exit 0 just after the shebang and then try again.
[20:57] <ScottK> That should let it configure.  Then go back and take that out.
[20:58] <ScottK> Then do a sudo apt-get dist-upgrade to get whatever packages are being held back.
[21:00] <kansan> ScottK, but that cant be a long term solution
[21:00] <kansan> ScottK, each time i install mysql-server (on my ec2 instance) i get the same error
[21:01] <ScottK> Agreed.  Just suggesting how to dig you out of the immediate hole and then it'll be easier to troubleshoot
[21:02] <kansan> ok;  so it installs
[21:02] <kansan> but if i try to start up mysql-server
[21:02] <ScottK> Once the package is configured you can manually try to start mysql and explore why it won't start.
[21:02] <kansan> it wont start ;p
[21:02]  * ScottK knows zip about mysql, so can't help with that part, but at least dpkg isn't stuck now.
[21:03] <kansan> i am not sure why dpkg is failing hard installing mysql
[21:03] <kansan> its a blank image
[21:04] <crazygir> are gcc and the kernel sources not available in a default install of ubuntu-server?
[21:04] <ScottK> The dkpg failure was it couldn't start mysql.
[21:04] <ScottK> crazygir: You want to install build-essential.
[21:05] <crazygir> ScottK: should take care of building vmware modules?
[21:06] <maxb> kansan: Run "mysqld_safe" manually as root, and see what it complains about
[21:06]  * ScottK doesn't build vmware modules, so can't say for sure.  Linux headers are, IIRC, in the linux-source package.
[21:07] <ScottK> So with those two you should have compiler and headers.
[21:07] <crazygir> awesome
[21:07] <kansan>  ec2-67-202-1-110 ~:  mysqld_safe
[21:07] <kansan> nohup: ignoring input and redirecting stderr to stdout Starting mysqld daemon with databases from /mnt/mysql_data mysqld_safe[4104]: started STOPPING server from pid file /var/run/mysqld/mysqld.pid mysqld_safe[4110]: ended
[21:07] <maxb> linux-headers rather than linux-source, no?
[21:07] <ScottK> Could be.
[21:07]  * ScottK didn't actually look it up.
[21:08] <maxb> Specifically, linux-headers-$(uname -r) I think
[21:09] <maxb> kansan: messages in /var/log/mysql.err ?
[21:12] <kansan> ok let me check it
[21:13] <kansan> maxb, no output there
[21:14] <maxb> /var/log/daemon.log ?
[21:14] <kansan> maxb, no output either
[21:14] <kansan> it looksl ike its starting/stopping immediately
[21:15] <erichammond1> kansan: If you were trying to automate the installation of mysql-server and it got hung on the interactive step, it's possible it didn't finish installing.
[21:16] <erichammond1> kansan: Since you're using EC2, why not start a new instance and do the noninteractive install steps I described and see if this fixes the problem?
[21:16] <maxb> kansan: What about if you just run 'mysqld' as root
[21:16] <kansan> erichammond, before i try to script i want to make sure i can install it when i'm there to push buttons
[21:17] <kansan> erichammond, in the ami i customzied i can't install via apt-get update && apt-get install mysql-server
[21:17] <kansan> even when its fresh
[21:17] <kansan> mysqld: File '/mnt/log/mysql/mysql-slow.log' not found (Errcode: 2)
[21:17] <kansan> 090204 21:17:22 [ERROR] Could not use /mnt/log/mysql/mysql-slow.log for logging (error 2). Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it. mysqld: File '/mnt/log/mysql/mysql-bin.index' not found (Errcode: 2) 090204 21:17:22 [ERROR] Aborting 090204 21:17:22 [Note] mysqld: Shutdown complete root@ec2-174-129-172-86:~#
[21:18] <maxb> Ah, now you have something to fix
[21:18] <erichammond1> kansan: Looks like you've changed where the logdir (and datadir?) goes.  Do those directories exist and have the right permissions?
[21:18] <kansan> yeah i can give it logging
[21:19] <kansan> ah ha
[21:19] <crazygir> thanks ScottK / maxb
[21:26] <kansan> does my.cnf get overwritten upon installation?
[21:30] <BBHoss> i seem to have discovered someone trying to break into my server
[21:30] <BBHoss> somehow they uploaded a file to a lists/admin/index.php directory
[21:30] <BBHoss> but i cant find where it is
[21:30] <BBHoss> any tips?
[21:32] <BBHoss> "/lists/admin/index.php?_SERVER[ConfigFile]=../../../../../../../../../../../../../../../../etc/passwd" is the path
[21:32] <BBHoss> ls
[21:34] <maxb> What makes you think it was an upload?
[21:34] <BBHoss> i didnt put it there
[21:34] <maxb> Where did you get that pathname?
[21:34] <BBHoss> the server logs
[21:34] <maxb> which logs
[21:34] <BBHoss> i pasted it in the browser and it gave me my passwd file
[21:34] <BBHoss> nginx
[21:35] <maxb> Well that sounds like a download not an upload
[21:35] <BBHoss> right
[21:35] <BBHoss> but how did it get there
[21:35] <BBHoss> and where is lists?
[21:35] <maxb> Erm.
[21:35] <BBHoss> its not in that directory
[21:35] <maxb> You probably shouldn't be running a public http server if you don't understand what it's serving :-/
[21:36] <BBHoss> wtf?
[21:36] <BBHoss> i do understand what its serving
[21:36] <BBHoss> i DID NOT PUT IT THERE
[21:36] <BBHoss> that means SOMEONE UPLOADED IT!
[21:37] <BBHoss> right now i'm trying to figure out where the lists directory is
[21:37] <maxb> Whereever your webserver is configured to map the URL to
[21:38] <BBHoss> well its not in that directory
[21:42] <BBHoss> if i can access the php file through the browser, how can i find where the file is?
[21:42] <BBHoss> are there any logs that php has?
[21:43] <kansan> is it bad if i try to create the mysql user / group mysefl???  (prior to installing mysql)?  it would make things much easier! :P
[21:44] <maxb> kansan: hmm, why? the package should do it for you
[21:45] <kansan> maxb, cuz it appears as though the default directory that mysql is looking for logs/files etc.... doesnt exist
[21:45] <kansan> on an installation on ubuntu
[21:46] <maxb> The default is /var/log though, I don't know where your /mnt/log paths came from - that's a customization of some sort
[21:47] <kansan> right
[21:48] <kansan> i'm guesing my.cnf is already on my machine
[21:48] <kansan> i'm not sure why default confit would get the wrong path
[21:49] <kansan> a ha!
[21:49] <kansan> there IS a my.cnf there
[21:49] <erichammond1> maxb: One reason you might want to create the mysql user yourself is to assign it a fixed uid.  This is helpful when copying database files (EBS snapshots) across different instances.
[21:49] <kansan> problem solved!
[21:50] <kansan> so i can create the mysql user prior to installing mysql-server?
[21:50] <kansan> and mysql-server install will check to make sure that there's no group/user called mysql first?
[21:50] <erichammond1> kansan: It's easy to try :)
[21:50] <kansan> erichammond, sho is;  just wanted to make sure its achieveable
[21:50] <kansan> before i script it
[21:51] <erichammond1> kansan: Fire up an instance, type in 2 commands, and you'll have your answer for $0.10 :)
[21:51] <kansan> heh
[21:51] <erichammond1> gotta love EC2
[21:51] <agentk> I am trying to run an unpriviliged service on a high port and forward a low port to it with iptables
[21:52] <agentk> sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8081
[21:52] <kansan> should i set a password for mysql user?
[21:53] <agentk> I always get connection refused when connecting to port 80 though. Flush all tables first set default policy to ACCEPT, enabled forwarding in /proc/sys/net/ipv4/ip_forward
[21:53] <dazman> agentk, it should be --to-port 8081
[21:54] <agentk> dazman: HA! Perfect!
[21:54] <dazman> agentk, :)
[21:54] <agentk> dazman: I knew I should not have given up caffine.
[21:55] <dazman> agentk, Haha.
[21:59] <BBHoss> it seems someone has installed PHPlist on my server, any idea how i can find it?
[22:00] <Spear> search for its files on the server :p
[22:00]  * Spear will now be quiet
[22:01] <dazman> Well, I don't think that's such a bad idea?  Heh.  (If you just want to find where it's installed).  As the logs saying /lists/, if you have no virtual hosts and using a default install, it's probably /var/www/lists?
[22:02] <kansan> how come my /etc/passwd looks different from installing mysql via command line versus doing adduser?  (mine via adduser) mysql:x:1000:1000:,,,:/home/mysql:/bin/bash ;; mysql:x:105:111:MySQL Server,,,:/var/lib/mysql:/bin/false  (via installing mysql)
[22:02] <BBHoss> dazman: i can't seem to find it anywhere
[22:03] <BBHoss> if i remove the directory that the vhost addresses, it still finds the file
[22:03] <dazman> kansan, it's the same pretty much isn't it apart from the mysql package has given it a full name?
[22:03] <dazman> BBHoss, updatedb && locate lists
[22:03] <BBHoss> nothing
[22:03] <kansan> dazman, ok didnt know if that mattered (the rest of it)
[22:03] <dazman> BBHoss, If that doesn't work, have a look at the .htaccess at the root of the default vhost, to see if it's a redirect to some random path?
[22:04] <dazman> kansan, also, the mysql way is better, as it assigns the correct home directory and also /bin/false, which is what it should be.
[22:04] <BBHoss> dazman: see this is nginx, and i'm forwarding all of my *.php connections to fastcgi
[22:04] <dazman> kansan, you don't want it to have a shell really.. as it's not used that way.
[22:04] <kansan> dazman, so how can i set that with adduser
[22:05] <dazman> kansan, erm, without man adduser, I can't remember off the top of my head.
[22:05] <dazman> kansan, have a look at the man page, there will be options to change the shell and home dir from the command line.
[22:07] <BBHoss> ok, it does it for ANY php, not just that single vhost
[22:11] <BBHoss> is there any unix command that can tell me the files an application is using, kind of like reverse fuser?
[22:15] <Spear> BBHoss: http://stackoverflow.com/questions/301247/files-being-used-by-a-unix-process
[22:15] <Spear> read the comments
[22:15] <Spear> it offers some solutions to your question
[22:16] <Spear> lsof -p <pid> should do the trick ;-)
[22:16] <BBHoss> Spear: thanks
[22:16] <Spear> Thats ok, all I did was use google :-)
[22:52] <misieq> could somebody post dependencies for installing ubuntu-desktop?
[22:53] <ScottK> Just try to install it, but cancel the install and you'll have a list.
[22:53] <dazman> misieq, apt-cache show ubuntu-desktop
[22:54] <misieq> the problem is that i currently don't have ubuntu-server installed, but the desktop version and wish to run it headless so i want to get rid of all the useless stuff
[22:55] <dazman> misieq, http://packages.ubuntu.com/intrepid/ubuntu-desktop
[22:56] <misieq> dazman, yes i know that i can check it this way but i want a *differential* check so i don't remove something important
[22:58] <ScottK> sudo apt-get remove ubuntu-desktop then sudo apt-get autoremove should do it.
[22:58] <misieq> ScottK, oh, didn't know that one, thanks a lot
[23:00] <misieq> nope, it doesn't work that way
[23:02] <ScottK> What happened?
[23:03] <misieq> nothing apart from removing ubuntu-desktop package
[23:24] <BBHoss> how can i control what ip address/interface Postfix sends mail from?
[23:27] <Spear> Hi, does anyone know if virtual machines created in Vmware 2.0 can be moved to to a Vmware host running the 1.0 server software
[23:27] <Spear> are they backwards compatible?
[23:27] <ScottK> BBHoss: If you have multiple IP addresses configured on the box, you really can't at the application level.  The kernel will decide what the best route is.
[23:27] <BBHoss> ScottK: ok fun
[23:27] <Spear> I have some ubuntu vms that need to be temporarily relocated!
[23:36] <kansan> is there an automated way to install sun-java-5?  without requiring me to say YES?  or is there any alternative that i can install in a scriptable way (without having to provide confirmation that i agree to their legal baloney_?
[23:41] <erichammond1> kansan: Yes, there is.  It has to do with dumping the conf settings after you have accepted the license and feeding that back in when you are installing it automatically.  Trying to find it...
[23:41] <kansan> ah hhh sweet
[23:43] <erichammond1> kansan: Background info: http://blog.hjksolutions.com/articles/2007/07/27/unattended-package-installation-with-debian-and-ubuntu
[23:45] <erichammond1> Install script for sun-java6-jdk from Matthew Wilson: http://groups.google.com/group/ec2ubuntu/browse_thread/thread/fbcec97ca6f161e1/10222f0ce00b602d#9ec4c5af21fe78da
[23:47] <kansan> erichammond, wow handy@!
[23:47] <erichammond1> kansan: Also: http://www.davidpashley.com/blog/debian/java-license
[23:48] <erichammond1> But using that first link and identifying the current settings for your package is probably the best approach.
[23:51] <kansan> yes thats cool
[23:51] <kansan> only problem is;  when i install sun-java5-jre ;; and then run java -v:  Could not create the Java virtual machine.
[23:52] <kansan> probably a bad java alternatives thingy
[23:54] <kansan> nope still doesnt work after setting java-alternatives correctly


[17:54] <mwhudson> morning
[17:55] <mwhudson> are many people here on the wellylug list?
[18:16] <ibeardslee> morning
[19:10] <ajmitch> morning
[19:25] <snail> morning
[20:52] <Atamira> mornin
[21:03] <ibeardslee> hi ollytheninja
[21:03] <ollytheninja> hi