mike1 | STILL having the problem with proxy. changed/corrected order of NICs in firewall | 00:23 |
---|---|---|
Iceman_B | how do I restart samba? | 00:30 |
KE1HA | sudo /etc/init.d/samba restart | 00:32 |
KE1HA | https://help.ubuntu.com/10.04/serverguide/C/index.html | 00:32 |
Iceman_B | thanks | 00:33 |
Iceman_B | it seems like 10.04 is full of surprises | 00:33 |
Iceman_B | I cant access my files on the samba share in Windows, but I can see them | 00:34 |
Iceman_B | sudo: /etc/init.d/samba: command not found | 00:34 |
KE1HA | Im not at my server, but seems I recall that changing. | 00:36 |
KE1HA | that's why i pulled it off the Wiki, guess it needs some work :-) | 00:36 |
KE1HA | try sudo restart samba | 00:37 |
Iceman_B | thanks | 00:37 |
Iceman_B | lets see | 00:37 |
KE1HA | then do a sudo testparm | 00:38 |
Iceman_B | restart: Unknown job: samba | 00:38 |
KE1HA | you sure it's installed ? | 00:38 |
KE1HA | Oh, sri, my bad. | 00:38 |
KE1HA | sudo restart smbd | 00:38 |
Iceman_B | im sure its installed :) | 00:38 |
Iceman_B | smbd start/running, process 2860 | 00:39 |
Iceman_B | is that the correct return? | 00:39 |
KE1HA | now do sudo testparm | 00:39 |
KE1HA | I just upgrade my server from 8.04, lots changed ;-) | 00:40 |
Iceman_B | KE1HA: http://ubuntu.pastebin.com/aifXSwzN | 00:41 |
Iceman_B | still, access denied | 00:41 |
KE1HA | let me get my share off conf, will patebin it, you need to change the path and username though. | 00:42 |
KE1HA | Iceman_B, http://pastebin.ubuntu.com/476668/ | 00:45 |
Iceman_B | whoa | 00:49 |
Iceman_B | that's a whole slew of new options | 00:49 |
Iceman_B | lemem try that | 00:49 |
Iceman_B | testparm does not display invalid OR default settings, right ? | 00:51 |
KE1HA | If it fails it will tell you that. | 00:51 |
Iceman_B | okay | 00:52 |
KE1HA | f testparm runs correctly, it will list the loaded services. If not, it will give an error message. Make sure it runs correctly and that the services look reasonable before proceeding | 00:52 |
Thund3rX | Hi all, what version of Eucalyptus comes in bundled with Ubuntu Server Edition? | 00:53 |
Iceman_B | KE1HA: http://pastebin.ubuntu.com/476673/ | 00:54 |
Iceman_B | no errors were thrown | 00:54 |
Iceman_B | but can you explain that discrepancy | 00:54 |
Iceman_B | ? | 00:54 |
KE1HA | which line do you think is not right ? | 00:56 |
Iceman_B | hm>? is that a question or a quiz? | 00:58 |
Iceman_B | because I dont think the lines are wrong :) | 00:58 |
KE1HA | There ya go, ok, does it work ? | 00:58 |
Iceman_B | Im just wondering why some of the lines vanish in the testparm | 00:58 |
Iceman_B | lemme see if it works | 00:58 |
Iceman_B | nope, still access denied | 00:59 |
KE1HA | I dont know, Im not an expert on testparm, but know if I get errors using it, I need to fix them. | 00:59 |
KE1HA | have you added a user to samba ? | 00:59 |
KE1HA | as in, dod you do somethign like this at one point: smbpasswd -a [user_name] | 01:00 |
KE1HA | opps as in, did you do somethign .. .. | 01:00 |
Iceman_B | yeah | 01:03 |
KE1HA | Man, do i have a big chat-delay or are you checking somethign ? | 01:03 |
Iceman_B | ah sorry | 01:03 |
KE1HA | So you added a smbpasswd ? | 01:03 |
Iceman_B | i was checking the samba.org page | 01:03 |
Iceman_B | yes | 01:03 |
Iceman_B | and it happens to match my linux pass | 01:04 |
KE1HA | and did you restart samba after you mand the Share changes ? | 01:04 |
Iceman_B | yeah | 01:04 |
Iceman_B | sudo restart smbd right? | 01:04 |
Iceman_B | I can try again though | 01:04 |
KE1HA | yes | 01:04 |
KE1HA | and just to be sure, you've done all this as sudo, not root yes ? | 01:05 |
Iceman_B | all this sudo | 01:05 |
Iceman_B | i dont think I can do this as a root | 01:06 |
Iceman_B | something about ubuntu missing a root user | 01:06 |
Iceman_B | ? | 01:06 |
KE1HA | no, you should not do anythign as root in Ubuntu. | 01:07 |
KE1HA | How are are you trying to access the shared folder ? | 01:07 |
Iceman_B | in windows, I do | 01:07 |
Iceman_B | network places > and then the share is listed there | 01:08 |
KE1HA | that's good, at least its seeing it. Does WinDoze Ask you for a U/N and P/W ? | 01:08 |
Iceman_B | nope, but thats because the Windoze pass is the same | 01:08 |
Iceman_B | and the user | 01:08 |
Iceman_B | Im assuming here that in the background, samba asks for credentials, and windows supplies whatever im logged in with | 01:09 |
Iceman_B | and they match | 01:09 |
Iceman_B | im beginnin to suspect another thing here | 01:09 |
Iceman_B | the files im trying to access, were created on another ubuntu system | 01:10 |
KE1HA | No, it dont work that wau. | 01:10 |
KE1HA | way* | 01:10 |
KE1HA | your linux box, the first time you acess the sahe should ask you for the info. | 01:10 |
KE1HA | There's another way to do this with the conf file, but I dont use it too often. | 01:11 |
Iceman_B | I think I found the problem | 01:11 |
Iceman_B | its the files themselves | 01:11 |
Iceman_B | they are being pwned by root | 01:11 |
Iceman_B | instead of my user | 01:11 |
Iceman_B | they all reside on a different hdd, which is mounted on a dir in my ~/ | 01:11 |
Iceman_B | so that would explain it | 01:12 |
Iceman_B | I wonder if I can chown the entire drive recurseivly | 01:12 |
KE1HA | Back to the .conf file then ## comment out the previous Share setings then try this: http://pastebin.ubuntu.com/476677/ | 01:12 |
Iceman_B | without breaking the automount | 01:12 |
KE1HA | and sudo srestart samba again | 01:12 |
KE1HA | The access it though IE with \\IP-Address\Share_Folder | 01:13 |
Iceman_B | before I do that, I want to try the ownership thing first | 01:14 |
KE1HA | SRI, \\IP_Address\username | 01:14 |
Iceman_B | because if I create a file from windows, ON the share, I can access it fine | 01:14 |
KE1HA | Ownership of the share ? | 01:14 |
Iceman_B | no | 01:14 |
Iceman_B | of all the files in the share | 01:14 |
Iceman_B | I made a kinda complicated setup I guess | 01:14 |
KE1HA | that's a diffrent problem, if you can create a File on the Share, then Samba is working. | 01:14 |
Iceman_B | yeh | 01:15 |
KE1HA | Then cd to the Share and chown -R ./* | 01:15 |
KE1HA | chown -R username ./* | 01:15 |
KE1HA | that's will change the owner, if you want group too: chown -R username:username ./* | 01:16 |
Iceman_B | thanks | 01:16 |
Iceman_B | its running now | 01:17 |
KE1HA | but first, in the dir share directory, do a la -al and look at the owner and group | 01:17 |
Iceman_B | that said root root | 01:17 |
Iceman_B | uid 0 | 01:17 |
KE1HA | cool, you didn't say you could create files, but not access the old ones. | 01:17 |
Iceman_B | yeah, I didnt know what info to provide | 01:17 |
Iceman_B | or what is critical | 01:17 |
KE1HA | that's why, root owned them, not you the user. | 01:18 |
KE1HA | Samba is just the go-between .. like the tunnel. | 01:18 |
KE1HA | Anyway, Im glad it's workign. | 01:18 |
KE1HA | Only took me an hour to help you get it fixed :-) | 01:19 |
KE1HA | I really need to work-over this 10.04, it's allot difffrent than 8.04 was | 01:19 |
Iceman_B | ack | 01:19 |
Iceman_B | almost there | 01:19 |
Iceman_B | all the owner:group are now correct | 01:19 |
Iceman_B | but when I want to open a file, say a pdf | 01:20 |
Iceman_B | do I need my own permission set to 6 or 7 ? | 01:20 |
KE1HA | now from windows, dor a refresh on the directory | 01:20 |
KE1HA | well, no dee to 777 I'd do 750 if it's only you accessing them anyway. | 01:20 |
KE1HA | no need for 777 .. .. .. | 01:21 |
KE1HA | You could tightening them up real tight, but on you own boxes, probably not needed but it's up to you. | 01:21 |
Iceman_B | so whats the syntax | 01:23 |
Iceman_B | man pages are usually cryptic | 01:23 |
Iceman_B | chown u+ 0700 ? | 01:23 |
KE1HA | syntax for what ? | 01:23 |
KE1HA | chmod [000] [filename] | 01:24 |
KE1HA | Once you own the files your just changing the permissions. | 01:24 |
KE1HA | if yo want to do a whole directory of files, or anything below a certain directory level, just do | 01:25 |
KE1HA | chmod -R ./* but besure your in the directory where you want to change the file permissions and the -R is recursive. | 01:25 |
Iceman_B | thats fine | 01:25 |
KE1HA | you need the permission in there of course, like: chmod -R 750 ./* would change every file * directory below where your at. | 01:26 |
* Iceman_B sighs, still nothing | 01:30 | |
Iceman_B | so all the files on the share are owned by my own user:group | 01:31 |
Iceman_B | permissions on all the files and dirs are set to rwx------ | 01:31 |
Iceman_B | and still access denied on all those files | 01:31 |
KE1HA | Iceman_B, but you can go from windows to the share directory and create files or from the Ubuntu machine and put new files there and Windows can acess it ? | 01:33 |
Iceman_B | yup | 01:34 |
Iceman_B | I can see the share in windows, create file in windows, open THOSE files in windows | 01:34 |
KE1HA | Only thing I can think to try is use sudo to change the user:group and then file permission, and see where that takes you. | 01:34 |
Iceman_B | and write to them | 01:34 |
KE1HA | as in: sudo chown -R username:username ./* then do sudo chmod -R 700 ./* | 01:35 |
Iceman_B | I just rebooted my server | 01:38 |
Iceman_B | all the colors from bash are gone now too :? | 01:38 |
Iceman_B | but first this samba issue | 01:38 |
Iceman_B | i'll try your suggestion, sec | 01:38 |
Iceman_B | chown is running now | 01:39 |
KE1HA | must be allot of files :-) Music Archive ? | 01:41 |
Iceman_B | and anime =) | 01:42 |
KE1HA | :-) | 01:42 |
Iceman_B | samba should have no problems when im in windows and I access file, that in linux is a symlink, which points to the actual file | 01:42 |
Iceman_B | right? | 01:42 |
Iceman_B | assuming im the owner of all, and I have rwx permissions on it | 01:43 |
KE1HA | Links are short cuts | 01:43 |
KE1HA | what's the permissions on the files? are they in a diffrent place ? | 01:43 |
Iceman_B | well, physically they are on a different drive, but that is mounted in ~/rin | 01:45 |
Iceman_B | and I just changed all the permission on those files to 0700 | 01:45 |
KE1HA | and you ls all of them ? | 01:46 |
Iceman_B | ls ? | 01:46 |
Iceman_B | how do you mean | 01:46 |
KE1HA | How did you create the links ? | 01:46 |
Iceman_B | good question, lemme think | 01:47 |
Iceman_B | I have a dir ~/share, I cd to that, and then I do ln -s ~/rin/..../file.pdf file.pdf | 01:49 |
Iceman_B | and still the same error, access denied | 01:50 |
KE1HA | and you created those with the other system ? | 01:50 |
KE1HA | On the Ubuntu box, move on of the real files to the shared directory and see if windows and open it | 01:51 |
KE1HA | Move a file, not the link | 01:52 |
Iceman_B | all those fiels were created on another system, yeah | 01:52 |
Iceman_B | I can access them from within ubuntu fine though | 01:52 |
Iceman_B | but I'll try | 01:52 |
KE1HA | move one of the actual files, using the Ubuntu server, and see if you can read it from windows. | 01:53 |
KE1HA | but dont creat a Ln -s for that file. | 01:53 |
KE1HA | try to acess the actual moved file. | 01:53 |
Iceman_B | that seems to work | 01:56 |
Iceman_B | I can access the files fine | 01:56 |
Iceman_B | so I guess the problem is in a symlink ? | 01:56 |
KE1HA | Kill all those links, move the files, move them back ad re-do your links. | 01:57 |
KE1HA | or, directly acess the file,s which is best. | 01:57 |
Iceman_B | I cant move the files | 01:57 |
Iceman_B | not enough space on my disk | 01:57 |
KE1HA | You just did. | 01:57 |
Iceman_B | yeah, one | 01:57 |
Iceman_B | I cant move em all | 01:57 |
KE1HA | well, try deleting a link and re-creating it, but I think it's the source (re file) giving you the trouble. | 01:58 |
KE1HA | oop (real file ) | 01:58 |
Iceman_B | okay | 01:58 |
Iceman_B | lemem try that | 01:58 |
Iceman_B | yeah seems to work now | 02:01 |
KE1HA | Well done :-) | 02:01 |
Iceman_B | thanks a million | 02:02 |
KE1HA | links are a pain in the back side, especially hard links. | 02:02 |
Iceman_B | but...what did really change? | 02:02 |
Iceman_B | I never use hard links | 02:02 |
KE1HA | No problem, glad ya got it sorted. | 02:02 |
Iceman_B | so can you explain whats different now? | 02:05 |
Iceman_B | because I had a samba share with symlinks in it which were giving me a hard time, now i have the same share with the same symlinks | 02:05 |
Iceman_B | but it works | 02:05 |
KE1HA | Not exactly sure, but I think it was a uid issue from the root ownership, but Im not 100%. | 02:06 |
Iceman_B | yeah you would think that... | 02:06 |
Iceman_B | ut im not so sure | 02:06 |
Iceman_B | I mean, what really defines the uniqueness of a UID ? | 02:07 |
Iceman_B | the number? | 02:07 |
KE1HA | I think the uid issue was on the actual file, not the link, but I'd have to go dig on that one. | 02:07 |
KE1HA | That's why Linux / Unix is as secure as it is. Sure there's holes, but nothing like on WinDoze | 02:08 |
KE1HA | If that was a WinDoze box, you wouldnt' ahve been here askign quesitons. | 02:08 |
Iceman_B | perhaps | 02:08 |
KE1HA | file / directory permission in WinDoze is horrible. | 02:09 |
Iceman_B | but lets not turn this into a Windoez hating thing :) | 02:09 |
KE1HA | I dont "hate Windows .. I still have one WinDoze box, just in case, but dont use it much. | 02:09 |
KE1HA | But I certainly begrudge "paying for huge security risks" and viruses. | 02:10 |
KE1HA | In fact, your problem there wasn't a WinDoze issue, was a Linux security feature :-0 | 02:11 |
Iceman_B | yeah, that seemed to be the case | 02:13 |
KE1HA | anyways, Im headed back to the standard UB channel catch ya later, glad its all sorted. | 02:14 |
Iceman_B | cool, thanks! | 02:14 |
Iceman_B | KE1HA: seems I was a bit premature, only the file I moved back and forth seemed to work with a symlink, I was still unable to access dirs, which were symlinked into the SMB share | 02:34 |
Iceman_B | from windows of course, in Linux I can access fine | 02:34 |
Iceman_B | I'll throw this on the forum during daytime, off to bed now :) | 02:34 |
Iceman_B | thanks again though | 02:34 |
Patrickdk | Iceman_B, over smb? | 02:38 |
Patrickdk | ya, samba attempts to not allow that, unless you enable wide symlinks | 02:39 |
Patrickdk | and in order to enable that, you have to disable unix extentions or something, that ubuntu uses by default | 02:39 |
chai_ | ok so my home server will let me ssh to it and also will let me read files via sftp. but not write permissions. how can i change permissions? i have sudo | 03:13 |
reggi | hello? | 03:16 |
reggi | anyone here? | 03:16 |
* ball nods | 03:16 | |
reggi | cool | 03:16 |
ball | Last night, as an experiment, I installed Ubuntu Server onto a software RAID array. I was pleasantly surprised when it booted and appeared to run quite well. | 03:17 |
reggi | i have a really basic question. I'm trying to setup my laptop as a gateway and dhcp server to share my vodafone 3G internet connection. I have followed the instructions on this page https://help.ubuntu.com/community/Internet/ConnectionSharing and also installed firestarter and used these instructions http://www.howtoforge.com/dhcp_server_linux_debian_sarge (using dhcpd3). I now have conflicting dhcp settings and cannot get it to work. How can I remove | 03:19 |
reggi | any dhcp configs and start again? thanks. | 03:19 |
ball | reggi: So you want it to be a dhcp server on its Ethernet port and dhcp client (ppp client?) on its mobile broadband interface? | 03:23 |
reggi | yes that is correct ball. | 03:24 |
ball | ...and then something to route between those two ports. | 03:24 |
ball | (to perform NAS, I suppose) | 03:24 |
reggi | yep. i've tried 3 different methods to achieve this | 03:25 |
reggi | but there is a conflict with 2 different dhcp settings | 03:25 |
* ball has no idea how this stuff works on Linux | 03:25 | |
reggi | when I run tail -n 100 /var/log/syslog i get this output http://paste.ubuntu.com/476702/ | 03:26 |
zash | dhcpd should only listen on the eth* port, which should then not be configured with a dhcpclient | 03:26 |
reggi | oh hang on a sec | 03:27 |
ball | zash: Is that achieved by editing a flat text file or two? | 03:27 |
reggi | i'm getting the terminology confused (i'm used to the windows method of ICS) basically here is the diagram. | 03:27 |
reggi | internet - <ppp> - <eth0> DHCP + gateway | 03:28 |
zash | ball: /etc/network/interfaces | 03:28 |
reggi | there are only two lines in that interfaces file, auto lo and iface lo inet loopback | 03:29 |
zash | reggi: this was a laptop you say | 03:30 |
ball | OH! I just thought of another question that occurred to me. Do the individual drives of a (software) RAID array have some sort of identifier on them, so that they can move around between busses and/or ports and still work? | 03:30 |
reggi | yep its a laptop zash. | 03:30 |
zash | reggi: do you have network-manager installed | 03:30 |
zash | cause it allows you to do this with a couple of click iirc | 03:30 |
reggi | zash, what is a networkmanager? i may already have it and not know it. | 03:31 |
reggi | I have NetworkManager Applet 0.8 | 03:31 |
zash | reggi: the service that is installed by default in normal ubuntu desktops | 03:31 |
zash | reggi: yes, that's a inerface to nm | 03:32 |
reggi | ahah | 03:32 |
zash | reggi: IPv4 settings → method = shared to other computers | 03:32 |
zash | I think that enables a DHCP server | 03:32 |
zash | and stuff | 03:32 |
zash | and magic! | 03:32 |
reggi | zash, it's not that easy for me, i'm trying to share the mobile broadband which does not have a simple box to tick to 'shared to other computers'. | 03:33 |
reggi | I can see the 'shared to other computers' box for the eth0 though. | 03:34 |
zash | reggi: you set that on the eth0 | 03:34 |
zash | reggi: and leave the 3g as it is | 03:34 |
reggi | oh...hmm really? ok i'll try that. | 03:34 |
zash | reggi: I'm not completly sure, but I thinkt it should work | 03:35 |
zash | I've shared 3g to wifi somehow | 03:35 |
reggi | hmm ok zash, i've given the eth0 a static ip of 192 | 03:36 |
reggi | 168.0.1... | 03:36 |
reggi | i can't believe it's so hard to ICS in ubuntu | 03:37 |
reggi | in xp and vista you can do it in 3 clicks | 03:38 |
reggi | :/ | 03:38 |
clusty | reggi: i can't believe you just compared ubuntu to windows | 03:48 |
reggi | lol | 03:49 |
clusty | either way this is the wrong spot to ask such questions cause ppl here usually don't even use GUIs | 03:49 |
clusty | in ubuntu is 3-4 commands | 03:50 |
clusty | 1 dhcp server - not mandatory | 03:50 |
clusty | 1 masquarading firewall rule | 03:50 |
reggi | i'm just frustrated i suppose, steep learning curve, head hurts. I'm forcing myself to learn linux - i've basically gone cold turkey and installed linux on all my machines. | 03:50 |
zash | reggi: I hope you are aware of that this is #ubuntu-server | 03:52 |
reggi | clusty: i've been given 3 different ways to ICS, 1. https://help.ubuntu.com/community/Internet/ConnectionSharing, 2. http://www.howtoforge.com/dhcp_server_linux_debian_sarge 3. firestarter. I've asked these questions in the #ubuntu channel and they asked me to post here because it is related to dhcp "server". | 03:52 |
reggi | hmm. | 03:53 |
clusty | reggi: you don't have to have a dhcp server | 03:53 |
clusty | then you punch in all ips/gateways by hand | 03:53 |
reggi | oh really? | 03:53 |
clusty | dhcp is a service that gives ips to everybody | 03:54 |
clusty | and helps them configure their routes i guess also | 03:54 |
reggi | yeah that is what I want to do. I really want to get away from all this gui stuff and do things in terminal | 03:54 |
qman__ | reggi, note that "ICS"/"Internet Connection Sharing" is a windows-specific term, everybody else refers to it as NAT, NAT overloading, or the iptables-specific "IP Masquerading" | 04:26 |
qman__ | what you're really doing is configuring your server to be a router | 04:26 |
qman__ | the reason it's a little bit more complicated is because there's a whole lot more things it can do | 04:27 |
reggi | ah i see. well that is reassuring qman__ | 04:27 |
qman__ | a basic setup like you probably want is still fairly straightforward, and with the right guide, shouldn't take more than an afternoon to set up, even your first time | 04:28 |
reggi | qman, I know that the easy way would be to buy one of those routers with 3G sim card backup but I'm learning a hell of a lot by going down the linux path. | 04:29 |
qman__ | it's worth the effort | 04:30 |
reggi | qman__: what I would like ultimately is to learn how to setup a server that would do everything a windows server would do, ie, domain name controller / ldap, roaming profile, etc | 04:30 |
qman__ | the tools you learn are the same tools used for pretty much all linux-based routing and networking | 04:30 |
qman__ | well, a full fledged windows-compatible domain controller is a ways off yet, but expect that with samba 4 | 04:31 |
reggi | up until a few days ago I was trying to learn by doing google searches and reading up but there is something different when chatting with someone 'live' on irc. | 04:31 |
reggi | ahuh | 04:31 |
qman__ | however, LDAP for a centralized linux authentication system is perfectly doable | 04:31 |
qman__ | and samba 3 can manage NT-style domains | 04:32 |
reggi | one of my business clients is hell bent on getting a windows server to serve about 15 users | 04:32 |
reggi | at the moment they have peer to peer network. | 04:32 |
reggi | i'm trying to talk them into saving money and going for a linux box. | 04:32 |
qman__ | he does know that server 2008 starts at a thousand dollars, right? | 04:32 |
reggi | but before I can convince them I want to be confident that I can install and support it. luckily I have a couple of old machines lying around that I can install ubuntu server 64bit and play around. I did mention to my client that it would cost a couple of grand for the ms server license and user cals | 04:34 |
qman__ | well, if you don't need full-on windows domain functionality, just a file server/basic network services, it's not that difficult to do | 04:34 |
reggi | yeah I'm halfway there | 04:34 |
reggi | the other day I setup my very first freenas box | 04:34 |
reggi | its so ... so reliable and easy. | 04:35 |
qman__ | yeah, none of that rebooting every time it updates | 04:35 |
qman__ | uses a lot less resources too, you don't need a $5000 server to host some files | 04:36 |
reggi | i bet. i've been studying this guide http://www.howtoforge.com/vboxheadless-running-virtual-machines-with-virtualbox-3.1-on-a-headless-ubuntu-9.10-server and I'll test it out either tonight or tomorrow. | 04:37 |
MTecknology | In my init script - I have a little thing in there that makes sure nobody accidentally stops something for every user - but that catches when the system shuts down. Is there any way to see if the system is shutting down from inside of the script? | 05:19 |
Roxyhart0 | hi there, i need to buy a external HDD of 2TB and munt in my server. Somebody know if ubuntu lucid can mount ok a usb HDD (external) od 2TB? | 06:18 |
smoser | Roxyhart0, almost certainly. | 06:18 |
Roxyhart0 | thanks :) hopefully as im going to buy 4 of them | 06:19 |
mase_wk | Roxyhart0: yes it's fine | 06:48 |
mase_wk | Roxyhart0: with ext4 i think you can go up to an exabyte | 06:48 |
Roxyhart0 | great ! thanks :) | 06:49 |
qman__ | ext3 can handle up to 8TB with a 4k block size | 07:54 |
=== oubiwann is now known as oubiwann-away | ||
=== oubiwann-away is now known as oubiwann | ||
kinygos | hi all, when i powered up my development server this morning (ubuntu 10.04), i was greeted with a bunch of messages from /usr/lib/update-notifier....can anyone suggest how i can investigate what has happened? | 08:54 |
twb | kinygos: what messages? | 08:55 |
mase_wk | kinygos: dmesg or /var/log/messages ? | 08:55 |
kinygos | there were 3 pairs, /update-motd-cpu-checker: not found, /update-motd-updates-available: not found, and /update-motd-reboot-required: not found | 08:56 |
kinygos | (those paths are from /usr/lib/update-notifier...sorry) | 08:56 |
huats | morning | 09:01 |
kinygos | ok...dmesg and /var/log/messages show nothing serious, so i don't understand why update-motd would've suddenly broken...has anyone seen anything like this? | 09:01 |
Iceman_B | Patrickdk: can you repeat again what you said about wide symlinks? approx 7 hours ago, please? | 10:42 |
Jeeves_ | 03:38 < Patrickdk> Iceman_B, over smb? | 10:44 |
Jeeves_ | 03:39 < Patrickdk> ya, samba attempts to not allow that, unless you enable wide symlinks | 10:44 |
Jeeves_ | 03:39 < Patrickdk> and in order to enable that, you have to disable unix extentions or something, that ubuntu uses by default | 10:44 |
Iceman_B | yes that, thanks | 10:45 |
Iceman_B | anyone have a clue is accessing hard links DOES work in Samba? | 10:45 |
Iceman_B | I mean, on a default ubuntu system | 10:45 |
twb | I believe samba supports hard links | 10:49 |
=== erichammond1 is now known as erichammond | ||
twb | It should be easy to check | 10:51 |
Iceman_B | twb: I get : Invalid cross-device link | 10:54 |
twb | Hum | 10:54 |
twb | Check with #samba, I guess. I don't know any more. | 10:55 |
Iceman_B | okay | 10:58 |
Jeeves_ | Ehm | 10:58 |
Jeeves_ | hardlinks need to be in the same filesystem | 10:58 |
Iceman_B | Jeeves_: I didnt know that, still kinda new here | 10:58 |
Iceman_B | the files im trying to link to were created on another ubuntu system, and are physically on another drive, which is mounted in ~/mountdir/ | 10:59 |
derknecht | i installed ubuntu 10.04 on a sata hotplug pc in ahci mode. i have no expirence with sata hotplug and try to trigger some scripts when a harddisc is added/removed. Can someone give me a hint please? I have found no wiki or howto covering this topic. Thanks | 11:00 |
Jeeves_ | Iceman_B: Than you should create symlinks | 11:00 |
Jeeves_ | ln -s | 11:00 |
Iceman_B | already spent 3 hours trying that last night, that doesnt work by default | 11:00 |
Jeeves_ | Those can be cross-filesystem | 11:00 |
Iceman_B | hence my first question | 11:00 |
Iceman_B | I mean, it doesnt with by default in samba, running on Ubuntu | 11:01 |
Jeeves_ | Iceman_B: http://ubuntuforums.org/showthread.php?t=352016 | 11:01 |
Iceman_B | thanks, I'll look into that | 11:03 |
sergevn | does anyone has Darwin Calendar server working on lucid? :) | 11:06 |
Iceman_B | speaking of links, how do I remove all symlinks from a dir and leave all other files intact? | 11:16 |
Jeeves_ | Iceman_B: find . -type l --delete (or something like that) | 11:20 |
Jeeves_ | Iceman_B: 'man find' is your best option :) | 11:20 |
derknecht | how can i realise sata hotplug with hardware supporting it and mode set to ahci please? via scsiadd? hotplug-utils? which way to go? | 11:34 |
jetole | I feel stupid for having to ask this, but where is the domain name for a system stored? | 11:41 |
alvin | jetole: in /etc/hosts | 11:42 |
alvin | There is also a 'domainname' command to read/set a domainname | 11:43 |
jetole | alvin: yeah I tried adding it to /etc/hosts because I thought thats where it should be. There was the line "127.0.0.1 firewall" which I changed to "127.0.0.1 firewall firewall.office" and then ran hostname --fqdn and it still just said firewall | 11:49 |
jetole | got it | 11:50 |
jetole | had to do hostname.domainname then hostname in /etc/hosts | 11:50 |
jetole | thanks for the help alvin | 11:50 |
jetole | Also, does anyone know how to install the sun jre on server 10.04 | 11:50 |
alvin | jetole: Yes, but you can leave the 127.0.0.1 and add another line with those values (hostname.domainname) and the real IP of the server. | 11:51 |
alvin | jetole: I haven't done it, but I hear it's in the partner repositories | 11:51 |
jetole | alvin: yeah I compared it to another server which was displaying the domain name in host --fqdn and it was "127.0.0.1 hostname.domain hostname" once I switched them to that order in /etc/hosts then hostname --fqdn showed the domain name | 11:52 |
* jetole looks at /etc/apt/sources.conf | 11:52 | |
* jetole looks at /etc/apt/sources.list | 11:52 | |
jetole | yep. I enabled the partners repo, did an apt-get update and now it's installing sun-java6-jre where before it told me that it's only referenced by other packages | 11:53 |
jetole | thanks again alvin | 11:53 |
alvin | np | 11:53 |
uvirtbot | New bug: #616719 in libnss-ldap (main) "slow group indexing when using huge ldap" [Undecided,New] https://launchpad.net/bugs/616719 | 12:31 |
ttx | Daviey: what the status on Eucalyptus ? | 12:37 |
Daviey | ttx: Well the topology issue is looking good... | 12:38 |
Daviey | ttx: The Volume issue, is better than it was - creating them now works.. There *may* be an issue attaching them | 12:38 |
ttx | Daviey: ok | 12:39 |
Daviey | Did one more upload after you went last night.. am preparing another, but want to sync with euca to see if they are planning anything new today | 12:39 |
=== cloakable_ is now known as cloakable | ||
jahil | hi everyone | 12:56 |
jahil | how to capture sound youtube audio with snd-dummy interface | 12:56 |
uvirtbot | New bug: #616754 in bacula (main) "package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/616754 | 13:16 |
hallyn | ttx: current papercuts are supposed to be chosen from https://launchpad.net/server-papercuts/+milestone/maverick-beta right? | 13:34 |
hallyn | ttx: I notice for instance that the pgadmin3 one "seems" owned by SpamapS, and ssl passphrase one is owned (for apache2) by zul. | 13:36 |
uvirtbot | New bug: #616759 in openssl (main) "CVE-2009-3555 tracking bug" [Undecided,In progress] https://launchpad.net/bugs/616759 | 13:36 |
hallyn | So I'm not clear on whether to take those or not | 13:36 |
_bt | hey who kick me from #ubuntu-virt | 13:38 |
ttx | hallyn: looking | 13:38 |
ttx | hallyn: that's the right list -- maybe coordinate with them and see if they want those bugs or if you can take them ? | 13:39 |
hallyn | ttx: ok, thanks | 13:40 |
hallyn | SpamapS: you already own 2 papercuts, would you want help with bug 610975, or do you want to take that one too? | 13:40 |
uvirtbot | Launchpad bug 610975 in server-papercuts "Can not start pgadmin3" [High,Confirmed] https://launchpad.net/bugs/610975 | 13:40 |
hallyn | zul: bug 582963, I assume you'd like to be assigned that one for the papercuts target (since you own it for apache2)? | 13:41 |
uvirtbot | Launchpad bug 582963 in apache2 "SSL pass phrase dialog can't read input" [High,Confirmed] https://launchpad.net/bugs/582963 | 13:41 |
zul | hallyn: sure | 13:41 |
zul | that might not exactly be a papercut though | 13:42 |
robertpayne | hello all | 13:52 |
=== oubiwann is now known as oubiwann-away | ||
rapha | Hi guys | 13:54 |
=== oubiwann-away is now known as oubiwann | ||
rapha | Is there a way to change user and/or group ownership by default? kind of like uname? | 13:55 |
=== robertpayne_ is now known as robertpayne | ||
SpamapS | hallyn: 610975 is a noop rebuild... | 14:02 |
SpamapS | hallyn: so the only thing needed for it is to wait to see what wxwidgets2.8's fate is | 14:04 |
hggdh | mornings | 14:04 |
SpamapS | hallyn: so the only "fix" is to just bump the version and re-upload. | 14:05 |
ttx | smoser: what should we do about "ubuntu-on-ec2" on LP ? People continue to file bugs against it, but they are kinda lost: bug 608958 | 14:07 |
uvirtbot | Launchpad bug 608958 in ubuntu-on-ec2 "Root logins are crippled" [Undecided,New] https://launchpad.net/bugs/608958 | 14:07 |
smoser | hm.. | 14:08 |
smoser | i dont know. there is only the one bug. | 14:09 |
ttx | smoser: should we just remove the project, or leave it as a placeholder that redirects to Ubuntu ? | 14:15 |
smoser | i'd be in favor of the placeholder | 14:15 |
smoser | i have code there | 14:15 |
smoser | (which obviously could be moved also, but the "automated-ec2-builds" and "ec2-publishing-scripts" seem reasonably well to fit under such a project) | 14:15 |
alvin | rapha: in what application? | 14:16 |
ttx | hm, we could also disable bugs for that project. | 14:16 |
smoser | can i do that for all my projects ? | 14:19 |
smoser | :) | 14:19 |
rapha | alvin: well, bash | 14:19 |
smoser | where do i put the "disable bugs" setting for my OS ? | 14:19 |
alvin | You can force the group for a directory by using chmod g+s <dirname> | 14:23 |
rapha | alvin: according to http://en.wikipedia.org/wiki/Setuid, that is ignored under linux | 14:34 |
zash | rapha: I'm quite sure it's not | 14:35 |
zash | read under setuid and setgid on directories | 14:35 |
alvin | rapha: yes, it's setUid that is ignored, not setGid. | 14:36 |
zash | alvin: setuid on dirs? | 14:37 |
zash | ah | 14:38 |
hggdh | Daviey: good morning, and any news from euca? | 14:38 |
alvin | No, I was referring to the article. My first thought was "Wikipedia is wrong", but it's not. All is well again. setgid works as it always did. | 14:38 |
rapha | ah okay | 14:39 |
uvirtbot | New bug: #616801 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal." [Undecided,New] https://launchpad.net/bugs/616801 | 14:41 |
Daviey | hggdh: none yet :( | 14:42 |
hggdh | ah well | 14:42 |
Daviey | ... and there telephones seem busted. | 14:43 |
Daviey | Hmm.. it is 6:44am.. so i doubt i'd get anyone anyway :) | 14:44 |
soren | jdstrand: Any plans on a libvirt update for Maverick? | 14:45 |
jdstrand | jeez | 14:45 |
jdstrand | no offense but 3 people have asked about it :) | 14:45 |
jdstrand | I am doing it as we speak :) | 14:45 |
soren | Whoo! | 14:46 |
* soren hugs jdstrand | 14:46 | |
* jdstrand hugs soren back | 14:46 | |
soren | 0.8.3? | 14:46 |
jdstrand | yes | 14:46 |
soren | Wicked. | 14:46 |
soren | I have a couple of extra patches for it, but I'll just roll a new upload once you're done. | 14:46 |
jdstrand | I hope to have it uploaded today | 14:47 |
jdstrand | I have a preliminary package and am testing it, but as usually goes with libvirt, that is about 8 hours of work ;) | 14:47 |
jdstrand | s/8/8 more/ | 14:47 |
Daviey | jdstrand: FWIW we haven't colluded to pounce on you.. We've all wondered for different reasons :) | 14:47 |
soren | *wink* | 14:48 |
jdstrand | heh | 14:48 |
* Daviey *winks* back at soren | 14:48 | |
soren | Daviey: He'll never know. | 14:48 |
Daviey | /msg zul Remember your turn to ask jdstrand next, as we discussed :). | 14:48 |
Daviey | *oops* :P | 14:48 |
soren | *chuckle* | 14:48 |
zul | how did i get dragged into this? :) | 14:50 |
Jinxed- | anyone know how to install the mjpg_streamer command for ubuntu 10.04 | 14:50 |
jdstrand | ok, I updated the bp, so now I'll just respong with "consult the bp" | 14:50 |
jdstrand | *respond* | 14:51 |
shauno | does JeOS still exist? I can only find images for Hardy | 15:05 |
ttx | zul: you always get dragged in crappy plans. | 15:07 |
YankDownUnder | Anyone using conky or similar for a console monitor? | 15:26 |
Kaelten | Does anyone have a fully functioning preseed or kickstart files they'd be willing to share? | 15:34 |
zul | Kaelten: the iso teting iso.qa.ubuntu.com uses one. you might want to check there | 15:36 |
Kaelten | zul: I don't see a link to either types of configs | 15:39 |
YankDownUnder | Kaelten, What is it exactly that you're wanting to do, mate? | 15:45 |
Kaelten | YankDownUnder: I have 20-30 servers to deploy, so I'm wanting to automate things a bit | 15:45 |
YankDownUnder | Kaelten, Roger that - gotcha mate. | 15:45 |
Kaelten | I have a simple working pxe netinstall up, but I still have to answer a bunch of questions. I'd love it if I could just have it ask me for hostname and ip address to setup on and auto on the rest | 15:46 |
YankDownUnder | Kaelten, Does this help in the least: https://help.ubuntu.com/8.04/installation-guide/powerpc/automatic-install.html | 15:47 |
Kaelten | it may fill in some of the blanks | 15:47 |
YankDownUnder | I always like to refer to some of the older dox cuz some of the newer ones, well, have blanks. Coolbeans. | 15:48 |
YankDownUnder | Kaelten, Just as a side note: http://studio.debian.net/ => a new way to spin yer own - the Debian way - so it ain't SuSE | 15:49 |
Kaelten | just found this too (http://searchsystemschannel.techtarget.com/generic/0,295582,sid99_gci1377934,00.html) which looks to be filling in some of the other blanks | 15:50 |
Kaelten | neat site | 15:50 |
YankDownUnder | whoa...this I like...this I like...I'll have to read this later, but - cuz it's late, I'm tired, and well, I'm tired. Cheers! Ta for that! | 15:51 |
=== dendrobates is now known as dendro-afk | ||
=== dendro-afk is now known as dendrobates | ||
shauno | what's the easiest way to obtain a 'minimal' install? | 16:16 |
pmatulis | shauno: the server iso should give you the option | 16:18 |
shauno | pmatulis, am I missing something? I only see options for server (750Mb-ish) and UEC | 16:20 |
shauno | ah, nm, it's under Modes | 16:20 |
pmatulis | shauno: there are some keys down below | 16:20 |
joewilliams | asked this a couple days ago in #ubuntu-kernel but didnt get far, i installed linux-crashdump on a couple (10.04) servers but it doesnt seem to be collecting the core and rebooting. i have to manually reboot the machines. i tested it in a vmware image and it worked fine. any ideas? | 16:54 |
=== mathiaz_ is now known as mathiaz | ||
seicherlbob | hi there! I just intalled the new Lucid server and i need a short crashcourse in network-bridging because i'd like to set up a virtual webserver. So long i only used virtualbox on my desktop. my question: I already have the interface virbr0. Now is this the virtual interface to connect a virtual server to or what is it? | 18:09 |
sherr | seicherlbob: Not sure what virbr0 is - I think it might be the KVM private network. You will probably want a new bridge (e.g. br0) and then put eth0 into it. | 18:17 |
sherr | My /etc/network/interfaces and "brctl show" output is here : http://pastebin.com/wcHyhMeS | 18:17 |
seicherlbob | why is eth0 set to manual? | 18:18 |
sherr | The bridge network interface is passed to KVM as br0. | 18:18 |
seicherlbob | so br0 is the hosts interface to the guest(s)? | 18:19 |
sherr | Not sure - this is the way that worked and what I read works. Life is short - see the man page ... | 18:19 |
seicherlbob | grml... i'd like to understand these things. thats the point. | 18:20 |
sherr | The guests have real IP addresses as normal machines on our nwtrowk. | 18:20 |
sherr | The guests have "eth0" (etc.) inside them, but use the brodge on the host. | 18:20 |
seicherlbob | and whats eth0s ip then? | 18:20 |
sherr | The guest can use DHCP or static IP - whatever. | 18:21 |
sherr | On the host - br0 has the IP address. | 18:22 |
sherr | In a guest, eth0 is just a "normal" net device. Set to get IP from DHCP 9say). | 18:22 |
sherr | "manual" method : This method may be used to define interfaces for which no configuration is done by default. | 18:23 |
seicherlbob | ok, thanks so far. I'll just give it a try. there is nothing to loose for now. | 18:24 |
sherr | Good luck. It's not hard (the basic stuff anyway). | 18:24 |
seicherlbob | ok, so the host gets the address defined in br0. now when i try to start a kvm with ubuntu-kvm-builder, nothing happens. | 18:28 |
ruben23 | hi guys i have installed ubntu server and all are working Ethernet card is working but when i update and upgrade | 18:36 |
ruben23 | my etherenet card disappear- i tried lspci, but no etherenet present. | 18:36 |
ruben23 | any idea guys..? | 18:40 |
patdk-wk | ruben, hardware failure? | 18:43 |
ruben23 | patdk-wk: but its working with base install not update and upgraade | 18:43 |
patdk-wk | e1000e? | 18:43 |
giovani | ruben23: you retested it after it stopped showing up with a NEW base install? | 18:44 |
giovani | and it worked? | 18:44 |
giovani | or you're just presuming that it will work again with a base install | 18:44 |
kelt | hi, I noticed that ubuntu server hsa the option of installing for a cloud | 18:46 |
kelt | does this "cloud" software enable usage statisics for billing? | 18:47 |
smoser | kelt, no. UEC does not have any billing infrastructure at the moment. | 18:50 |
kelt | oh, okay... I thought that was the definition of a cloud... lol | 18:52 |
kelt | how do you do SaaS then? | 18:52 |
kelt | is it a free for all or something? | 18:53 |
seicherlbob | ok, i managed to start the installation of a virtual server with kvm and vncviewer ;) - now i dont get DHCP through. any suggestions? I started with the following parameters: -net nic,macaddr=00:16:3e:02:00:01,model=virtio -net tap,ifname=tap02,script=no | 18:56 |
kelt | how does this stand up to like vmware or CA products? | 18:56 |
ruben23 | giovani:im installing based now | 18:59 |
uvirtbot | New bug: #616936 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/616936 | 19:01 |
kelt | hmm... so this is just ubuntu server with eucalyptus pre-installed and some helper scripts? | 19:01 |
smoser | kelt, yes. "just" that. | 19:02 |
=== luis__lopez is now known as luis_lopez | ||
kelt | smoser: lol... is there a product you can apt-get or install to tie into ubuntu cloud servers for billing? | 19:06 |
smoser | no. it can be managed via landscape, but i do not believe that that provides billing (airly sure about that). | 19:07 |
smoser | billing is something that is a feature on eucalyptus's road map. | 19:07 |
kelt | so landscape keeps up with usage stats? | 19:07 |
kelt | does it have soap/rest available for extensability? | 19:08 |
smoser | what is "it" ? | 19:09 |
kelt | smoser: the cloud | 19:09 |
kelt | if I wanted to extract usage from the cloud | 19:09 |
kelt | so I can write my own custom billing | 19:09 |
hallyn | SpamapS: ok, thx, that was what i'd assumed. | 19:10 |
smoser | the cloud provides ec2 api interface | 19:11 |
smoser | which does not pvide you with usage information. | 19:11 |
kelt | hmm, well we want other departments inside network to be able to checkout resources from a private cloud and charge them accordingly... | 19:12 |
=== BlackZ_ is now known as BlackZ | ||
smoser | kelt, yeah, i follow what you'd be after, and I think lots of people are interested in that. | 19:13 |
kelt | smoser: people aren't just interested... they are *doing* it now :) | 19:15 |
kelt | smoser: do you know if the cloud does more than just IP ranges? can you do mac or are you stuck at IP? | 19:15 |
smoser | i dont know that i follow what "do mac" would mean. | 19:16 |
smoser | but from a interface perspective, all you have is ec2 elastic ips | 19:16 |
kelt | smoser: the cloud controls a range of IP addresses | 19:17 |
smoser | yes. | 19:18 |
kelt | well, I'm disappointed :( | 19:19 |
kelt | how long do you think it will be before the billing measures will be present? | 19:20 |
smoser | i really don't know the eucalyptus plans for that feature. | 19:21 |
smoser | you could certainly ask | 19:21 |
smoser | on eucalyptus forums or mailing list | 19:22 |
smoser | i'd be interested in seeing a response | 19:22 |
smoser | it is also possible that they even offer it as an add on, i'm not sure | 19:22 |
ruben23 | gys any help setting up an FTP server for my ubuntu.. | 19:30 |
RoyK | ruben23: vsftpd is quite simple | 19:30 |
RoyK | and quite good, it's probably the most used ftp server on the net | 19:30 |
ruben23 | im using pure-ftp and it did not worked out | 19:31 |
ruben23 | so ill used vsftpd i gues | 19:31 |
RoyK | vsftpd is probably the best for most things | 19:32 |
tarvid | Aug 12 08:57:18 helen kernel: [77401.300041] INFO: task kjournald:385 blocked for more than 120 seconds. Aug 12 08:57:18 helen kernel: [77401.300236] INFO: task python:1371 blocked for more than 120 seconds. Aug 12 09:01:17 helen kernel: [77641.300040] INFO: task kjournald:385 blocked for more than 120 seconds. Aug 12 09:01:17 helen kernel: [77641.300233] INFO: task python:1369 blocked for more than 120 seconds. Aug 12 09:01:17 helen kernel: [77641.3 | 19:34 |
tarvid | 00379] INFO: task python:1371 blocked for more than 120 seconds. Aug 12 09:07:17 helen kernel: [78001.300042] INFO: task kjournald:385 blocked for more than 120 seconds. Aug 12 09:09:20 helen kernel: [78121.300041] INFO: task kjournald:385 blocked for more than 120 seconds. Aug 12 09:11:17 helen kernel: [78241.290035] INFO: task kswapd0:47 blocked for more than 120 seconds. Aug 12 09:11:17 helen kernel: [78241.290309] INFO: task kjournald:385 blocked | 19:34 |
tarvid | for more than 120 seconds. Aug 12 09:11:17 helen kernel: [78241.290469] INFO: task mysqld:1193 blocked for more than 120 seconds. | 19:34 |
tarvid | ooops | 19:34 |
tarvid | meant to paste just one | 19:35 |
tarvid | server was in a bad state when that happens | 19:35 |
tarvid | but there are many posts at Google | 19:35 |
tarvid | any ideas? | 19:35 |
qman__ | out of CPU, out of memory, out of disk, or a nasty kernel bug | 19:40 |
ebroder | My money's on the second | 19:40 |
qman__ | mine as well | 19:41 |
bogeyd6 | Anyone can recommend software to manage several linux san boxes? | 19:42 |
tarvid | 4GB memory 10GB swap swappiness = 0 | 19:43 |
alvin | tarvid: bug 494476 | 19:44 |
uvirtbot | Launchpad bug 494476 in linux ""Smbd","kjournald2" and "rsync" blocked for more than 120 seconds while using ext4." [Medium,Incomplete] https://launchpad.net/bugs/494476 | 19:44 |
tarvid | apache had default maxclients setting - 150, reduced to 50 | 19:44 |
alvin | Happens if you use LV snapshots or cause other heavy disk I/O. Server becomes unresponsive, can crash, or you'll not longer be able to log in. | 19:44 |
tarvid | installed modevasive | 19:44 |
tarvid | alvin - thanks - you're right | 19:45 |
alvin | LVM snapshots? | 19:45 |
patdk-wk | heh, I can't remember the last time I had that happen to me | 19:45 |
patdk-wk | used to happen all the time | 19:45 |
tarvid | no vanilla | 19:45 |
alvin | I can. two days ago, last week,... happens a lot | 19:45 |
patdk-wk | I think my issues was all nfs, and moving from 2.4.x to 2.6.x fixed it all up | 19:45 |
tarvid | modsecurity is beating the logs | 19:45 |
alvin | Hmm, I'm a heavy NFS user | 19:45 |
alvin | yeah, I had rsyslog hang on one occasion. The not logging in part is irritating | 19:46 |
uvirtbot | New bug: #616962 in munin (main) "munin after install: 403 forbidden" [Undecided,New] https://launchpad.net/bugs/616962 | 19:46 |
alvin | Some users report noop as I/O scheduler to be a solution | 19:46 |
tarvid | not using LV . Logging is probably the heaviest IO but am running a bunch of Drupal sites so there are other demands. | 19:48 |
tarvid | https://www.bijk.com/p/2199b5ea | 19:50 |
tarvid | may provide a little insight | 19:50 |
tarvid | Is that a syn flood in the bottom graph? | 19:51 |
qman__ | looks like | 19:52 |
qman__ | if it were legitimate, the established connections would grow with it | 19:52 |
qman__ | might not be malicious, might just be something like a web crawler, and your server turning it down | 19:54 |
tarvid | I do block a few in IPTABLES | 19:56 |
shsek | Hey, I'm getting "ALERT! /dev/mapper/foobar-root does not exists" error on boot (after messing up some stuff with initramfs-tools), but I can access my filesystem via the rescue mode of the Ubuntu Server CD. I think its because initramfs doesn't load the LVM2 module properly. How do I tell initramfs to load this module? | 19:56 |
shsek | I did a stupid mistake and removed initfsram-tools, which caused lots of issues, but most of them are fixed by now. I'm pretty sure the issue right now is LVM not being loaded | 19:57 |
qman__ | shsek, have you run update-grub since fixing your other problems? | 19:58 |
qman__ | that'll regenerate your initramfs | 19:58 |
alvin | shsek: Are you using a mirror? | 19:58 |
shsek | qman__, yes, and I also ran update-initramfs -uv | 19:59 |
shsek | alvin, a mirror? | 19:59 |
alvin | raid1 | 19:59 |
shsek | I'm not quite sure. I have a bash chrooted to | 20:00 |
shsek | I'm not quite sure. I have a bash chrooted to to my machine from rescure mode, how can I check it? | 20:00 |
alvin | cat /proc/mdadm | 20:00 |
alvin | If the file does not exis, you're not using mdadm | 20:00 |
alvin | If you have one, you should probably know, so that's not the cause of your problem. | 20:01 |
shsek | alvin, it doesn't | 20:03 |
alvin | shsek: What ubuntu version is that? | 20:03 |
shsek | 9.10, the server version | 20:03 |
alvin | Ah, ok. I've had mayor troubles with that version. Couldn't find root on several servers. | 20:04 |
alvin | It's better in 10.04 | 20:04 |
alvin | See bug 360378 | 20:04 |
uvirtbot | Launchpad bug 360378 in linux "Gave up waiting for root device after upgrade then busybox console" [High,Confirmed] https://launchpad.net/bugs/360378 | 20:04 |
shsek | my root filesystem is mountable from both the rescue mode and from a live-cd after installing lvm2, running vgchange -ay and mounting /dev/mapper/kelso-root | 20:05 |
ewook | alvin: I had the same problem. | 20:05 |
ewook | nasty one that. | 20:05 |
shsek | but in the BusyBox initramfs is giving me (after failing with "/dev/mapper/kelsor-root does not exists") I don't seem to have "lvm", "lvm2" or "vgchange" | 20:05 |
shsek | from what I read, I should have it there | 20:05 |
shsek | it was all caused by me being stupied, I removed (via apt-get) initramfs-tools, which deleted a bunch of other stuff | 20:06 |
shsek | I reinstalled grub and my kernel since | 20:06 |
shsek | well, not me, someone from ##ubuntu helped me with it | 20:06 |
shsek | but currently it seems like it all works, other than LVM not loading well for initramfs | 20:07 |
alvin | I'v always had that problem on karmic. I just rebooted the servers a few times until the root device was found. | 20:07 |
alvin | grub2 has difficulties with lvm | 20:07 |
shsek | I've looked around and saw that people can usually use vgscan/vgchange manually from BusyBox, fix what's needed and than run it normally - but I don't seem to have those commands there at all (I do have them from the live cd, and I am able to mount in that way from there) | 20:08 |
shsek | hmm, I used to have grub-legacy that was updated (but the one from ##ubuntu that helped me) to grub2 | 20:09 |
alvin | Those difficulties will be fixes in maverick. Maybe there'll be backports. Booting Ubuntu is a wonderful experience. Blazingly fast, beautiful background, but hit-and-miss. btw, is the lvm2 package installed? | 20:09 |
shsek | could reverying to grub-legacy do any good ? | 20:09 |
shsek | yes, lvm2 is installed | 20:09 |
alvin | shsek: Couldn't hurt to try. I think you have a chance there. It could be grub, or it could be mountall. | 20:09 |
shsek | where would I look for logs and more information in cases like those? | 20:10 |
qman__ | I've been having a rough time with lucid in general, which is why I'm keeping karmic on my desktop | 20:10 |
qman__ | it runs great and I'm not messing with it | 20:10 |
shsek | obviously I won't find it in /var/log/messages or syslog, as the filesystem isn't getting mounted at all | 20:10 |
alvin | shsek: Karmic doesn't have logs. Lucid has /var/log/boot.log, but on the whole it's not very usefull. Try removing quiet and splash from /etc/default/grub and run update-grub | 20:11 |
alvin | boot logging is on the todo list | 20:12 |
shsek | alvin, well, I wouldn't have any logs at all, it can't mount my filesystem, how can it save anything to it? | 20:12 |
alvin | Oh, did you try rootdelay? | 20:12 |
alvin | shsek: That's only logic :-) | 20:12 |
shsek | alvin, I read about it, but before I'm getting that error I'm waiting for quite a long time (5 minutes) before I get the error | 20:13 |
shsek | so I assumed it isn't what causing it | 20:13 |
shsek | but at this point I'll try anything | 20:13 |
shsek | alvin, I should set GRUB_CMDLINE_LINUX_DEFAULT to an empty string ? | 20:14 |
alvin | Did you try rebooting a few times? That used to be my workaround. | 20:14 |
alvin | yes, or add rootdelay=50 for example | 20:14 |
alvin | then update-grub | 20:14 |
shsek | I've rebooted for quite a few time | 20:14 |
shsek | hmm, so just add rootdelay and keep quiet and splash? | 20:15 |
alvin | How is your root drive listed in /etc/fstab? | 20:15 |
qman__ | no, remove quiet and splash | 20:15 |
alvin | no, remove quiet and splash | 20:15 |
shsek | heh | 20:15 |
qman__ | that's something I do on every server anyway | 20:15 |
qman__ | it really should not be the defaults | 20:15 |
alvin | Agreed | 20:16 |
shsek | what does it mean ? | 20:16 |
qman__ | quiet splash hides all the important messages | 20:16 |
alvin | It means: 'hade all scary information from me' | 20:16 |
qman__ | for a "pretty" but un-troubleshoot-able experience | 20:16 |
shsek | alvin, its listed by the UUID, but the comments says it was /dev/mapper/kelso-root during installation | 20:17 |
alvin | Change it back to /dev/mapper/kelso-root | 20:17 |
shsek | Sorry, I clicked some weird keyboard shortcut that closed the window | 20:18 |
alvin | shsek: Might be this bug 563117 | 20:18 |
uvirtbot | Launchpad bug 563117 in ubuntu "Release upgrade converts /dev/mapper entries in /etc/fstab to UUID" [Undecided,Confirmed] https://launchpad.net/bugs/563117 | 20:18 |
shsek | okay, so I removed quiet and splash, added rootdelay=50, ran update-grub and changed it from UUID to /dev/mapper/kelso-root | 20:18 |
shsek | should I reboot it now or there's something else I could do/check from rescue mode ? | 20:18 |
alvin | reboot and report back. I'm thinking about checking UUID somewhere, but can't find it | 20:21 |
shsek | alvin? | 20:21 |
shsek | okay | 20:21 |
shsek | "ALERT! /dev/mapper/kelso-root does not exists. Dropping to a shell!" | 20:23 |
shsek | same as before | 20:23 |
shsek | hmm, from what I read around the internet, on that shell initramfs is dropping me into I should be able to use the 'lvm' command, yet, I can't | 20:25 |
shsek | doesn't it mean it doesn't get loaded? | 20:25 |
cn1109 | hello. I'm unable to view my php pages. I have apache2 and php installed and at first I was able to view php pages just fine. Now I'm unable. Tried removing, restarting the server, installing php again. No luck | 20:26 |
shsek | cn1109, define "unable to view"? | 20:26 |
shsek | you get the source and they aren't processed? you get an error from apache? it doesn't connect to apache? blank pages? | 20:27 |
shsek | alvin, hmm, my chanegs doesn't seem to effected grub, in dmesg I see "Command line: BOOT_IMAGE=/vmlinuz.2.6.31-22-server root=/dev/mapper/kelso-root ro quite splash" | 20:32 |
shsek | s/quite/quiet | 20:32 |
alvin | Hmmm. Did you ran update-grub? | 20:32 |
qman__ | do you have a separate /boot partition? | 20:32 |
alvin | Yes, you did | 20:32 |
shsek | qman__, yes, I do | 20:32 |
shsek | /dev/sda5 | 20:33 |
shsek | IIRC | 20:33 |
qman__ | make sure it's mounted in your chroot when you run update-grub | 20:33 |
shsek | okay, I'm rebooting back into rescue mode to do it | 20:33 |
alvin | shsek: Also make sure your karmic is up-to-date. There was a bug with separate /boot | 20:33 |
shsek | alvin, just apt-get update+upgrade ? | 20:34 |
alvin | sudo aptitude update && sudo aptitude full-upgrade is what I do | 20:34 |
cn1109 | shsek: Just a blank page. No errors on the error log for apache | 20:35 |
cn1109 | cn1109: Removed php5 and installed it again. restarted the server. no luck | 20:36 |
shsek | cn1109, can you access static files? | 20:36 |
cn1109 | shsek: Removed php5 and installed it again. restarted the server. no luck :) Sorry. | 20:36 |
cn1109 | shsek: Yes I can | 20:36 |
shsek | alvin, nothing to upgrade, it just wants to remove libntgs-3g54 | 20:36 |
shsek | qman__, alvin, okay, I mounted /boot and ran update-grub - it seems okay now, it wrote "Found linux image" and "Found initrd image" which it didn't before | 20:38 |
alvin | Well, I'm out of options. You should check if the UUID from $ sudo blkid is the same as the one grub uses, and redo the update-grub if it still lists quiet and splash. Other than that, I'm out of options. I muast say that I never booted Jaunty/Karmic reliably. The situation in Lucid still has bugs, but is a log better | 20:38 |
alvin | ah | 20:38 |
alvin | reboot :-) | 20:38 |
qman__ | that would definitely break things | 20:38 |
shsek | cn1109, are you sure php files aren't being served without being processed? check the source of your page, it might seems blank but there's acutally PHP code there | 20:38 |
qman__ | cn1109, also try creating a .php file containing only html, and a .php file with only <?php phpinfo(); ?> in it | 20:39 |
cn1109 | shsek: Source of the generated page is blank. | 20:39 |
qman__ | if neither works it's most likely a problem with apache, if the first works and the second doesn't it's more likely a problem with php configuration | 20:40 |
cn1109 | qman__: even with plain html code I get the same issue | 20:40 |
shsek | cn1109, can you check the status code returned by Apache? you have Firebug installed maybe? if you look in the Net tab you can see it. | 20:41 |
shsek | alvin, where can I see the UUID grub is using? | 20:41 |
qman__ | cn1109, what method did you use to install php? | 20:42 |
shsek | oh, you said to reboot, never mind that | 20:42 |
cn1109 | qman__: apt-get install php5 | 20:43 |
shsek | okay, it is more verboose now | 20:43 |
shsek | Begin: Waiting for root file system... | 20:43 |
cn1109 | shsek: Firebug returns nothing at all. Even with chromes dev tools. nothing | 20:43 |
shsek | I still get the same error afterwards | 20:43 |
shsek | cn1109, this... makes no sense. Are you looking in the Net tab? you don't see the request there? | 20:45 |
shsek | you need to refresh after activating the new tab | 20:45 |
shsek | * net | 20:45 |
shsek | qman__, alvin, in order for it to mount from /dev/mapper/, what modules should be loaded? | 20:46 |
shsek | all I have in /proc/modules is floppy, sis900 and mii - is that normal? | 20:46 |
cn1109 | okay. I get 500 Internal Server Error | 20:46 |
shsek | cn1109, and you're sure there's nothing in apache's error log? | 20:46 |
cn1109 | shsek: It seems that while someone HERE is trying to resolve the problem. The file owner changes to their username. It only works if the file owner is set to root | 20:47 |
shsek | its odd you're getting a 500 error and a lank page | 20:47 |
shsek | * blank | 20:48 |
shsek | cn1109, it only works if the php file owner is root ? | 20:48 |
cn1109 | shsek: I thought so. Not sure now. One sec and I'll make sure | 20:49 |
alvin | shsek: grub2 needs to have the lvm2 (or is it called lvm?) module loaded. | 20:50 |
alvin | But I'm really out of options here. I struggled with this until Lucid was released. Booting karmic has always been broken in my use cases. (root on lvm) | 20:51 |
shsek | alvin, and how do I tell it to load lvm? | 20:52 |
alvin | Well, you have to go into the grub shell during boot | 20:52 |
alvin | so, that's before it starts searching for root | 20:52 |
alvin | (ram shift until grub appears) | 20:52 |
pwnguin | i wish we had a better merge strategy for etc files | 20:53 |
alvin | Then I forgot. There's a grub2 livecd/rescue thing project with good documentation. | 20:53 |
cn1109 | shsek: Here's the error http://pastie.org/1089029 | 20:53 |
pwnguin | cuz merging this php5 conf file is crazy | 20:54 |
shsek | cn1109, ps aux | grep apache - what user is running it? | 20:54 |
alvin | shsek: Check /boot/grub/grub.cfg. See if the UUID is correct | 20:54 |
shsek | cn1109, assuming its www-data, which is the default, run chown -R www-data /var/www/ | 20:54 |
shsek | alvin, from rescue? | 20:54 |
alvin | anywhere | 20:55 |
shsek | I don't seem to have it from busybox | 20:55 |
shsek | oh, wait, I could probably mount it | 20:55 |
shsek | alvin, it uses /dev/mapper/kelso-root as far as I can tell | 20:56 |
alvin | I think that's good | 20:57 |
shsek | alvin, I don't quite understand - if grub isn't loading the LVM2 module, isn't this a simple matter of telling it to load it? | 20:57 |
alvin | shsek: I'm not sure it's not loading it. You can do it manually from the grub shell if you want to be sure. (grub shell, not busybox) | 20:57 |
cn1109 | okay. Sounds bad but it's a fix. I added the user who creates the files to www-data group | 20:58 |
shsek | alvin, how do I get to the grub shell than ? | 20:58 |
alvin | ram shift until the grub menu appears at boot | 20:58 |
alvin | There's an option there | 20:59 |
shsek | ram shift? | 20:59 |
alvin | hit the shift button :-) I never succeed on the first try | 20:59 |
alvin | reboot, and hit shift until the menu appears | 21:00 |
shsek | hmm, it got to "beging: waiting for root file system" | 21:00 |
alvin | You have to hit shift at the right moment. It's before the error message, just after your BIOS messages | 21:01 |
shsek | there we go | 21:01 |
alvin | (You can also disable the hidden menu in /etc/default/grub) | 21:01 |
shsek | hmm, its grub 1.97~beta4 | 21:02 |
shsek | that isn't good, is it? | 21:02 |
alvin | I suppose so. I have 1.98 on Lucid | 21:02 |
shsek | oh, I thought 2 is out | 21:03 |
alvin | (Yes, it's beta software) | 21:03 |
shsek | why is it called grub2 if its grub 1.97? | 21:03 |
alvin | no, it's called grub2, but it's still in beta | 21:03 |
alvin | because it's actually 'almost 2' | 21:03 |
shsek | okay | 21:04 |
alvin | Your troubles are proof of the beta status. | 21:04 |
shsek | so I got into grub command line, what should I do now ? | 21:04 |
alvin | insmod lvm | 21:04 |
seicherlbob | can someone help me out with kvm? its running and i get vnc control, but i get no network connection in or outbound. I have br0 configured to bridge eth0, but all i get on outbound ping from the guest is: martian source $hostIP from $guestIP, on dev tap01 | 21:04 |
shsek | my troubles are proof of me being very foolish abd removing initramfs-tools :-) | 21:05 |
alvin | shsek: I think you have set that error right | 21:05 |
shsek | alvin, okay, I loaded lvm, how can I tell it to continue? | 21:05 |
alvin | I'm looking at some docs: | 21:06 |
alvin | set root=(lvm_group_name-lvm_logical_boot_partition_name) | 21:06 |
shsek | so set root=kelso-root ? | 21:07 |
shsek | kelso being the machine name | 21:07 |
shsek | its usually located at /dev/mapper/kelso-root | 21:07 |
alvin | /dev/mapper/kelso-root | 21:07 |
shsek | okay, so set root to the full path to it? | 21:08 |
shsek | what's next? how can I tell it to continue? | 21:08 |
alvin | I don't know actually. Can't remember. Try boot? | 21:09 |
shsek | I ran 'insmod lvm' and 'set root=/dev/mapper/kelso-root', should I now tell it to go agead and boot? | 21:09 |
alvin | bug 385428 | 21:09 |
uvirtbot | Launchpad bug 385428 in grub2 "grub2 boot from lvm Auto-detection of a filesystem module failed" [Undecided,Incomplete] https://launchpad.net/bugs/385428 | 21:09 |
shsek | error: no loaded kernel (after 'boot') | 21:09 |
alvin | bah | 21:09 |
alvin | ah, initrd | 21:10 |
shsek | error: no module specified | 21:10 |
alvin | linux /vmlinuz26 root=/dev/mapper/VolumeGroup-root ro | 21:10 |
alvin | initrd /kernel26.img | 21:10 |
alvin | Then boot. Maybe insmod ext2 (or ext4?) | 21:11 |
alvin | The bug says to use grub-mkdevicemap, then update-grub (in rescue mode) | 21:11 |
shsek | hmm, error: no such disk | 21:13 |
shsek | for 'linux /vmlinuz26 root=/dev/mapper/kelso-root' | 21:13 |
=== dendrobates is now known as dendro-afk | ||
shsek | alvin, maybe its not vmlinuz26 | 21:15 |
shsek | s/$/? | 21:15 |
shsek | alvin, ? | 21:21 |
* shsek making coffee, brb | 21:22 | |
* shsek has no idea what fixed it, but it seems to work now! | 21:31 | |
tucemiux | anyone knows how to force ubuntu to get a new IP? | 21:38 |
tucemiux | im using tomato | 21:38 |
tucemiux | forget it,i found it | 21:40 |
shsek | alvin, qman__, thanks a lot for your help! | 21:45 |
bcomp | does anyone know a good video steaming server? | 21:52 |
bcomp | preferably with a classy php interface | 21:53 |
bcomp | ... | 21:59 |
uvirtbot | New bug: #426979 in mailman "Mistakes in mailman strings." [Undecided,In progress] https://launchpad.net/bugs/426979 | 22:12 |
sponzor | i did i fresh install. raid1 and it wont boot. it sas init: ureadahead-other main process (780) and (805) terminated with status 4 | 22:25 |
sponzor | what should that mean? | 22:25 |
bcomp | does anyone know a good video streaming server? | 22:31 |
raubvogel | During a new server install, how can I tell it to use a different package source (my internal one in this case)? | 22:32 |
bcomp | in the bios? | 22:33 |
raubvogel | bcomp: was that reply to my question? | 22:34 |
bcomp | yeah | 22:36 |
bcomp | do you have the package source on your server's hard drive? | 22:36 |
=== samferry is now known as Guest8025 | ||
raubvogel | I meant that once ubuntu is installed I can go to /etc/apt/sources.list and specify the fqdn for the servers I want to retrieve packages from. What I would like to do is to set that up during a fresh install | 22:37 |
raubvogel | bcomp: BTW, i guess I probably meant repository | 22:37 |
bcomp | most repositories come with the install | 22:42 |
bcomp | are you talking about adding additional repositories? | 22:42 |
=== Ng_ is now known as Ng | ||
raubvogel | bcomp: I setup an internal repository and would like to use it instead of one of the normal ones. | 22:44 |
bcomp | ah can't say I know how to do that | 22:45 |
Hypnoz | trying to write a script to see if lines in File1 are present in File2 http://dpaste.de/T04e/ | 22:51 |
Hypnoz | it appears to be flaky, any suggestions from someone who knows bash scripts better than I do | 22:51 |
jldugger | i think a firewall is blocking snmp traffic | 22:53 |
=== jldugger is now known as pwnguin | ||
pwnguin | is there a way to query ufw? | 22:54 |
PascalFR | !wiki ufw | 22:54 |
pwnguin | Status: inactive | 22:56 |
=== dendro-afk is now known as dendrobates | ||
=== lhavelun1 is now known as lhavelund | ||
raubvogel | During the ubuntu server install, when it asks whether I want to install openssh (and other crap), is it retrieving those files from cd or repository? | 22:58 |
=== erichammond1 is now known as erichammond | ||
pwnguin | ERROR: Description/Type table : No response from remote host | 23:11 |
=== jpds_ is now known as jpds | ||
pwnguin | ./check_snmp_storage.pl -H host -C pword -m / -w 90 -c 95 --v2c | 23:11 |
pwnguin | for some reason i get that unless i change the host IP to localhost | 23:12 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!