[03:30] <squidly> I'm trying to bond two NIC's in a failover setup on 11.04, it does not seem to be working though...
[04:05] <squidly> never mind.. I forgot to install the ifenslave package..
[05:57] <lickalott> anyone in here also visit metasploit
[05:58] <lickalott> the chan?
[09:44] <Demosthenes> i'm kinda miffed. it looks like ubuntu server is using first-available uid's for users created by packages instead of pre-assigned id's under 1000.
[09:44] <Demosthenes> so no two systems will have compatible uids
[09:55] <Demosthenes> i find this out the hard way trying to share passwd/group/shadow files between my master headless server and diskless clients.
[09:58] <sponzor> is there any howto that works how to install ubuntu server 10.04 lts from usb?
[10:33] <sponzor> anyone? :)
[14:32] <Hackwar> hi folks, I already asked in #ubuntu, but they told me to ask here, too. I'm thinking about installing a server in our web-agency and wanted to use ubuntu-server. Now I'm not a newbie, but also not a professional either. I want to install subversion, a samba share, LAMP, redmine and phpmyadmin.
[14:32] <Hackwar> The server is purely internal and I was so far successfull in installing all that in a virtual machine.
[14:32] <Hackwar> my question is: Do I have to pay attention, especially in terms of security, for all of this?
[14:34] <Hackwar> is there anything that I have to pay attention to in particular
[14:50] <jmarsden> Hackwar: You need to decide what you think the likely threats are to this machine and the software it runs -- fraud? disgruntled insiders? automated attacks?  malware?  If it has absolutely NO Internet connection, so it really is purely internal, insiders and those with physical access may be your main threats.  If it has no Internet connectivity, how will it be updated?  In either case, how till it be backed up, and how will those backup
[14:50] <jmarsden>  copies be secured?  Etc.  You have to "pay attention" to whatever you think the threats you need to protect against are.
[14:53] <KM0201> is there a command i can run, to see file transfer speeds?
[14:53] <KM0201> say, from the server to a desktop.
[15:37] <jmarsden> KM0201: Disk i/o speeds?  or network traffic?
[15:38] <jmarsden> iotop can show disk i/o, jnettop can show network traffic
[15:41] <KM0201> jmarsden: thanks
[15:41] <jmarsden> KM0201: You're welcome.
[15:44] <KM0201> jmarsden: how do i quit iotop?..lol
[15:45] <jmarsden> q
[15:45] <jmarsden> q for quit
[15:45] <KM0201> hmm, i thought i tried that, guess not.
[15:45] <jmarsden> Like less and top and htop and many other similar programs :)
[15:45] <KM0201> never really dealt w/ top, etc.
[15:46] <jmarsden> You can also do   man iotop    and read all about it :)
[15:46] <KM0201> man pages are often jibberish.
[15:46] <KM0201> "often" not always
[15:48] <jmarsden> No.  man pages are an excellent source of documentation,  you just have nto spent enough time learning how to read them.
[15:49] <KM0201> dunno, i'e read a lot of them.. some are very good, most i don't find all that informative.
[17:14] <jeeves_moss> is there a way to "tail" a log to a webpage?
[19:29] <jj995> anybody know how to test APC PowerChute Network shutdown?  I want to make sure it can actually shutdown my server
[19:33] <JoeCoder> I want to run a cron job that will update my server with all of the security fixes.  but I don't want to go to major new versions that may break conpatibility with my configuration files.  Is apt-get update the best choice?
[19:33] <squidly> JoeCoder: check out unattended-updates
[19:34] <squidly> that will apply security patches but not version upgrades unless it's required for the security fix
[19:55] <JoeCoder> the /etc/cron.daily folder already has some scripts that look like they are performing updates.
[19:55] <JoeCoder> but they're rather logn.
[19:55] <JoeCoder> *long.
[19:56] <JoeCoder> are these standard with an ubuntu server install or should I ask my host (rackspace) ?
[19:57] <alamar> JoeCoder: which scripts do you mean
[19:57] <alamar> apt & aptitude DO have some scripts there
[19:57] <JoeCoder> that's them.
[19:58] <alamar> they are there by default
[19:58] <alamar> if you want to automatically install updates take a look at cron-apt
[19:58] <JoeCoder> do they perform something similar to an aptitude safe-upgrade ?
[19:58] <alamar> this might be what you are looking for
[19:58] <alamar> no
[19:58] <JoeCoder> I'm tring to figure out if I need to add my own script also.
[20:01] <alamar> JoeCoder: cron-apt should suffice
[20:02] <alamar> I just took a look at the script in /etc/cron.daily/apt it seems it CAN be configured to do autoupdates/upgrades
[20:02] <JoeCoder> I was reading this page:  https://help.ubuntu.com/community/AutomaticSecurityUpdates and it mentions cron-apt as well.  But having my own cron job is the simplest for me to understand and change if necessary.
[20:03] <JoeCoder> (That page also mentions the custom cron job)
[20:51] <bernhard1> this is my problem.. installed ubuntu server 11.4.. but when it is shut down it says it is not cleanly unmounted..  then.. when i boot i get this error. mountall: fsck /boot{344} terminated with status 1  then.. about 50 lines.. cannot write bytes: broken pipe when i fix the errors with knoppix cd after one or two reboots i have the same error. This is my syslog anybody can help ?
[20:51] <bernhard1> http://pastebin.com/4wRJdULM
[20:57] <bernhard1> anybody ???
[21:05] <JanC> bernhard1: the issues seem to be with a raid device?
 i only use one disk.. wd velociraptor (new) 300gb
