AlexMax | RoyK: again, i don't care about the config files that were there | 00:00 |
---|---|---|
AlexMax | my problem WAS that I couldn't reinstall nginx | 00:00 |
AlexMax | because it couldn't find the (missing) config files | 00:00 |
AlexMax | the solution was to also purge nginx-common and reinstall it | 00:00 |
AlexMax | purging nginx-light removed the config files, but only reinstalling nginx-common put them back | 00:01 |
AlexMax | so there you god | 00:01 |
AlexMax | erm | 00:01 |
AlexMax | go | 00:01 |
AlexMax | I'm not stuck in the 90's | 00:01 |
AlexMax | I know that files are gone if i delete them | 00:01 |
uvirtbot | New bug: #706917 in clamav (main) "ClamAV misses "SafeBrowsing" option in freshclam.conf" [Undecided,New] https://launchpad.net/bugs/706917 | 00:01 |
RoyK | http://i.imgur.com/a19Nw.jpg | 00:11 |
szpuni | AlexMax: why do you use package? compiled from source, package is really out dated | 00:12 |
szpuni | compiling from source will give you only problem with pcre libary kind of weird | 00:13 |
AlexMax | why on earth would i compile from source when the nginx ppa exists | 00:13 |
AlexMax | always the latest 0.8.54 or 0.9.3 | 00:13 |
AlexMax | update through apt | 00:13 |
AlexMax | i know ubuntu maverick ppa is out of date so I don't use that ;) | 00:14 |
Thirtysixway | I realize this is ubuntu-server, but anyone know of some good backup software for windows? | 00:18 |
Thirtysixway | or should I just do a vm of ubuntu | 00:18 |
Thirtysixway | I want to use something like backupPC, but I have to keep windows on my only 'server' machine because i have to use it for my printer/scanner... | 00:19 |
uvirtbot | New bug: #713002 in openssh (main) "Impossible to disable IPv4" [Undecided,New] https://launchpad.net/bugs/713002 | 00:42 |
RoyK | 00:55 | |
Nertil | why i cant fix ipv6 tuneling via HE on ubuntu server | 01:29 |
Nertil | ? | 01:29 |
Nertil | i get weird error | 01:30 |
Nertil | sudo ifup he-ipv6 | 01:31 |
Nertil | ioctl: No buffer space available | 01:31 |
Nertil | Failed to bring up he-ipv6. | 01:31 |
jmarsden | Thirtysixway: I think bacula is ported to Windows as well as Linux, will that work for you? | 02:17 |
pmatulis | jmarsden, Thirtysixway: i believe there is a Bacula *agent/client* for windows | 02:24 |
jmarsden | pmatulis: http://www.bacula.org/en/dev-manual/main/main/Supported_Operating_Systems.html says it has the daemons also | 02:25 |
jmarsden | In "reported to work but not directluy supported" status, but they exist. | 02:25 |
Thirtysixway | jmarsden: I would need the server to be running on windows I think. I'll look into something else | 03:33 |
jmarsden | OK. For linux and Windows file sync style redudancy you can use unison ? | 03:34 |
Thirtysixway | hmm. possibly | 03:38 |
=== windkids is now known as windGone | ||
Nertil | does anyone here have ipv6 on his ubuntu server ? | 04:25 |
RoyK | 123 | 04:29 |
Nertil | local 77.28.232.222,192.168.2.111 | 04:38 |
patdk-lap | only about 30 here | 04:38 |
Nertil | i want this command local | 04:38 |
Nertil | to listen 2 addresses | 04:38 |
Nertil | how can i make it ? | 04:38 |
patdk-lap | what the hell is that? | 04:38 |
Nertil | im runing he-v6 | 04:38 |
Nertil | in interfaces | 04:38 |
Nertil | iface he-ipv6 inet6 v4tunnel | 04:39 |
Nertil | endpoint 216.66.80.90 | 04:39 |
Nertil | address 2001:470:27:5d6::2 | 04:39 |
Nertil | local 77.28.232.222,192.168.2.111 | 04:39 |
Nertil | something like this | 04:39 |
Nertil | i want local to read 2 addresses | 04:39 |
patdk-lap | I have no idea what that local line says | 04:39 |
patdk-lap | cause ipv4 only has 4 numbers | 04:39 |
jmarsden | Nertil: I have no idea if will work, but does the definition of the syntax for this file allow two local lines in one iface stanza ? | 04:39 |
patdk-lap | it can't have two ip's | 04:39 |
Nertil | well | 04:40 |
Nertil | the point is | 04:40 |
Nertil | that my ipv6 works with local ip | 04:40 |
Nertil | 192.168.2.111 | 04:40 |
Nertil | but it need the external too | 04:40 |
Nertil | so were should i put the external one | 04:40 |
Nertil | in what line | 04:40 |
patdk-lap | it shouldn't need the external one at all | 04:40 |
Nertil | http://pastebin.com/qHJpSWsi | 04:41 |
Nertil | this is how my interfaces for v6 looks | 04:41 |
Nertil | i have dynamic ip so i update it often via script | 04:42 |
Nertil | but everytime the dynamic ip changes | 04:42 |
Nertil | the v6 tunel goes down for a while | 04:42 |
Nertil | something like he get stuck | 04:42 |
patdk-lap | that is cause when your ip changes, HE doesn't know where to send the data | 04:43 |
patdk-lap | it's not like it's tcp | 04:43 |
Nertil | yes but when ip changes my script update it imidiatly the ip | 04:43 |
Nertil | in HE | 04:43 |
Nertil | i dont know why ipv6 stucks somewere | 04:44 |
Nertil | maybe i can get some help from someone that runs HE in ubuntu server | 04:45 |
Nertil | no help? | 04:52 |
noobster | tgif | 04:58 |
=== windGone is now known as windkids | ||
noobster | v6? | 05:00 |
Nertil | yes | 05:01 |
noobster | no idea | 05:01 |
noobster | anyone here can help me with lvm? #lvm is asleep & I wish I were :) | 05:35 |
noobster | I have followed a tutorial I found on google about reducing a logic vol, but not my df shows "/dev/mapper/VGHOME1-LVHOME1 Size 168 / Used 160 / Avail 0 / Used 100% /mnt/lvmhome1. I do need to fix this before doing lvreduce right? | 05:36 |
noobster | used resize2fs on /dev/VGHOME1/LVHOME1 after umount /home & e2fsck on same lvm | 05:38 |
RoyK | noobster: you can't reduce it | 05:39 |
noobster | ? | 05:39 |
RoyK | backup/restore is the only way | 05:39 |
noobster | why | 05:39 |
noobster | what | 05:39 |
noobster | dd the lvm? | 05:39 |
RoyK | erm - sorry - it's possible - first hit on google http://tldp.org/HOWTO/LVM-HOWTO/reducelv.html | 05:40 |
noobster | i did that | 05:41 |
noobster | but my vol group says 100% full? I can still write to it | 05:41 |
noobster | have not rebooted yet out of fear of data loss | 05:42 |
noobster | /dev/mapper/VGHOME1-LVHOME1 Size 168 / Used 160 / Avail 0 / Used 100% /mnt/lvmhome1 | 05:42 |
RoyK | the volgroup can be full, but if the filesystems on it aren't you ma bea able to shrink it | 05:42 |
RoyK | if the filesystems are full, well, then it's all full | 05:43 |
noobster | ok thanks. what I am trying to do is remove a 2TB drive that I added yesterday. From what I have read, it seems I need to resize2fs down the 250GB /home partition and then shrink the LV to below the 250GB mark. then I can remove the 2TB drive | 05:45 |
noobster | what I want to do is dd the 250 onto the 2TB | 05:46 |
=== windkids is now known as windGone | ||
* RoyK uses zfs for big storage, not micky mouse filesystems like ext[234] | 05:49 | |
noobster | I know, but i have to get this up, so I can not have a oracle/solaris converses now, we will leave that to after I get this fileserver off failing drives | 05:54 |
noobster | http://www.bryanpopham.com/tutorials/Oracle_Solaris_11_Express_NAS-NTP_Server_&_Quick_Start_Guide.html | 05:54 |
noobster | already started dev on true zfs | 05:54 |
RoyK | noobster: openindiana is open - s11ex is closed | 06:00 |
noobster | btree fs? | 06:01 |
RoyK | btrfs isn't stable by far | 06:02 |
noobster | freenas | 06:02 |
RoyK | freenas iirc uses fbsd and zfss | 06:02 |
noobster | if the would update their zfv and run it in the kern | 06:03 |
RoyK | s/.$// | 06:03 |
RoyK | linux zfs will arrive, but it's not here yet | 06:03 |
noobster | true | 06:03 |
RoyK | lacks a posix layer and tons of testing | 06:04 |
RoyK | openindiana just works | 06:04 |
noobster | really? | 06:04 |
RoyK | I have a couple of 100TB boxes on openindiana | 06:04 |
RoyK | it's stable | 06:04 |
Ender | hello | 06:05 |
noobster | I need this smb serv up by AM, I have 8 hours. | 06:05 |
Ender | i just installed ubuntu server but when i did the install i skipped the internet configuration because i wasn't connected | 06:05 |
Ender | now it doesn't automaically start up the eth0 interface | 06:05 |
Ender | how do i go back through that initial internet configuration? | 06:05 |
noobster | should I lvreduce with errors? | 06:06 |
RoyK | !guide | 06:07 |
ubottu | The Ubuntu server guide may be found at http://help.ubuntu.com/10.04/serverguide/C/ | 06:07 |
RoyK | Ender: look in there for /etc/network/interfaces | 06:07 |
RoyK | noobster: get a new drive, make a backup, then try to tix it | 06:08 |
noobster | did rsync -a on 500MB | 06:08 |
Ender | RoyK, i've configured the interfaces file | 06:08 |
RoyK | noobster: trying to reduce a filsystem without a backup is lottery - you might win..... | 06:08 |
Ender | RoyK, i've got it set up on a static ip | 06:09 |
noobster | should i dd | 06:09 |
Ender | RoyK, it just doesn't bring up eth0 on boot | 06:09 |
RoyK | Ender: pastebin the file | 06:09 |
RoyK | !pastebin | 06:09 |
ubottu | For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. | 06:09 |
noobster | update.rc | 06:09 |
* patdk-lap wonders if he changed the nic, and now it's eth1 instead or eth2 :) | 06:09 | |
noobster | update.rc /etc/init.d network | 06:09 |
noobster | update.rc default /etc/init.d network | 06:10 |
noobster | update.rc default /etc/init.d/network | 06:10 |
noobster | something like that | 06:10 |
noobster | I had that once, it was hard | 06:10 |
RoyK | edit the file, don't use silly tools | 06:11 |
ball | Is it difficult to configure layer 2 bridging between WiFi and 100baseTX? | 06:11 |
ball | (in Ubuntu Server on i386) ? | 06:11 |
patdk-lap | it's called bridging | 06:12 |
RoyK | ball: I've never done that, but for linux, it's just two interfaces, regardless of medium | 06:12 |
patdk-lap | do it the same way every wifi router does it :) | 06:13 |
noobster | RoyK, whats the best way to abandon the lvm setup on /hpme and dd if=/dev/sda of=/dev/sdb? That how I usually move data | 06:13 |
patdk-lap | brctl :) | 06:13 |
RoyK | noobster: take a backup, reinstall | 06:13 |
ball | patdk-lap: routers generally perform NAT | 06:13 |
ball | (at least, the consumer ones do) | 06:13 |
patdk-lap | ball heh? | 06:14 |
patdk-lap | firewalls do nat, routers normally don't | 06:14 |
RoyK | noobster: that's the easy way, and possibly the fastest | 06:14 |
patdk-lap | and they normally only nat ipv4 on the INTERNET work, not wifi/lan | 06:14 |
* patdk-lap wonders why noobster is stuck on dd, why not just rsync the data over | 06:14 | |
noobster | thats way more involved then you think, I have a samba4 ad ldap bind9 crazy install | 06:14 |
patdk-lap | it will save you from coping empty space | 06:14 |
RoyK | noobster: those are just config files | 06:15 |
RoyK | except perhaps ldap, with its database, but those, too, are only files | 06:16 |
noobster | so reinstall & then rsync over the partitions? | 06:16 |
RoyK | I'd say rsync it all somewhere, reinstall, and copy the needed configs/databases back in after installing the needed software | 06:16 |
RoyK | bind is just plaintext | 06:17 |
RoyK | samba is one file | 06:17 |
RoyK | ldap has a database | 06:17 |
noobster | not in samba4 | 06:17 |
noobster | true | 06:17 |
RoyK | samba4 isn't really very well supported :P | 06:17 |
patdk-lap | ldap based on sleepycat? :( | 06:18 |
RoyK | well, that's not ubuntu | 06:18 |
noobster | but if I could just properly remove the 2 | 06:18 |
noobster | 2TB, I would format in 2sec | 06:18 |
noobster | :) | 06:18 |
noobster | brb lvreduce | 06:19 |
* RoyK taps his 100TB boxes | 06:19 | |
noobster | sigh | 06:20 |
RoyK | :D | 06:20 |
noobster | it puts its feelings in a box | 06:20 |
noobster | and will beg to play another day | 06:20 |
RoyK | we've only lost five drives so far | 06:20 |
noobster | Now must fix srv | 06:20 |
* patdk-lap watchs royk put a big hole in the box | 06:20 | |
RoyK | out of 160 that's not that bad | 06:21 |
patdk-lap | what kind of drives? | 06:21 |
RoyK | WD Black | 06:21 |
RoyK | enterprise drives are overprised | 06:21 |
patdk-lap | I haven't had any issue with enterprise wd | 06:21 |
patdk-lap | but the blacks I keep having bad sectors | 06:21 |
patdk-lap | and the drive won't remap them | 06:21 |
patdk-lap | because pretty useless then, have to swap | 06:22 |
RoyK | I've had issues with any kinds of drives | 06:22 |
patdk-lap | only notice it, cause the drive gets slow as hell | 06:22 |
RoyK | and I just read this study where they compared drives and replacement frequency | 06:22 |
patdk-lap | yep | 06:22 |
RoyK | 100k drives over 3 years | 06:22 |
patdk-lap | these sas 3g 10k 300g hp ones been failing 2-3 a week :( out of 80 drives | 06:23 |
RoyK | the so-called 'desktop' drives were just as good as the so-called 'enterprise' drives | 06:23 |
patdk-lap | the performance of the enterprise drives rips apart a desktop drive though | 06:23 |
RoyK | not really | 06:23 |
RoyK | 2TB enterprise drives are still at 7k2 | 06:24 |
RoyK | same as desktop drives | 06:24 |
noobster | debends on the filesystem | 06:24 |
patdk-lap | my application runs almost twice as fast on the enterprise over blacks | 06:24 |
patdk-lap | well, these are 1tb 7200rpm | 06:24 |
RoyK | patdk-lap: get real - 7k2 drives are 7k2 drives - wheather they're enterprise or desktop | 06:24 |
patdk-lap | yep | 06:25 |
RoyK | 10k or 15k drives are neat, but they don't come in 2TB | 06:25 |
RoyK | since the drive platters aren't 3,5" | 06:25 |
patdk-lap | must be how it's using it's cache, or ncq | 06:25 |
patdk-lap | heh? they make lots of 10k and 15k 3.5" | 06:26 |
RoyK | no, SATA uses NCQ, SAS uses TCQ, but more or less the same thing | 06:26 |
RoyK | patdk-lap: have you ever opened one of those? | 06:26 |
RoyK | I have | 06:26 |
patdk-lap | we are talking sata | 06:26 |
RoyK | the platter size of the 15k disks is closer to 2,5" | 06:26 |
RoyK | 10k is somewhat 3" | 06:27 |
* RoyK has a 4" stack of disk platters in a drawer :) | 06:27 | |
patdk-lap | are you confusing the term enterprise with sas drive? | 06:28 |
RoyK | patdk-lap: no | 06:28 |
RoyK | SAS is an interface | 06:28 |
RoyK | so is SATA | 06:29 |
patdk-lap | I have no idea why you would tell me not ncq but tcq | 06:29 |
patdk-lap | when we are talking 1/2tb 7200rpm sata drives | 06:29 |
RoyK | SAS, by protocol, uses TCQ | 06:29 |
RoyK | SATA and ATAPI uses NCQ | 06:29 |
RoyK | which is a subset of TCQ | 06:29 |
patdk-lap | I still dunno why you told me no | 06:30 |
RoyK | no to what? | 06:30 |
patdk-lap | I dunno, that is what I'm attempting to figure out | 06:30 |
patdk-lap | "<RoyK> no, SATA uses NCQ, SAS uses TCQ, but more or less the same thing" | 06:30 |
patdk-lap | I assume to, "<patdk-lap> must be how it's using it's cache, or ncq" | 06:31 |
patdk-lap | where I was talking about my 1tb enterprise 7200rpm sata drives | 06:31 |
patdk-lap | vs my 1tb black 7200rpm sata | 06:31 |
RoyK | still, the difference between SAS and SATA is highly theoretical for most setups | 06:31 |
RoyK | for large setups, multipath is good for SATA | 06:32 |
RoyK | but then, that goes with controller, not the drive | 06:32 |
RoyK | SATA drives have WWNs just as SAS drives | 06:32 |
* patdk-lap is confused by all this useless info I already know, or why your talking about it | 06:33 | |
RoyK | and the interface speed is the same | 06:33 |
patdk-lap | we are talking about sata not sas | 06:33 |
patdk-lap | the interface is completely different speeds | 06:33 |
patdk-lap | sata is uni-directional | 06:33 |
patdk-lap | sas is bi-directional, read and write at same time | 06:33 |
patdk-lap | sas can channel bond it's interfaces | 06:33 |
* RoyK checks | 06:34 | |
patdk-lap | if you put a single drive on sas, ya, not a difference | 06:34 |
patdk-lap | but if you do many drives per sas cable, it makes a difference | 06:34 |
Ender | if i wanted to create a network share that several windows computers would be able to access, what's the best way to do that? samba? | 06:36 |
patdk-lap | yep | 06:36 |
noobster | yes | 06:36 |
noobster | smb3 | 06:36 |
Ender | is it stable? | 06:36 |
noobster | very | 06:36 |
patdk-lap | nope so, been using it for >10years | 06:36 |
patdk-lap | hope | 06:36 |
noobster | want a working smb3 smb.conf | 06:36 |
Ender | erm, i don't know. i guess so? | 06:37 |
patdk-lap | isn't that relative, noobster? | 06:37 |
Ender | lol "working" | 06:37 |
noobster | ok ok | 06:37 |
noobster | lol | 06:37 |
patdk-lap | I have a *working* config, but doubt anyone else could make much use out of it | 06:37 |
Ender | !samba | 06:37 |
ubottu | Samba is the way to cooperate with Windows environments. Links with more info: https://wiki.ubuntu.com/MountWindowsSharesPermanently and https://help.ubuntu.com/10.04/serverguide/C/windows-networking.html - Samba can be administered via the web with SWAT. | 06:37 |
noobster | still samba3 for nt style fileshare/PDC type work, samba4 for 2008R2 AD type | 06:38 |
Ender | what'd pdc and ad | 06:38 |
RoyK | ;a | 06:38 |
Ender | !pdc | 06:38 |
RoyK | ops | 06:38 |
noobster | domain controles | 06:39 |
RoyK | patdk-lap: what about a truckload of SATA drives on a SAS expander? | 06:39 |
patdk-lap | as long as the sas expander *converts* it to sata, it would be fine | 06:39 |
noobster | smb3 is what yo uwant | 06:39 |
noobster | or just samba | 06:39 |
patdk-lap | or if they use those, interverter things | 06:39 |
Ender | i'm thinking about making a reliable, mappable network share hosted on a linux server for windows xp, vista, and 7 computers to access. would i go for smb3 or smb4 | 06:39 |
patdk-lap | interposer boards :) | 06:39 |
noobster | what OS | 06:39 |
patdk-lap | if you just shove a sata drive on sas channel, the sas channel gets downgraded | 06:40 |
noobster | do you want to join a domain, or just make a nas? | 06:40 |
Ender | noobster, on the server or the clients | 06:40 |
Ender | noobster, no domain | 06:40 |
noobster | then smb3 | 06:40 |
Ender | !nas | 06:40 |
RoyK | obvioualy, there'll be a bottleneck if you attach more drives than the bandwidth can handle, but with, say, 4 6Gbps links, the chances of the links being a bottleneck will take a few drives, given seek times and latency | 06:40 |
Ender | oic network attached storage | 06:40 |
patdk-lap | royk, ya, and bottlenecks for that all depends on what your doing | 06:41 |
patdk-lap | raw transfer speeds, or iops | 06:41 |
* RoyK just ordered 2,5TB worth of SSDs for ZFS caching :P | 06:41 | |
Ender | is there an open-source equivalent/replacement for windows active directory? | 06:42 |
RoyK | Ender: samba4 is the only one I know, except LDAP | 06:42 |
patdk-lap | I have noticed most of the big storage venders overload the bandwidth by a crapload | 06:42 |
RoyK | ldap works well | 06:42 |
patdk-lap | I always thought it odd, till I started to actually do storage for work | 06:42 |
patdk-lap | overloading the bandwidth isn't bad, if you need lots of random iops | 06:42 |
RoyK | Ender: if you're in a windows environment, stick to AD | 06:43 |
Ender | isn't ldap a part of active directory? | 06:43 |
patdk-lap | a small part | 06:43 |
RoyK | Ender: AD has an LDAP interface | 06:43 |
RoyK | but it's not part of it | 06:43 |
Ender | oic | 06:44 |
* patdk-lap just runs windows dc's, and samba fileservers | 06:44 | |
noobster | Ender, yes and kerberos | 06:44 |
RoyK | AD is a X.500-based catalog service | 06:44 |
noobster | Ender, if you want s simple OS appliance for all your residential grade storage needs, I recommend FreeNAS | 06:44 |
RoyK | sucks hard if you compare it to what Novell inveted in the late ninetees, but still | 06:45 |
patdk-lap | and openldap moved away from x.500 awhile ago | 06:45 |
noobster | need 1GB or ram and drives | 06:45 |
nandemonai | Ender: http://en.wikipedia.org/wiki/OpenLDAP | 06:45 |
patdk-lap | dunno how compatble it still is, but never cared, I hate x.500 | 06:45 |
RoyK | patdk-lap: afaik, ldap is still _based_ on x.500 | 06:45 |
patdk-lap | I know :) | 06:45 |
patdk-lap | but they removed most of the x.500 annoyances | 06:45 |
noobster | theres an appliance for that Irun in vmware | 06:45 |
noobster | zeroshell | 06:45 |
Ender | is FreeNAS different from OpenLDAP | 06:45 |
noobster | yes | 06:46 |
noobster | freenas is freebsd web gui | 06:46 |
RoyK | Ender: hu... | 06:46 |
Ender | well he linked me to openldap after metnioning freenas | 06:46 |
noobster | it has openldap in it | 06:46 |
Ender | i thought they mighta been connected | 06:46 |
RoyK | Ender: freenas is a distro, openldap is a software package | 06:46 |
Ender | oic | 06:46 |
noobster | openbsd | 06:46 |
nandemonai | You asked for open-source version of AD. | 06:46 |
RoyK | freenas probably uses openldap | 06:46 |
nandemonai | You guys are talking about completely different things ;) | 06:47 |
RoyK | noobster: just try openindiana - it works...... | 06:47 |
noobster | no nandemonai he asked for a none domain free srorage server | 06:47 |
Ender | well i'm really getting exactly what i want, which is a general discussion and outpouring of information about this kinda stuff | 06:47 |
nandemonai | my bad | 06:47 |
RoyK | something like zfs-fuse with a rocket in its arse | 06:47 |
noobster | I have windows7 machines & have replace my 2008r2 box with a samba4 ad tree | 06:48 |
Ender | 2008r2 is server 08? | 06:48 |
patdk-lap | ah there it is. openldap is a subset of x.500 | 06:48 |
patdk-lap | it doesn't fully impletent x.500 | 06:48 |
RoyK | noobster: don't do that! | 06:48 |
noobster | lol why | 06:48 |
noobster | it is awesome | 06:48 |
RoyK | noobster: just leave the windows folk to what they like | 06:49 |
RoyK | use windows with windows | 06:49 |
noobster | if I didn't touch lvm I would still be rocken | 06:49 |
Ender | well that' dbe nice if we all had windows server oSes hanging around | 06:49 |
RoyK | don't try to reinvent the wheel | 06:49 |
noobster | f that | 06:49 |
noobster | samba4 is great | 06:49 |
patdk-lap | why replace win2008r2 with samba4? | 06:49 |
RoyK | perhaps putting storage on zfs is nice, but AD is very good | 06:49 |
patdk-lap | but then, my win7 machines are very happy talking to samba3 | 06:49 |
Ender | so is samba4 just an upgraded samba3 or is it a whole different enchilada | 06:50 |
Ender | it sounds like samba4 has a lot more functionality...? | 06:50 |
patdk-lap | alittle of both | 06:50 |
patdk-lap | mainly an upgrade | 06:50 |
noobster | if you can bind9.7.2, samba4alpha15, follow a tutorial & install windows remote admin tools.. total replacement | 06:50 |
noobster | whole diff game | 06:50 |
noobster | my global is 7 lines | 06:51 |
RoyK | Ender: just keep it simple | 06:51 |
noobster | 3 line for each share | 06:51 |
noobster | everything is controled with win remote admin tootls | 06:51 |
noobster | ad | 06:51 |
noobster | all gui | 06:51 |
noobster | just like 2008r2 | 06:51 |
noobster | groups policy controler | 06:51 |
RoyK | Ender: out of interest, why would you replace win2k8 with samba? | 06:51 |
noobster | beastly. | 06:51 |
noobster | why not? | 06:51 |
Ender | i haven't a clue. noobster said he did. | 06:52 |
Ender | i don't have a windows server os handy | 06:52 |
noobster | I did | 06:52 |
Ender | i've never used windows server myself | 06:52 |
Ender | but i want to set up a nas at my lab | 06:52 |
noobster | freenas | 06:52 |
noobster | everything you will ever want less AD | 06:52 |
noobster | zfs | 06:52 |
RoyK | no, forget about freenas | 06:52 |
noobster | iscsi | 06:53 |
noobster | nfs | 06:53 |
RoyK | openindiana is good | 06:53 |
noobster | afp | 06:53 |
noobster | torrent server | 06:53 |
noobster | upnp | 06:53 |
noobster | all gui | 06:53 |
RoyK | freenas uses a quite old zfs version | 06:53 |
RoyK | 06:53 | |
Ender | why not use ubuntu server | 06:53 |
RoyK | heh - if you're a server guy, why would you want a gui? | 06:53 |
Ender | well | 06:53 |
RoyK | Ender: it doesn't have zfs | 06:54 |
noobster | he is no srv guy | 06:54 |
Ender | so? | 06:54 |
Ender | yeah, i'm not | 06:54 |
noobster | he has never touched 2008r2 | 06:54 |
Ender | and the researchers are even less | 06:54 |
Ender | once i leave for a termin the peace corps in may they're on their own | 06:54 |
Ender | lol | 06:54 |
noobster | point click add drives zfs very easy | 06:54 |
Ender | i'm comfortable at the command line, i just don't have a great deal of experience with it | 06:54 |
RoyK | Ender: can you please scan through this before you type some more? http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/zfslast.pdf | 06:55 |
patdk-lap | just to contribute :) openfiler? | 06:55 |
noobster | no | 06:55 |
RoyK | last I checked, openfiler was close to dead | 06:55 |
noobster | openfiler hell no | 06:55 |
patdk-lap | ya, I think it died | 06:56 |
RoyK | and btrfs is crawling to the step it can support mirroring and an fsck program | 06:56 |
noobster | freenas is almost dead, but is good for noobs wanting to play with fileshare up to vmware | 06:56 |
* patdk-lap cant stand centos based things anyways | 06:56 | |
noobster | patdk-lap, you have to be open for fedora flavors, they are .deb other half | 06:57 |
patdk-lap | I don't mind rhel | 06:57 |
noobster | rhel least fav, but fedora then centos | 06:58 |
Ender | why hasn't ubuntu adopted zfs | 06:58 |
patdk-lap | cause there isn't any? | 06:58 |
noobster | all *unix systems must run zfs in userland | 06:58 |
RoyK | Ender: incompatible licenses | 06:59 |
noobster | licensing | 06:59 |
noobster | true | 06:59 |
Ender | effin politics? forreal? | 06:59 |
RoyK | Ender: there is zfs-fuse in ubuntu | 06:59 |
vraa__ | if you want zfs use freebsd | 06:59 |
vraa__ | i am using zfs v28 pools on freebsd 9.0 | 06:59 |
patdk-lap | everyone I know using the zfs on linux has had issues | 06:59 |
noobster | well btrfs is now turned to oracle, so they own %100 of awsome storage | 06:59 |
RoyK | vraa__: no way - use openindiana :) | 06:59 |
noobster | do no evil | 06:59 |
Ender | openindiana, huh | 07:00 |
Ender | i hate indiana | 07:00 |
Ender | lol | 07:00 |
vraa__ | lol i got tired of openindiana, i ended up using a member on hardforums freebsd scripts -- called zfsguru | 07:00 |
RoyK | vraa__: I have several boxes on that - works like a dream | 07:00 |
noobster | should we call it openJones | 07:00 |
noobster | ? | 07:00 |
RoyK | some 320TB net storage | 07:00 |
noobster | wow | 07:00 |
Ender | openjones would be cooler | 07:00 |
Ender | <nods> wow | 07:00 |
RoyK | well, not my choice | 07:00 |
Ender | so, wait...because of the licensing issues, we'll never see zfs on ubuntu? | 07:01 |
noobster | brb fsck just finished and I have to shit myself while runninf lvreduce | 07:01 |
RoyK | but I propose using openindiana for storage and using ubuntu for most other stuff | 07:01 |
noobster | Ender, u can run it but not @ kern level | 07:02 |
RoyK | Ender: there is a port on the way, but it won't be included in distros | 07:02 |
Ender | is there anything being developed that integrates a lot of/most of zfs functionality that will ? | 07:02 |
noobster | I will install openindiana in a vmware guest next week just because on how confident you are in it | 07:03 |
noobster | real solaris | 07:03 |
noobster | free for edu | 07:03 |
noobster | home | 07:03 |
RoyK | Ender: btrfs is the closeset, but it's far away | 07:03 |
Ender | RoyK, so, like have a nas on an openindiana box but run ubuntu server on a separate box that handles other stuff like web server testing | 07:04 |
Ender | RoyK, right? | 07:04 |
noobster | esxi box | 07:04 |
noobster | openindian as a nas | 07:04 |
Ender | yeah i read an article recently about how awesome btrfs is going to be | 07:04 |
RoyK | Ender: that's what I do | 07:04 |
Ender | RoyK, oic. and if i wanted to use just one box...? | 07:05 |
Ender | could i do some sort of virual situation | 07:05 |
Ender | virtual* | 07:05 |
noobster | vmware server 2 on ubuntu | 07:05 |
RoyK | Ender: just use virtualbox on top | 07:05 |
Ender | really, and run the openindiana nas on the vm? | 07:05 |
noobster | to test.. yes | 07:05 |
noobster | openfiles | 07:06 |
Ender | and in production, i'd just basically have to bite the bullet and use two servers | 07:06 |
noobster | any os u can name == yes | 07:06 |
RoyK | xvm aka xen doesn't work too well with OI atm | 07:06 |
RoyK | Sun abandonded it | 07:06 |
noobster | 1 nas & 1 virt box == heaven | 07:06 |
RoyK | Oracle took it in again, but after they closed the source | 07:07 |
noobster | esxi is awesome/free | 07:07 |
Ender | what is esxi | 07:07 |
Ender | !esxi | 07:07 |
RoyK | Ender: vmware | 07:07 |
noobster | hypervisor | 07:07 |
Ender | oic. how does it stack up to vbox | 07:07 |
noobster | more used in corp enviroment | 07:07 |
patdk-lap | you mean, how does vbox stack up to esxi | 07:07 |
RoyK | Ender: ueah, but that works well | 07:08 |
Ender | vbox works well but esxi is superior | 07:08 |
Ender | correct? | 07:08 |
RoyK | yes | 07:08 |
noobster | yes | 07:08 |
Ender | is esxi also free | 07:08 |
Ender | as in beer | 07:08 |
RoyK | but esxi won't run on solaris | 07:08 |
noobster | and the 4pay has so much awesome | 07:08 |
noobster | vmotion | 07:08 |
noobster | vmotion storage | 07:09 |
patdk-lap | esxi won't run on anything :) | 07:09 |
Ender | lol | 07:09 |
noobster | what | 07:09 |
patdk-lap | you run stuff on it :) | 07:09 |
RoyK | Ender: If I were you, I'd setup an openindiana box with vbox | 07:09 |
noobster | yes you can get a i& and beast a esxi box | 07:09 |
patdk-lap | esxi takes over the whole computer | 07:09 |
noobster | i7 | 07:09 |
patdk-lap | vbox runs on your existing workstation | 07:09 |
noobster | but I run 9 computers and 2 servers in my ESXi box | 07:09 |
RoyK | vmotion is fancy,but it costs a bit | 07:09 |
Ender | i can't afford to buy anything | 07:10 |
noobster | do u have a core2 anything? | 07:10 |
noobster | i3 | 07:10 |
noobster | i5 | 07:10 |
noobster | i7 | 07:10 |
* patdk-lap just got storage vmotion and drs, it's nice | 07:10 | |
RoyK | Ender: then just follow my advice :P | 07:10 |
Ender | duo | 07:10 |
Ender | i have a duo on my laptop | 07:10 |
noobster | how much ram? | 07:11 |
noobster | laptop | 07:11 |
noobster | no | 07:11 |
Ender | 3g | 07:11 |
Ender | lol | 07:11 |
Ender | i know, i know | 07:11 |
RoyK | a core2duo with a bunch of RAM and you can easily run 5-10 BMs | 07:11 |
patdk-lap | vmware workstation runs good on my laptop, t8400 with 8gigs ram :) | 07:11 |
Ender | well my server hardware is considerably more arthritic | 07:11 |
noobster | workstation zzZZzzZZ | 07:11 |
Ender | it's a p4 system with 2g of ram | 07:11 |
noobster | nope | 07:11 |
noobster | 64 only | 07:11 |
* RoyK has an i7 and 4GB in his laptop | 07:11 | |
Ender | what's 64 only | 07:12 |
noobster | unless you want vmserver2 | 07:12 |
Ender | esxi? | 07:12 |
noobster | 4+ yes | 07:12 |
Ender | well w/e i'm familiar with vbox, i think i'll start with that | 07:12 |
noobster | :) | 07:12 |
Ender | it runs on 32 | 07:12 |
* RoyK pats his macbook pro | 07:12 | |
noobster | lol | 07:12 |
Ender | i don't run 64bit stuff on my duo either because it seems to get way hotter when running 64bit software | 07:12 |
noobster | pats his mac mini | 07:12 |
noobster | hp 1000 | 07:12 |
noobster | i7 is sweet 4 esxi | 07:13 |
* patdk-lap pats the pretty dual e5650's with 192gigs ram | 07:13 | |
Ender | heh | 07:13 |
noobster | 1 | 07:13 |
noobster | ! | 07:13 |
patdk-lap | na, 6 of them, blades | 07:13 |
RoyK | 0 | 07:13 |
Ender | pats thinkpad 200mhz w/96mb ram | 07:13 |
Ender | suckers | 07:13 |
Ender | has anybody ever used openerp | 07:14 |
Ender | OpenERP | 07:14 |
RoyK | 0xbed | 07:14 |
* patdk-lap wants openEMP :) | 07:14 | |
noobster | hey can I lvreduce by drive, like 100%FREE /dev/md7 | 07:15 |
patdk-lap | hmm, no | 07:16 |
noobster | still tryoing to take out that 2TB md8 | 07:16 |
patdk-lap | lv has nothing to do with that | 07:16 |
patdk-lap | that would be on the vg level | 07:16 |
Ender | *downloads | 07:16 |
Ender | * as | 07:16 |
noobster | have to shrink the lv b4 group though right? | 07:16 |
Ender | how do you do that "Royk does blah blah" thing | 07:16 |
Ender | <slap> | 07:16 |
Ender | \slap | 07:16 |
patdk-lap | noobster, personally I dunno | 07:17 |
patdk-lap | but if it is possible | 07:17 |
noobster | like /me does something | 07:17 |
* noobster slaps | 07:17 | |
patdk-lap | you have to have enough vg free space to remove the pv | 07:17 |
* Ender word | 07:17 | |
* Ender downloads oi | 07:17 | |
* RoyK slaps Ender | 07:17 | |
* Ender goes to bed | 07:17 | |
* RoyK slaps Ender | 07:17 | |
RoyK | /me slaps Ender | 07:17 |
* patdk-lap has been in bed for hours now | 07:17 | |
* Ender SLAPS ROY BACK | 07:17 | |
* noobster add a bitch slap | 07:17 | |
Ender | lol | 07:17 |
RoyK | nite, guys | 07:18 |
Ender | goodnight | 07:18 |
Ender | hey it | 07:18 |
Ender | 's been fun | 07:18 |
Ender | i love this channel | 07:18 |
noobster | nite | 07:18 |
Ender | here's a quick question | 07:18 |
Ender | how the eff did you guys amass your knowledge | 07:18 |
patdk-lap | reading rfc's :) | 07:18 |
noobster | play | 07:18 |
noobster | get a nas, then look a virtualization | 07:19 |
Ender | rfc's | 07:19 |
patdk-lap | it helps I started 25 years ago | 07:19 |
Ender | i see. | 07:19 |
noobster | freenas | 07:19 |
Ender | nas nas nasnas anasasnasssss | 07:19 |
noobster | on an old box | 07:19 |
Ender | ok | 07:19 |
patdk-lap | I always take it as | 07:19 |
Ender | wel....i have a p3, is that too old? | 07:20 |
patdk-lap | if you know how everything under it works, you will understand it much better | 07:20 |
noobster | mucho storage | 07:20 |
noobster | in your closet | 07:20 |
noobster | with only a network cable | 07:20 |
patdk-lap | nooster, heh, connect your nas using wifi | 07:20 |
noobster | not! | 07:20 |
Ender | ohh yeahhh | 07:20 |
noobster | iscsi wifi | 07:20 |
noobster | wooooow | 07:20 |
patdk-lap | and closets get way too hot | 07:20 |
noobster | lmao | 07:21 |
Ender | and radio-electric energy transfers | 07:21 |
Ender | full wireless | 07:21 |
Ender | muahaha | 07:21 |
noobster | crazy | 07:21 |
noobster | i like it | 07:21 |
noobster | your data doesn't | 07:21 |
patdk-lap | oh screw radio electric | 07:21 |
Ender | yeah just microwave-beam it in there | 07:21 |
Ender | screw wifi | 07:21 |
noobster | i think 3g | 07:21 |
noobster | a 3g nas | 07:22 |
noobster | nice | 07:22 |
Ender | 4g. | 07:22 |
noobster | nope to fast | 07:22 |
Ender | definitely 4g, c'mon man | 07:22 |
noobster | thibk slowski's here | 07:22 |
Ender | i'm going to use infared for my wireless connectivity | 07:22 |
noobster | andevry other packet must be lost | 07:22 |
Ender | well the server closet is in the other room so i'll have to set up some mirrors in the hall.... | 07:23 |
Ender | will that work OK? | 07:23 |
Ender | sure it will | 07:23 |
noobster | setup a router to turn off and on every 5 sec just to scramble my word document saves too | 07:23 |
noobster | on the same channel | 07:24 |
Ender | the only way to make a router turn off and on every 5 seconds is to use an apple basestation | 07:24 |
Ender | that's their default functionality | 07:24 |
noobster | lmfao | 07:24 |
noobster | no i cant have undependable document scramblers here! | 07:24 |
Ender | yeah, you're right | 07:25 |
noobster | must be a base station an a timer | 07:25 |
Ender | probably couldn't even rely on it to consistently malfunction like it was designed to | 07:25 |
Ender | oh! i have a box of light timers | 07:25 |
noobster | how else sell a wireless repeater for 120$ | 07:25 |
Ender | we could plug them all into one another, and THEN plug the BaseStation EXTREME 14 into that | 07:26 |
noobster | we have to make them redundant | 07:26 |
noobster | nice | 07:26 |
noobster | omg i have to install the server in 6 hours | 07:26 |
Ender | omg | 07:26 |
noobster | fuck lvm | 07:26 |
Ender | ok | 07:26 |
Ender | well i need to get up in 4ish hours | 07:27 |
Ender | so i'mma crash | 07:27 |
noobster | why did I click that box?? | 07:27 |
noobster | cool | 07:27 |
noobster | nite | 07:27 |
noobster | check out freenas | 07:27 |
Ender | i'mma crash like XP SP1 | 07:27 |
noobster | it has everything | 07:27 |
noobster | with fake antivirus 2008? | 07:27 |
Ender | ok i'll d/l that too | 07:27 |
noobster | wow | 07:27 |
Ender | i'mma crash like zfs-fuse | 07:28 |
Ender | i'mma crash like it's 12/31/1999 | 07:28 |
Ender | ok bye | 07:28 |
* Ender crashes | 07:28 | |
=== windkids is now known as windGone | ||
=== oCean_ is now known as oCean | ||
=== FkCek is now known as FkCek|a | ||
incorrect | is there a janitor script to clean up all the old kernels that aren't needed? | 09:29 |
=== Aison is now known as Aison|away | ||
oCean | It seems that I fail to connect to a (courier) mailserver running imapd-ssl (http://paste.ubuntu.com/563042/) while trying to sync several mailboxes using imapsync. Any suggestions? | 12:21 |
=== oubiwann_ is now known as oubiwann | ||
__Pepr | I would like to have a single apache 2.2 web server be able to serve up cold-fusion files, php and Ruby on Rails. How easy is this done. I have seen alot of tutorials, and help guides but most of the are "all or nothing"... Help please | 12:51 |
awb | hello | 13:35 |
nimrod10 | __Pepr, check help.ubuntu.com and make a search there | 13:39 |
awb | I am installing a mail server on Ubuntu 10.10 and have followed the Ubuntu server guide. When I get to the testing it says I should have the following lines: 250-STARTTLS 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN PLAIN 250 8BITMIME, but I do not get 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN when I used telnet | 13:39 |
uvirtbot | New bug: #713646 in munin "IPv6 functionality in ip_ plugin assumse #!/bin/sh being bash" [Low,Triaged] https://launchpad.net/bugs/713646 | 13:52 |
=== Nertil2 is now known as Nertil | ||
ZacLnxNewb | hi | 15:26 |
ZacLnxNewb | I'm having trouble setting up mysql on my server | 15:27 |
ZacLnxNewb | guiless ubuntu the newest version | 15:28 |
ZacLnxNewb | hello, I have questions. | 15:37 |
remix_tj | ZacLnxNewb: explain your troubles | 15:38 |
ZacLnxNewb | remix_tj: I'm trying to get mysql running | 15:41 |
ZacLnxNewb | remix_tj: and I can install it, and set a password, but I'm unable to connect to it with workbench remotely | 15:42 |
remix_tj | ZacLnxNewb: very easy | 15:42 |
ZacLnxNewb | remix_tj: I set the config file to use the bind address "0.0.0.0" as to bind to the ports on multiple interfaces. | 15:42 |
remix_tj | edit /etc/mysql/my.cnf | 15:42 |
ZacLnxNewb | already did. | 15:42 |
remix_tj | but not 0.0.0.0 | 15:42 |
remix_tj | i set * | 15:43 |
remix_tj | and got working | 15:43 |
ZacLnxNewb | ah. | 15:45 |
ZacLnxNewb | also | 15:45 |
ZacLnxNewb | whenever I try "mysql restart" | 15:45 |
ZacLnxNewb | I'm told I don't have privleges | 15:45 |
ZacLnxNewb | sudo mysql restart | 15:45 |
ZacLnxNewb | doesn't either | 15:45 |
ZacLnxNewb | I've been having to restart the entire computer in order to restart mysql | 15:46 |
ZacLnxNewb | remix_tj: sorry read >.> | 15:50 |
remix_tj | ZacLnxNewb: sudo service mysql restart | 15:50 |
ZacLnxNewb | remix_tj: Aw, seems to be working | 15:52 |
ZacLnxNewb | remix_tj: waiting a minute or two to see | 15:52 |
remix_tj | ZacLnxNewb: check with sudo netstat -alptn | grep mysqld | 15:53 |
ZacLnxNewb | it's still waiting | 15:54 |
ZacLnxNewb | mid command | 15:54 |
ZacLnxNewb | in black space to get to the commadn | 15:54 |
remix_tj | ? | 15:55 |
ZacLnxNewb | it's... processing? | 15:55 |
ZacLnxNewb | remix_tj: I'm going to try completely reinstalling. | 15:57 |
remix_tj | ZacLnxNewb: why? | 15:57 |
ZacLnxNewb | remix_tj: I'm not sure of all the settings I've altered. | 15:57 |
remix_tj | ZacLnxNewb: try this | 15:58 |
remix_tj | ps aux | grep mysqld | 15:58 |
remix_tj | to check if mysql is running | 15:58 |
ZacLnxNewb | an entry shows | 15:58 |
ZacLnxNewb | I'm not sure what info to describe to tell you | 15:59 |
ZacLnxNewb | remix_tj: an entry shows | 16:02 |
remix_tj | paste the output to paste.ubuntu.com | 16:02 |
ZacLnxNewb | remix_tj: I apologize for the long wait | 16:14 |
ZacLnxNewb | remix_tj: http://paste.ubuntu.com/563104/ | 16:14 |
remix_tj | ZacLnxNewb: so mysqld is not running | 16:14 |
remix_tj | try with | 16:14 |
remix_tj | sudo service mysql start | 16:15 |
ZacLnxNewb | remix_tj: I entered the command | 16:15 |
ZacLnxNewb | remix_tj: I'm now waiting for the cursor to return to waiting position | 16:15 |
ZacLnxNewb | remix_tj: "start/running" I think it worked | 16:15 |
remix_tj | ok | 16:16 |
remix_tj | now try with | 16:17 |
remix_tj | netstat -alptn | grep mysqld | 16:17 |
ZacLnxNewb | zachary@ZACSERVER:~$ netstat -alptn | grep mysqld (No info could be read for "-p": geteuid()=1000 but you should be root.) | 16:17 |
remix_tj | ZacLnxNewb: sorry | 16:17 |
remix_tj | sudo netstat -alptn | grep mysqld | 16:18 |
ZacLnxNewb | just tried it | 16:18 |
ZacLnxNewb | didn't show any info | 16:18 |
remix_tj | uhm | 16:18 |
ZacLnxNewb | zachary@ZACSERVER:~$ sudo netstat -alptn | grep mysqld zachary@ZACSERVER:~$ | 16:18 |
remix_tj | wayt | 16:18 |
ZacLnxNewb | zachary@ZACSERVER:~$ sudo netstat -alptn | grep mysqld | 16:18 |
ZacLnxNewb | zachary@ZACSERVER:~$ | 16:18 |
remix_tj | sudo netstat -alptn | grep 3306 | 16:18 |
ZacLnxNewb | zachary@ZACSERVER:~$ sudo netstat -alptn | grep 3306 zachary@ZACSERVER:~$ | 16:19 |
remix_tj | uhm | 16:23 |
remix_tj | ps aux | grep mysqld | 16:23 |
remix_tj | ? | 16:23 |
ZacLnxNewb | zachary 7005 0.0 0.0 4008 752 pts/0 S+ 10:23 0:00 grep --color=auto mysqld | 16:23 |
remix_tj | ZacLnxNewb: only? | 16:23 |
ZacLnxNewb | remix_tj: Only | 16:24 |
remix_tj | so try this command | 16:24 |
remix_tj | sudo mysqld --verbose | 16:25 |
ZacLnxNewb | 110205 10:25:44 [ERROR] Can't start server: cannot resolve hostname!: Success 110205 10:25:44 [ERROR] Aborting | 16:25 |
ZacLnxNewb | host name would be | 16:26 |
ZacLnxNewb | beyond-sight.com | 16:26 |
ZacLnxNewb | for the internet | 16:26 |
ZacLnxNewb | and of course 192.168.1.1 for the local network | 16:26 |
ZacLnxNewb | or 192.168.1.250 | 16:26 |
remix_tj | wait a bit | 16:26 |
uvirtbot | New bug: #713704 in etckeeper (main) "etckeeper is not run on apt-get remove or apt-get purge" [Undecided,New] https://launchpad.net/bugs/713704 | 16:27 |
remix_tj | ZacLnxNewb: can you paste you my.cnf on http://paste.ubuntu.com = | 16:28 |
remix_tj | ? | 16:28 |
ZacLnxNewb | sure thing | 16:29 |
ZacLnxNewb | remix_tj: http://paste.ubuntu.com/563116/ | 16:31 |
remix_tj | ehm... ZacLnxNewb | 16:35 |
remix_tj | cat /etc/mysql/my.cnf | 16:35 |
remix_tj | then paste | 16:35 |
remix_tj | :-) | 16:35 |
ZacLnxNewb | remix_tj: It's at the bottom of that >.> but sure | 16:35 |
ZacLnxNewb | remix_tj: http://paste.ubuntu.com/563120/ | 16:37 |
remix_tj | ZacLnxNewb: cat /etc/hosts | 16:39 |
ZacLnxNewb | remix_tj: http://paste.ubuntu.com/563121/ | 16:42 |
remix_tj | uhm... | 16:42 |
remix_tj | you may try with bind-address = 0.0.0.0 | 16:42 |
remix_tj | on my.cnf | 16:42 |
remix_tj | then | 16:42 |
remix_tj | service mysql restart | 16:42 |
remix_tj | better | 16:43 |
remix_tj | service mysql start | 16:43 |
ZacLnxNewb | remix_tj: ? | 17:07 |
ZacLnxNewb | remix_tj: oh, sorry | 17:08 |
ZacLnxNewb | remix_tj: mysql running process 7466 | 17:09 |
remix_tj | ok | 17:09 |
remix_tj | now try | 17:09 |
remix_tj | sudo netstat -altn | grep 3306 | 17:09 |
ZacLnxNewb | tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN | 17:10 |
ZacLnxNewb | mwaha | 17:10 |
ZacLnxNewb | remix_tj: listening on the correct port. :p | 17:10 |
remix_tj | k now working :-) | 17:10 |
ZacLnxNewb | remix_tj: awesome sauce | 17:10 |
ZacLnxNewb | remix_tj: Now I should be able to connect with MySQL work bench? | 17:11 |
ZacLnxNewb | firewall is currently down | 17:11 |
ZacLnxNewb | working inside the network, so port forwarding for the router is not yet needed | 17:11 |
ZacLnxNewb | logging in with user root | 17:11 |
ZacLnxNewb | with mysql's password | 17:12 |
ZacLnxNewb | on port 3306 | 17:12 |
ZacLnxNewb | trying | 17:12 |
ZacLnxNewb | remix_tj: "open database connection " failed | 17:12 |
ZacLnxNewb | remix_tj: Connecting to MySQL server 192.168.1.250... Host 'ZACNETBOOK.home' is not allowed to connect to this MySQL server | 17:12 |
ZacLnxNewb | remix_tj: so yeah, not seeming to be working. >.> | 17:17 |
ZacLnxNewb | remix_tj: I do appreciate the help so far | 17:27 |
ZacLnxNewb | but are you still there? | 17:27 |
nimrod10 | ZacLnxNewb, is the user from ZACNETBOOK.home allowed to connect to the mysql server ? | 17:36 |
ZacLnxNewb | nimrod10: I don't know how to tell | 17:37 |
ZacLnxNewb | nimrod10: also, I specified user and password | 17:37 |
ZacLnxNewb | it should've worked | 17:37 |
nimrod10 | I presume you have access to the mysql server , right ? | 17:37 |
ZacLnxNewb | nimrod10: I just installed it | 17:37 |
ZacLnxNewb | nimrod10: I installed it, configured it, it's running as a daemon | 17:38 |
ZacLnxNewb | but I can't connect remotely | 17:38 |
nimrod10 | select * from mysql.user ; and see if a user has access from ZACNETBOOK.home | 17:38 |
ZacLnxNewb | with workbench | 17:38 |
nimrod10 | that select you'll have to do it incommand line on the mysql server | 17:38 |
ZacLnxNewb | where's that located? | 17:39 |
nimrod10 | :) where did you install mysql ? | 17:39 |
ZacLnxNewb | default directory | 17:39 |
nimrod10 | on your laptop / desktop or on another computer ? | 17:39 |
ZacLnxNewb | server | 17:39 |
nimrod10 | do you have access to the server ? | 17:40 |
ZacLnxNewb | I'm using putty with my netbook to admin it remotely | 17:40 |
ZacLnxNewb | yes | 17:40 |
nimrod10 | cool | 17:40 |
ZacLnxNewb | I have physical access and I use putty | 17:40 |
nimrod10 | first of all let's make sure mysql is running : ps auxw | grep mysql and paste the result | 17:40 |
ZacLnxNewb | root 7466 0.0 2.3 155608 17864 ? Ssl 11:09 0:01 /usr/sbin/mysq d zachary 7817 0.0 0.0 4008 752 pts/0 S+ 11:40 0:00 grep --color=auto mysql | 17:41 |
ZacLnxNewb | two lines there | 17:41 |
ZacLnxNewb | root 7466 0.0 2.3 155608 17864 ? Ssl 11:09 0:01 /usr/sbin/mysq d | 17:41 |
ZacLnxNewb | zachary 7817 0.0 0.0 4008 752 pts/0 S+ 11:40 0:00 grep --color=auto mysql | 17:41 |
nimrod10 | ok looks ok | 17:41 |
nimrod10 | lets make sure it is listening on the port | 17:42 |
nimrod10 | do this as root on the server : netstat -nlp --inet --inet6 | grep mysql | 17:42 |
nimrod10 | paste the output | 17:42 |
ZacLnxNewb | tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 7466/mysqld | 17:42 |
nimrod10 | good | 17:43 |
ZacLnxNewb | listening on port 3306 | 17:43 |
nimrod10 | so mysql is up and it is listening on port 3306 | 17:43 |
nimrod10 | on your desktop open a terminal | 17:43 |
nimrod10 | or command prompt | 17:43 |
ZacLnxNewb | I'm running windows 7 on my netbook | 17:43 |
ZacLnxNewb | running cmd | 17:44 |
nimrod10 | good | 17:44 |
nimrod10 | do this in cmd : telnet ip_of_server 3306 paste the output | 17:44 |
ZacLnxNewb | and? ah | 17:44 |
ZacLnxNewb | tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 7466/mysqld | 17:45 |
ZacLnxNewb | wait.. | 17:45 |
ZacLnxNewb | H♦Host 'ZACNETBOOK.home' is not allowed to connect to this MySQL server Connection to host lost. | 17:45 |
ZacLnxNewb | I used | 17:45 |
ZacLnxNewb | "telnet 192.168.1.250 3306" | 17:45 |
nimrod10 | oik | 17:46 |
nimrod10 | do you know the mysql root password ? | 17:46 |
ZacLnxNewb | yes, I set it | 17:46 |
nimrod10 | good | 17:47 |
nimrod10 | on the server : mysql -uroot -p put in your password and press Enter | 17:47 |
ZacLnxNewb | I get | 17:47 |
ZacLnxNewb | "mysql> " | 17:47 |
ZacLnxNewb | waiting for further input | 17:48 |
nimrod10 | good you've logged in the mysql command line | 17:48 |
nimrod10 | have you created any db ? | 17:48 |
ZacLnxNewb | no | 17:48 |
ZacLnxNewb | I thought I could do that with MySQL workbench | 17:49 |
ZacLnxNewb | there's an option for "server administration" | 17:49 |
nimrod10 | ok for that you need to setup a user in mysql server to be able to connect from your laptop | 17:50 |
ZacLnxNewb | "configure your database server, setup user accounts, browse status variables, and server logs" | 17:50 |
ZacLnxNewb | I don't know how to do that | 17:50 |
nimrod10 | in the previous select where can the user root connect from ? | 17:51 |
ZacLnxNewb | select? | 17:51 |
ZacLnxNewb | I can connect as zachary through putty | 17:51 |
ZacLnxNewb | and use sudo to do something as root | 17:52 |
nimrod10 | yes in the select it must of shown a user root | 17:52 |
ZacLnxNewb | where do I see that? | 17:52 |
nimrod10 | I mean the root user for the mysql database , not the root user for linux | 17:52 |
nimrod10 | ok | 17:52 |
nimrod10 | I see | 17:52 |
nimrod10 | in putty : select * from mysql.user; | 17:53 |
nimrod10 | look out for user root | 17:53 |
ZacLnxNewb | no command select? | 17:53 |
nimrod10 | are you still in the mysql> prompt in putty ? | 17:54 |
ZacLnxNewb | oh lol | 17:54 |
ZacLnxNewb | yes. >.> | 17:54 |
nimrod10 | that is a SQL select statement that only mysql understands | 17:54 |
ZacLnxNewb | mysql> select -> -> lol -> -> | 17:54 |
ZacLnxNewb | select | 17:55 |
ZacLnxNewb | -> | 17:55 |
ZacLnxNewb | -> | 17:55 |
ZacLnxNewb | -> | 17:55 |
ZacLnxNewb | -> | 17:55 |
nimrod10 | what is that ? | 17:55 |
ZacLnxNewb | I wrote select by itself in the mysql field. >.> | 17:55 |
ZacLnxNewb | how do I exit that? | 17:55 |
nimrod10 | \c | 17:56 |
nimrod10 | Enter | 17:56 |
ZacLnxNewb | back to "mysql> " | 17:56 |
nimrod10 | cool do the select for users | 17:56 |
ZacLnxNewb | in mysql? | 17:56 |
=== squishy is now known as SquishyNotHere | ||
nimrod10 | yes the select I previously pasted to you | 17:57 |
ZacLnxNewb | mysql> select * from mysql.user -> | 17:57 |
ZacLnxNewb | I just got an arrow by itself? | 17:58 |
RoyK | ; | 17:58 |
nimrod10 | any SQL command in the mysql cli must end with ; | 17:58 |
ZacLnxNewb | oh | 17:58 |
nimrod10 | then press Enter | 17:58 |
RoyK | ZacLnxNewb: SQL isn't terminated before the ; | 17:59 |
RoyK | you can write several lines and then ; | 17:59 |
RoyK | <enter> | 17:59 |
ZacLnxNewb | localhost | 17:59 |
ZacLnxNewb | ZACSERVER | 17:59 |
ZacLnxNewb | 127.0.0.1 | 17:59 |
RoyK | !pastebin | 17:59 |
ubottu | For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. | 17:59 |
ZacLnxNewb | localhost | 17:59 |
ZacLnxNewb | All showing "root" | 17:59 |
nimrod10 | that means that you need to define another user that will connect to the server from Zackhome | 18:00 |
ZacLnxNewb | next to them | 18:00 |
ZacLnxNewb | except for the last one | 18:00 |
ZacLnxNewb | which is | 18:00 |
ZacLnxNewb | ah, I don't know how | 18:00 |
RoyK | ZacLnxNewb: grant all on somedatabase.* to someuser@somehost identified by 'somepassword'; | 18:00 |
ZacLnxNewb | RoyK: is that exact syntax? | 18:00 |
RoyK | yes | 18:01 |
ZacLnxNewb | RoyK: I have not yet created a database? | 18:01 |
RoyK | just replace the some's with real data | 18:01 |
RoyK | ZacLnxNewb: create database somedatabase; | 18:01 |
ZacLnxNewb | "mysql> create database drawing" | 18:02 |
ZacLnxNewb | ; | 18:02 |
ZacLnxNewb | "Query OK, 1 row affected (0.00sec) | 18:03 |
ZacLnxNewb | 18:03 | |
ZacLnxNewb | mysql> | 18:03 |
ZacLnxNewb | that's the result | 18:03 |
RoyK | again | 18:03 |
RoyK | !pastebin | 18:03 |
ZacLnxNewb | ah, sorry | 18:03 |
RoyK | but that only shows you have created the database | 18:03 |
nimrod10 | ZacLnxNewb, now do the grant command | 18:03 |
RoyK | use the IP, not the hostname after the @ | 18:04 |
ZacLnxNewb | beyond-sight.com for the internet? | 18:04 |
ZacLnxNewb | and 192.168.1.250 for the local network? | 18:04 |
RoyK | you don't want to allow access to mysql from the net | 18:05 |
RoyK | just local | 18:05 |
ZacLnxNewb | for user@somehost | 18:09 |
ZacLnxNewb | somehost would be my netbook's ip? | 18:09 |
ZacLnxNewb | or host name? | 18:09 |
ZacLnxNewb | RoyK: | 18:10 |
ZacLnxNewb | nimrod10: | 18:11 |
nimrod10 | yes | 18:12 |
RoyK | ZacLnxNewb: do you need to connect directly to mysql from your netbook? | 18:12 |
ZacLnxNewb | RoyK: preferably | 18:12 |
RoyK | what are you going to use the database for? | 18:12 |
RoyK | php? | 18:12 |
ZacLnxNewb | python, php, and flash intergration | 18:13 |
RoyK | I'd recommend just allowing access from localhost, then | 18:13 |
ZacLnxNewb | RoyK: specifically for some python server code to use a database, of possibly over 4000 users. >.> | 18:13 |
RoyK | since I guess that's where the scripts will be running | 18:13 |
ZacLnxNewb | the scripts will be running on the server, course | 18:14 |
RoyK | then you won't need to allow access from anywhere else | 18:14 |
ZacLnxNewb | but I was hoping I could administer the database and server settings through MySQL workbench on my netbook | 18:14 |
RoyK | ah | 18:14 |
RoyK | ic | 18:14 |
RoyK | then something like | 18:14 |
ZacLnxNewb | I'm usually traveling | 18:14 |
ZacLnxNewb | and I'm not sure what host name/ip to put for my netbook, it changes often | 18:14 |
RoyK | then you'll need a VPN connection | 18:15 |
ZacLnxNewb | VPN? | 18:15 |
RoyK | allowing access into mysql from the internet is _not_ safe | 18:15 |
RoyK | !vpn | 18:15 |
ubottu | For more information on vpn please refer to https://wiki.ubuntu.com/VPN | 18:15 |
ZacLnxNewb | I can figure that out later | 18:15 |
ZacLnxNewb | for now, what should I put as the host to allow for my netbook on the local network? | 18:15 |
ZacLnxNewb | user@netbookname? | 18:15 |
RoyK | GRANT ALL ON *.* TO user@ip WITH GRANT OPTION; | 18:16 |
RoyK | that'll give you admin access from that user/ip | 18:16 |
RoyK | erm | 18:16 |
RoyK | GRANT ALL ON *.* TO user@ip IDENTIFIED BY 'password' WITH GRANT OPTION; | 18:16 |
ZacLnxNewb | GRANT ALL ON *.* to zachary@ZACNETBOOK IDENTIFIED BY 'password' WITH GRANT OPTION; | 18:17 |
ZacLnxNewb | ? | 18:17 |
nimrod10 | ZacLnxNewb, yuo might want to use ZACNETBOOK.home | 18:18 |
nimrod10 | or put the ip address of the netbook | 18:18 |
ZacLnxNewb | nimrod10: oh yes, thanks | 18:18 |
ZacLnxNewb | nimrod10: ip address changes regularly | 18:18 |
ZacLnxNewb | okay | 18:19 |
ZacLnxNewb | I haven't done any grants yet | 18:19 |
ZacLnxNewb | which one do I need to do? | 18:19 |
nimrod10 | you have done grant all :) | 18:19 |
ZacLnxNewb | I haven't entered it at all | 18:19 |
nimrod10 | grant all means all grants | 18:19 |
ZacLnxNewb | I haven't entered the command, nimrod10 | 18:20 |
ZacLnxNewb | grant all on somedatabase.* to someuser@somehost identified by 'somepassword'; | 18:20 |
ZacLnxNewb | GRANT ALL ON *.* TO user@ip IDENTIFIED BY 'password' WITH GRANT OPTION; | 18:20 |
nimrod10 | second one | 18:20 |
ZacLnxNewb | nimrod10: RoyK http://paste.ubuntu.com/563143/ | 18:24 |
RoyK | identified by, not just by | 18:25 |
nimrod10 | where did this come from ? BY <mysqlpassword> | 18:25 |
RoyK | mianosm1: he's just missing the word 'indentified' | 18:25 |
RoyK | :P | 18:25 |
ZacLnxNewb | lol >.> | 18:26 |
RoyK | or 'identified' | 18:26 |
RoyK | even | 18:26 |
ZacLnxNewb | GRANT ALL ON *.* TO zachary@ZACNETBOOK.home IDENTIFIED BY, mysqlpassword WITH GRANT OPTION; | 18:27 |
ZacLnxNewb | not working. >.> | 18:27 |
ZacLnxNewb | RoyK: nimrod10 Same error as the pastebin I gave you | 18:28 |
jmarsden | ZacLnxNewb: The comma after BY seems incorrect in your GRANT ALL ON statement, was that a typo ? | 18:29 |
RoyK | ZacLnxNewb: GRANT ALL ON *.* TO zachary@192.168.1.250 IDENTIFIED BY 'jalla' WITH GRANT OPTION; | 18:29 |
RoyK | remember quotes around the password | 18:29 |
ZacLnxNewb | ah | 18:29 |
RoyK | and no comma after BY | 18:29 |
ZacLnxNewb | "Query OK, 0 rows affected (0.00 sec) | 18:30 |
ZacLnxNewb | " | 18:30 |
RoyK | ZacLnxNewb: bingo | 18:30 |
ZacLnxNewb | RoyK: nimrod10 I appreciate the help guys. >.< I've been trying to do all this to no avail for 3 days | 18:30 |
RoyK | never mind the 0 rows affected | 18:30 |
ZacLnxNewb | what else? | 18:30 |
RoyK | well, try to connect from your laptop | 18:31 |
ZacLnxNewb | RoyK: nimrod10 : Connecting to MySQL server 192.168.1.250... Host 'ZACNETBOOK.home' is not allowed to connect to this MySQL server | 18:33 |
nimrod10 | ZacLnxNewb, one more command in the mysql prompt flush privileges; | 18:33 |
nimrod10 | after that it should work | 18:34 |
ZacLnxNewb | MWAHAHAHAHAHAHAHAHAHAHAHAHA | 18:34 |
ZacLnxNewb | CHECK MARKS INSTEAD OF Xes BITCHES | 18:34 |
ZacLnxNewb | nimrod10: RoyK Success guys. :D | 18:35 |
nimrod10 | keep smoking that weed ZacLnxNewb it is good for you ! | 18:35 |
ZacLnxNewb | nimrod10: I get a natural high from staying up days at a time. >.> I don't need no weed. | 18:36 |
RoyK | nimrod10: :) | 18:37 |
* RoyK hands nimrod10 a beer | 18:37 | |
nimrod10 | \me cheers | 18:37 |
* ZacLnxNewb gives both RoyK and nimrod10 each their own cookies of their favorite types, and milk | 18:38 | |
ZacLnxNewb | mwah | 18:38 |
ZacLnxNewb | nimrod10: fails the / me. :D | 18:38 |
nimrod10 | good , cookies , beer , and milk watchout toilet here I come ! | 18:38 |
nimrod10 | ZacLnxNewb, sometimes the hands don't want to do what I tell them to type | 18:39 |
ZacLnxNewb | nimrod10: I'm a piano player as well. I know what you mean. ;) | 18:39 |
ZacLnxNewb | nimrod10: RoyK So I'm experimenting what I can do with this database. >.> | 18:41 |
* RoyK would prefer a lassi bhang | 18:42 | |
RoyK | ZacLnxNewb: btw, where're you from? | 18:42 |
ZacLnxNewb | RoyK: I'm from Fort Worth, Texas | 18:43 |
ZacLnxNewb | RoyK: yourself? | 18:43 |
ZacLnxNewb | RoyK: You've helped me before. | 18:43 |
RoyK | oslo, norway | 18:43 |
ZacLnxNewb | RoyK: I appreciate your support. You helped me get started with linux in the first place. :D | 18:43 |
RoyK | the land of the freezing your balls off | 18:44 |
ZacLnxNewb | RoyK: lol, Right now it's fucking 25 degrees outside | 18:44 |
ZacLnxNewb | itwas 18 last night | 18:44 |
RoyK | it's not bad now - just -5 or so, celcius | 18:44 |
ZacLnxNewb | RoyK: pussy. ;) | 18:45 |
ZacLnxNewb | RoyK: I wish it got that cold here in texas | 18:45 |
ZacLnxNewb | RoyK: Currently, 49 of our 50 states have snow. | 18:45 |
ZacLnxNewb | the only exception is florida | 18:45 |
RoyK | lol | 18:45 |
RoyK | pretty strong La Niña this year | 18:46 |
RoyK | strongest in 100 years, they say | 18:46 |
RoyK | that tends to affect the temperatures a little | 18:46 |
ZacLnxNewb | What check_admin_commands Operation failed: /etc/init.d/mysqld start is invalid What check_admin_commands Operation failed: /etc/init.d/mysqld start is invalid | 18:46 |
ZacLnxNewb | in workbench. | 18:47 |
RoyK | no idea - google for it | 18:47 |
RoyK | this is cool http://pastebin.com/4Z4Ktu6Z | 18:47 |
RoyK | check the total compared to the backup file size :) | 18:47 |
RoyK | http://pastebin.com/a4HYcy10 | 18:48 |
=== airtonix_ is now known as airtonix | ||
ZacLnxNewb | RoyK: it's working | 18:52 |
ZacLnxNewb | RoyK: I love you, my linux friend. :D <3 | 18:52 |
ZacLnxNewb | RoyK: I also recently discovered Google Chrome | 18:52 |
airtonix | what is this new server thing you speak of | 18:55 |
RoyK | new server thing? | 18:56 |
* RoyK is lost | 18:56 | |
ZacLnxNewb | airtonix: it's this magical box | 19:16 |
ZacLnxNewb | airtonix: it serves | 19:16 |
ZacLnxNewb | airtonix: like a butler in the virtual world that we call the "internet" | 19:16 |
airtonix | and google chrome is important to this | 19:16 |
airtonix | T_T | 19:16 |
ZacLnxNewb | also known as the interwebs, the virtual tubes, the virtual spahgetti | 19:16 |
airtonix | ok | 19:16 |
ZacLnxNewb | airtonix: What about google chrome? | 19:17 |
airtonix | 05:22 <ZacLnxNewb> RoyK: I also recently discovered Google Chrome | 19:17 |
RoyK | ZacLnxNewb: haha | 19:19 |
* RoyK listens to Rage Against The Machine, LOUD | 19:19 | |
ZacLnxNewb | RoyK: "I'M DEEPLY DISTURBED, I'M DEEPLY, UNHAPPY. DEEPLY DISTURBED, and I'M DEEPLY UNHAPPY" | 19:20 |
* ZacLnxNewb loves infected mushroom | 19:20 | |
ZacLnxNewb | and DAFT PUNK! | 19:21 |
airtonix | ... | 19:22 |
RoyK | ZacLnxNewb: http://www.youtube.com/watch?v=OlVbEclPj4c :) | 19:22 |
ZacLnxNewb | airtonix: You have a problem with daft punk or infected mushroom? | 19:22 |
airtonix | is it todo with ubuntu-server ? | 19:23 |
airtonix | !topic | 19:24 |
ubottu | Please read the channel topic whenever you enter, as it contains important information. To view it at any time after joining, simply type /topic | 19:24 |
ZacLnxNewb | RoyK: http://www.youtube.com/watch?v=EQy62TyvcuI | 19:24 |
Pici | !ot | 19:24 |
ubottu | #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! | 19:24 |
RoyK | :) | 19:24 |
ZacLnxNewb | RoyK: my video is so much cooler. >.. | 19:24 |
RoyK | not really :) | 19:24 |
RoyK | Pici: there must be some room to be a little OT on a saturday :) | 19:24 |
airtonix | no | 19:24 |
Pici | A little | 19:25 |
Pici | But theres an -offtopic channel so that you can 'channel' all that randomness somewhere. | 19:25 |
RoyK | hey, calm down, it was just a few lines | 19:26 |
ZacLnxNewb | RoyK: I shall lead our Revolt! >.> | 19:26 |
EvilPhoenix | uh... | 19:26 |
RoyK | lol | 19:26 |
EvilPhoenix | yeah... i think you guys would prefer #ubuntu-offtopic more :P | 19:27 |
RoyK | Pici: I've helped quite a lot of people in here over the years. Off-topicing a little doesn't harm | 19:27 |
ZacLnxNewb | I will personally vouch for RoyK 's long record of helping people. | 19:28 |
ZacLnxNewb | He helped me get into linux in the first place, set up SSH, remote printing, mysql, and more | 19:28 |
ZacLnxNewb | so he's paid his dues. ;) at the very least. | 19:28 |
Pici | RoyK: Theres no denying that you're an appreciated helper here. | 19:28 |
ZacLnxNewb | RoyK: I'm sorry. ;_; I'm getting you in trouble | 19:29 |
RoyK | no, you're not | 19:29 |
ZacLnxNewb | Pici: are you a mod? | 19:29 |
Pici | I just ask that you try to keep some of the offtopicness in our offtopic channel. | 19:29 |
Pici | ZacLnxNewb: one of them, yes. | 19:29 |
RoyK | it'd be nice if we could have native zfs on ubuntu one day.... | 19:32 |
ZacLnxNewb | Pici: Provided we are going a bit off topic, that's more in celebration of the awesome help we're achieving. I don't feel we're interfering with anyone else, and if someone else were to enter the room asking for help, I'm sure he'd stop being off topic and immediately help them as he has repeatedly helped me... | 19:32 |
ZacLnxNewb | so I don't really see the problem. | 19:32 |
ZacLnxNewb | RoyK: zfs ? | 19:32 |
air^ | RoyK: I'd love that too. fuck the license issues. :/ | 19:32 |
ZacLnxNewb | something similar to DRM? | 19:33 |
gpc | folks please keep the language clean | 19:33 |
gpc | it hurts my eyes | 19:33 |
gpc | all the red all over my window | 19:33 |
RoyK | !zfs | 19:33 |
ubottu | For information concerning ZFS and Ubuntu, see: https://wiki.ubuntu.com/ZFS | 19:33 |
lenios | ZacLnxNewb, some people idle and read back, they better have nothing than a lot of offtopic | 19:33 |
RoyK | ZacLnxNewb: http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/zfslast.pdf <-- read that | 19:34 |
RoyK | air^: there's a port in the works. When it's stable, it should be installable without issues. The only thing is that you have to install it yourself - it can't be distributed because of CDDL/GPL issues | 19:35 |
Koheleth | hi is there a problem with the postgresql fix, my sites have gone down??? | 19:35 |
ZacLnxNewb | RoyK: I hate it just looking at it. | 19:36 |
RoyK | ZacLnxNewb: heh - I have about 300TB on ZFS now - it's the best thing I've seen yet | 19:36 |
ZacLnxNewb | RoyK: >.> What does ZFS do in summary? | 19:36 |
air^ | RoyK: yeah. it's still sad. I wonder if betterfs will ever make it. | 19:37 |
air^ | sorry, btrfs | 19:37 |
RoyK | ZacLnxNewb: just read that presentation - it says the most | 19:37 |
air^ | afk, gonna go put the kid to sleep. bbl. | 19:37 |
lenios | btr stands for b-tree | 19:37 |
Koheleth | [USN-1058-1] PostgreSQL vulnerability (Steve Beattie) | 19:37 |
air^ | lenios: "Btrfs (B-tree file system, variously pronounced "Butter F S", "Better F S",[1] or "B-tree F S"[2])" | 19:37 |
ZacLnxNewb | RoyK: I lightly skimmed over it :p I gathered that it maintains parallel memory as to fight data degradation ? | 19:38 |
RoyK | air^: btrfs will probably make it soon, in a year or two, but yet they haven't a way to attach a mirror to an existing drive, they can't do RAID[56] stuff, no compression, no dedup, etc etc | 19:38 |
Koheleth | Steve on here | 19:38 |
RoyK | ZacLnxNewb: read it again | 19:38 |
RoyK | ZacLnxNewb: it only takes 10-15 minutes | 19:38 |
Koheleth | Steve Beaty on here? | 19:39 |
Koheleth | Beattie sry | 19:39 |
jmarsden | Koheleth: yes, he is logged into this channel as sbeattie but probably not active right now. | 19:42 |
Koheleth | jmarsden: ty | 19:42 |
Koheleth | my szites gone down, crap | 19:42 |
jmarsden | Koheleth: You're welcome. Steve is in Australia... figure out the time zone and you will understand why he is inactive :) | 19:43 |
Koheleth | jmarsden: he sleeps too much :) | 19:43 |
jmarsden | Koheleth: :) if you need specific help with something on your server, tell the channel what error msg is in your logs, etc etc and hopefully someone here will know how to help you with it. | 19:44 |
Koheleth | jmarsden: kk, not admin fluent here tho | 19:45 |
Koheleth | hope they fix it soon, seems a database thing but I dont use postgresql? | 19:45 |
Koheleth | should I purge the darn thing? | 19:46 |
jmarsden | Koheleth: Be as clear and specific as you can, and hope someone kind helps you out. How do you know that pg vulnerability is what has taken your site down? | 19:46 |
jmarsden | if you don't use it, it shou;dn't be the cause of a problem with your site, by definition. | 19:46 |
jmarsden | WHat is the actual issue you are seeing? | 19:46 |
Koheleth | jmarsden: my server wants to upgrade it but does not complete, hangs a bit, it might not be it but all my sites that use databases are down? | 19:47 |
jmarsden | Koheleth: Ah, so you tried to upgrade PG and the upgrade failed, yes, that would explain why your sites are unhappy. | 19:48 |
Koheleth | jmarsden: what should I do | 19:48 |
jmarsden | Pastebin the output from the upgrade attempt so we can read that. | 19:48 |
ZacLnxNewb | hello | 19:48 |
Koheleth | jmarsden: kk | 19:48 |
ZacLnxNewb | RoyK: so what about adminning over the database across the internet? >.> | 19:49 |
jmarsden | ZacLnxNewb: That is what ssh is for :) Worst case, tunnel your database server port over ssh and run a GUI db admin tool locally pointing to it. | 19:50 |
Koheleth | jmarsden: http://pastebin.com/zZiAwKfB | 19:51 |
Koheleth | perfect timing, just put a social network project on line, bloody marvolous | 19:53 |
jmarsden | Koheleth: OK, so I was right, the updated package did not install itself/configure itself happily. | 19:53 |
jmarsden | Koheleth: Do you have recent database backups, just in case? | 19:53 |
Koheleth | jmarsden: yep | 19:53 |
Koheleth | jmarsden: yeah safe but only ssh access | 19:54 |
Koheleth | jmarsden: no access to my Plesk gui | 19:54 |
jmarsden | Good. OK. I'd (a) read the logs, as the message suggests (line 8 of your pastebin) and then (b) look at reconfiguring postgresql-8.3 | 19:54 |
jmarsden | Real server admins don't need a GUI to manage their servers :) | 19:55 |
Koheleth | jmarsden: not a real admin yet, new to this marlarky :) | 19:55 |
ZacLnxNewb | Koheleth: GUI less is awsome. :D | 19:56 |
Koheleth | I like alcohol in my beer :) | 19:56 |
jmarsden | OK. well, time to learn fast, since you have a real database issue to solve. Read the logs and pastebin anything relevant, as a next step. | 19:56 |
Koheleth | what log in partic? | 19:56 |
jmarsden | Look under /var/log/postgresql :) | 19:58 |
jmarsden | I'm running postgresql 8.4, but I expect the 8.3 logs are in the same place. | 19:58 |
Koheleth | jmarsden: http://pastebin.com/iwQfz4hq seems a partition is full? Impossible. | 20:08 |
Koheleth | used 20g max of 140gb | 20:08 |
jmarsden | Koheleth: if df says it is full, then it is full. | 20:08 |
jmarsden | What does du -smxc /var output? | 20:08 |
Koheleth | not me bro | 20:08 |
Koheleth | hang on | 20:09 |
Koheleth | error | 20:11 |
Koheleth | no such? | 20:11 |
Koheleth | geez running a server is fun eh :) | 20:12 |
guntbert | Koheleth: take it easy on <enter> please | 20:12 |
Koheleth | sry | 20:12 |
jmarsden | Koheleth: What did you type in as a command, exactly, and what exact message (error or otherwise) did you get back. Be clear and specific. | 20:13 |
Koheleth | panicing here as I have people signing up to new project | 20:13 |
Koheleth | going to try apt-get clean see if it clears up anything | 20:14 |
jmarsden | Panic won't get your database back up. STay calm, work with us and we can get there... | 20:15 |
jmarsden | DOn't try random things! | 20:15 |
jmarsden | If you have no space then trying to change a database may do more harm than good... and apt-get uses a database... | 20:15 |
Koheleth | kk | 20:16 |
jmarsden | So. What happens when you do du -smxc /var ? | 20:16 |
Koheleth | hangon | 20:17 |
Koheleth | 134010 /var | 20:18 |
Koheleth | 134010 total | 20:18 |
Koheleth | sry | 20:18 |
Koheleth | brb, need to get a smoke, cracking here under the stress | 20:19 |
jmarsden | OK. So that is ... wait, that is about 134 GB right there. | 20:19 |
jmarsden | So that is where the extra files are. | 20:19 |
Koheleth | kk, where di that come from | 20:20 |
Koheleth | solution? | 20:20 |
jmarsden | Koheleth: we need to look further for where the extra files are, and then we will know whtehr it is safe to just delete them or what else we need to do. | 20:21 |
Koheleth | jmarsden: kk ty | 20:21 |
Koheleth | Have be hacked or is it a misconfiguration of some kind | 20:22 |
jmarsden | pastebin me the output of du -mxc /var | sort -n | tail | 20:22 |
jmarsden | Might be just log files that have grown really big, or something like that. | 20:22 |
jmarsden | BTw that command will list the ten biggest files or directories in /var ... | 20:23 |
guntbert | jmarsden: in such cases I'd use du -s /var/*| sort ....... | 20:23 |
jmarsden | guntbert: And if there is a /var/.whatever you will not see it. | 20:24 |
guntbert | jmarsden: point taken | 20:24 |
jmarsden | Koheleth: OK, so what is /var/lib/psa/dumps/clients/holyfear.net/domains/holyfear.net/phosting exactly? Do you need it? | 20:26 |
Koheleth | I need the site, but its backed up | 20:27 |
jmarsden | "dumps" ? Is that a backup of some sort? | 20:27 |
Koheleth | no idea what it is | 20:28 |
jmarsden | Do you want or expect that phosting file or dir to be 60GB ? | 20:28 |
Koheleth | nope | 20:28 |
jmarsden | Then you need to find out, it is on your server :) | 20:28 |
jmarsden | what does file /var/lib/psa/dumps/clients/holyfear.net/domains/holyfear.net/phosting say ? | 20:28 |
Koheleth | kk | 20:28 |
jmarsden | Koheleth: Do you know what psa is? Some sort of web hosting application ??? | 20:28 |
Koheleth | Directory | 20:29 |
Koheleth | psa is Plesk | 20:29 |
genii-around | public service announcement? ... ;) | 20:29 |
Koheleth | its bound up with Plesk | 20:29 |
jmarsden | Ah! OK. cd /var/lib/psa/dumps/clients/holyfear.net/domains/holyfear.net/phosting and then pastebin the output of ls -loh for me, please. | 20:30 |
Koheleth | when you say me do yoy mean here on main channel :) | 20:32 |
jmarsden | Sure. pastebin it and put the URL for that page here | 20:32 |
Koheleth | http://pastebin.com/Yzh5FBYy www.hoilyfear.net | 20:33 |
Koheleth | www.holyfear.net | 20:33 |
jmarsden | For "us" on the channel, but since I'm the one currently helping you, primarily for me. OK. | 20:33 |
Koheleth | geez, feel like I just dropped my trousers | 20:33 |
Koheleth | really thanks for the help | 20:33 |
Koheleth | would like to know what caused this when its solved | 20:34 |
jmarsden | Looks to me like you have a ton of old daily backups in there that can probably be deleted safely. | 20:34 |
jmarsden | How far back do you think you need to keep backups of that site? | 20:35 |
Koheleth | I did alter that the other week, that lost net connection for a week or so as I bought a new house | 20:35 |
jmarsden | OK, so if we delete everything older than 01 Jan 2011, that would be OK with you? | 20:36 |
Koheleth | but just told the server to keep a week or so of backups, maybe I messed up there | 20:36 |
jmarsden | Looks like it :) | 20:36 |
Koheleth | I think your a genius, thats it I reckon, comand please :) | 20:37 |
Koheleth | if it fixes I will send you a case of good French wine | 20:37 |
Koheleth | as a ty | 20:37 |
Koheleth | my server people want to charge 35 euros per 15 minutes :( | 20:38 |
jmarsden | :) OK. So in that directory, do find . -older bkp_httpdocs_1012301709.tgz -type f | xargs rm | 20:39 |
jmarsden | Koheleth: That's very slightly more than my time is billed out to paying clients for at work, but not by much :) | 20:39 |
Koheleth | get missing operand | 20:40 |
jmarsden | Hmmm. pastebin me both the command you typed and the full error message please? | 20:40 |
Koheleth | I could really get into this server admin stuff, facinating | 20:41 |
Koheleth | http://pastebin.com/t4xPjvCk | 20:42 |
guntbert | Koheleth: you missed the find . part | 20:43 |
Koheleth | kk | 20:43 |
jmarsden | OK, I made a minor mistake and so did you... Try find . ! -newer bkp_httpdocs_1012301709.tgz -type f | xargs rm | 20:43 |
jmarsden | (My mistake was that there is no -older there is only -newer, so you need to say "not newer" instead of "older" :) | 20:44 |
Koheleth | putty gone tits up, hangon | 20:44 |
* jmarsden hopes it is Putty, and not the server, having the issue :) | 20:45 | |
Koheleth | will see | 20:45 |
Koheleth | hangs a bit then comes back to the dir with no output | 20:46 |
jmarsden | That's fine. Now do du -h and see if you have some free space :) | 20:46 |
jmarsden | Ah, make that df -h | 20:47 |
Koheleth | as in homer simpson DUH lol | 20:47 |
jmarsden | Koheleth: In general, Unix commands donot generate output when they succeed, the generate error messages when they fail. | 20:47 |
Koheleth | http://pastebin.com/7BJKmCxH | 20:48 |
jmarsden | Unix was designed when terminals were 110 bits/second printing terminals like the ASR33, so minimising output was important. It is still helpful once you understand the principle. | 20:49 |
jmarsden | Koheleth: OK, we gained back 4GB or so which is enough for the moment. | 20:49 |
jmarsden | So now retry your apt-get update command and we will see if postgres can fix itself. | 20:49 |
Koheleth | sites still down | 20:50 |
Koheleth | kk | 20:50 |
jmarsden | Don't panic, we are not finished yet :) | 20:50 |
jmarsden | If apt get update and then apt-get upgrade work error free, we are almost there. | 20:51 |
Koheleth | yeah, went well | 20:51 |
jmarsden | OK. apt-get upgrade also ? | 20:51 |
Koheleth | sites down tho | 20:51 |
Koheleth | did update and upgrade | 20:52 |
jmarsden | OK. After the apt-get upgrade you can do /etc/init.d/postgresql-8.3 start | 20:52 |
jmarsden | and tell me what that does. | 20:52 |
Koheleth | Starting PostgreSQL 8.3 database server ... no errors | 20:53 |
jmarsden | Nice. Now see if your sites are working :) | 20:53 |
Koheleth | should I boot? | 20:53 |
jmarsden | No need. CHeck your web apps. | 20:53 |
jmarsden | Linux itself was still running, so there should be no need to reboot. | 20:54 |
Koheleth | nope sites the same | 20:54 |
jmarsden | rebooting is for kernel updates, and for Windows users :) | 20:54 |
jmarsden | Hmmm. Can you use Plesk now? | 20:54 |
Koheleth | I use win7 a bit | 20:54 |
Koheleth | let me see | 20:54 |
Koheleth | nope, cache? | 20:55 |
jmarsden | You can exit your browser and start it again if you want.... but more likely the lack of space broke something else as well as postgresql... | 20:56 |
Koheleth | geez | 20:56 |
jmarsden | So now we have to find what else needs to be restarted on your server. | 20:56 |
jmarsden | Do any of your sites/apps use MySQL? | 20:56 |
Koheleth | its why I like a gui | 20:56 |
Koheleth | all is mysql | 20:56 |
jmarsden | ? How does that help? Just adds complexity! | 20:56 |
jmarsden | Ah, OK. So what does /etc/init.d/mysql status output ? | 20:57 |
jmarsden | I am guessing that the lack of space caused mysql to die too... | 20:57 |
Koheleth | its stopped | 20:57 |
Koheleth | think we are there :) | 20:58 |
jmarsden | OK, so do /etc/init.d/mysql start and let's see if that works :) | 20:58 |
Koheleth | Guess what :) | 20:59 |
Koheleth | sites back up | 20:59 |
Koheleth | lovely jubbly | 20:59 |
Koheleth | Got plesk too | 20:59 |
jmarsden | OK. Good. Now... you still have a LOT of disk space being used somewhere that you need to deal with... but you can do that on your own, right, from the comfort of the GUI if you want. | 20:59 |
Koheleth | so I need to look at the back up settings | 20:59 |
jmarsden | You have 4Gb free when you should have maybe 100Gb free... so yes. | 21:00 |
Koheleth | brilliant | 21:00 |
Koheleth | ty so much, pm me an address and you will have some great wine on your way, ty very very much | 21:00 |
jmarsden | :) OK, and you are welcome. | 21:01 |
Koheleth | btw, anyone from Wales please signup to welshweb.net and bring it home folks lol | 21:01 |
Koheleth | who needs facebook eh lol | 21:02 |
Koheleth | Well all is fixed and my problem seems to be my site backup settings, on it now. I need a bigger HD on my server it seems or a bit more attention to my server imput and command :) | 21:11 |
guntbert | Koheleth: please have a look at the current used disk space - 4 GB free is nearly nothing, there will be more log files/backups/... | 21:15 |
Koheleth | I have 50 backups of a domain that should be 5, typo error | 21:17 |
Koheleth | getting rid of em now | 21:17 |
Koheleth | not a big site but 50 of em mounts up, ate my disk, funny I got no warning tho | 21:18 |
RoyK | guntbert: I have this 5 1/4" drive in my office, full-size, 1,2GB - now _that_ is a big drive | 21:23 |
RoyK | full-height, I meant | 21:23 |
RoyK | some 4" or so | 21:23 |
jmarsden | RoyK: I remember buying Seagate 40MB drives which were that size :) | 21:24 |
guntbert | RoyK: geometrically, yes, but on a server with logging and "backups"? | 21:24 |
RoyK | jmarsden: iirc those were only half-height ;) | 21:24 |
jmarsden | RoyK: I think the 2MB was half height and the 40MB was full, but it was a while ago :) | 21:25 |
RoyK | some time back in the mid eightees :p | 21:25 |
RoyK | I just dropped in - what's it about? root fs size? | 21:26 |
* RoyK can't be botherd reading 1000 lines of scrollback | 21:26 | |
Koheleth | actually looks like I left number of backups blank so it just kept backing up | 21:27 |
jmarsden | RoyK: Koheleth had a remote server fill up its root partition and so mysql stopped, etc. We found some old backups and deleted them and got him back up and running again. | 21:27 |
RoyK | that sort of thing fills up... | 21:27 |
RoyK | jmarsden: ah | 21:28 |
RoyK | separating backup target storage is sometimes a good idea | 21:28 |
patdk-lap | heh, I just noticed my rootfs on my home workstation was at 96% full | 21:28 |
Koheleth | only a 3gb personal site but it ate the disk | 21:28 |
patdk-lap | just finished cleaning it a few min ago | 21:28 |
RoyK | though, for most setups, I just use one large root drive | 21:29 |
Koheleth | got no email admin warning tho? | 21:29 |
RoyK | Koheleth: there is no automatic warning | 21:29 |
Koheleth | will check all | 21:29 |
RoyK | Koheleth: use Icinga (or nagios) or something to monitor it | 21:29 |
RoyK | have it send you an SMS if something goes badly wrong :P | 21:30 |
Koheleth | had it back up daily too | 21:30 |
RoyK | backup's for cowards | 21:31 |
patdk-lap | hehe :) | 21:31 |
patdk-lap | real people mirror the whole server, live to another server? :) | 21:31 |
Koheleth | I need to backup this chat too | 21:31 |
RoyK | patdk-lap: heh - that's nice when someone accidentially removes a subtree :P | 21:31 |
Koheleth | priceless | 21:32 |
Koheleth | like my new site at welshweb.net lol be a millionaire one day :) | 21:32 |
RoyK | welshweb in English? now that's the oxymoron of the day :) | 21:33 |
Koheleth | I need a translation pack, have someone working on it | 21:34 |
Koheleth | Cardiff uni students | 21:34 |
RoyK | I somewhat doubt it'll make you millions | 21:34 |
Koheleth | its not easy when you dont have resources lol | 21:35 |
Koheleth | actually I dont want millions just take the wELSH FROM fb LOL | 21:35 |
Koheleth | oops | 21:35 |
RoyK | reinventing facebook isn't really a good idea - see http://www.27bslash6.com/p2p2.html for more info :) | 21:36 |
guntbert | lets keep this channel for support - there is #ubuntu-offtopic .... | 21:37 |
Koheleth | hackers and spammers are a prob at the mo, someone put a shell.php script on there the other week and cleared the site lol | 21:37 |
Koheleth | just trying to bring it home a bit even though I live in France lol | 21:37 |
RoyK | Koheleth: hackers aren't the problem. writing sane php scripts and using good security is the issue | 21:37 |
RoyK | http://cache.gawkerassets.com/assets/images/4/2010/03/for_traffic_cameras.jpg | 21:38 |
Koheleth | thought I had it locked down but some used a music modul I had on there to hack it so I got rid of it | 21:38 |
Koheleth | yeah sry for the banta | 21:39 |
RoyK | or http://xkcd.com/327/ | 21:40 |
Koheleth | great support btw, tyvery much | 21:40 |
nimrod10 | what's the best tool to encrypt a partition after install ? | 21:40 |
RoyK | reinstall :P | 21:40 |
Koheleth | used to be able to do it on install if I remember | 21:41 |
jmarsden | nimrod10: Check out https://help.ubuntu.com/community/EncryptedFilesystemsViaUbiquity | 21:43 |
jmarsden | It's not quite what you are seeking, but could get you close. | 21:44 |
nimrod10 | thanks jmarsden , I can't believe I can't find a good howto for this kind of job :| | 21:44 |
jmarsden | I have seen someone else ask this before and could not find one then either... when you are done, please write it :) | 21:45 |
nimrod10 | might as well do it as it would help to have encrypted hdd in this day and age , with all these airport control routines | 21:49 |
Patrickdk | heh, I encrypt all mine after install | 21:54 |
lenios | why do you do it after? | 21:55 |
Patrickdk | my home system is fully encrypted, all 9gigs of it | 21:55 |
binBASH | do you have something to hide? ^^ | 21:55 |
Patrickdk | yes :) | 21:55 |
Patrickdk | that is the whole point of encryption | 21:55 |
Patrickdk | if you hide everything | 21:55 |
binBASH | I don't have :D | 21:56 |
Patrickdk | they will never find the hidden stuff with all the fluf | 21:56 |
Patrickdk | I have medical records from medical companys on my computer | 21:56 |
Patrickdk | so by law I must have my system encrypted | 21:56 |
binBASH | does encrypting hdd slow down general performance? | 21:56 |
Patrickdk | sometimes | 21:56 |
Patrickdk | I don't notice it often | 21:56 |
Patrickdk | transfers aren't an issue, but lots of random iops can be hell on it | 21:57 |
shadow66142000 | I'm having some issues getting an internet connection on a fresh 10.10 server installation. I can ping my router but not outside. I can provide more info, does anyone mind giving me a little help? | 22:24 |
nandemonai | shadow66142000: Got your gateway setup? | 22:26 |
nandemonai | And DNS I guess would be another to check. | 22:27 |
jmarsden | shadow66142000: pastebin your /etc/network/interfaces file so we can see how you set that up, please? | 22:27 |
shadow66142000 | no I don't think it's correct. It failed to auto configure during the installation | 22:27 |
shadow66142000 | k | 22:27 |
nandemonai | DHCP or static setup? | 22:28 |
nandemonai | So many variables :P | 22:28 |
lenios | must be static if it failed autoconfiguration | 22:28 |
shadow66142000 | it's going to take a moment to type that out. I can't ssh at the moment so I guess I have to hand type that out | 22:29 |
nandemonai | Not necessarily, might be getting DHCP from something other than the router (I use my server for example). | 22:29 |
shadow66142000 | and yes static. I have FIOS if that matters at all | 22:29 |
jmarsden | You can't ssh to the server from another workstation on the same LAN? | 22:30 |
jmarsden | That is not " issues getting an internet connection", that is issues with basic network setup :) | 22:30 |
nandemonai | shadow66142000: Might want to follow something like this: http://www.ubuntugeek.com/ubuntu-networking-configuration-using-command-line.html | 22:31 |
shadow66142000 | I can ping it but not ssh | 22:31 |
shadow66142000 | connection refused | 22:31 |
nandemonai | Hmm ssh is not blocked by ufw by default is it these days guys? | 22:32 |
nandemonai | I'm still on 10.04. | 22:32 |
shadow66142000 | and yes that is probably so. I'm not really a linux guy but have doing a lot more of it in past 6months | 22:32 |
genii-around | I don't think openssh-server is a default tasksel choice with lamp | 22:32 |
nandemonai | Oh yeah.. shadow66142000, you did install sshd right? :P | 22:32 |
jmarsden | too many cooks... who is going to help shadow66142000 work through this? | 22:33 |
nandemonai | When you get the option to install services with tasksel during install? | 22:33 |
* genii-around makes a pot of coffee instead | 22:33 | |
* jmarsden backs off and will let nandemonai help out. | 22:33 | |
nandemonai | shadow66142000: run 'sudo tasksel' on the server mate, make sure openssh server is install ;) | 22:34 |
shadow66142000 | I installed open ssh with the installation | 22:34 |
nandemonai | Hmm | 22:35 |
* RoyK just found an old CD with The Disposable Heroes of Hiphoprisy :) | 22:35 | |
nandemonai | Can you ping the box you're trying to remote in from the server? | 22:35 |
nandemonai | Totally can't type today. *grabs coffee* | 22:36 |
shadow66142000 | http://pastebin.com/HzBQiRQk | 22:36 |
shadow66142000 | yes I can ping it | 22:36 |
nandemonai | aha | 22:36 |
nandemonai | That looks ok. | 22:37 |
nandemonai | Wait no. | 22:37 |
nandemonai | GAteway | 22:37 |
nandemonai | Same as broadcast. | 22:37 |
jmarsden | gateway needs to the the address of the router, not .255 | 22:37 |
nandemonai | Thats your problem. | 22:37 |
nandemonai | Yup. | 22:37 |
nandemonai | Doesn't explain ssh being refused though. | 22:38 |
nandemonai | Might want to check ufw but I'm pretty sure it's allowed by default. | 22:38 |
jmarsden | shadow66142000: True. One issue at once. Edit that file to correct the gateway address (probably .1, maybe .254, you know your network) and restart networking | 22:38 |
shadow66142000 | k | 22:39 |
shadow66142000 | done | 22:39 |
genii-around | I wonder if ssh message said specifically refused or just timed out because endpoint can't get anywhere | 22:40 |
jmarsden | OK, now can the server do ping 8.8.8.8 successfuly? | 22:40 |
nandemonai | genii-around: Good point actually. Never set gateway as broadcast, I'm sure it would have some odd results. | 22:40 |
shadow66142000 | destination unreachable | 22:40 |
nandemonai | Ok next up is /etc/resolve.conf | 22:41 |
jmarsden | shadow66142000: OK... pastebin the output of ip route | 22:41 |
jmarsden | nandemonai: No, it is not, ping 8.8.8.8 does not use DNS :) | 22:41 |
shadow66142000 | blank | 22:42 |
nandemonai | Actually yeah don't mind me lol | 22:42 |
nandemonai | *slaps himself* | 22:42 |
jmarsden | shadow66142000: You have no routing table? Wow. You did /etc/init.d/network restart after the edit of gateway, right? | 22:42 |
shadow66142000 | yep | 22:42 |
jmarsden | Something feels wrong here... is rebooting the server simple and practical; I don't like doing that, but maybe it will help? | 22:43 |
shadow66142000 | it return no file | 22:43 |
nandemonai | Yeah that is rather odd. | 22:43 |
shadow66142000 | returned no file | 22:44 |
jmarsden | shadow66142000: You typed in the command ip route and the response was exactly "no file"? | 22:44 |
shadow66142000 | no I got that response with a restart | 22:45 |
shadow66142000 | I'll put the response of 'ip route' into pastebin | 22:45 |
shadow66142000 | http://pastebin.com/rGQkRV8B | 22:47 |
nandemonai | Did you typo that second . ? | 22:48 |
nandemonai | 192.168.1..0/24 | 22:48 |
shadow66142000 | yes | 22:48 |
nandemonai | Ok | 22:48 |
jmarsden | That looks OK apart from that. And now ping 192.168.1.1 works, but ping 8.8.8.8 does not? | 22:49 |
shadow66142000 | actually I'm not pinging the router now either | 22:50 |
jmarsden | Is the network cable plugged in? :) | 22:50 |
shadow66142000 | double checking for lights | 22:51 |
shadow66142000 | yep | 22:51 |
nandemonai | You mentioned a no file error when restarting the netowrking service? | 22:51 |
shadow66142000 | yes | 22:51 |
nandemonai | Something like: * Reconfiguring network interfaces... RTNETLINK answers: No such process | 22:51 |
nandemonai | Or similar? | 22:52 |
shadow66142000 | -bash: /etc/init.d/network: No such file or directory | 22:52 |
nandemonai | oh lol | 22:52 |
shadow66142000 | uh oh | 22:52 |
jmarsden | networking, rather than network, I think?? | 22:52 |
jmarsden | That might have been my thinko earlier. | 22:52 |
nandemonai | sudo /etc/init.d/network/interfaces restart | 22:52 |
nandemonai | hold up one sec | 22:53 |
jmarsden | nandemonai: No.... sudo /etc/init.d/networking restart | 22:53 |
shadow66142000 | done | 22:53 |
nandemonai | Oh of course. | 22:54 |
jmarsden | OK, any change? What can you ping now, if anything? | 22:54 |
nandemonai | Man I gotta get back into Ubuntu. | 22:54 |
shadow66142000 | router ping still failed | 22:54 |
nandemonai | Been stuck on RHEL builds at work. | 22:54 |
genii-around | Hm. Doesn't that bypass upstart's /etc/init/rc-sysinit.conf | 22:54 |
jmarsden | So you think we now are forced to do sudo service networking restart ?? OK, shadow66142000 you can try that. | 22:55 |
shadow66142000 | during installation I gave it the address 192.168.1.9 | 22:55 |
jmarsden | That should be fine. | 22:55 |
shadow66142000 | k | 22:55 |
nandemonai | Assuming it's not taken already ;) | 22:56 |
jmarsden | Just in case the old way is no longer usable and you need to use the new upstart-oriented way, try sudo service networking restart and then retest | 22:56 |
shadow66142000 | no don't see it used | 22:56 |
shadow66142000 | that returns 'restart: Unkown instance:' | 22:56 |
jmarsden | shadow66142000: Something feels weird here... can you try just rebooting the server and retesting? | 22:58 |
shadow66142000 | yep | 22:58 |
nandemonai | Speaking of which, any major changes from 10.04 - 10.10? | 22:58 |
nandemonai | I generally stick to LTS myself if I can. Thinking about building a new backup box over the next week or so. | 22:59 |
shadow66142000 | I know I was pinging it earlier | 22:59 |
shadow66142000 | I don't mind trying that version. I always end up on CentOS because I run into networking issues with Ubuntu. It very well may be me. | 23:00 |
jmarsden | I use 10.04 for servers, too. | 23:00 |
nandemonai | I wasn't really implying you downgrade, just curious really. | 23:00 |
shadow66142000 | yeah I know just sayin | 23:01 |
jmarsden | nandemonai: Since he doesn't have it running yet, it's unlikely he can provide much by way of advice on the differences yet :) | 23:01 |
nandemonai | Was a general question for the room :) | 23:01 |
uvirtbot | New bug: #289311 in exim4 (main) "Not clear what delimiter to use when configuring exim4 listen interfaces" [Wishlist,Triaged] https://launchpad.net/bugs/289311 | 23:01 |
shadow66142000 | the last time I did this I had a problem with the driver it installed on my network card. After reading forums turns out that particular version commonly got confused for one close to it | 23:01 |
shadow66142000 | I got a new network card this time | 23:02 |
nandemonai | I was actually starting to suspect a dodgy driver. | 23:02 |
nandemonai | What card? | 23:02 |
jmarsden | On a wired NIC? Seems very unusual. | 23:02 |
nandemonai | 99% work fine you do get a few annoying ones though, mostly internal chipset ones I've found. | 23:02 |
nandemonai | It's pretty rare. | 23:02 |
nandemonai | Especially post version 9+ | 23:03 |
_Techie_ | im having a problem with my bridge interface (br0 using eth0 and eth2) , i can ping across both interfaces from the server, but clients can only ping the server and inside their assigned interface | 23:04 |
jmarsden | _Techie_: Are you expecting the server to act as a router? | 23:04 |
_Techie_ | jmarsden, yes, i have it set up as a router | 23:05 |
jmarsden | OK, so all the packet forwarding stuff is on, etc. | 23:05 |
shadow66142000 | it's a netgear | 23:05 |
jmarsden | Huh? The sevrer is a netgear? | 23:05 |
nandemonai | Out of interest shadow66142000, run ifconfig -a make sure that the details look right for your interface. Especially that HWaddr section. | 23:05 |
nandemonai | IE is the MAC address shown. | 23:06 |
jmarsden | _Techie_: I don't think netgear makes PC server hardware... can you be clarify? | 23:06 |
shadow66142000 | no it is not shown | 23:06 |
_Techie_ | jmarsden, it should matter about packet forwarding, its a bridged interface, not two seperate interfaces with different ip's | 23:06 |
nandemonai | Think he means the network card jmarsden ;) | 23:06 |
nandemonai | shadow66142000: That is a problem then. | 23:06 |
uvirtbot | New bug: #307403 in exim4 (main) "Installing postfix therefore deleting exim4 didn't work" [Undecided,Incomplete] https://launchpad.net/bugs/307403 | 23:06 |
shadow66142000 | lenandemonai, let me copy that to pastebin | 23:06 |
uvirtbot | New bug: #443227 in exim4 (main) "cman" [Undecided,Invalid] https://launchpad.net/bugs/443227 | 23:06 |
_Techie_ | jmarsden, if your going to help 2 people at the same time, please not who says what, shadow66142000 said netgear | 23:07 |
jmarsden | _Techie_: If you want the server to accept incoming packets from a client on one interface and send them back out on aother interface, then you need to enable packet forwarding. | 23:07 |
jmarsden | _Techie_: You are correct, my mistake. | 23:07 |
jmarsden | The bridging will work for the server, but it will not route things from one subnet to another, as far as I know, on its own. | 23:08 |
_Techie_ | jmarsden, their not two subnets | 23:08 |
_Techie_ | do you even understand whats bridging does | 23:08 |
nandemonai | _Techie_: Been a long time since I tried this but don't you need to setup routes? | 23:09 |
_Techie_ | dont worry, i sorted it out anyway | 23:09 |
nandemonai | _Techie_: Or does bridging handle that? | 23:09 |
* nandemonai curious now | 23:09 | |
shadow66142000 | 'ifconfig -a' returned http://pastebin.com/gZ68hywE | 23:15 |
nandemonai | shadow66142000: That actually looks ok. | 23:16 |
nandemonai | It's picked up the mac address and come up ok so usually that means the interface driver is fine. | 23:17 |
nandemonai | So now you're basically not able to ping anything from the server? | 23:17 |
shadow66142000 | correct | 23:18 |
nandemonai | Frustrating. | 23:19 |
shadow66142000 | yes it is. I do want to say thanks for the help | 23:20 |
_Techie_ | shadow66142000, i arrived late, can you give me a few details, is the server meant to be a routing packets to an external interface? | 23:20 |
nandemonai | I'm guessing you've tested another cable etc? | 23:20 |
nandemonai | _Techie_: He's just trying to get his network interface working on 10.04 server. | 23:21 |
shadow66142000 | _Techie_, no | 23:21 |
shadow66142000 | 10.10 | 23:21 |
nandemonai | Sorry yeah 10.10 hehe | 23:22 |
_Techie_ | nandemonai, what have you tried so far? | 23:22 |
nandemonai | we've checked interfaces / ip route and ifconfig. All looks ok now. | 23:22 |
nandemonai | Did have gateway address set as broadcast but that's corrected now. | 23:22 |
_Techie_ | nandemonai, have you checked for a default gateway and DNS server? | 23:23 |
nandemonai | Weird thing is that he could ping before that change. | 23:23 |
nandemonai | Not DNS yet but he can't ping anything at the moment so it's gotta be something else. | 23:23 |
shadow66142000 | yeah nothing is resolving | 23:23 |
_Techie_ | hrmm | 23:24 |
nandemonai | shadow66142000: it wont until you can atleast hit your router and then dns | 23:24 |
nandemonai | We need to get it talking to the rest of the network first. | 23:24 |
shadow66142000 | have no idea if this matters but I have FIOS and use the router they provided Westell | 23:24 |
_Techie_ | shadow66142000, can you please describe your network in a pastebin, eg ip of your router, etc etc | 23:24 |
shadow66142000 | yep | 23:24 |
_Techie_ | shadow66142000, thanks | 23:24 |
nandemonai | shadow66142000: Shouldn't make a difference, you can't even ping your router at the moment. Little steps ;) | 23:25 |
shadow66142000 | no | 23:25 |
nandemonai | I have to head off for a while guys. Hope you get it sorted shadow ;) | 23:26 |
_Techie_ | nandemonai, okay, have a good time/sleep/day at work | 23:26 |
shadow66142000 | thx appreciate it | 23:26 |
shadow66142000 | http://pastebin.com/RpzbKngg | 23:31 |
_Techie_ | cool, and also the outpur of the route command please | 23:31 |
uvirtbot | New bug: #708023 in exim4 (main) "exim 4.74 released fixes CVE-2011-0017" [Medium,Confirmed] https://launchpad.net/bugs/708023 | 23:32 |
uvirtbot | New bug: #713855 in exim4 (main) "Merge exim4 4.74-1 (main) from Debian experimental (main)" [Undecided,New] https://launchpad.net/bugs/713855 | 23:32 |
shadow66142000 | http://pastebin.com/rGQkRV8B | 23:33 |
_Techie_ | shadow66142000, can i please get you to make your /etc/network/interfaces to look like this http://pastebin.com/ktYSbNX8 | 23:35 |
_Techie_ | is anybody here able to help me figure out why /etc/init.d/dhcp3-server isnt starting @ boot | 23:39 |
_Techie_ | shadow66142000, once your /etc/network/interfaces file looks liek that, issue a sudo /etc/init.d/networking restart | 23:39 |
shadow66142000 | k one sec | 23:40 |
nandemonai | _Techie_: it's in the default run level? | 23:41 |
_Techie_ | nandemonai, yes /etc/rc2.d/S40dhcp3-server | 23:42 |
nandemonai | _Techie_: Throwing you any errors or just not invoking? | 23:42 |
_Techie_ | not invoking, will start absolutely fine if started manually via /etc/init.d/dhcp3-server | 23:43 |
nandemonai | Hmm | 23:43 |
_Techie_ | items in that runlevel bother before and after it work perfectly fine | 23:44 |
_Techie_ | both* | 23:44 |
nandemonai | You used default-rc.d to add it? | 23:45 |
nandemonai | Sorry update | 23:45 |
nandemonai | update-rc.d | 23:45 |
_Techie_ | nandemonai, it added it when it installed via apt-get | 23:45 |
nandemonai | Shouldn't need to but try re-adding it. | 23:45 |
nandemonai | It's weird that it just skips it. | 23:45 |
_Techie_ | nandemonai, is there a log file for runlevels? | 23:46 |
shadow66142000 | _Techie_ sry about the delay | 23:48 |
shadow66142000 | those files match now | 23:48 |
shadow66142000 | and it's restarted | 23:48 |
shadow66142000 | but I can not ping my router | 23:48 |
_Techie_ | hrmm | 23:48 |
_Techie_ | very peculiar | 23:49 |
nandemonai | Not sure _Techie_ actually. | 23:49 |
shadow66142000 | yeah driving me nuts | 23:49 |
nandemonai | _Techie_: could try boot.log. | 23:51 |
nandemonai | It's not very verbose tho. | 23:51 |
_Techie_ | shadow66142000, one last time, output of ifconfig please | 23:52 |
shadow66142000 | take a sec cause I'm typing these out | 23:52 |
nandemonai | _Techie_: also try daemon.log | 23:52 |
nandemonai | _Techie_: If it's just skipping it for some reason though I'll wager it's not in those logs. | 23:53 |
_Techie_ | one sec, got a better | 23:53 |
_Techie_ | better idea* | 23:53 |
_Techie_ | sudo grep dhcp3-server -R /var/log/* | 23:54 |
nandemonai | lol true | 23:54 |
_Techie_ | http://sprunge.us/SIOJ | 23:54 |
_Techie_ | hrmm | 23:54 |
_Techie_ | i created a cronjob to try start it, it appears to be running but it still isnt starting | 23:55 |
nandemonai | Yeah not too helpful | 23:55 |
_Techie_ | hrmm, maybe if i move it to the end of that runlevel? maybe its somehow trying to start before something it depends on | 23:56 |
nandemonai | Hang on that's a good thought. | 23:56 |
nandemonai | Is the networking coming up first? | 23:56 |
nandemonai | It wont start without a static IP. | 23:57 |
_Techie_ | it should be, but it is starting on a bridge interface | 23:57 |
_Techie_ | which has a 30 second grace time | 23:57 |
_Techie_ | hrmm | 23:57 |
nandemonai | I think you've hit the nail on the head. | 23:58 |
_Techie_ | this is going to be tricky | 23:58 |
nandemonai | Sounds like what's going on. | 23:58 |
nandemonai | You could put a sleep in the init but that's pretty dirty. | 23:58 |
_Techie_ | the runlevel scripts will be long done before the end of the grace time | 23:58 |
nandemonai | There must be a better way | 23:58 |
_Techie_ | hrmm | 23:58 |
_Techie_ | ya, there must be | 23:58 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!