=== binBASH is now known as bdayBASH | ||
=== bdayBASH is now known as binBASH | ||
pmatulis | chrowe: perhaps check logs for anything suspicious (or turn off "psyco" like a bug commenter suggested) | 00:04 |
---|---|---|
=== ogra is now known as Guest58620 | ||
talntid | on hour 7 of fsck checking my hard drive... anyone think that's too long? | 00:53 |
talntid | it's a 600gb raid6 array | 00:53 |
maswan | talntid: not nevcessarily, depends on the filesystem and what you have stored | 00:57 |
talntid | hmm, ok :( | 00:58 |
talntid | gfs. lots of documents, mp3s of call recordings... | 00:59 |
donvito | how to save a bin bash script | 01:22 |
donvito | its ok ipv6update.sh ? | 01:22 |
donvito | #!/bin/dash | 01:22 |
donvito | or #!/bin/bash | 01:22 |
uvirtbot | New bug: #392968 in beautifulsoup "beautifulsoup 3.1 is buggy, provide 3.0 by default" [Wishlist,Confirmed] https://launchpad.net/bugs/392968 | 01:28 |
uvirtbot | New bug: #695557 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.37-1ubuntu5.5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/695557 | 01:46 |
Psi-Jack | Anyone here know if FC-connected storage to two physical servers could share the same software raid? | 02:16 |
Patrickdk | hmm, you can't share drives that way, unless your using special firmware on the drives, like how gfs was origionally designed to work :) | 02:24 |
Psi-Jack | hehe. | 02:27 |
Psi-Jack | I'm trying to help this guy who's trying to provide redundancy of a single shelf of FC-attached storage to 2 physical servers, those 2 physical servers are what he wants to provide network filesystems from, and NFS we all know sucks at that for fault tolerance. ;) | 02:27 |
Patrickdk | basically, you still need a lock manager, so two drives don't cache/write to the same place at the same time | 02:27 |
Patrickdk | origional gfs put the lock managers on the drives themselfs in the firmware | 02:28 |
Psi-Jack | I'm pretty much at the point of thinking, no matter what, 50% of the shelf is going to be dedicated to each physical server. Correct? | 02:28 |
Patrickdk | depends on how you set it up, but I believe so | 02:28 |
Psi-Jack | Yeah. | 02:28 |
Patrickdk | then if one server dies, the other one can steal those drives | 02:28 |
erfolg | hi. i've got a shorewall routing question if somebody can possibly help. | 02:52 |
c0nv1ct | erfolg, ask it and see | 03:02 |
erfolg | ok. well i've got my firewall/router server. then i've got another server behind it i'm running 2 game servers on. i need to forward 27015 and 27016 to it. in my config i've got DNAT to it tcp and udp but it they never show up on steam or anything. | 03:04 |
erfolg | some of that might confuse you. i can paste my rules into pastebin or something if you need. | 03:06 |
fabiobik | hi there | 03:15 |
fabiobik | ive installed vsftp | 03:15 |
fabiobik | and i want to acess to ftp with local username | 03:16 |
fabiobik | i can acess | 03:16 |
fabiobik | but i cant do nothing | 03:16 |
fabiobik | 500 premission denied | 03:16 |
Delerium_ | Probably don't have the good permission | 03:21 |
erfolg | be sure the directory you're in is set to the correct permissions. | 03:21 |
erfolg | sudo chown -R user:group /srv/directory | 03:22 |
Delerium_ | if you log with your own ID, you will have access to your home directory, that's about it | 03:22 |
fabiobik | Delerium | 03:26 |
fabiobik | i want to delete a folder inside var/www/ | 03:26 |
fabiobik | erfolg | 03:27 |
fabiobik | what i need to do? | 03:27 |
erfolg | cd /var/www | 03:27 |
Delerium_ | If you want to work on a remote host to delete / create / manage ... I would suggest SSH instead of ftp | 03:27 |
erfolg | sudo rm -r folder | 03:27 |
Delerium_ | erfolf: sudo is supported with ftp!? | 03:28 |
fabiobik | lol | 03:28 |
erfolg | oh ftp? | 03:29 |
erfolg | lol | 03:29 |
Delerium_ | yeah. that's what fabiobik said earlier on | 03:29 |
erfolg | be sure you have permissions set in it and then you should just be able to login and hit delete. | 03:29 |
erfolg | srry i'm tired. lol. | 03:29 |
Delerium_ | no problem, I was wondering if I missed something too.. Little wine tonight so.... ;) | 03:30 |
erfolg | lol. yeah. | 03:30 |
fabiobik | erfolg and how to be shure i have all premissions | 03:31 |
fabiobik | lol | 03:31 |
Delerium_ | ls -al ;) | 03:31 |
erfolg | do you have access to the server it's hosted on? | 03:31 |
erfolg | or just ftp access? | 03:31 |
fabiobik | all acess | 03:31 |
fabiobik | its mine server lol | 03:31 |
erfolg | ok | 03:31 |
erfolg | login | 03:31 |
fabiobik | ssh? | 03:32 |
erfolg | yeah. or locally. | 03:32 |
erfolg | then type this | 03:32 |
erfolg | cd /var | 03:32 |
erfolg | sudo chown -R username:username www | 03:32 |
erfolg | replace username with your username | 03:32 |
erfolg | then ftp to it and you should be able to have full access to it | 03:33 |
erfolg | be sure to use your username for the ftp | 03:33 |
fabiobik | yes | 03:33 |
Delerium_ | also, if /var/www is your apache DocRoot, be sure that the user running the apache process have access ;) | 03:33 |
fabiobik | 250 Directory successfully changed. | 03:34 |
fabiobik | Comando:RMD projeto | 03:34 |
fabiobik | Resposta:550 Remove directory operation failed. | 03:34 |
fabiobik | :S | 03:34 |
erfolg | wait. try chown -R username:www-data www instead | 03:35 |
c0nv1ct | erfolg, not sure i get your shorewall problem... have you checked to see if traffic arriving on those ports reach the server? and why dnat? | 03:35 |
erfolg | i think that should work. | 03:35 |
fabiobik | chown: missing operand after `fabiomig:www-data' | 03:36 |
erfolg | c0nvlct, everything i read said to use dnat for it. i tried dnat and just accept and neither one let it work. | 03:36 |
erfolg | sudo chown -R fabiomig:www-data /var/www | 03:36 |
c0nv1ct | erfolg, ah, might be something specific for steam then... you'd think -j FORWARD would work just fine | 03:37 |
erfolg | yeah. well it works on my firewall box with just accept. but then when i try to put it on the other server and port forward it doesn't. | 03:37 |
fabiobik | Comando:RMD projeto | 03:38 |
fabiobik | Resposta:550 Remove directory operation failed. | 03:38 |
fabiobik | Estado:A obter a lista de pastas ... | 03:38 |
fabiobik | -_- | 03:38 |
erfolg | hmm. 1 more try. | 03:38 |
erfolg | sudo chown -R www-data:www-data /var/www | 03:39 |
erfolg | then try to ftp in as root | 03:39 |
erfolg | idk if it'll let you do that. if not i've got a way that'll def let you do it after that. | 03:39 |
fabiobik | noting | 03:41 |
fabiobik | how to remove a pakage | 03:41 |
erfolg | c0nvict, yeah i think i'm probably gonna stop using shorewall and just use iptables. so many things that screw it up. | 03:41 |
erfolg | it wouldn't let you delete it then fabio? | 03:41 |
c0nv1ct | erfolg, check to make sure the ports are working first using netcat | 03:42 |
fabiobik | sudo apt-get install vsftp | 03:42 |
fabiobik | now i want to remove | 03:43 |
erfolg | sudo apt-get purge vsftp | 03:43 |
erfolg | hmm you're right c0nvict. i can't connect from 1 to the other. i can connect from a windows computer on the lan but not from my firewall server to the app server. weird. | 03:48 |
erfolg | i can connect to my mumble server from it but not the steam servers. maybe something in the steam settings. | 03:49 |
erfolg | but from external i can't connect to mumble server. :( | 03:51 |
talntid | Hi all. I know #xen is the recommended chat room for Xen, but the are idle... does anyone here have experience installing Xen on 10.04? | 05:09 |
talntid | Mainly, I am looking for how to do it. I have tried a handfull of times, all unsuccessfully. | 05:09 |
SpamapS | talntid: typically there is better support for kvm than xen in ubuntu | 06:19 |
Syria | Hi, is there a way to list users on my ubuntu lucid server? | 08:53 |
gobbe | cat /etc/passwd | 08:54 |
andol | Syria: getent passwd | 08:54 |
Syria | Thank you guys, how can i change the password for a specific user? | 08:55 |
andol | sudo passwd specific_user | 08:55 |
Syria | andol thnx again. | 08:57 |
Syria | I have installed vsftpd and created a new user but the ftp server does not seem to be working. | 08:58 |
Syria | I am trying to update wordpress which installed on my ubuntu lucid vps server should this be the hostname for example? 109.233.112.154 ? | 09:00 |
Syria | I have created a new user but when i ssh using it all i get is the $ sign! | 09:08 |
nigelb | that's because you don't have the bash shell I think. | 09:08 |
nigelb | The user is probably havng /bin//sh | 09:08 |
nigelb | err /bin/sh | 09:08 |
Syria | nigelb How can I fix this please? | 09:08 |
nigelb | "sudo chsh -s /bin/bash username" perhaps? | 09:10 |
nigelb | I'm not sure. | 09:10 |
Syria | nigelb it works!! thank you. | 09:12 |
nigelb | \o/ | 09:13 |
Syria | am I a super user now? | 09:13 |
Syria | opps what does this mean! There is 1 zombie process. | 09:13 |
Syria | nigelb Do you have an idea about what 1 zombie process. is? | 09:14 |
nigelb | I think zombie process would already be dead. | 09:15 |
nigelb | http://www.cyberciti.biz/tips/killing-zombie-process.html | 09:15 |
Syria | nigelb I get this zombie thing only when i ssh using the new user name that i have created! and I am not getting an output using the # top command. | 09:18 |
nigelb | checkout ps ax and see if you have any process with Z in stat column | 09:18 |
Syria | nigelb all I get is a new line. | 09:19 |
nigelb | :( | 09:19 |
nigelb | In that case, I don't know. | 09:19 |
Syria | its okay thnx. :) | 09:19 |
Syria | Hello, is this the right way to make a copy of a folder via ssh? ibrahim@server:/$ cp /var/www/site /var/www/site-backup | 11:15 |
Frenk_ | Hey, I have an error using psad: http://paste.ubuntu.com/548783/ Although I set IPTABLES_PREREQ_CHECK to 1; Can I add the chain manually? And how do I ensure that they exist after restart? iptables-save didnt work for me the last time. | 11:15 |
Jeeves_ | Syria: add -r | 11:16 |
Syria | Jeeves_ where should I add it please? | 11:16 |
Jeeves_ | Syria: Oh wait | 11:16 |
Jeeves_ | you want scp -r /var/www/site $user@$remote_host:/var/www/site-backup | 11:16 |
Jeeves_ | That copies /var/www/site to the remote hosts directory /var/www/site-backup | 11:17 |
Jeeves_ | If you want it to stay on the same server | 11:17 |
Jeeves_ | cp -r /var/www/site /var/www/site-backup | 11:17 |
Syria | Jeeves_ It is not a remote host, i want to copy the folder on the same server. | 11:17 |
Syria | Yes thank you. | 11:17 |
Syria | I understand it now. | 11:17 |
=== Cyber_Rock is now known as suparock | ||
=== suparock is now known as Cyber_Rock | ||
Syria | I want to add my username to the sudoers file is this the right way? sudo nano /etc/group | 11:27 |
Jeeves_ | Syria: No | 11:27 |
Jeeves_ | If you want sudo, just add yourselve to the group admin | 11:28 |
Jeeves_ | adduser $username admin | 11:28 |
Syria | Jeeves_ I Thanks again. :) | 11:28 |
gobbe | usermod is correct tool to add users to groups | 11:44 |
talntid | any way to see if fsck is still doing anything? it's been going for about 12 hours...... loads are at exactly 1.0..... | 12:28 |
talntid | and shows it's running in top, too... | 12:28 |
gobbe | are u running it manually? | 12:38 |
Jeeves_ | gobbe: adduser is just a wrapper around usermod | 12:43 |
podman99 | hey all ... i know this will be something simple... using ubuntu-vm-builder on maverick 10.10 built and installed from ISO a VE, i used virsh to define /etc/libvir....... start bt01 and it waits and tells me : http://pastebin.com/xCDCX5a4 ?? any ideas have followed docs perfectly @ https://help.ubuntu.com/community/KVM/CreateGuests | 13:07 |
gobbe | Jeeves_: oh yeah, my bad.Too used to use usermod ;) | 13:15 |
pmatulis | podman99: looks like you used root to build the vm | 13:21 |
talntid | /sbin/mount.gfs2: error mounting /dev/drbd0 on /home: No such file or directory | 13:23 |
talntid | which one does it think doesn't exist? | 13:23 |
=== deegee_ is now known as deegee | ||
phetips | I have set up a working LAMP stack. Now I want to be able to send mail via PHP. What is the best way to go about this? Any recommendations on send only MTAs or particular setups? | 14:24 |
Jeeves_ | 'apt-get install postfix' ? | 14:25 |
phetips | Jeeves_: i've been told that is overkill for what i'm trying to do | 14:26 |
phetips | and apparantly send only MTA's are the way to go | 14:26 |
phetips | i've had trouble setting up postfix in the past, perhaps i just need to look into it a bit more | 14:26 |
patdk-wk | send only mta's can get you into lots of issues though | 14:29 |
patdk-wk | if you care about your email | 14:29 |
patdk-wk | they don't cache/spool, so if the mta they are sending to is down, or something, your emails are lost | 14:30 |
patdk-wk | so I go with postfix instead :) | 14:30 |
phetips | allright, i'll give that another go, any tips on how to set it up in my php.ini? | 14:31 |
qman__ | I agree, it may be "overkill" but postfix won't let you down | 14:31 |
qman__ | I've run into all sorts of trouble with supposedly simple lightweight MTAs | 14:31 |
patdk-wk | you don't "set it up in php.ini" | 14:31 |
phetips | ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). | 14:32 |
qman__ | when you install postfix it becomes the local "sendmail" daemon | 14:32 |
phetips | ; http://php.net/sendmail-path | 14:32 |
phetips | ;sendmail_path = | 14:32 |
qman__ | you don't need to configure any of that | 14:32 |
qman__ | just use mail() | 14:32 |
qman__ | it knows what to do | 14:32 |
phetips | so, "sudo apt-get install postfix; sudo apache2ctl restart;" should allow me to use mail() ? | 14:33 |
qman__ | you only need to configure that if you have a botched up install where your system doesn't know where its mail daemon is, or you're using an external mail system directly from PHP | 14:33 |
patdk-wk | apache restart shouldn't be needed | 14:33 |
qman__ | just install and configure postfix, it will "just work" | 14:33 |
qman__ | be aware though, that your mails will probably get caught by spam filters unless you do it properly | 14:34 |
phetips | allright then, i'm guessing i should pick "Internet site" for the postfix conf? | 14:34 |
gobbe | yep | 14:34 |
qman__ | yes | 14:34 |
phetips | system mail name of any particular importance? | 14:34 |
qman__ | very | 14:34 |
phetips | by default it is set to my hostname | 14:35 |
qman__ | that's the local mail domain | 14:35 |
qman__ | e.g. if your website is mysite.com | 14:35 |
qman__ | that would be mysite.com | 14:35 |
Jeeves_ | phetips: ssmtp works, i think | 14:35 |
phetips | it's a development setup, it runs on my localhost | 14:35 |
qman__ | that name is where mail sent by the system comes from, and where reply mail should be sent to | 14:36 |
phetips | so if it's just a local server, what should i set it to? | 14:37 |
qman__ | probably the default if it's not going on the internet at all | 14:37 |
phetips | well, i would like to have it send e-mail to my gmail or exchange server | 14:37 |
qman__ | if you have a working exchange mail system, you should use the satellite configuration instead | 14:38 |
qman__ | and have it forward mail to exchange | 14:38 |
phetips | i'm guessing i should not set the system mail name to the exchange domain then? | 14:39 |
phetips | or should i | 14:39 |
phetips | sorry for being so newbish :) | 14:39 |
phetips | and thanks for being so helpful | 14:39 |
qman__ | no, in that case set it to the local host name | 14:39 |
qman__ | the way spam filters work, any mail that isn't sent from an apparently legitimate server gets junked | 14:40 |
qman__ | so if you want your mail to work on the internet, you can't just set up a simple, unconfigured smtp | 14:40 |
phetips | SMTP relay host should be the exchange server then? | 14:41 |
qman__ | it has to go through a properly configured system | 14:41 |
qman__ | yes | 14:41 |
qman__ | and the exchange server needs to accept relays from your host | 14:41 |
podman99 | pmatulis, correct ... i didnt use --dest to move it out of /root as qemu wont load from /root ... resolved not sorry | 14:47 |
pmatulis | podman99: 'resolved not sorry' ? | 14:48 |
phetips | qman__: do you happen to know if i can run that configuration tool again? | 14:49 |
phetips | it aborted | 14:49 |
pmatulis | phetips: 'sudo dpkg-reconfigure postfix' ? | 14:50 |
phetips | pmatulis: awesome, thanks | 14:51 |
phetips | qman__: just setting it up as Internet server and setting mail name to "localhost" | 14:54 |
phetips | was actually sufficient to ahve it send mail to my exchange server | 14:54 |
phetips | without it getting marked as spam or anything :) | 14:54 |
phetips | anyways, thanks for the help! | 14:54 |
Wolfsherz | hey, can someone help me with my virtual hosts? i seem to be doing it wrong somehow... | 15:06 |
pmatulis | !ask | Wolfsherz | 15:06 |
ubottu | Wolfsherz: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) | 15:06 |
Wolfsherz | well ok, i get the following error when starting apache: [warn] NameVirtualHost *:80 has no VirtualHosts | 15:07 |
pmatulis | Wolfsherz: but does your setup work? | 15:08 |
Wolfsherz | not as it should. beside the default i defined a second virtual host under /etc/apache2/sites/available and enabled it with a2ensite. the default-site i open with the servers ip. the second one is a domain inquirere.de wich works only when i open www.inquirere.de not without www. it then defaults to the default-page | 15:10 |
Wolfsherz | i guess there must be an error with the default or second virtual-host definition | 15:11 |
Wolfsherz | would it help to post the config-files default and inquirere.de? | 15:13 |
pmatulis | Wolfsherz: did you follow any documentation? | 15:15 |
Wolfsherz | yes, i followed a book called ubuntu-server by michael kofler | 15:16 |
Wolfsherz | do I need NameVirtualHost * at the default-configuration? | 15:24 |
Wolfsherz | it has not been in there, but the book had it in, so i included it. | 15:25 |
_ruben | the warning means that you have a "NameVirtualHost *:80" config directive but no matching "<VirtualHost *:80>" entry or entries | 15:25 |
Wolfsherz | but i can not see any *:80 directive | 15:27 |
_ruben | according the warning, it is *somewhere* :) | 15:28 |
_ruben | might wanna grep for *:80 recursively through /etc/apache2/ :) | 15:29 |
Wolfsherz | what the... its in ports.conf | 15:30 |
Wolfsherz | so i'm going to remove the NameVirtualHost * in the default site configuration | 15:31 |
Wolfsherz | message gone, thanks! | 15:32 |
Wolfsherz | the other problem persists though: when opening inquirere.de it does show the default-site not the configured vhost | 15:33 |
Wolfsherz | i defined ServerName inquirere.de and ServerAlias www.inquirere.de | 15:34 |
_ruben | i've been running into similar issues recently, hadn't had time time to dive in though :/ | 15:36 |
_ruben | though in my case, one vhost config seems to trample another, as browsing to the servername of the other, it ends up at the first anyways | 15:37 |
Wolfsherz | this is my vhost: | 15:38 |
Wolfsherz | <VirtualHost *:80 > | 15:38 |
Wolfsherz | DocumentRoot/home/inquirere/www/ | 15:38 |
Wolfsherz | ServerNamewww.inquirere.de | 15:38 |
Wolfsherz | ServerAliasinquirere.de | 15:38 |
Wolfsherz | ErrorLog/home/inquirere/www-log/error.log | 15:38 |
Wolfsherz | CustomLog/home/inquirere/www-log/access.log combined | 15:38 |
Wolfsherz | ServerAdminwebmaster@inquirere.de | 15:38 |
Wolfsherz | ErrorDocument404 /not-found.html | 15:38 |
Wolfsherz | 15:38 | |
Wolfsherz | <Directory "/home/inquirere/www/" > | 15:38 |
Wolfsherz | AllowOverride AuthConfig FileInfo | 15:38 |
Wolfsherz | </Directory> | 15:39 |
Wolfsherz | </VirtualHost> | 15:39 |
pmatulis | !paste | Wolfsherz | 15:39 |
ubottu | Wolfsherz: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. | 15:39 |
Wolfsherz | sorry... | 15:39 |
Wolfsherz | ok, this is my vhost: http://paste.ubuntu.com/548860/ | 15:40 |
Wolfsherz | i can't make out any errors in there, i wonder why www.domain.de does work, but domain.de goes to the default-site... | 15:41 |
pmatulis | Wolfsherz: maybe try #httpd, no apache experts here right now i guess | 15:43 |
Wolfsherz | will do, thank you | 15:45 |
gobbe | Wolfsherz: have you tried to create it with servername inquirere.de and with alias www | 15:45 |
skorv | i have internet on the server and not on the clients... what is to blame dhcpd our bind9? | 15:47 |
skorv | *or | 15:47 |
skorv | i'm without ideas | 15:47 |
gobbe | well dhcp if your client doesn't get ip | 15:47 |
skorv | the clients get ip | 15:47 |
gobbe | ...and what does mean that client doesn't have internet? | 15:47 |
skorv | no problems with that | 15:47 |
gobbe | can they ping gateway? | 15:48 |
skorv | yea | 15:48 |
gobbe | do they have nameserver in /etc/resolv.conf | 15:48 |
skorv | yes... besides the local.... the opendns onew | 15:49 |
skorv | *ones | 15:49 |
gobbe | so what is the problem? | 15:50 |
skorv | thatz my problem.... everything looks ok | 15:51 |
uvirtbot | New bug: #695718 in squid (main) "squid SIGABRT on bad url_rewriter" [Undecided,New] https://launchpad.net/bugs/695718 | 15:52 |
uvirtbot | New bug: #695719 in samba (main) "package samba-common (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/695719 | 15:52 |
gobbe | skorv: so what is not working? | 15:52 |
_ruben | does ping 8.8.8.8 work from a client? does host www.google.com work from a client? | 15:52 |
gobbe | and how does your client and server relate each other? | 15:52 |
gobbe | is client connected thru server | 15:53 |
gobbe | or what? | 15:53 |
pmatulis | hmm, after booting a degraded raid1 array from busybox every subsequent reboot (still degraded) proceeds without intervention. normal? | 15:57 |
pmatulis | md1 (swap) however remains non-active | 15:58 |
skorv | client gets ip... nothing else | 16:03 |
teddymills | I updated my kernel using wget a new kernel and installed it using dpkg -i. If I wget the original kernel. can I revert back to the original kernel? | 16:03 |
gobbe | skorv: and how client is connectred to internet? | 16:04 |
gobbe | earlier you answered that it can ping gateway? | 16:04 |
gobbe | and now it cannot? | 16:04 |
skorv | server serves as gateway | 16:04 |
gobbe | do you have ip forwarding there? | 16:04 |
pmatulis | teddymills: that's not the way to update your kernel | 16:04 |
skorv | nop | 16:04 |
skorv | server has dns and dhcp | 16:04 |
gobbe | skorv: well you need that | 16:05 |
skorv | :P | 16:05 |
gobbe | of course it cannot connect without able to forward traffic | 16:05 |
skorv | i'll figure it out | 16:05 |
pmatulis | teddymills: anyway, just remove the newer kernel and you should be good | 16:05 |
skorv | forwarders | 16:05 |
skorv | hummm | 16:05 |
skorv | bind9 | 16:05 |
teddymills | what is the proper way to update a ubuntu server kernel? | 16:05 |
gobbe | teddymills: apt-get | 16:06 |
pmatulis | teddymills: perform a system-wide package update | 16:06 |
pmatulis | teddymills: 'sudo aptitude update; sudo aptitude full-upgrade' (or use apt-get) | 16:07 |
teddymills | if i build a ubuntu box, i do apt-get update;apt-get upgrade on it..what does 'apt-get full-upgrade' do? (i never saw that before ) I did see 'apt-get upgrade-dist' | 16:09 |
pmatulis | teddymills: 'apt-get dist-upgrade' = 'aptitude full-upgrade' | 16:10 |
teddymills | sorry 'apt-get dist-upgrade' | 16:10 |
pmatulis | Wolfsherz: any luck in #httpd? | 16:17 |
skorv | so far figured out that ping from server works and gets replied... ping from client gets resolved but no reply | 16:26 |
skorv | target was google.com | 16:26 |
pmatulis | skorv: summarise your problem? | 16:33 |
gobbe | skorv: did you setup ipforwarding? | 16:44 |
gobbe | skorv: https://help.ubuntu.com/community/Router | 16:46 |
donvito | hello guys | 18:32 |
gobbe | hello | 18:32 |
donvito | ./ipv6.sh | 18:33 |
donvito | RTNETLINK answers: Operation not permitted | 18:33 |
donvito | RTNETLINK answers: Operation not permitted | 18:33 |
donvito | RTNETLINK answers: Operation not permitted | 18:33 |
donvito | there are 3 ip6 addresses | 18:33 |
donvito | why does i need to be sudo or root to add them? | 18:33 |
giovani | donvito: I don't know what "ipv6.sh" does | 18:33 |
donvito | second | 18:34 |
giovani | could you paste the script into a pastebin? | 18:34 |
donvito | ip addr add 2001:470:d:448::100/64 dev wlan0 | 18:34 |
donvito | this what ipv6.sh does | 18:34 |
giovani | oh, you definitely need to be root to change IP addresses of interfaces | 18:34 |
donvito | but i setup this script so i can run it from rc.local | 18:34 |
giovani | alright | 18:34 |
donvito | it will run everytime alone | 18:34 |
donvito | i did chown root:root ipv6.sh | 18:35 |
giovani | you don't need to do it in rc.local, this is what /etc/network/interfaces is for | 18:35 |
donvito | what to do than please | 18:35 |
giovani | /etc/network/interfaces | 18:36 |
giovani | man interfaces | 18:36 |
donvito | nah | 18:36 |
donvito | looks like script works with chown root:root | 18:36 |
giovani | it's the standard debian/ubuntu way to set up network interfaces | 18:36 |
giovani | donvito: it's the improper method for doing this | 18:37 |
donvito | well the scripts works. | 18:40 |
donvito | ;) | 18:40 |
giovani | donvito: that's not the point | 18:56 |
* pennyless is away: Gone away for now | 19:51 | |
uvirtbot | New bug: #695825 in qemu-kvm (main) "Ubuntu KVM error with guest memory >4gb ram" [Undecided,New] https://launchpad.net/bugs/695825 | 21:59 |
mikeobeda | I need some help with improving file transfer speed to my server. For some reason I am only getting 100 megabit connection when I have a gigabit card, a gigabit switch, and a gigabit windows machine involved in the transfer. the transfer seems to be going through my 100 megabit router for some reason | 22:20 |
guntbert | mikeobeda: did you enable jumbo frames on all devices? | 22:22 |
mikeobeda | does anyone know how to see the path that a file takes to get from my xp machine to my ubuntu server? | 22:26 |
lenios | interesting, mikeobeda is asking questions and isn't waiting for answer | 22:29 |
guntbert | mikeobeda: did you enable jumbo frames on all devices? | 22:30 |
Karti_ | Hi all, stuck here. I have created a group and added myself to it on a file server. It now seems that I cannot sudo as I am not in the sudors file. I believe that I should delete etc/group- and etc/gshadow- but I can't as I have lost my su ability. Any ideas would be helpful | 22:31 |
Karti_ | By teh way I am using putty on a headless server | 22:32 |
AlexMax | What happened to the staff group? | 22:35 |
examancer | wait... you WERE a sudoer, but after adding yourself to another group your no longer a member of sudoers? | 22:35 |
guntbert | Karti: sounds a little strange, how did you create a group without using sudo? | 22:35 |
AlexMax | It's a feature in debian and it at least used to be in ubuntu | 22:35 |
AlexMax | http://ubuntuforums.org/showthread.php?t=693320 | 22:35 |
AlexMax | But I just got a new 10.10 server and /usr/local doesn't have any staff permissions, only root:root | 22:35 |
Karti | guntbert, I created teh group with sudo and added myself and another test account. From here I can't do anything (this was after a reboot on my server and client | 22:36 |
Karti | the username jim is teh original one I used when I created the server | 22:36 |
Karti_ | sorry....logged in twice | 22:37 |
examancer | Karti_: i'm not sure how adding 'jim' to a group would result in 'jim' being removed from sudoers | 22:37 |
examancer | you sure you didn't do anything else? | 22:37 |
Karti_ | examancer, don't believe so :) | 22:37 |
examancer | do you have the root account enabled? | 22:37 |
examancer | any other account in sudoers you can log into? | 22:38 |
Karti_ | I am getting "cannot lock /etc/group" please trty later | 22:38 |
examancer | when? | 22:38 |
Karti_ | examancer, fraid I am the only admin on teh box. It is a vm that I can reclone but I would rather try to find teh fault first | 22:39 |
Karti_ | when I try to delete the original group that I created | 22:39 |
Karti_ | examancer, don't believe the root is active (I've not given a password) | 22:39 |
examancer | so you can't do: sudo cat /etc/sudoers ? | 22:40 |
Karti_ | examancer, and its a standard install | 22:40 |
examancer | the account your logged into... when you run `groups` you don't see "admin" as one of your groups? | 22:40 |
Karti_ | examancer, just says I'm not in sudoers and will be reported | 22:41 |
examancer | lol | 22:41 |
* examancer points finger condescendingly ... *you've been reported* | 22:41 | |
examancer | what are your current groups for 'jim'? | 22:42 |
examancer | just run 'groups' or 'groups jim' | 22:43 |
Karti_ | examancer, when I groups jim - I am only in jim and netshare | 22:43 |
examancer | that's the problem | 22:44 |
examancer | sudo priviledge is given to those in the 'admin' group on a standard install | 22:44 |
examancer | you must have done something to remove jim from that group | 22:44 |
examancer | thank goodness for VMs | 22:44 |
Karti_ | lol so I actually moved myself to only one group :) | 22:45 |
examancer | yet | 22:45 |
guntbert | Karti_: pastebin /etc/groups (for learning..) | 22:45 |
examancer | *yep | 22:45 |
examancer | i'm sure there is some way to escalate priviledges and get root access... but the fantastic linux/ubuntu community has made that really hard (for me) | 22:46 |
examancer | its not like resetting the admin pass in windows | 22:46 |
examancer | heh | 22:46 |
Karti_ | guntbert, any way to copy text from putty? | 22:47 |
examancer | if it were a real machine you might be able to boot into another OS and overwrite a passwd file or something to give root a password | 22:47 |
examancer | Karti_: yes, just highlight | 22:47 |
examancer | anything you highlight is copied | 22:47 |
examancer | instantly | 22:47 |
examancer | kind of annoying sometimes, actually | 22:47 |
Karti_ | not working on teh old highlighting side I'm afraid | 22:48 |
examancer | with PuTTY? if you highlight and then while its still highlighted try to paste you don't see what you highlighted? | 22:49 |
examancer | i use it all day at work. maybe i played with the config | 22:49 |
The_Tick | highlight then right click | 22:49 |
examancer | oh. that config sounds better. whatever i did i should undo it :-P | 22:50 |
examancer | oh. the copy action DOES happen just from highlighting. pasting is the right-click | 22:51 |
Karti_ | guntbert, http://paste.ubuntu.com/548944/ | 22:52 |
Karti_ | examancer, I just ssh'd from a terminal and copied | 22:53 |
guntbert | Karti_: so you deleted the admin group and removed jim from almost all groups -- not good :_) | 22:53 |
* pennyless is back. | 22:54 | |
Karti_ | guntbert, I didnt delete the groups only add myself to netshare (was practicing with nfs | 22:55 |
Karti_ | sudo usermod -G netshare jim | 22:56 |
examancer | why'd you use that command | 22:57 |
guntbert | Karti_: you must have -- the quickest way back would be to reinstall - and in the future create a snapshot before experimenting :-) | 22:57 |
Karti_ | lol its all from the net - I blame my reading and searching skills :) | 22:58 |
Karti_ | I initially wanted a group that had two users inside that I could then give permissions to on nfs share | 22:58 |
examancer | adduser jim netshare | 22:58 |
Karti_ | examancer, I will definitely use that next time!! | 22:59 |
examancer | -G: If the user is currently a member of a group which is not listed, the user will be removed from the group. This behaviour can be changed via the -a option, which appends the user to the current supplementary group list. | 23:00 |
examancer | usermod -aG is what you wanted | 23:00 |
examancer | -G is what caused your problems | 23:00 |
Karti_ | By the way the I have found the assistance from the ubuntu-server channel brilliant - always helpful | 23:00 |
Karti_ | I think your adduser will be the easiest in future :) | 23:01 |
examancer | yes, you'd have to be a lot more than one character off to screw things up with adduser | 23:01 |
Karti_ | as you said ....not an issue with VMs | 23:02 |
guntbert | Karti_: if you want to experiment with that borked machine further: connect the image of a live CD, boot it, and with chroot change the files in /etc (especially groups...) | 23:04 |
guntbert | would work even without chroot | 23:04 |
examancer | i sure do love VMs... makes driver issues mostly a thing of the past and gives me a valid excuse to have 8GB of RAM in my desktop | 23:05 |
Karti_ | guntbert, I will give that a go | 23:09 |
Karti_ | examancer, your not wrong.....same excuse i gave to teh wife :) | 23:09 |
Karti_ | examancer, just to say I tried guntbert's idea and I managed to use the recovery mode (not the live disk) to give root a password. Once this was done I added jim to admin and all is well. | 23:40 |
Karti_ | examancer, thanks for the assistance before | 23:40 |
examancer | no problem :-) | 23:42 |
jdimatteo | good afternoon all | 23:52 |
jdimatteo | please help me find where it is documented what kernel(s) Ubuntu 10.04LTS Server Edition uses. I'm evaluating whether or not I should install it at my business | 23:53 |
RoyK | jdimatteo: uname -r | 23:54 |
jdimatteo | RoyK, thanks, but that really isn't what I asked for. I haven't installed it yet, so that really doesn't help much | 23:54 |
jdimatteo | RoyK: do you happen to know *if* this is documented on ubuntu.com at all? | 23:55 |
RoyK | this is 10.04 | 23:55 |
RoyK | Linux lamia 2.6.32-27-server #49-Ubuntu SMP Thu Dec 2 02:05:21 UTC 2010 x86_64 GNU/Linux | 23:55 |
jdimatteo | RoyK: thanks very much! this answers my question sufficiently | 23:56 |
RoyK | this is 10.10 | 23:56 |
RoyK | Linux irctos 2.6.35-24-server #42-Ubuntu SMP Thu Dec 2 03:58:11 UTC 2010 x86_64 GNU/Linux | 23:56 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!