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:00 |
---|---|---|
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? | 00:35 |
=== cpg is now known as cpg|away | ||
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:14 |
akerok_ | Hello everyone. | 01:31 |
akerok_ | I need some help with my server. | 01:31 |
yeats | akerok_: just ask and someone may be able to help | 01:35 |
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:39 |
QnD | hey all | 01:40 |
yeats | akerok_: how is she trying to access it? what program and what command? | 01:41 |
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:42 |
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:43 |
yeats | akerok_: okay - that would be a separate issue (dpkg). I would recommend she use PuTTY | 01:44 |
akerok_ | We are trying that one as well. It's saying it cannot find the server. | 01:45 |
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:46 |
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:47 |
yeats | akerok_: you might need to ask in ##windows about why that's not working... what's the dpkg/apt problem? | 01:48 |
QnD | any ideas on why it would attempt to impact services ? during the install I noticed it stopped and started the apache2 service | 01:49 |
=== Ursinha-afk is now known as Ursinha | ||
akerok_ | It tells me that the directory is unreachable, and asks if another program is using it. | 01:50 |
akerok_ | My friend has joined this IRC channel now. | 01:51 |
yeats | QnD: because there must be conflicting dependencies between gnome and what you already had installed | 01:52 |
=== Sarona_silverwol is now known as Saronasilverwolf | ||
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:53 |
akerok_ | I just rebooted the server. It didn't give me the problem again. | 01:54 |
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:55 |
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:56 |
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. | 01:59 |
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:02 |
lvmer | I ran parted -a optimize /dev/sdb | 02:03 |
lvmer | but I still get the error | 02:03 |
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:05 |
yeats | QnD: lxde-core is the lightest, but lxde is not much more | 02:07 |
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:08 |
yeats | QnD: just watch that apt doesn't try to remove anything you're using | 02:09 |
QnD | im not too woried about size.... just like you just said... it is the services im worried about... | 02:12 |
QnD | it looks like nothing is scheduled for removal | 02:14 |
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:15 |
QnD | hmmm transmission (torrent engine) would be nice on a linux tcp stack :) | 02:16 |
QnD | pulled the trigger ! installing :) | 02:18 |
QnD | @yeats how do I start it. no lxde file in /etc.init.d and "service" doesnt recognize it | 02:22 |
yeats | QnD: see the wiki link I shared above | 02:23 |
QnD | k | 02:23 |
QnD | could not open display :( rebooting | 02:39 |
QnD | trying aptitude install ldxe.... seems to have xorg stuff. probably easier to tweek | 02:41 |
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:43 |
QnD | got it so far... had to install xinit and go through startx | 02:44 |
=== cpg|away is now known as cpg | ||
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:46 |
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:47 |
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:53 |
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:54 |
mike024 | akerok_ Saronasilverwolf: You get the login prompt? It asks for your password? | 02:56 |
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:57 |
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:58 |
akerok_ | I might be able to. The server is running as a VM on my computer. | 02:59 |
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:00 |
mike024 | or just ssh in and cat it then copy and paste | 03:01 |
pmatulis | start by looking at your server's logs (auth.log) | 03:02 |
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:03 |
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:04 |
mike024 | I'm saying for you to get the sshd_config, you could use sftp | 03:06 |
akerok_ | Oh, ok. | 03:06 |
akerok_ | Do you want me to copy and paste the doc info in here, or share the file? | 03:11 |
mike024 | http://pastebin.com/ | 03:13 |
akerok_ | http://pastebin.com/9cgzrWCv | 03:17 |
mike024 | everything looks fine. get the output of: cat /etc/passwd | grep USERNAME | 03:19 |
akerok_ | AmandaClements,,,:/home/amandaclements:/bin/bash | 03:21 |
akerok_ | amandaclements:x:1001:1001:AmandaClements,,,:/home/amandaclements:/bin/bash | 03:22 |
mike024 | Saronasilverwolf: what is the command you put in to log in? | 03:23 |
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:24 |
akerok_ | It gave her access. Thank you very much. | 03:25 |
mike024 | yarp | 03:26 |
akerok_ | Will that work the same with remote desktop? | 03:27 |
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:28 |
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:29 |
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:30 |
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:31 |
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:32 |
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:33 |
sesstreets | hold on let me log on to my server | 03:34 |
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:36 |
sesstreets | I'm going to do deny first and allow second | 03:37 |
sesstreets | ok, so i can't delete. | 03:39 |
mike024 | thats what you want, right? | 03:39 |
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:40 |
mike024 | can you create a file | 03:41 |
mike024 | just a notepad file? | 03:41 |
sesstreets | nope | 03:41 |
mike024 | so add a allow: create? | 03:42 |
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:43 |
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:44 |
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:45 |
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:46 |
mike024 | it probably sees that that ~myfile is there and then does that | 03:48 |
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:49 |
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:50 |
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:51 |
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:52 |
sesstreets | how are you applying it? | 03:54 |
sesstreets | file by file or | 03:54 |
sesstreets | can you do it recursilvy | 03:54 |
sesstreets | oh i see -R | 03:55 |
mike024 | Always be careful with recursive things. :) | 03:55 |
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 | 04:01 |
=== cpg is now known as cpg|away | ||
=== cpg|away is now known as cpg | ||
uvirtbot` | New bug: #1093428 in php5 (main) "Cron job reports unable to load pdo_mysql.so" [Undecided,New] https://launchpad.net/bugs/1093428 | 10:16 |
ejnahc | 이브에 아무 이유 없이 마인크 땅굴 파실분 | 11:36 |
=== cpg is now known as cpg|away | ||
=== yofel_ is now known as yofel | ||
uvirtbot` | New bug: #1070078 in autofs (main) "autofs does not work with directory after mount point" [Undecided,New] https://launchpad.net/bugs/1070078 | 14:48 |
uvirtbot` | New bug: #1093473 in munin (main) "munin does not depend on libcgi-fast-perl" [Undecided,New] https://launchpad.net/bugs/1093473 | 15:16 |
samba35 | hi | 16:00 |
samba35 | :p | 16:00 |
=== Guest51318 is now known as kInOzAwA | ||
TheLordOfTime | geez, php5 takes AGES to build :/ | 17:14 |
=== kInOzAwA is now known as Guest23375 | ||
patdk-lap | like 15min | 17:29 |
TheLordOfTime | its been at it for at least 30 on the PPA builders... | 17:30 |
TheLordOfTime | eesh... | 17:56 |
TheLordOfTime | patdk-lap, took an hour and 30 minutes to build o.O | 17:56 |
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
=== cpg|away is now known as cpg | ||
koolhead17 | Its already 25 Dec for me hence am wishing all my fellow server team folks happy Christmas :) | 20:24 |
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:13 |
lvmer | ah found it: rm -rf /directory for anyone that has the problem in the future | 21:15 |
=== cpg is now known as cpg|away | ||
=== cpg|away is now known as cpg | ||
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:24 |
lvmer | Am I invisible or does no one like my questions? :p | 21:25 |
=== a is now known as Guest72098 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!