/srv/irclogs.ubuntu.com/2011/08/13/#ubuntu-server.txt

squidlyI'm trying to bond two NIC's in a failover setup on 11.04, it does not seem to be working though...03:30
squidlynever mind.. I forgot to install the ifenslave package..04:05
lickalottanyone in here also visit metasploit05:57
lickalottthe chan?05:58
=== Ursinha-bbl is now known as Ursinha
uvirtbotNew bug: #819903 in swift (main) "[MIR] swift" [High,Fix released] https://launchpad.net/bugs/81990306:06
uvirtbotNew bug: #825697 in samba (main) "winbindd_cache clearing" [Undecided,New] https://launchpad.net/bugs/82569708:20
=== StevenR_ is now known as StevenR
Demosthenesi'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
Demosthenesso no two systems will have compatible uids09:44
Demosthenesi find this out the hard way trying to share passwd/group/shadow files between my master headless server and diskless clients.09:55
sponzoris there any howto that works how to install ubuntu server 10.04 lts from usb?09:58
sponzoranyone? :)10:33
uvirtbotNew bug: #825825 in openssh (main) "have DNS based verification occur by default" [Undecided,New] https://launchpad.net/bugs/82582514:22
Hackwarhi 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
HackwarThe server is purely internal and I was so far successfull in installing all that in a virtual machine.14:32
Hackwarmy question is: Do I have to pay attention, especially in terms of security, for all of this?14:32
Hackwaris there anything that I have to pay attention to in particular14:34
jmarsdenHackwar: 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 backup14:50
jmarsden copies be secured?  Etc.  You have to "pay attention" to whatever you think the threats you need to protect against are.14:50
KM0201is there a command i can run, to see file transfer speeds?14:53
KM0201say, from the server to a desktop.14:53
jmarsdenKM0201: Disk i/o speeds?  or network traffic?15:37
jmarsdeniotop can show disk i/o, jnettop can show network traffic15:38
KM0201jmarsden: thanks15:41
jmarsdenKM0201: You're welcome.15:41
KM0201jmarsden: how do i quit iotop?..lol15:44
jmarsdenq15:45
jmarsdenq for quit15:45
KM0201hmm, i thought i tried that, guess not.15:45
jmarsdenLike less and top and htop and many other similar programs :)15:45
KM0201never really dealt w/ top, etc.15:45
jmarsdenYou can also do   man iotop    and read all about it :)15:46
KM0201man pages are often jibberish.15:46
KM0201"often" not always15:46
jmarsdenNo.  man pages are an excellent source of documentation,  you just have nto spent enough time learning how to read them.15:48
KM0201dunno, i'e read a lot of them.. some are very good, most i don't find all that informative.15:49
uvirtbotNew bug: #825872 in cyrus-sasl2 (main) "FTBFS with newer versions of heimdal" [High,In progress] https://launchpad.net/bugs/82587216:20
=== sjefen6_ is now known as sjefen6
jeeves_mossis there a way to "tail" a log to a webpage?17:14
=== otubo is now known as otubo[AFK]
jj995anybody know how to test APC PowerChute Network shutdown?  I want to make sure it can actually shutdown my server19:29
JoeCoderI 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
squidlyJoeCoder: check out unattended-updates19:33
squidlythat will apply security patches but not version upgrades unless it's required for the security fix19:34
JoeCoderthe /etc/cron.daily folder already has some scripts that look like they are performing updates.19:55
JoeCoderbut they're rather logn.19:55
JoeCoder*long.19:55
JoeCoderare these standard with an ubuntu server install or should I ask my host (rackspace) ?19:56
alamarJoeCoder: which scripts do you mean19:57
alamarapt & aptitude DO have some scripts there19:57
JoeCoderthat's them.19:57
alamarthey are there by default19:58
alamarif you want to automatically install updates take a look at cron-apt19:58
JoeCoderdo they perform something similar to an aptitude safe-upgrade ?19:58
alamarthis might be what you are looking for19:58
alamarno19:58
JoeCoderI'm tring to figure out if I need to add my own script also.19:58
alamarJoeCoder: cron-apt should suffice20:01
alamarI just took a look at the script in /etc/cron.daily/apt it seems it CAN be configured to do autoupdates/upgrades20:02
JoeCoderI 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:02
JoeCoder(That page also mentions the custom cron job)20:03
bernhard1this 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
bernhard1http://pastebin.com/4wRJdULM20:51
bernhard1anybody ???20:57
JanCbernhard1: the issues seem to be with a raid device?21:05
bernhard1<JanC> i only use one disk.. wd velociraptor (new) 300gb21:10
JanChm, I'd think "dm-0" refers to a RAID or the like, but maybe I'm wrong21:12
JanCalso, I see only references to 1 disk, you're right  ☺21:13
JanCbernhard1: the filesystem errors are on a device named "dm-0", so do you know what it is?21:21
bernhard1<JanC>  how could i found out what is the device device named "dm-0"21:37
JanCI suppose 'mount' should show it?21:39
bernhard1<JanC> 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
bernhard1none on /sys/kernel/security type securityfs (rw) none on /dev type devtmpfs (rw,mode=0755)21:46
bernhard1none 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)21:46
bernhard1<JanC> dm-0 /dev/duizend/root22:11
JanCbernhard1: do you use an encrypted disk/partition?22:40
bernhard1<JanC> no22:41
bernhard1 <JanC> dm-0 /dev/duizend/root22:42
bernhard1dm-1 /dev/duizend/swap_122:42
JanCwhat does "ls -l /dev/mapper" say?22:44
JanCit must be something that uses device mapper...22:44
JanCencryption, RAID, ...22:45
JanCLVM?22:45
bernhard1what 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 022:45
bernhard1crw------- 1 root root 10, 236 2011-08-14 00:40 control22:45
bernhard1lrwxrwxrwx 1 root root       7 2011-08-14 00:40 duizend-root -> ../dm-022:45
bernhard1lrwxrwxrwx 1 root root       7 2011-08-14 00:40 duizend-swap_1 -> ../dm-122:45
bernhard1Yes the system is setup with LVM22:46
JanCit looks like the filesystem is not properly synced before you reboot/shut down?22:47
bernhard1<JanC> any way to fix this ?22:47
JanCbernhard1: are you sure the disk is okay?22:48
JanCdid you check SMART data etc.?22:48
bernhard1yes it is new.. i also bought a second one.. and get the same erros..22:49
bernhard1errors22:49
JanCugh  ☹22:49
bernhard1<JanC> SMART data ?22:49
JanCbernhard1: a standard way to read self test results & statistics from the drive firmware22:50
JanCe.g. it gives you a counter of hardware errors etc.22:51
JanC(but also how often you spinned up the disk, etc.)22:51
JanCbut if you have this with 2 different disks, it's less likely the disk is at fault  ;)22:53
bernhard1yes thats my guess also.. i think i also tried a third disk.. with same issue..22:54
JanCmight be something wrong with the motherboard/chipset/ACPI/etc. support...22:54
bernhard1<JanC> 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 an22:59
bernhard1ACPI driver is available for this device, you should use it instead of the native driver22:59
JanCACPI 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 cause23:03
JanCor maybe a google search for that phrase  ;)23:04
* JanC is going afk now23:04
bernhard1<JanC> i did update the bios to latest version.. thanks23:05

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