/srv/irclogs.ubuntu.com/2009/05/05/#ubuntu-server.txt

SFauconniermy ifconfig eth0: www.pastebin.com/f13cc017700:00
dayohmmm. the link says: "    * Unknown post id, it may have expired or been deleted "00:01
SFauconnierwhich one?00:01
dayoboth00:02
dayolinks*00:02
SFauconnierhm, they work in here in links00:02
dayoweird00:03
SFauconniersending you through dcc00:04
dayoSFauconnier: well, i guess i'm still an IRC newbie. how do i receive/view the sent files through dcc? what is dcc?00:05
SFauconnierwhat irc client do you use?00:05
=== mac9416 is now known as macBusy
dayoirssi00:06
SFauconniertype in /dcc get sfauconnier eth000:07
SFauconnierand /dcc get sfauconnier dhcpd.conf00:07
dayook, done. where do i find them?00:09
SFauconniergood question00:09
dayoaah. in my home dir00:09
SFauconnierI suppose somewhere in ~/.irssi00:09
SFauconnieror in your home dir00:09
SFauconnierhave no idea00:09
SFauconnieryou can set it with /set dcc_download_path00:11
SFauconnieryeah, default is ~00:11
dayook, hang on. let me have a look00:11
SFauconnierk, thanks00:11
captainkirkwhat command do i append to a cli command to pipe output to a file?00:11
hegurucaptainkirk: ">" to write to a file overwriting it, ">>" to append to a file00:12
dayoSFauconnier: is that your complete dhcpd.conf file?00:13
SFauconnieryes00:13
captainkirkheguru: ok, good, is it possible to add a variable in the command like 'todaysdate' so each time command is run it autocreates a new filename to output to?00:14
captainkirkheguru: like command > uniquefilename.log00:16
dayoSFauconnier: what did u set your eth1 to? what IP do u see when u type   ifconfig eth1 ?00:17
SFauconnier192.168.1.100:18
dayothat's odd. what does   ifconfig eth0  give u?00:18
SFauconnierow00:19
SFauconnierthat was eth000:19
SFauconniereth1 gives me my fixed IP00:19
hegurucaptainkirk: yourcommand > `date +%Y%m%d%H%M%S`.txt00:19
dayoso eth1 is still connected to your modem, then?00:19
SFauconnieryes00:20
hegurucaptainkirk: this would give you a filename of YEARmonthDateHourMinSecond.txt00:20
dayoarrgh.00:20
dayook, in your /etc/default/dhcp3-server file change INTERFACES="eth1"   to "INTERFACES="eth0"00:21
dayoSFauconnier: then try to restart your dhcp00:21
SFauconnierk, it started00:22
SFauconnierhas an 'ok'! :o)00:22
dayocool. on your client type:   sudo dhclient00:22
SFauconnierk00:22
SFauconnierdone00:23
dayoSFauconnier: it should spit out an IP at the end of the output. 192.168-something00:23
dayoright?00:23
SFauconnier"bound to 192.168.1.10 -- renewal in 248 seconds" you mean that?00:24
dayoawesome. so dhcp's working00:24
SFauconnieryeah00:24
dayonow try pinging google from your client00:24
dayoping www.google.com00:24
captainkirkheguru !! thanks..!!00:24
SFauconnierdoesnt output anything, just hangs00:25
SFauconnierwait00:25
SFauconnierI shall restart my switch, had trouble with that earlier00:25
dayook00:25
SFauconnierit hangs for about a minute and then says: "ping: unknown host www.google.com"00:26
dayoalso, what does ifconfig eth1  give u?00:26
SFauconnieron my client?00:26
dayono, server00:26
billybigriggercan anyone suggest a good webstats app? like webalizer, but something that outputs more info and looks better than webalizer?00:26
SFauconnierdayo: my fixed IP00:27
dayoSFauconnier: what is it?00:27
SFauconnier81.82.203.2600:27
captainkirkheguru. it seems to taking the text literally and creating file name exactly as typed instead of converting to Y m d etc00:28
captainkirkbillybigrigger: have u tried awstats00:29
hegurucaptainkirk: did you use ` instead of ' ?00:30
dayoSFauconnier: sudo /sbin/route add -net 192.168.1.0/24 gw 81.82.203.2600:30
hegurucaptainkirk: not a single quotation mark, but ` (usually located before number 1 key)00:30
captainkirkheguru... i used ' not `, so which is correct?00:30
dayoSFauconnier: and then   /etc/init.d/networking restart00:30
captainkirkheguru. ok trying that now00:30
hegurucaptainkirk: use `00:30
SFauconnierdayo: done00:30
dayoSFauconnier: try pinging00:31
billybigriggercaptainkirk, nope, but i will00:31
SFauconnierstill hangs00:31
SFauconniershould I restart services first?00:31
dayoyeah00:31
captainkirkheguru: the ` has fixed it... thanks,00:31
billybigriggercaptainkirk, installed awstats from repos, anything i have to configure or where does it spit the index.html out?00:32
SFauconnierstill hangs00:32
dayobrb00:33
SFauconnierwhich is strange btw, it didnt before00:33
captainkirkbillybigrigger: i have not used awstats on linux, only under apache on windows... 'eeeek' anyway.. the output and info was good.00:34
SFauconnierbefore it could find the domain's ip but had 100% packet loss00:36
captainkirkcan anyone explain this entry in the syslog file ---- May  5 06:50:13 emerald2 syslogd 1.5.0#1ubuntu1: restart.00:38
SFauconnierthis server is killing me, have to get up in 5 hours00:53
reidanyone able to tell me why there is no tab-completion for apt-get on my ubuntu-server?00:57
reidI have it on this lappy running desktop00:58
SFauconnierreid: what ubuntu version are you using?00:59
reid8.1001:00
XiXaQOemConfigServer seems nice. Has anyone here actually tried it?01:01
reidSFauconnier: I have bash-completion installed as well,  tab-completion works for everything that isn't apt-get01:02
SFauconnierreid: what output does "cat /etc/bash_completion | grep apt-get" give you?01:02
reidSFauconnier: turns out fine.. I think the reason why is because I was trying to tab-complete as root01:04
SFauconnieryes, won't work in root01:06
giovanireid: is there a reason why you're logged in as root?01:07
reidgiovani: because its a server, and I'm doing stuff over sh, and rather than typing sudo over and over again, I'm just sudo su'd01:07
reidgiovani: but its ok, I fixed it,  I just needed to do ". /etc/bash_completion" as root01:08
giovaniheh01:08
reidsh = ssh =P01:08
giovaniyeah, sudo allows for much more accountability01:08
reidnot doing anything dangerous, just moving files around in directories that I'd rather not chmod to 77701:09
giovani... why would you ever chmod 777?01:09
giovanisounds like you don't have a proper group setup01:09
reidbecause torrentflux requires its download folder to be 77701:10
reidyet I like to keep them in places that are not 77701:10
reidfor obvious reasons01:10
giovaniwhy would it require that?01:10
giovanithat doesn't make any sense01:10
reidbecause it has users that are not actual users on the server, they are only torrentflux webclient users01:11
giovaniuh01:11
giovanibut the process is running as a single user on the system01:11
giovaninobody cares about torrentflux users01:11
giovanithat's not a permissions issue01:11
reidfor some reason or another, it is required to put files in a directory that is 777, it will not work if you don't.  In this file it creates its web-user directories01:12
giovanisounds like there's a lack of understanding on someone's part here01:13
giovanithis is often how insecurity comes to be01:13
reidsounds like torrentflux specifically says "This directory MUST be chmodded to 777"01:13
reid=/01:13
giovanisounds like there's a lack of understanding on their part ... :)01:13
reidoh =01:13
reid=P01:13
giovaniwhere does it say that, btw?01:13
reidon the admin page where you set the download dir01:14
reidif you try to set a 755 or something to it, then it doesn't let you save settings01:14
giovaniright ...01:14
giovanibecause your groups haven't been set up properly01:14
reidDefine the PATH where the downloads will go01:15
reid(make sure it ends with a / [slash]). It must be chmod'd to 777:01:15
reidthats the exact wording on the page01:15
giovaniok01:15
giovaniI believe you01:15
giovaniit's just probably what they feel is the easiest way to get it set up01:15
giovanialbeit insecure, and stupid01:15
giovaniI'd really advise you to look at alternatives to torrentflux though01:15
giovanirtorrent and its guis are nice01:15
reidtorrentflux just has some features that I really like, since I have about 20 people who use it01:16
reidbut yeah, I would love to use rtorrent =P  I'm just lazy i suppose01:17
giovaniwhat features?01:17
reidmulti-user support,  multiple admins,  .tar http download, built-in tracker searches01:18
reidnot saying rtorrent doesn't have them01:18
giovanihmm, ok01:18
reidjust that I haven't done so much research on it01:18
reidand this is very friendly right out of the repos >.<  (lazy again)01:18
reidgiovani: the only problem I really have with torrentflux is the fact that it uses bittornado as a backend =P01:20
giovaniuh ... no kidding01:21
giovaniit's crap01:21
reidsoon I'll probably be switching to torrentflux-b4rt though and using transmission or something01:21
reidsomething at least better than bittornado01:21
giovanihaha01:23
twbWhy not rtorrent?01:29
reidexplained a few lines up01:29
twbRighto.01:30
reidI just wish I could find a easy, clean way to just patch Torrentflux up to b4rt01:31
=== ejat is now known as e-jat
PleXuSanyone can tell me how to use BD RE disc on linux ?02:22
PleXuSto backup data on it02:22
PleXuSlike normal hardisk :)02:22
jmedinawhat is BD RE?02:23
PleXuSBluray Rewriteable02:23
=== macBusy is now known as mac9416
slestaki think this problem is simpler than i am making it.  i want to scp files from one machine to another, to a similar named dir, NOT overwriting.  I just want the files that are not already there.  i do not see anything in the man page that will accomplish this02:57
slestaki'll just scp them all to a sae dir and us cp onthe dest machine03:01
=== ssd7 is now known as Guest64414
storrgiewhen i run a sudo command in ubuntu i see "sudo: unable to resolve host MYHOST"03:34
wizardslovakhow to configure mysql ?03:39
wizardslovaki cant set up root password03:46
J-_I'm currently running a server with 8.04 installed. Not really clean anymore since I've been messing around with configuration files trying to get my interfaces setup, but it's giving me trouble. Can someone guide me through the process of setting my server up to where it's both accessible from WAN, and LAN?03:46
storrgiehttp://pastebin.com/m7971f71303:51
wizardslovaktry sudo apt-get update03:51
wizardslovakthen try it again03:52
storrgieI did.03:54
storrgiealso a sudo apt-get install -f ufw03:54
J-_http://pastebin.ca/1412952 My interfaces and hosts config files. I don't think they are configured proper. Can someone check them out?03:55
J-_And, some advice too, please. :)03:55
storrgiehttp://pastebin.com/m7971f71303:56
twbJ-_: looks fine to me.03:56
twbJ-_: I think "network" is not needed anymore, though03:56
J-_twb: What's weird is I can't ping google. I can ping 192.168.1.100, and 192.168.1.1.03:57
J-_I'll remove network03:57
twbJ-_: fix your resolv.conf, then03:57
twbJ-_: you'll also need to fix your routing table.03:57
J-_where's resolv.conf? I can't seem to find, or locate it.04:00
wizardslovaki cant make password for root04:01
wizardslovakin mysql04:01
J-_/etc/resolv.conf :)04:01
J-_twb: http://pastebin.ca/1412960 Does that look alright?04:02
twbNo, that looks utterly stupid.04:03
J-_err, okay.04:03
twbHow do you expect to resolve the nameserver's name without a nameserver?04:03
wizardslovakmy nameserver is 192.168.1.1 lol04:04
Sarnuialhey... anyone feel like helping a noob with iptables configuration?04:05
Sarnuialwhat I04:06
Sarnuial^I'm trying to do04:06
uvirtbotSarnuial: Error: "I'm" is not a valid command.04:06
Sarnuialis basically looping a gateway through itself04:06
J-_twb: How would I configure the file?04:06
SarnuialI have a gateway which connects to the Internet, then my router connects to it, and all my other computers connect to the router04:06
twbJ-_: you need to identify name servers by IP, not by name.04:07
wizardslovakso u got modem ,router and PCs04:07
SarnuialI'd like to have any outgoing stuff on the gateway that didn't originate on the internal side of the router to loop back through the router and then go out the gateway, so I can track bandwidth statistics on the router04:08
storrgiehttp://91.121.193.183/torrentflux/04:08
storrgiehelp!04:08
Sarnuiali.e., have iptables set up so that04:08
Sarnuialif ($origin != 192.168.0.10) { $traffic->send('192.168.0.10'); } else { $traffic->accept(); }04:09
Sarnuial@storrgie: you modified the configuration php file?04:10
storrgieyes i did04:10
J-_Does freedns.afraid.org give you IPs? I don't think they do. And do I put their DNS nameservers in resolv.conf?04:11
twbJ-_: I have no idea.04:11
Sarnuial@storrgie: are you trying to use MySQL or PostgreSQL?04:12
storrgieSarnuial: mysql04:12
twbFor a typical domestic setup, resolv.conf is populated with the IP(s) of your ISP's name servers, by dhclient.04:12
Sarnuial@storrgie: ./adodb/drivers/adodb-mysql.inc.php exists?04:12
storrgieSarnuial: i think its an issue with adodb04:13
storrgie./?04:13
storrgiephp5-mysql is installed04:13
Sarnuial@storrgie: assuming you're in the main torrentflux directory; /var/www/torrentflux/adodb/drivers/adodb-mysql.inc.php is probably the full path04:13
storrgieim not sure how to check for adodb04:13
storrgiei installed torrentflux from repos04:14
storrgiethe main dir is now /usr/share/torrentflux/www04:14
storrgie:( not sure why04:14
storrgieshould I just apt-get remove torrentflux04:14
storrgieand download it?04:14
Sarnuialprobably04:14
Sarnuialbut first04:15
storrgiethe DB is ok, i know that much04:15
Sarnuialopen config.php and make sure $cfg["db_type"] is mysql, not blank04:15
Sarnuialshould be line... 3104:15
storrgieit is04:15
Sarnuialmkay...04:16
storrgierip it out?04:16
Sarnuialprobably a good place to start04:16
storrgiehow can i rip it out and remove the files04:16
storrgieremove --full or something?04:16
Sarnuialapt-get remove torrentflux and then dpkg --purge torrentflux04:17
Sarnuialthat should do it04:17
Sarnuial(nobody can help with my iptables issue? :( )04:17
storrgieSarnuial: i also have this :( http://pastebin.com/m7971f71304:18
Sarnuialhrm...04:19
Sarnuialthat's... weird04:19
Sarnuialtry apt-get install -f04:19
storrgietried that04:20
storrgiesame thing04:20
Sarnuialand if you do apt-get install python it says it's already there?04:21
storrgieyep04:21
storrgiei did it for python2.504:21
Sarnuialtry apt-get check04:21
Sarnuialthat fail too?04:22
storrgiehttp://pastebin.com/m286fbd0204:22
storrgieall kinds of things messed up04:22
billybigriggeranyone here use awstats?04:22
storrgieapt-get check worked fine04:23
SarnuialI'm not sure if I want to ask what you've done to this poor machine ;)04:23
billybigriggeri installed from repos, and edited the awstats.conf to my liking and i can't see any .html or .png's or anything in my webroot, is it supposed to spit out a stats page to my web dir or how do i run it, or what?04:23
storrgieits an OVH server04:24
Sarnuial@storrgie: I shouldn't have come on IRC this late... I've got to head off. I hope you can get it sorted.04:24
storrgieim not sure whats going on04:24
storrgiethanks04:24
mib_wwrjs9Does anyone know of any good tutorials for making a Home server on ubuntu, probably with just samba and preferably some method of easily adding users and allowing the users to change their own passwords? Also I'd like if it told me what exactly I was doing instead of just having me blindly follow steps.04:42
XiXaQsounds like you just need to install a normal desktop?04:43
Jeeves_billybigrigger: http://<yourhostname>/cgi-bin/awstats.pl04:43
billybigriggermy /var/www doesn't have a cgi-bin04:45
billybigriggeri saw that in the config, was i supposed to make one with proper perms?04:45
=== BlackKnight is now known as UdontKnow
billybigriggerhmm05:01
billybigriggerawstats seems to be off a bit05:01
=== MTeck is now known as MTecknology
billybigriggerwebalizer is showing 700+ hits since i had the webserver running and awstats shows 005:01
billybigriggerim highly doubtful all 700+ hits came from my local machine in the last week or 205:02
beawesomeinsteaddoes anyone know how to get rid of Virtual timer expired error?05:26
reidhi all, if I have ALSA working properly on my server, and would like to install pulseaudio.  what is the correct way to do this?  (I have already googled..) =P05:31
J-_Can I use ddclient with freedns.afraid.org?05:43
arhi06:33
J-_I can ping google's IP, but not the domain. Any ideas?06:44
twbJ-_: your name resolution is still fucked.06:57
twbYou can test this by attempting to resolve google.com instead of attempting to ping it, e.g. "host google.com" or "dig -x google.com" or "nslookup google.com"06:57
jmarsdentwb: dig -x is a reverse lookup... just plain    dig google.com   does normal name resolution.06:59
twbjmarsden: oops, thanks07:00
twb(I'm not a dig weenie, but my cow-orkers are.)07:00
J-_Meh I dunno07:05
* J-_ shuts his server off07:06
kaushalhi07:26
kaushalwhere does mysql server logs error ?07:26
kaushalI can not see it in syslog ?07:26
mixed_drinkhow do I disallow access to openssh server from a specific user?07:52
sorenmixed_drink: "DenyUsers username" in your sshd_config07:54
mixed_drinkthank you soren07:54
sorenmixed_drink: More info in "man sshd_config"07:54
mixed_drinkmuch thanks :)07:54
uvirtbotNew bug: #371728 in tomcat6 (main) "Please merge tomcat6 6.0.18-3 (main) from Debian unstable (main)" [Wishlist,In progress] https://launchpad.net/bugs/37172808:30
=== kwork is now known as kinnaz
twbIMO it'd be better to whitelist specific users08:49
=== scfh_ is now known as scfh
kaushalchecking again for my query ?09:21
DawnLightcan someone take a look at https://answers.launchpad.net/ubuntu/+source/samba/+question/70002 please?09:44
uvirtbotNew bug: #353529 in samba (main) "winbind crashes (dup-of: 286119)" [Undecided,New] https://launchpad.net/bugs/35352910:43
micahfhey, how can I have my gateway box give out opendns addresses?12:08
micahfso that I don't have to configure the dns addresses on every client?12:09
reenignEesreveRI've installed ubuntu server 8.04. I wanna make sure logrotate is working. I can't find it anywhere in cronjobs ... how do i make sure it works?12:09
reenignEesreveR:(12:13
ogra/etc/cron.daily/logrotate ?12:14
reenignEesreveRogra, the file exists ... it means it would run daily for sure?12:17
_rubenno, it will only run when the server's powered on at the time cron.daily's scheduled12:17
_rubenand crond's running, etc12:17
reenignEesreveR_ruben, could you please elaborate?12:18
_rubencron.daily usualy gets scheduled at about 6:25am or so .. if the server or any important software part it depends on isnt running, the daily jobs wont either .. which is just stating the (very) obvious12:19
ograwell, if it isnt run at 6:25 because the system was powered down, "atd" should care iirc12:20
ograon power up12:20
reenignEesreveRrighto :)12:22
=== dmesg is now known as edsoncanto
Malteserhello13:32
sommermorning13:33
* Malteser is searching for someone who can help him with postfix-virtual-users on a Ubuntu-Server 8.0413:34
ageekhello13:40
_rubenMalteser: might wanna ask some more specific questions13:41
Malteser_ruben: the problem is: the postfix smtpd receives and stores eMails but the smtp and pop login doesn't work13:43
Malteser_ruben: i tried to solve it via berkeley-DB files13:43
_rubensmtp auth i havent played with yet .. pop login has nothing to do with postfix13:46
Malteserboth doesnt work with my virtual users13:47
incorrectare there any plans to have a version of 8.04 amd64 that will work with core i7?13:49
Malteser_ruben: some idea where i could find something to fix my prob ... found nothing matching my prob all over the web ... also not in the postfix manpages13:50
_rubenMalteser: cant help with the smtp part, as for the pop part, you need to check your dovecot/cyrus/courier setup to see if it has virtual user support13:51
Malteser_ruben: k thanks ... i keep on searching13:55
_rubeni only started playing with virtual users (postfix+dovecot) recently .. got my first setup up and running yesterday :) .. now to migrate from local hashes to mysql13:57
Malteser_ruben: that sounds interesting ... can dovecot work with the smtpd_sender_login_maps hashes from postfix13:58
Malteser_ruben: or do i need an extra conf for that14:00
Malteserquit14:29
incorrecthas anyone had many problems with ext4?14:41
blue-frogno14:41
blue-frognow I speak for me not anyone14:42
incorrectso as ubuntu 8.04 amd64 won't run with the new core i7 xeon's should i just simply go to jaunty and start treating the OS as disposable ?14:43
blue-frogincorrect: ext4 is not enabled by default in jaunty anyway14:44
incorrectblue-frog, depends how you install it ;)14:44
blue-frogyou have to call for it14:44
incorrecti can see see ext4 as an FS option14:45
blue-frogthat's what I say: option14:45
blue-frognot default14:45
incorrectthe way i install nothing is default14:45
blue-froggood14:45
incorrecti am just irritated that i can't keep my platform on the same OS version14:46
incorrecti had backported everything i need to hardy and now i need to build the netboot with a new revision of the kernel, sigh14:48
incorrecti think going with making the OS disposable is the best way really14:49
g_manhello i just upgraded from ubuntu server 8.10 9.0415:34
g_manthis broke my ldap database15:34
g_mandb4.7_recover was processed without errors15:34
g_manbut it didn't work15:34
g_manslapd -d 5 exited with the following error:15:35
g_manbdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found15:35
g_manim kind of stuck now but cannot find any solution15:36
g_mani have the bdb database files15:37
g_manbut not the ldif files15:37
g_manany help is appreciated15:37
reidcould anyone help me install pulseaudio on ubuntu-server?15:37
reid8.1015:37
sommerg_man: maybe try db4.7_recover -c in /var/lib/ldap15:40
g_mandidn't work :(15:42
sommermaybe db4.6_recover?15:43
g_mandb4.6_recover: Unacceptable log file log.0000000001: unsupported log version 1415:43
sommerg_man: what if you move the log files to another directory then try the recovery15:44
g_mandb4.6_recover: Program version 4.6 doesn't match environment version 4.715:46
g_manbut thiout the -c fag worked now15:46
g_manthiout=without sorry..15:46
sommerso it's working?15:47
g_manbut I still cannot access it15:47
g_mandb4.6_recover went without errors but no change in the symptomps15:47
sommerso is slapd running?15:48
g_manim trying it seems to be stuck15:49
g_manno it crashed again with the same bdb_dn2id error15:49
sommerg_man: you might try sudo slapd -F /etc/ldap/slapd.d -h ldap:/// -d -115:50
g_manit didn't work i'm now looking for the error message there is much more output15:54
sommerg_man: ya, that puts slapd into debug mode15:54
g_man=> access_allowed: auth access to "cn=admin,dc=cifi,dc=local" "userPassword" requested15:56
g_man=> acl_get: [1] attr userPassword15:56
g_man=> slap_access_allowed: result not in cache (userPassword)15:56
g_manthis occurs over and over again is this an error?15:56
=== roaksoax_ is now known as RoAk
g_mani think the server is running but i cannot access it via phpldapadmi16:00
sommerg_man: what about a simple ldapsearch16:00
uvirtbotNew bug: #372233 in tomcat6 (main) "tomcat6 fails to start: "cd: 216: can't cd to /var/lib/tomcat6/temp"" [Undecided,New] https://launchpad.net/bugs/37223316:01
g_manldap_sasl_interactive_bind_s: Invalid credentials16:04
g_manSASL [conn=22] Error: unable to open Berkeley db /etc/sasldb2: No such file or directory16:07
g_manthis appears on the slapd console when i try ldapsearch16:08
g_manSASL Canonicalize [conn=22]: slapAuthcDN="uid=sysadmin,cn=digest-md5,cn=auth"16:09
g_manthese cn's don't exist16:09
g_manok i was able to connect as anonymous and all my ou's are gone!16:13
g_mani think it recovered the wrong version16:14
g_manok i think we should ditch this16:36
g_mani fuond an older ldif-backup but upon phpldapadmin imoprt it reports a constraint violation16:37
g_mani think the problemn is that the samba.schema is not added16:37
g_manbut i don't know/understand the new slapd.conf folder16:38
sommerg_man: there's instructions for adding the samba schema in the serverguide16:39
sommer!serverguide16:39
ubottuThe Ubuntu server guide may be found at http://help.ubuntu.com/8.04/serverguide/C/16:39
sommerhttp://help.ubuntu.com/9.04/serverguide/C/ rather16:39
g_mansorry :s im starting to get tired16:42
yann2mmh.16:48
yann2May  3 08:39:20 bladon kernel: [4619889.937303] BUG: soft lockup - CPU#0 stuck for 11s! [swapper:0]16:48
yann2that one surely doesnt look good.16:48
yann2anyone ever had this before?16:48
sorenyann2: Yes.16:49
yann2what can it be related to?16:49
yann2it s a fairly normal ubuntu server - munin, bacula, backuppc, mothing fancy16:49
sorenIn my case it was a lost interrupt to the I/O thread in a kvm-61.16:50
sorenErr.. 62, it must have been.16:50
yann2yeah - but that one isnt using kvm :(16:51
sorenIt can be literally a million different things.16:52
yann2hardware or software?16:52
yann2cause it basically crashed the server :D16:53
sorenyann2: Single CPU system?16:54
yann2dual dual core16:54
sorenAnd you only see these messages for CPU#0?16:55
soren...or are the similar ones for #[123] ?16:55
genii-aroundWeird. my whois previously worked. Now I'm getting "unknown host rejected x.x.x.x"        (where x.x.x.x is my actual static IP)16:56
yann2yhamon@bladon:/var/log$ cat kern.log | fgrep bladon  | fgrep lockup16:57
yann2May  3 08:39:19 bladon kernel: [4619878.147617] BUG: soft lockup - CPU#0 stuck for 11s! [swapper:0]16:57
yann2May  3 08:39:20 bladon kernel: [4619889.937303] BUG: soft lockup - CPU#0 stuck for 11s! [swapper:0]16:57
yann2same cpu but twice16:57
yann2actually its weird that it sayd its blocked for 11seconds at 1 second interval :)16:57
genii-aroundnvm, seems it's that specific whois server (for proxad.net)16:58
sorenyann2: Yes, it'll keep doing that forever, probably.16:59
soren"forever" as in "until you reboot".16:59
sorenyann2: 4619878.147617 and 4619889.937303 are 11 seconds apart, though. It's just the syslog that's lagging (for some reason).17:00
cyberspliceDo things exist after a reboot?17:00
yann2took me two days to notice as its my nagios box :(17:00
* cybersplice lapses into existentialism.17:00
sorenyann2: Well, it can't be completely hung. It's still logging stuff.17:00
yann2soren > no it is not17:00
yann2it stopped logging just after that17:00
yann2worth a support ticket?17:01
sorenIf it hasn't happened before nor since, there's not much to be done.17:02
nealmcbkees: I wonder if it would be helpful to add some more examples to https://wiki.ubuntu.com/UbuntuMainInclusionRequirements in the " Check for security relevant binaries" section.  E.g. "Add-ons and plugins for server software.  E.g. web applications, mail filters, etc."17:02
ivokstake care17:02
keesnealmcb: hmm17:03
nealmcbit is of course obvious to those who think about such things, but....17:03
nealmcbor perhaps a separate section for non-root server stuff...17:04
keesnealmcb: I think it's a good idea to add more examples.17:05
nealmcbkees: we were just talking about webmail systems in the server team meeting17:05
nealmcbhttps://wiki.ubuntu.com/ServerTeam/MailServer17:06
keesnealmcb: "* Add-ons and plugins that perform additional tasks (filters, scanners, UI skins, etc)"   ?17:06
nealmcbkees: The main point seems to be that it hooks into other security-sensitive things, like servers or privileged desktop software17:08
keesnealmcb: hrm, perhaps I'm not understanding.17:08
nealmcband I think adding "web applications" in particular (a very common and problematic class) would help17:09
keesnealmcb: that's a pretty giant class of software17:09
nealmcbAdd-ons and plugins to security-sensitive software (web applications, mail server filters, UI skins, etc)17:10
keesah! gotcha.  adjusting...17:10
keesjdstrand: does Ubuntu shadow need to continue to carry the passwd.postinst that cleans up the vmbuilder password glitch?17:33
jdstrandkees: no, I don't think so. it is only in vmbuilder created images, and vmbuilder in the affected version of vmbuilder (intrepid) can't build karmic images17:38
jdstrand(without hacking anyway)17:38
jdstrandfrom the USN:17:39
jdstrandThis vulnerability only affects virtual machines created with vm-builder under Ubuntu 8.10, and does not affect native Ubuntu installations.17:39
keesjdstrand: okay, I'll drop it from the merge.17:40
LHChow much would a dedicated server, 250gig, 2gig ram, unlimited 100mbit line cost17:52
zulmathiaz: do you still use bzr to take care of dovecot?18:24
mathiazzul: yes18:25
mathiazzul: let me update the branch in lp18:26
zulmathiaz: okies18:26
mathiazzul: lp:~ubuntu-core-dev/dovecot/ubuntu has been updated18:32
zulthanks18:32
mathiazzul: this branch is actually based on the svn branch from the debian svn repostiory18:35
mathiazzul: however I can't mirror the debian svn branch in LP - so it's a local branch18:35
zulmathiaz: do you want to upload it to the archive?18:35
mathiazzul: and to add to the matter the svn branch has changed in debian18:35
mathiazzul: yeah - I'll give it a try18:35
mathiazzul: I've been using dovecot as playground for bzr-builddeb and getting used to a bzr based workflow for packages.18:36
zulhow is it going so far?18:36
wizardslovakhello people19:26
wizardslovakdo you know any free domain name rgistration service?19:26
=== fevel is now known as fevel-away
zoopsterwizardslovak: hello...no more free domain registrars exist19:31
wizardslovaklol19:35
wizardslovakgood to know19:35
wizardslovaki got couple questions19:35
wizardslovaki am noob with ubuntu server19:35
wizardslovakand i would like to host my own web site19:35
wizardslovakis my 30mbit isp connection enought??19:35
beawesomeinsteadwizardslovak: co.cc19:36
beawesomeinsteadhaha19:36
wizardslovak??19:37
beawesomeinsteadwizardslovak: you can register free domain @ co.cc, i meant :-)19:37
wizardslovaklol19:38
=== jimmy51__ is now known as jimmy51_
gpledwas thinking of using ubuntu server for a postfix box.   how can i find out, what version of bind and postfix, the server addition would be using?19:40
beawesomeinsteadgpled: @ packages.ubuntu.com19:40
beawesomeinsteadthere's also aptitude command by i forgot it :-p19:41
beawesomeinstead*but19:41
wizardslovakis 250gb traffic on web host enought?19:46
beawesomeinsteadwizardslovak: for static pages but not for warez movies19:47
wizardslovakfor regular web site19:47
beawesomeinsteadwizardslovak: i would say yes if regular is less then 87381 views of 100KiB page per day19:48
beawesomeinstead^ is for 250GB/month19:49
wizardslovakis better to get hosting or use my server do host site?19:49
uvirtbotbeawesomeinstead: Error: "is" is not a valid command.19:49
beawesomeinsteadwizardslovak: depends: for a relatively small site (<1000 visitors per day) i would use either my home server or shared host19:50
beawesomeinsteadwizardslovak: for a bigger one i would get a linode (linode.com) or a slice (slicehost.com)19:50
beawesomeinstead*i prefer linode19:51
beawesomeinstead**if you know how to manage vps of course19:51
wizardslovakwhat about godaddy hosting?19:55
gpledbeawesomeinstead: thanks19:58
beawesomeinsteadwizardslovak: i personally hate their support, i wouldn't use godaddy (IMHO)19:59
beawesomeinsteadgple: np19:59
gpledditto on godaddy19:59
wizardslovakwell i will use godaddy as domain register19:59
wizardslovakso far 8.99/year for .us20:00
wizardslovakgood deal lol20:01
wizardslovak??20:01
beawesomeinsteadmy current stack is: Linode+Slicehost (both) / Moniker for domains / DNSMadeEasy for DNS hosting. Both Linode and Slicehost are reputable companies with awesome support20:01
=== fevel-away is now known as fevel
wizardslovakwhat is "dns made easy" for?20:02
gpledbeen happy with DNSEXIT.COM20:03
beawesomeinsteadwizardslovak: DNS hosting -- they provide ip anycast, DNS failover with system monitoring, etc, etc, but you don't need it for regular site20:04
beawesomeinsteadgpled: i wish i could afford dynect20:04
wizardslovakbeawesomeinstead: thank you20:05
wizardslovaki am noob with all this lol thats why i ask20:05
wizardslovakoo i see that moniker has 7.29/year for .us20:05
beawesomeinsteadnp, glad if i was helpful20:05
gpledwonder what distro dynect runs20:05
beawesomeinsteadgpled: Apache/2.2.11 (FreeBSD) mod_ssl/2.2.11 OpenSSL/0.9.8e DAV/2 PHP/5.2.9 with Suhosin-Patch20:06
wizardslovaki got ubuntu server up and running but still i want to learn it more lol20:06
wizardslovakso i decided to get web site and try it on my LAN untill ill learn how to make server be visible to WAN20:07
wizardslovaklol20:07
beawesomeinsteadwizardslovak: this is called "staging environment" :-p20:07
wizardslovaklol20:07
wizardslovakok another question20:08
wizardslovakwhere can i find cheapest domain name reg?20:09
wizardslovaki am looking for .us only20:09
beawesomeinsteadwizardslovak: 7.29/year is a pretty good deal20:09
foxbuntuwizardslovak, I usually do mine through godaddy.com20:10
wizardslovakyea i found it on moniker20:10
wizardslovakgodaddy is 8.9920:10
foxbuntuwizardslovak, yeah...they can be a little more20:10
foxbuntuI just have had good luck with the support and such20:10
oruworkwhich kernel is used in 9.04 ?20:10
gpledwizardslovak: want to careful on just looking at price.   iv seen places just fall off the world, when you against a time line.  cant get ahold of them sometimes20:11
foxbuntuorudie, 2.6.2820:11
wizardslovaki used to have godaddy , but when my domain expired , and wanted to get it again i couldnt get no reply from customer support20:11
wizardslovakwell i think i will go for godaddy for domain registration20:13
wizardslovakcan i pay on moniker with paypal?20:14
=== jes__ is now known as XiXaQ
wizardslovakok so i got .us for 3 years for $22.7420:20
wizardslovakbeawesomeinstead:  how long will it take with moniker for my domain to be registered? i see payment has been cleared out20:21
beawesomeinsteadwizardslovak: like 5-10 minutes20:29
wizardslovakok so lets wait20:29
wizardslovakcheck this , should i folow it to make web server ?? http://net.tutsplus.com/tutorials/php/how-to-setup-a-dedicated-web-server-for-free/20:29
oruworkwizardslovak-> are you going to host it from home ?20:31
wizardslovakwell not now20:31
beawesomeinsteadwizardslovak: it's pretty standard configuration that works out-of-the-box with minimal config requirements, i bit disagree with partitioning section20:31
beawesomeinsteadwizardslovak: if you don't have physical access this tutorial is pretty useless20:32
beawesomeinstead*to server20:32
wizardslovakphysical access??20:32
wizardslovakits right next to me , running20:32
wizardslovaklol20:32
wizardslovaki got router and server , how will other PCs from WAN see my server?20:33
oruworkwith port forward20:33
beawesomeinsteadoh, i thought "are you going to host it from home ? well not now" means that you don't :-)20:33
beawesomeinsteadi would use DMZ option20:33
beawesomeinstead*demilitarized zone20:34
wizardslovakbeawesomeinstead: first i  want to learn server , when i will be comfortable enought with it i will host it20:34
wizardslovaki have 30mbit isp with static ip20:34
wizardslovakmy router is dd-wrt20:34
* beawesomeinstead is jealous20:35
oruworkwizardslovak-> which isp ?20:35
beawesomeinsteadoptonline?20:35
wizardslovakyes20:35
oruworki have the same thing, but home package20:35
wizardslovakthat bussiness package20:35
beawesomeinsteadyeah a friend of mine uses it, they restrict access to mail from overseas :-p20:36
oruworkits really not worth to pay opt online to have a server at home20:36
oruworki learned that over the years20:36
wizardslovakoruwork: for now its good, and still its for learning purposes20:36
wizardslovakwell i kinda dont pay it lol20:36
wizardslovakmy friends needed internet for wireless so i carge him $10  a month20:37
wizardslovaklol20:37
oruworkmake sure you have a UPS connected to the box20:37
wizardslovakuninterupted power source20:37
wizardslovakok so lets talk about that DMZ20:38
oruworkdont use it20:38
oruworkdo you have the server installed ?20:38
wizardslovakyes i do with openssh and LAMP20:38
beawesomeinsteadoruwork: why not?20:39
oruworkok so forward port 80 to the server box20:39
oruworkcause DMZ disables the firewall, all ports are open20:39
wizardslovakso if i will forward it to server , will other PCs on LAN be able to browse internet?20:39
beawesomeinsteadoruwork: then he could use iptables/ufw to learn how to firewall20:39
oruworkyes beawesomeinstead20:39
wizardslovakcan i forward other port? or it has to be 80 only?20:40
oruworkwhich other port?20:40
wizardslovakwell i am just curious20:40
beawesomeinsteadwizardslovak: you'll probably need 22 -- ssh, if you want to control your box from outside20:41
oruworkfor now you only need port 8020:41
oruworkyes 22 also20:41
wizardslovakok so if you can guide me i will appreciate it20:41
wizardslovaklets do 22 first20:41
beawesomeinsteadwizardslovak: something like http://www.dd-wrt.com/wiki/index.php/Port_Forwarding20:42
wizardslovaklol i know how to forward port in ddwrt20:42
wizardslovaki though you got to do something in server20:42
oruworkno20:43
beawesomeinsteadah, no, you do not20:43
oruworkjust forward port 80 and 2220:43
oruworkyou know the ip of the server right ?20:43
wizardslovakyes20:43
wizardslovakthats how you log to server via ssh20:43
wizardslovakssh xxx.xxx.xxx.xxx20:43
beawesomeinsteadsorry guys, i'm too sleepy, gotta go to bed ...20:44
oruworkwhich box do you ssh from ?20:44
oruworklater beawesomeinstead20:44
wizardslovakfrom laptop20:44
oruworkwhich OS ?20:44
wizardslovakbeawesomeinstead:  good night20:44
wizardslovakoruwork: kubuntu20:45
oruworkuhu nice20:45
wizardslovakok port 22 is forwarded to server20:45
oruworkok20:45
oruworknow port 8020:45
wizardslovakwell laptop is dualboot , but i couldnt make openssh work in xp20:45
oruworkand give me the ip or domain to try ti20:45
oruworkyou can use putty.exe in xp20:46
wizardslovakok but as i said will other computers be able to browse internet??20:46
oruworkyes20:46
wizardslovakok port is open20:47
oruworkok do you have a domain set up20:47
wizardslovakwell i bought domain but its not showing up yet20:47
oruworkok whats your ip20:48
wizardslovakalhough i have there test site on server20:48
wizardslovaki sent it to you in PM20:48
wizardslovakthere is sentence on that site20:48
wizardslovaksent me what it says and i tell you if it is20:48
wizardslovakright20:49
wizardslovakit works here20:49
oruworkit works on lan ?20:50
wizardslovakyes20:50
oruworkit shows it works right ?20:50
wizardslovakyes i see the site20:50
oruworki cant access it20:50
oruworki ussume if you did the port forward correctly, your isp is blocking it20:50
wizardslovakwait20:50
oruworkblocking port 8020:50
oruworkyou can go to optimum online control panel and open it since you have the business package20:51
wizardslovaki forgot to unblock it20:51
oruworkoptimum boost20:51
oruwork:)20:52
wizardslovakgive me a sec20:52
wizardslovakdamn i forgot my optimum id20:54
oruworklol20:55
oruworkcall them have them unlblock it for you20:55
oruworkcall the business number, this way you'll get in touch with someone much quicker20:55
oruworkeven if you dont have a business account, they'll still help you out20:55
wizardslovakproblem is my phone is broken lol20:56
wizardslovaki am trying to get them on live chat but it says "your os isnt supported" lol20:56
wizardslovakwait ill use my bros xp20:56
wizardslovakbrb20:56
wizardslovakok i got it21:05
wizardslovaki didnt have account created lol21:05
wizardslovaki see that ports 80 and 25 are off21:05
wizardslovakoruwork: still here??21:07
oruworkyup21:07
oruworkport 25 is for mail21:07
oruworkemail21:07
wizardslovakok i see21:07
oruworkso unless you plan on setting an email server, leave that alone for now21:07
oruworkfor your own protection21:08
wizardslovakso i will open 8021:08
oruworkyup21:08
wizardslovakok it says i have to restart modem21:09
wizardslovakbut try now21:09
wizardslovaki will restart my modem21:09
wizardslovakbrb21:09
oruworkyup21:09
oruworkit works21:09
wizardslovakok now it should work21:10
wizardslovaktry it21:10
oruworkit works21:12
oruworkbaran ?21:12
wizardslovakhehe so it works21:12
oruworkbaran as in sheep ?21:12
oruworkmale sheep ?21:12
wizardslovakyes21:13
oruworkok21:13
oruworkrussian ?21:13
wizardslovakpolish21:14
wizardslovakso my server works heheh21:14
oruworkyup21:14
oruworkset up vhosts21:14
oruworkyou can run multiple domains on one server21:15
oruworkseparate websites21:15
oruworkall on one server21:15
wizardslovaknow what should i do  so when people will type my web.us  it will redirect them to my server21:15
oruworkso web.us is your domain ?21:16
wizardslovaknah domain is wizzy.us21:16
oruworkok, who did you buy the domain from ?21:16
wizardslovakmoniker.com21:16
wizardslovakbut it still doesnt show21:17
oruworkwhat do you mean doesnt show ?21:17
oruworkthe nameservers are set up21:18
oruworknow you need to set up DNS records21:18
oruworknot in your server, but in their control panel21:18
wizardslovakwhen i log into account  and i click on "my domains" i dont see wizzy.us21:18
oruworkhmm21:18
foxbuntuwizardslovak, it might now show up for 24-48 hours21:19
wizardslovakooo so i gotta still wait21:19
foxbuntus/now/not21:19
wizardslovakwell ok if i will see it there21:20
wizardslovakhow do i know which name servers i myne?21:20
oruworkdig wizzy.us NS21:20
wizardslovakin dd-wrt i see dns 1,2,321:20
oruworknot in your router21:21
wizardslovaki think those are my nameservers???!21:21
oruworkthe nameservers of your domain will show if you type 'dig wizzy.us NS'21:22
wizardslovakwhere should i type it?21:22
oruworkin the terminal window21:22
wizardslovakof server?21:22
oruworkyou can21:23
oruworkanyone can type it21:23
wizardslovakok i see ns1.domainservice.com21:23
oruworkyup21:23
oruworkso now you have to point your domain to the ip adderss21:24
oruworkthe one you gave me21:24
wizardslovakso when my domain will show in moniker i should change their nameservers , to myne?!21:24
oruworkbut you say that your control panel is not ready yet21:24
oruworkno dont change the nameservers21:24
wizardslovakwell its not yet, but i iwant to know what should i do later when it will be21:26
oruworkif your package includes DNS services they should give you the ability to point your domain to your server's ip21:28
wizardslovakit has "manage DNS"21:28
oruworkok go in there21:28
oruworkthere you add ip addresses21:29
wizardslovakwell still shows error21:30
oruworki really dont know how long its gonna take for them to get it set up21:30
oruworktry contacting them and find out21:30
wizardslovakwell some said 10 minutes some 48 hours21:30
wizardslovakok so basically i made my own server (with your help)21:31
oruworkyeah there is much more on your journey though21:32
wizardslovakwell i am happy aNYWAYS21:32
wizardslovakok do you still have time?21:32
oruworkyup21:32
wizardslovakfunny think i got server and domain but dont have web site lol21:33
wizardslovakall of files which are coming with website should go to /var/www???21:33
oruworkyeah, but you should set up vhosts21:34
wizardslovakvirtualhost?21:34
oruworkso you'll have21:34
oruworkseparate websties21:34
oruworkyup21:34
oruworklike21:34
wizardslovakbut i will have only one21:34
oruwork/var/www/site1.com /var/www/site2.net /var/www/site3.org21:34
oruworkset it up its not gonna hurt for the future21:35
geniiLets say I have 3 dd images ... sda.img sdb.img sdc.img   and they are of the drives which compose a raid5. Any way to make for instance an md device using just the images? (without copying them back to 3 actual drives)21:35
wizardslovakok so make only folders?21:35
wizardslovakok my domain name is active21:36
wizardslovakwell i see my domain21:39
wizardslovaki see all dns for my domain and they are same as in my server21:41
wizardslovakwhere should i change ip to my servers ip21:41
wizardslovaki should change host name in my server?21:43
oruworkno21:44
oruworkhttp://pastebin.com/m176e655821:44
oruworkthis is an example from my DNS manager21:45
=== ahe_ is now known as ahe
wizardslovakok cause over here it asks me for host name , ip and record type21:45
wizardslovaklets change my domain name on server21:46
oruworktype 'hostname'21:46
oruworkit should give you your host name21:46
wizardslovakok i got it21:46
wizardslovakUbuntuServer21:46
oruworkok21:46
wizardslovaki can use it21:47
wizardslovakright21:47
oruworkwhat are the choices for record type ?21:47
wizardslovakadress,cname,ms,txt21:47
wizardslovaki selected adress21:47
oruworkok21:48
wizardslovakand now my ip,right?21:48
oruworkyup21:48
oruworkthe external ip21:48
wizardslovakok done21:48
oruworkyou have to wait for it to propagate21:49
wizardslovakwell i typed wizzy.us but it doesnt show21:49
oruworkgotta give it time21:49
oruworkcould take upto 1 hour21:50
wizardslovakok21:50
wizardslovakso when someone will type wizzy.us , dns will convert it to ip and send it to my server , server will then open index.html21:50
wizardslovakright?21:50
oruworkyup21:51
wizardslovakok21:51
wizardslovakhow to make those vhosts?21:51
wizardslovakmkdir /var/www/wizzy.us21:51
wizardslovak??21:51
oruworkwait21:52
foxbuntuwizardslovak, google apache vhost, they are conf files in /etc/apache2/sites-enabled/21:52
wizardslovakfoxbuntu thank you21:52
wizardslovakalthough i prefer when someone actually guide me thru process21:53
wizardslovakwhat is good about have vhosts?21:53
foxbuntuwizardslovak, the reason I told you to goolge for it was because a vhost is a custom config file based on your needs, the documentation will explain the different pieces of the vhost so you can make an educated decision21:54
wizardslovakoooo21:54
wizardslovakthank you21:54
uvirtbotNew bug: #372399 in samba4 (universe) "tevent packaging problems in samba4" [Undecided,Fix committed] https://launchpad.net/bugs/37239921:56
wizardslovakoruwork:  maybe i should do firewall in server?!21:56
oruworkno21:56
foxbuntuoruwork, why?21:56
wizardslovaky not?21:57
oruworkfor what ?21:58
wizardslovaknot getting vruses or stupid adds21:58
foxbuntuits an external facing apache server correct?21:58
foxbuntuwizardslovak, firewalls are not web content filters21:58
oruworkbut he only has like 2 ports open on his server21:59
wizardslovakyes 22 and 8021:59
wizardslovakoruwork guided me , thankk you21:59
foxbuntuhow are they filtered now?21:59
oruworkwith his router21:59
reidlol, filling up mpd's database is taking so long22:00
foxbuntuso there is already a firewall/NAT device in place?22:00
foxbuntu...then no ufw is not needed22:00
wizardslovakyes  i got ddwrt router22:01
foxbuntuk22:01
foxbuntuthen you should be fie22:01
foxbuntus/fin/fine22:01
wizardslovakok oruwork , site still doesnt work22:02
oruworkok i'm out now, so maybe foxbuntu can take over ?22:02
wizardslovaklol thank you for your help22:02
foxbuntuoruwork, we'll see I have run soon too22:02
wizardslovaklol22:02
wizardslovakwell everything is done22:02
oruworkwizardslovak-> if you have done everything correctly and i think you have, you should give some time for the domain to propagate and update its domain records22:02
wizardslovakok22:03
wizardslovakone more think22:03
wizardslovakso i will make folder /var/www/wizzy.us22:03
foxbuntuwizardslovak, internet root servers take anywhere from 6-48 hours to update domain names22:03
foxbuntuwizardslovak, no22:04
wizardslovakthen put index.html and files to that folder22:04
wizardslovakand change apache conf22:04
foxbuntuchange /etc/apache2/sites-enabled/default22:04
wizardslovakok22:05
wizardslovakopen it with text editor22:05
foxbuntuyup22:05
wizardslovaknothing is in there22:05
wizardslovaki am using nano22:06
foxbuntuperhaps its 000-default22:06
foxbuntuchange /etc/apache2/sites-enabled/00-default22:06
foxbuntuer22:06
foxbuntuchange /etc/apache2/sites-enabled/000-default22:06
wizardslovakok i see it22:07
wizardslovakwhat should i change there22:07
foxbuntuanything that refers to the path /var/www make it /var/www/wizzy.us22:07
wizardslovakdocument root, directory22:08
wizardslovakshouldnt i make flder first?22:08
foxbuntuyou can change it then add the dir22:09
foxbuntuyou will need to have apache re-read the conf before it takes effect22:09
wizardslovakok22:10
foxbuntuuse this to add the dir: sudo mkdir /var/www/wizzy.us && sudo chown root:www-data /var/www/wizzy.us22:10
wizardslovakdone22:10
foxbuntuthen do this: sudo /etc/init.d/apache2 force-reload22:10
foxbuntuthen you should be set22:10
wizardslovakok it says done but  i got also this "Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName"22:12
foxbuntuwizardslovak, thats ok, it wont effect the server22:12
foxbuntuwizardslovak, you can google it to learn more about it and why it happens22:13
foxbuntuwizardslovak, I don't have enough time remaining to explain it sorry22:13
wizardslovakok thank you for help22:14
foxbuntuwizardslovak, I do want to point something out, although I, and most of the people here are generally willing to help answer questions, if someone asks you to google it it usually because its easily found and well documented. As everyone here is helping on a voluteer basis, documented answers are commonly pointed out.22:18
wizardslovakok sorry about it22:18
foxbuntuwizardslovak, its ok, I am pretty easy going about stuff, but some aren't and I don't want you to get discouraged by that. Google is an Ubuntu User's best friend22:19
wizardslovakhehe22:19
wizardslovakthnks for warning22:19
foxbuntunp22:20
foxbuntuI have to go now.22:20
foxbuntugl with the server.22:20
wizardslovakok thank you for your help22:20
wizardslovakhave a nice day then22:20
billybigriggerif my isp has port 25 blocked, is there any possible way i can run a mailserver? i found not problems in recieving mail, but outbound on 25 is blocked...any known workarounds for this?22:30
ivokssure22:30
ivoksin postfix's master.cf enable port 58722:30
RoAkSoAxivoks, heya master, I've been working on other 2 packages already :)22:30
ivoksRoAkSoAx: great22:31
billybigriggerivoks, what is port 587?22:31
ivoksbillybigrigger: also called submission22:31
billybigrigger#submission inet n       -       -       -       -       smtpd22:32
billybigriggeruncomment that line?22:32
billybigriggerthats the only entry for "submission" i found22:33
ivoksyes22:33
billybigriggershould i comment out the above line for smtp?22:33
billybigriggeror just leave everything as it is22:33
ivoksleave it22:34
billybigriggeri dont think its defaulting to port 2522:36
billybigriggererr 58722:36
ivoksdid you restart postfix?22:36
billybigriggerMay  5 15:35:32 alixandria postfix/smtpd[4884]: disconnect from alixandria[127.0.0.1]22:36
billybigriggerMay  5 15:36:02 alixandria postfix/smtp[5037]: connect to mx3.hotmail.com[65.55.37.72]:25: Connection timed out22:36
billybigriggerMay  5 15:36:32 alixandria postfix/smtp[5037]: connect to mx3.hotmail.com[65.55.37.120]:25: Connection timed out22:36
billybigriggerstill using port 2522:37
billybigriggeryes i did a sudo postfix reload22:37
ivoksthat's outbound traffic22:37
billybigriggeror is a init.d/postfix restart required?22:37
billybigriggeryeah22:37
billybigriggerthats my problem22:37
billybigriggeri can't send mail on port 2522:37
ivokswell, nothing much you can do there22:37
billybigriggerhaha22:37
billybigriggerk22:37
billybigriggerthats what i was asking, if my isp has port 25 blocked is there any workarounds?22:37
wizardslovakwhat isp you got?22:38
billybigriggershaw22:38
billybigriggerim in canada22:38
wizardslovaklol my isp allows to use 25 and 8022:38
billybigrigger80 is no problem here22:38
billybigrigger25 is the only port i've had a problem with22:38
ivoksi thought your isp is blocking incomming traffic on port 2522:39
billybigriggerand it must have just been recently, cause i remember when i first setup a mailserver a few years ago with the same isp it worked, i just didnt have a decent domain22:39
ivoksbillybigrigger: you have to use isp's relay host22:39
wizardslovakcall them and ask them22:39
billybigriggernope, i can recieve mail to billybigrigger@thefrozencanuck.ca (my domain) and mailserver22:39
billybigriggerbut i can't send out22:39
billybigriggerwizardslovak, it says on the website for unblocked port 25 access i need a business account, which is gay, like a 7/1 line, for about what im paying now for a 15/1 line22:40
billybigriggermaybe even 7/512 iirc22:40
billybigriggerivoks, how do i use my isp's relay host?22:41
ivoksbillybigrigger: you add relayhost=relay.host.com22:41
billybigriggerto my postfix master.cf22:41
ivoksmain.cf22:41
ivoksor, even better22:41
ivoksdpkg-reconfigure postfic22:41
ivoksdpkg-reconfigure postfix22:41
billybigriggerwhich config type should i select? i had internet site chosen before22:43
ivoksread, it's in english22:43
billybigriggerwell i don't know why your asking me to reconfigure postfix in the first place22:43
billybigriggerk my sending works22:47
billybigriggernow recieving doesnt haha22:47
billybigriggercan someone send a test message to me billybigrigger@thefrozencanuck.ca22:47
billybigriggerivoks, ok, i setup the relay, thanks22:47
billybigriggerivoks, i take it i can comment that submission line22:48
ivoksyes, that doesn't have anything with sending mail to other mail servers22:48
billybigriggerdoes anyone know what port 2000 is? i think i have way too many ports open, a bunch opened up when i installed dovecot-postfix for some reason22:49
billybigrigger2000/tcp open  callbook22:50
ivoksnetstat -natp22:50
ivoksnetstat -natp | grep 200022:50
ivoksdovecot-imapd opened imap, imaps, pop3, pop3s, smtp and managesieve22:50
ivoksdovecot-postfix, that is22:50
billybigriggerhmm, port 2000 isnt listening on any hosts...22:51
billybigriggertcp        0      0 0.0.0.0:2000            0.0.0.0:*               LISTEN      -22:51
ivoksit's listening on all ips22:51
billybigriggeroooh22:51
billybigriggerhow do i find what service is running on a specific port?22:51
ivoksput sudo in front of netstat22:52
billybigriggertcp        0      0 0.0.0.0:2000            0.0.0.0:*               LISTEN      3367/dovecot22:52
billybigriggermail22:52
billybigriggerhmm22:52
ivoksthat's managesieve22:52
billybigriggercan i paste my nmap output here or pastebin it?22:52
ivoksno22:53
ivoksi told you22:53
ivoksthat's managesieve22:53
billybigriggerdon't know if thats safe to do...but i think i have too many ports open22:53
billybigriggeralright then22:53
wizardslovakbillybigrigger: well i pay $65/month for 30mbit with static ip and 80/25 ports22:54
billybigriggerwhere?22:54
billybigriggercanada or us?22:54
wizardslovakus22:55
billybigriggerthere ya go22:55
ivoksbillybigrigger: if you installed dovecot-postfix, you should have 6 open ports22:57
ivoksmaybe 7 if we include ssh22:57
billybigriggeryes 622:57
ivokspop3, pop3s, imap, imaps, smtp and managesieve22:58
billybigriggeryes22:58
ivoksso, that's not too many22:58
ivoksand i'm not sure other will be able to send you an email22:59
ivoksthere's no MX record for thefrozencanuck.ca22:59
billybigriggerthere was22:59
ivoksanyway, i have work to do23:00
ivokstake care23:00
billybigriggerthanks23:00
billybigriggerlater23:00
NetEchoWhat might cause SSHD to restart like 10 seconds after it got started upon boot?23:00
=== p_quarles is now known as p8quarles

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!