[00:00] <lvmer> I guess I'd perfer it to be in a volume group and lv0 so I don't have to split upfiles so much on the share
[00:35] <lvmer> I'm trying to formate a 3TB HD ->  $ parted /dev/sdb     mklabel gpt     mkpart primary  [start]  [end]
[00:35] <lvmer> What should I use for the [start] and [end] values to make sure everything is aligned?
[01:14] <lvmer> is there an easy way to partition and format a bunch of disks at once? ie: sd[b,c,d,e,f,g,h,i] ?
[01:31] <akerok_> Hello everyone.
[01:31] <akerok_> I need some help with my server.
[01:35] <yeats> akerok_: just ask and someone may be able to help
[01:39] <akerok_> All right.  I have a Ubuntu 12.04 server running right now.    My friend and I are trying to get it to allow her to remote desktop login to  the account I have on the server for her.  I have the open ssh server running on it right now, but it still will not allow her to access it from her computer running windows.  How can I get it to allow her to access it?
[01:40] <QnD> hey all
[01:41] <yeats> akerok_: how is she trying to access it?  what program and what command?
[01:42] <QnD> I installed ubuntu 12.04.1 Server and I need a head on it for eclipse and such..... tried aptitude install gnome and it screwed up all of my services like apache and such
[01:42] <QnD> any ideas on how to add a head to ubuntu server without any impact to services
[01:43] <akerok_> She is trying to use windows remote desktop software.  I have her trying to use the static ip address of my comptuter (we are on the same network).  Also, there seems to be a problem with the "/var/lib/dpkg/lock" directory.
[01:43] <yeats> QnD: can you provide details about why you believe installing gnome affected services?
[01:44] <yeats> akerok_: okay - that would be a separate issue (dpkg).  I would recommend she use PuTTY
[01:45] <akerok_> We are trying that one as well.  It's saying it cannot find the server.
[01:46] <yeats> akerok_: it may be a windows firewall issue (obviously beyond the topic here) - have you verified that ssh can get out?
[01:46] <akerok_> To be honest, I don't know how to do that.
[01:46] <akerok_> I don't remember.
[01:47] <QnD> well when aptitude gave me output several services such as apache2 was listed under REMOVE:
[01:47] <akerok_> The Windows firewall is off.
[01:48] <yeats> akerok_: you might need to ask in ##windows about why that's not working... what's the dpkg/apt problem?
[01:49] <QnD> any ideas on why it would attempt to impact services ? during the install I noticed it stopped and started the apache2 service
[01:50] <akerok_> It tells me that the directory is unreachable, and asks if another program is using it.
[01:51] <akerok_> My friend has joined this IRC channel now.
[01:52] <yeats> QnD: because there must be conflicting dependencies between gnome and what you already had installed
[01:53] <QnD> @yeats is there a way of adding some sort of head to server.  i just need it for some dev stuff and such
[01:53] <yeats> akerok_: there might be another package manager program open?
[01:53] <yeats> akerok_: you could try 'lsof | grep dpkg'?
[01:53] <akerok_> I will try that.  One sec.
[01:54] <akerok_> I just rebooted the server.  It didn't give me the problem again.
[01:55] <yeats> QnD: no way to use another station for that?
[01:55] <yeats> QnD: LXDE would be the lightest desktop if you decide one is necessary
[01:55] <QnD> nah I only have one box for both
[01:56] <QnD> will LXDE impact my services
[01:56] <yeats> QnD: no idea
[01:56] <QnD> install complete and booted...   trying now
[01:56] <QnD> BTW thanks for your help
[01:56] <yeats> QnD: sure
[01:59] <lvmer> I am having trouble aligning the primary partition on a 3TB HDD [sdb]. I receive the error: Partition 1 does not start on physical sector boundary. How can I make sure it lines up correctly? It is important because these disks will be used in an important RAID 10 Array. Thanks.
[02:02] <ikonia> lvmer: what tool are you using ?
[02:02] <lvmer> parted, because fdisk doesn't do >2.2TB
[02:02] <ikonia> perfect
[02:02] <ikonia> just checking, good call
[02:03] <lvmer> I ran parted -a optimize /dev/sdb
[02:03] <lvmer> but I still get the error
[02:05] <QnD> @yeats what packages should i install from lxde.  I did a search and lxde, lxde-common .... came up.   also do I need anything else installed like Xwindows framework or stuff along those lines
[02:07] <yeats> QnD: lxde-core is the lightest, but lxde is not much more
[02:08] <yeats> QnD: this is a very useful page: http://wiki.lxde.org/en/Ubuntu
[02:08] <QnD> just install lxde-metapackage and let aptitude figure out the dependancies
[02:09] <yeats> QnD: just watch that apt doesn't try to remove anything you're using
[02:12] <QnD> im not too woried about size.... just like you just said... it is the services im worried about...
[02:14] <QnD> it looks like nothing is scheduled for removal
[02:15] <yeats> QnD: good
[02:15] <QnD> will most apps like eclipse run on lxde ?
[02:15] <yeats> QnD: you'll need java for eclipse, but yes
[02:16] <QnD> hmmm transmission (torrent engine) would be nice on a linux tcp stack :)
[02:18] <QnD> pulled the trigger ! installing :)
[02:22] <QnD> @yeats how do I start it.  no lxde file in /etc.init.d and "service" doesnt recognize it
[02:23] <yeats> QnD: see the wiki link I shared above
[02:23] <QnD> k
[02:39] <QnD> could not open display :(  rebooting
[02:41] <QnD> trying aptitude install ldxe.... seems to have xorg stuff.  probably easier to tweek
[02:43] <Saronasilverwolf> Hi, I'm working with akerok_ on here. We were able to get to where it asks for my password using ssh, but it keeps saying access denied.
[02:43] <QnD> @yeats unable to open display... any ideas...  internet docs seem ambiguous
[02:44] <QnD> got it so far... had to install xinit and go through startx
[02:46] <mike024> Hello. I am creating a homelab/bunch of services for my personal use. Because AD is ubiquitous, I want to use it. What is the best way to implement single sign on on all of my ubuntu/linux servers and desktops that I have set up? Should I use an OpenLDAP server as a 'go-between' or do something else? This will be a mostly Linux set up, but there will be Windows clients(another reason for using AD)
[02:47] <highvoltage> mike024: check out SSSD
[02:47] <highvoltage> mike024: it does almost everything for you. if you look up the edubuntu-devel mailing list on lists.ubuntu.com, there's an email not to long ago that basically outlines how to configure sssd (it has a man page too)
[02:53] <akerok_> We were able to get SSH server to allow me to connect using my compters terminal remotely to our server, but she cannot connect using SSH on her computer.  We cannot figure out why it will not allow any other computer to connect to the server.  The server is running as a VM on my computer.
[02:54] <ikonia> akerok_: probably a route
[02:54] <akerok_> I honestly don't know how to fix this issue.
[02:54] <mike024> highvoltage: neato. Looks very useful. Thanks for another way to solve the problem to look into!
[02:56] <mike024> akerok_ Saronasilverwolf: You get the login prompt? It asks for your password?
[02:57] <akerok_> Yes.
[02:57] <Saronasilverwolf> yes it does
[02:57] <akerok_> There are 2 user accounts on the server.  Mine and hers.  Both have passwords.
[02:57] <mike024> Are you sure the username and password is correct? can her account log in locally?
[02:58] <akerok_> I can log into her account directly on the server.
[02:58] <akerok_> It's Ubuntu server 12.04
[02:58] <mike024> can you pastebin your sshd.config?
[02:59] <akerok_> I might be able to.  The server is running as a VM on my computer.
[03:00] <mike024> Please do. The configuration of the machine/vm you're trying to log into is important. :)
[03:00] <akerok_> All right.  I'll try.
[03:00] <mike024> You sound like you don't know exactly how to do it. There are a couple easy ways. change ssh in your commandline to log in to sftp and then type get /etc/ssh/sshd_config
[03:01] <mike024> or just ssh in and cat it then copy and paste
[03:02] <pmatulis> start by looking at your server's logs (auth.log)
[03:03] <QnD> @yeats all successful so far.  once I installed lxde i installed xinit then firefox,transmission,  and now going to try to create my dev environment with rclipse....  Thanks for all of your help.  will post any problems for FYI purposes.  have a good night !
[03:04] <QnD> lightweight head on server accomplished !  a bit of a conflict of interest but needed :)
[03:04] <akerok_>  Are you saying to try to log into the server using sftp?
[03:06] <mike024> I'm saying for you to get the sshd_config, you could use sftp
[03:06] <akerok_> Oh, ok.
[03:11] <akerok_> Do you want me to copy and paste the doc info in here, or share the file?
[03:13] <mike024> http://pastebin.com/
[03:17] <akerok_> http://pastebin.com/9cgzrWCv
[03:19] <mike024> everything looks fine. get the output of: cat /etc/passwd | grep USERNAME
[03:21] <akerok_> AmandaClements,,,:/home/amandaclements:/bin/bash
[03:22] <akerok_> amandaclements:x:1001:1001:AmandaClements,,,:/home/amandaclements:/bin/bash
[03:23] <mike024> Saronasilverwolf: what is the command you put in to log in?
[03:24] <Saronasilverwolf> ssh AmandaClements@192.168.1.18
[03:24] <mike024> remove the capitals
[03:24] <akerok_> 192.168.1.18 is the static ip
[03:24] <mike024> ssh amandaclements@ip
[03:25] <akerok_> It gave her access.  Thank you very much.
[03:26] <mike024> yarp
[03:27] <akerok_> Will that work the same with remote desktop?
[03:28] <sesstreets> m trying to make a samba share follow a specific protocol. When a windows client maps the drive, I want them to be able to read files, execute files, and create new files but I do not want them to be able to delete either folders or files. Will this result in the client being able to open a file and then save a new copy?
[03:28] <akerok_> nvm.  It did.
[03:28] <mike024> that will work for ssh
[03:29] <sesstreets> I know its an ACL setting but which one
[03:29] <mike024> sesstreets: you are using extended acl's, right?
[03:29] <sesstreets> I believe so
[03:30] <mike024> sesstreets: you would know, you have to set that as a mount option
[03:30] <sesstreets> Oh... yes I do remember it is using extedned acl's
[03:31] <sesstreets> any clue?
[03:31] <mike024> I don't have much knowledge of them. But it shouldn't be to hard looking through the man page or google :)
[03:32] <sesstreets> I honestly have spent the last few weeks looking through both. I added a deny: delete, delete files and subfolders
[03:32] <sesstreets> but that stopped read access
[03:33] <mike024> can you add read?
[03:33] <sesstreets> add read to what?
[03:33] <mike024> and I think I meant extended attributes, not acl
[03:33] <mike024> you added a deny. Can you add a allow: read
[03:34] <sesstreets> hold on let me log on to my server
[03:36] <sesstreets> Ok so, which order do i add it
[03:36] <sesstreets> as in, do i do deny id = 0 or allow id = 0
[03:36] <mike024> Try and see what happens. I don't pretend to have much knowledge in xattr, just a little linux/ubuntu experience
[03:37] <sesstreets> I'm going to do deny first and allow second
[03:39] <sesstreets> ok, so i can't delete.
[03:39] <mike024> thats what you want, right?
[03:40] <sesstreets> but now i can't write
[03:40] <sesstreets> IE i've opened a word doc but i can't even save as
[03:41] <mike024> can you create a file
[03:41] <mike024> just a notepad file?
[03:41] <sesstreets> nope
[03:42] <mike024> so add a allow: create?
[03:43] <sesstreets> thats already there
[03:43] <mike024> also word is an interesting case(office as a whole actually) when you open it, it creates a ~myfile file as temporary, then when you save it deletes your myfile and renames your ~myfile to myfile. Think about the issues involved with that. You need rename, delete, and create permissions just to open and save an office file
[03:43] <sesstreets> I've noticed that
[03:44] <sesstreets> but if i'm opening a file as read only shouldn't it only be making a new one?
[03:44] <sesstreets> thats what i want'
[03:44] <sesstreets> there was a time when i would open a word doc and it would say "this is a read only copy"
[03:45] <mike024> it would make the new file, but when you quit without saving it will delete that temporary file
[03:45] <mike024> so you would need delete perms too
[03:45] <sesstreets> ugh
[03:45] <mike024> unless there is a newer way to open read only in a more recent office
[03:46] <mike024> that I don't know about
[03:46] <sesstreets> it lets you do that in 2010
[03:46] <sesstreets> it happens when another user has the file open
[03:46] <sesstreets> it says "this file is currently open by another user would you like to open as read only"
[03:46] <sesstreets> maybe thast what i've been thinking of :/
[03:48] <mike024> it probably sees that that ~myfile is there and then does that
[03:49] <sesstreets> egh
[03:49] <sesstreets> i think i'm gonna just have to redesign the system in some way
[03:49] <mike024> So I have somewhat the same issue as you
[03:50] <mike024> I don't want people to be able to delete my movies on my file server
[03:50] <sesstreets> why would they delete it?
[03:50] <mike024> users are idiots
[03:50] <sesstreets> no i mean
[03:50] <mike024> My solution: chattr -i all of the things everyonce in a while
[03:50] <sesstreets> just make it read only not?
[03:50] <sesstreets> what is chattr -i?
[03:51] <mike024> makes things immutable(unchangeable)
[03:51] <mike024> it is pretty neat
[03:51] <mike024> basically has precedence over perms
[03:51] <sesstreets> i wonder how this plays with word and friends
[03:51] <sesstreets> wait
[03:51] <mike024> word still wouldn't work
[03:51] <sesstreets> don't you mean +i?
[03:52] <mike024> but it forces files to be read only - no way to get around it
[03:52] <mike024> i do mean +i good catch :)
[03:52] <sesstreets> well... let me try
[03:52] <mike024> word would probably open the files, but not be able to change them. So I think that would satisfy your need
[03:54] <sesstreets> how are you applying it?
[03:54] <sesstreets> file by file or
[03:54] <sesstreets> can you do it recursilvy
[03:55] <sesstreets> oh i see -R
[03:55] <mike024> Always be careful with recursive things. :)
[04:01] <sesstreets> no this wont work without doing it all the time constantly
[04:01] <sesstreets> im thankful for the help but i think the only way to do this is to redesign the share structure so that people can only damage their own files
[04:01] <sesstreets> its much easier to restore a singer user than 40 users
[04:01] <sesstreets> but thanks
[10:16] <uvirtbot`> New bug: #1093428 in php5 (main) "Cron job reports unable to load pdo_mysql.so" [Undecided,New] https://launchpad.net/bugs/1093428
[11:36] <ejnahc> 이브에 아무 이유 없이 마인크 땅굴 파실분
[14:48] <uvirtbot`> New bug: #1070078 in autofs (main) "autofs does not work with directory after mount point" [Undecided,New] https://launchpad.net/bugs/1070078
[15:16] <uvirtbot`> New bug: #1093473 in munin (main) "munin does not depend on libcgi-fast-perl" [Undecided,New] https://launchpad.net/bugs/1093473
[16:00] <samba35> hi
[16:00] <samba35> :p
[17:14] <TheLordOfTime> geez, php5 takes AGES to build :/
[17:29] <patdk-lap> like 15min
[17:30] <TheLordOfTime> its been at it for at least 30 on the PPA builders...
[17:56] <TheLordOfTime> eesh...
[17:56] <TheLordOfTime> patdk-lap, took an hour and 30 minutes to build o.O
[20:24] <koolhead17> Its already 25 Dec for me hence am wishing all my fellow server team folks happy Christmas :)
[21:13] <lvmer> I seem to have forgotten the command to rmdir   for a directory that is not empty.   rmdir -R -ignore.....  /directory   does not work
[21:15] <lvmer> ah found it:   rm -rf /directory    for anyone that has the problem in the future
[21:24] <lvmer> 1 more question: I'm mounting a Raid10 logical volume in /etc/fstab. Should I set the dump to 0 or 1? Is there a purpose to this backing up option?
[21:25] <lvmer> Am I invisible or does no one like my questions? :p