[21:12] <JanC> hm, I'd think "dm-0" refers to a RAID or the like, but maybe I'm wrong
[21:13] <JanC> also, I see only references to 1 disk, you're right  ☺
[21:21] <JanC> bernhard1: the filesystem errors are on a device named "dm-0", so do you know what it is?
  how could i found out what is the device device named "dm-0"
[21:39] <JanC> I suppose 'mount' should show it?
 mount /dev/mapper/duizend-root on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) none on /sys type sysfs (rw,noexec,nosuid,nodev) fusectl on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw)
[21:46] <bernhard1> none on /sys/kernel/security type securityfs (rw) none on /dev type devtmpfs (rw,mode=0755)
[21:46] <bernhard1> none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) none on /dev/shm type tmpfs (rw,nosuid,nodev) none on /var/run type tmpfs (rw,nosuid,mode=0755) none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) /dev/sda1 on /boot type ext2 (rw)
 dm-0 /dev/duizend/root
[22:40] <JanC> bernhard1: do you use an encrypted disk/partition?
 no
[22:42] <bernhard1>  <JanC> dm-0 /dev/duizend/root
[22:42] <bernhard1> dm-1 /dev/duizend/swap_1
[22:44] <JanC> what does "ls -l /dev/mapper" say?
[22:44] <JanC> it must be something that uses device mapper...
[22:45] <JanC> encryption, RAID, ...
[22:45] <JanC> LVM?
[22:45] <bernhard1> what i notice is that when i set /boot to read only it does not give to these pipe errors (but still the dm-0 errors in logfile) ls -l /dev/mapper total 0
[22:45] <bernhard1> crw------- 1 root root 10, 236 2011-08-14 00:40 control
[22:45] <bernhard1> lrwxrwxrwx 1 root root       7 2011-08-14 00:40 duizend-root -> ../dm-0
[22:45] <bernhard1> lrwxrwxrwx 1 root root       7 2011-08-14 00:40 duizend-swap_1 -> ../dm-1
[22:46] <bernhard1> Yes the system is setup with LVM
[22:47] <JanC> it looks like the filesystem is not properly synced before you reboot/shut down?
 any way to fix this ?
[22:48] <JanC> bernhard1: are you sure the disk is okay?
[22:48] <JanC> did you check SMART data etc.?
[22:49] <bernhard1> yes it is new.. i also bought a second one.. and get the same erros..
[22:49] <bernhard1> errors
[22:49] <JanC> ugh  ☹
 SMART data ?
[22:50] <JanC> bernhard1: a standard way to read self test results & statistics from the drive firmware
[22:51] <JanC> e.g. it gives you a counter of hardware errors etc.
[22:51] <JanC> (but also how often you spinned up the disk, etc.)
[22:53] <JanC> but if you have this with 2 different disks, it's less likely the disk is at fault  ;)
[22:54] <bernhard1> yes thats my guess also.. i think i also tried a third disk.. with same issue..
[22:54] <JanC> might be something wrong with the motherboard/chipset/ACPI/etc. support...
 ACPI: resource amd756_smbus [io  0x10e0-0x10ef] conflicts with ACPI region PMIO [io 0x1000-0x10fe] kernel: [    7.555003] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver kernel: [    7.559547] ACPI: resource 0000:00:07.2 [io  0xcc00-0xcc1f] conflicts with ACPI region ECIO [io 0xcc00-0xcc1f] kernel: [    7.559550] ACPI: If an
[22:59] <bernhard1> ACPI driver is available for this device, you should use it instead of the native driver
[23:03] <JanC> ACPI handles powerdown/reboot, so it was just a guess that it might maybe be involved, you'd need an ACPI guru to be sure if that is or can be the cause
[23:04] <JanC> or maybe a google search for that phrase  ;)
[23:04]  * JanC is going afk now
 i did update the bios to latest version.. thanks