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

owhHaving some "fun" with postfix. Last week, email was being filtered because an ironport server decided I had a "poor reputation" - which turned out to be because emails to root were being sent to the internet. I fixed that by setting "mydestination = localhost.localdomain, localhost" in main.cf - all good ...00:09
owhNow I have a problem where mail is filtered because my local mail name does not match my dns mail name, as-in, post fix identifies itself as: "localhost.localdomain", not my dns name. How do I fix this?00:11
giovaniowh: set mailname00:11
owhWell, to fix the first problem, that is now set to localhost.localdomain, rather than my dns name which is what it was.00:12
owhIf I set it to my dns name, then mail to root gets routed along the internet.00:13
giovaniit shouldn't00:13
giovanithat doesn't make any sense, honestly00:13
giovaniwhere is this mail being 'routed" to on the internet?00:13
giovaniwhat's the destination address?00:13
owhTo an external SMTP server, initially it was being sent to the non-existent address root@mydomain00:13
giovanito WHAT external smtp server?00:14
giovaniif it's being sent to root@mydomain.com and you own mydomain.com -- this cannot earn you a bad reputation, since nobody but you will see that mail00:14
owhThe one that is in the MX record for mydomain.00:14
giovaniwait ... you didn't set mydomain?00:14
giovanisigh00:14
owhWell, I'm not the smtp server for my domain.00:14
owhThis is a stand-alone server that sends out VoIP logs every week.00:15
giovaniwhy do you need postfix to send out logs?00:15
giovanithat's serious overkill00:15
owhThe reputation was because of a poor configuration on the external smtp server.00:15
owhThis server will eventually become the local mail server within the organisation.00:15
owhIs the problem because mydestination *had* mydomain as an endpoint, until I changed it?00:16
owhYou wrote: "wait ... you didn't set mydomain" -- what did you mean?00:17
owhOther than that it made you sigh :)00:17
owhWhen it was broken, before last week, /etc/mailname was set to mydomain.com and mydestinations was localhost.localdomain, localhost, mydomain.com -- that sent root emails to root@mydomain.com, which was being sent to the internet.00:19
owhIf I set /etc/mailname to mail.mydomain.com, then mail to root gets sent to root@mail.mydomain.com, not to the local server.00:27
owhDo I also need to change my hostname and domain, in addition to the postfix settings?00:27
owhI really don't want to do that, the machine is known by its local name, not as mail.mydomain.com00:28
jmedinaowh: so you want mails sent to root go to the local root?00:34
owhYes - in essence.00:35
Rafael_can somebody provide help with backups or sync of data files with an NAS?00:35
jmedinaowh: what I do is create a transport entry for root00:35
jmedinaI add this to /etc/postfix/main.cf00:36
jmedinatransport_maps = hash:/etc/postfix/transport00:36
jmedinaand then create /etc/postfix/transport with the follow content:00:37
jmedinaroot@mydomain.com      local:00:37
jmedinaand:00:37
jmedinapostmap /etc/postfix/transport00:37
jmedinarestart postfix and you are done00:37
jmedinaof course I recommend to create a local alias for root00:37
jmedinathis way postfix wont try to send root's mail to a external account when mydomain is hosted in a external server00:38
jmedinaRafael_: dont you NAS provide a backup system/feature?00:40
Rafael_jmedina: it is a linksys nas 200, i believe they only do it for windows, my server is ubuntu, and i would like to backup the data only from the server to the NAS00:41
matttanyone here running a xen dom0 on jaunty?00:41
owhjmedina: Hmm, that's an interesting approach. I think I've managed to find out what is wrong at this end though. dpkg-reconfigure postfix showed me a different mailname than /etc/mailname, and I suspect that this is what caused the problem. Now that I've made them both the same, it *appears* to work :)00:41
owhRafael_: Does the NAS run rsync ? I have a WD MyBook World Edition II and after some "tweaking", it now runs rsync and I backup to it with a simple rsync command.00:42
owhRafael_: The alternative is to mount it with samba and copy to the mount point.00:43
jmedinayeap mount it and backup00:43
jmedinasmbmount //NAS/share /mnt/NAS -o username=writeuser00:43
jmedinayou need smbfs package00:44
Rafael_owh: how can i know if it runs rsync?, i have ubuntu server and on top while i learn i have the desktop version, i have samba install and i can see it from Ubuntu desktop on the network area. how can i see it form the command prompt?00:47
Rafael_owh: does the rsync needs to be installed on the NAS or on the ubuntu serever?00:52
owhRafael_: An rsync server needs to be running on the NAS for rsync to work.00:52
owhRafael_: Your ubuntu workstation/server then needs to run an rsync client to talk to the rsync server. samba is simpler.00:53
jmedinayou can mount the share and then use rsync to copy/sync data00:54
Rafael_owh: if i can see now the NAS from the desktop version, isisnt it already connected thru samba?00:54
owhRafael_: Well possibly, it's more likely connected via gnome_vfs.00:55
Rafael_other question i have, does rsync makes a backup copy or i will be able to see the data, if you dont mind let me elaborate a little bit more00:55
Rafael_i have windows clients connecting to the ubuntu server (i am a newby), they store data like word, jpeg, pdf files in the server, lets say this files are saved in the folder called "main", i would like "Main"to be copy to the NAS so if the server is down my window client can see them from the NAS00:58
jmedinaRafael_: so, why dont you mount your NAS share, and then cp -a /sambadata/main /mnt/NAS/01:00
jmedinaor even better01:00
jmedinarsyn -a /sambadata/main /mnt/NAS01:00
jmedinaso next time you can only backup only changed data01:00
owh+c01:00
owhRafael_: You need to understand that there are two "modes" in which rsync operates, local and network mode, I was talking about the network mode, jmedina is talking about the local mode.01:01
Rafael_jmedina: Thanks, but can you said it in simplier to understand..(sorry for my being newby), and is the data store as is or as a backup extention, also looking over the net i have seen unison and synkron..what would be the direrence01:02
Rafael_Also, i am planning to palce a second NAS at home to also do the sma thing from the ubuntu server..will this be easy with rsync?01:03
jmedinaRafael_: I already give you a full solution01:03
owhRafael_: Most of the tools you'll find on the net, with whatever name they dream up, are using rsync underneath - that's a wild assumption, but more or less valid. jmedina provided you with the outline of what is needed. If you're going to do this across the Internet, you'll likely have issues with exceeded bandwidth limits, timeouts and backups going longer than 24 hours.01:05
owhRafael_: You'll also have to deal with the "first" backup, the one where the NAS is empty. And finally, you'll need to deal with users moving a whole tree, which rsync won't notice, it will see new files and deleted files, not moved files.01:06
owhUsing a NAS as a failover is not really a smart solution. Making your server more robust is likely more effective. A NAS in your stated environment is better suited to an archival backup IMHO.01:07
owhA NAS for a few users, fine, it's like a baby server. Once you hit multiple users, not so fine.01:07
owhUnless you have a real NAS :)01:07
Rafael_owh and jmedina: thanks so much, so far you 2 have help me a lot, my plan was not for users to use the NAS but the server, in case of crash or server down then the clients can acess the NAS01:10
owhIs it on purpose that /etc/mailname and dpkg-reconfigure postfix [mailname] are not the same, or is that a "feature"?01:11
jmedinaowh: probably postfix is charooted and then /etc/mailname is /var/spool/postfix/etc/01:13
ScottKYes, we chroot Postfix by default.01:13
jmedinaI never use myorigin = /etc/mailname01:13
jmedinaI prefer to use myorigin = mydomain.com directly01:13
owhSo, is this a trap for young players, or did I do something wrong?01:14
owhOr does /etc/mailname not matter and I used it as a red herring?01:15
Rafael_owh: I was planning to do the backup process at nigth and if i do the first backup of the NAS insde the netwrok and tehn take at home for nigth backups and incremental will there be bandwidth problems?01:18
Rafael_jmedina: one more tiem thanks...i knwo you give me directions but for somebody like me new, how should i implemtn and do this in an easy way, were should i start?01:19
jmedinaRafael_: if you want automatic backups full/incremental you can install backuppc it support backup on shared folders using cifs+rsync01:20
owhRafael_: That depends on how much data there is, how wide your pipe is, how much data is moved and if network outages occur. In some parts of the world bandwidth is charged by Mb, so you might also see a data charge which might run into thousands of dollars if you're unlucky. Let me say this again:01:20
jmedinayour NAS provides cifs shares01:20
jmedinaI think is easier and with a web interface01:20
owhRafael_: ** YOU CANNOT GUARANTEE ** that a backup completes in 24 hours, so running multiple backups over the top of each other is a recipe for problems.01:21
owhRafael_: Over a slow WAN, this is especially true. Over a LAN it's possible, but not probable.01:23
owhRafael_: All I'm saying is "Administrator Beware".01:24
Rafael_owh: do not understant your last line, please expalin?01:24
owhRafael_: When you are the administrator of a system, you are responsible for the pitfalls of that system. If you create an elephant, you are in charge of its nurture. If you create a backup system that explodes, it's your neck. So, "Administrator Beware".01:25
Rafael_ok i got it01:26
owhRafael_: The minefield you just stepped into is one where great pain awaits if you're not careful.01:26
Rafael_so is the solution that jmedina gave me better with bckuppc?01:27
owhbackuppc uses rsync :)01:27
Rafael_owh: so in your opinion, where should i start, and how should i do this?01:28
Rafael_owh: in relation to 24h backup...if i bring the 2nd NAS at the office and do the first backup there woulnd the incremental be faster over the net?01:29
owhRafael_: Start as jmedina suggested. Mount the NAS partition locally on your server using samba. use rsync to backup to it. Monitor the backups and see what you learn about the behaviour of your users. Expand the system as required.01:29
owhRafael_: In a small LAN I run there is a NAS used like you're proposing. In addition there are two physical drives that alternate daily - a user comes in and removes the old drive and adds the new one. The server has RAIDed disks.01:30
Rafael_owh: thanks so much and sorry for so many question...how do i mount the nas on the server?01:30
owhOn the Phone01:30
Rafael_owh: on the phone...i can call if you tell me where?01:31
jmedina:D01:32
ScottKRafael_: He's saying he's on the phone and can't pay attention right now.01:33
Rafael_thanks ScottK, i guess was a dum comment mine/,01:34
ScottKIt's not a problem.01:34
Rafael_do you know how to  Mount the NAS partition locally on your server using samba.01:35
ScottKI don't know a thing about Samba.01:36
owhRafael_: jmedina gave you the basics of the mount command. I suggest you look for some examples in the manpage.01:40
Rafael_in the mainpage of ubuntu, samba or rsync?01:41
owhsamba01:41
Rafael_Also he said:  cp -a /sambadata/main /mnt/NAS/ and then he said better rsyn -a /sambadata/main /mnt/NAS, so should i try the later one?01:43
owhRafael_: The first command copies all the files. The latter will only copy the difference, but the command is rsync, not rsyn, and you should also look at the --delete flag.01:44
Rafael_what do you mena with "delete flag01:45
owhRafael_: read the rsync manpage01:46
Rafael_ok will do my homework, thanks so much01:46
owhExcellent.01:47
Rafael_owh is very hard to find people as helpfull and friendly as you, thnaks so much01:47
owhAnd here I thought I was being abrupt :)01:47
Rafael_absolutely not01:48
owhGive it time :)01:48
TimReichharthey guys I am just wondering if you guys could help me out I want to know if there is anyway that I can watch my incoming and outgoing mail logs on dovecot/postfix?02:21
owhtail -F /var/log/mail.log02:21
TimReichhartalright can I do that in a link some how?02:23
giovaniwhat do you mean by a link?02:25
TimReichhartlike say domain.com/smtp then it will show the logs02:29
giovaniyou mean you want your mail logs displayed via a web server02:29
giovaniI wouldn't advise that02:29
giovaniwhat's wrong with sshing into the server and looking at the logs?02:29
TimReichhartwell see only people with admin rights will be able to see it02:30
ScottKRight.  That's a feature, not a bug.02:30
giovanihow are you authenticating them?02:30
giovaniit seems overly complex to set up an entirely separate auth system on a web server just so that people can see logs they can see right on the server with proper permissions02:30
TimReichhartthere is only going to be 2 admins so when they click on the link its going ask for a password02:31
TimReichhartits going to be setup as .htaccess02:31
giovaniTimReichhart: well, you can create a symlink to the file if you really want02:31
giovanibut I don't see the advantage here -- it only increases risk02:31
TimReichhartwell can you please tell me how to do that giovani02:31
giovaniln -s /var/www/smtp-log /var/log/mail.log02:32
giovanior whatever your mail log is named02:32
TimReichhartalright thanks02:32
giovanioh I apologize02:32
giovanithat's backwards02:32
giovaniln -s /var/log/mail.log /var/www/whatever02:32
TimReichhartthank you for your help02:33
owhI'm in the process of investigating implementation of google apps for a client domain. There is a local ubuntu server within their lan, but they like the integration that google offers. What I'd like to figure out is: "If I migrate them all to google apps, how can I configure the ubuntu server to act as their local mail server, so internal email stays on the LAN and they have local IMAP access?" or am I creating a world of pain?02:50
ScottKIt's doable within the constraints of Gmails IMAP implementation is weird.02:52
owhIs that sentence missing a word or two ScottK?02:54
ScottKNot particularly.02:54
ScottKJust Google has an odd approach to IMAP (I don't recall the details), so test first.02:54
owhAh, right. Yes, it hasn't got folders, it has "labels".02:55
ScottKYou would have to figure out how to fetch the mail from Gmail.02:55
owhfetchmail :)02:55
ScottKFetchmail comes to mind, but then you get into Gmails POP implementation is weird.02:55
ScottKSo I'd test first.02:55
owhSame weirdness AFAIK.02:55
ScottKIt's been a while since I was required to care, so I don't remember.02:56
owhFair enough.02:56
owhSo, if I use google as my smarthost, then if I'm not careful, the email will be going out as "on behalf of", or does that no longer happen if you are running premier edition?02:57
owhOr should I avoid google as my smarthost altogether?02:57
twbWhat are google apps?02:58
owhtwb: Google offers a whole bunch of integrated cloud applications under the name of google apps.02:59
owhThings like gmail/contacts/calendar/sites/moderator/ etc.03:00
ScottKowh: All large scale commercial mail providers have at best mediocre reputations from a spam scoring perspective.  If you have a decent volume, you can do better.03:05
owhScottK, hmm, I've seen exactly the opposite, as-in, I've been using google for domain clients with excellent results and very little mis-representation. Local spam filters on the other hand appear to be an ongoing maintenance headache.03:06
ScottKI guess i wasn't clear.03:06
ScottKI meant the other way around.03:06
owhAh, as a sender?03:07
ScottKIf you use Google outbound, your reputation looks mediocre03:07
ScottKYes.03:07
owhRight.03:07
owhWell, that's an interesting observation.03:07
owhAnd on the up-side, it means I can control sending limits locally :)03:08
owhI'll mull over that for a bit. Tah.03:08
ScottKThat too.03:08
ScottKowh: If you do it yourself, please do outbound virus scanning.03:09
owhLocal workstations are running AVG 8.5, are you suggesting additional scanning?03:09
ScottKOne way you can shoot yourself in the foot very quickly is to have a compromised windows box spew through your relay.03:09
ScottKYes.03:09
ScottKI like AVG, but Windows has inherent zero day risk even with good scanning.03:10
ScottKI use clamav + clamsmtp with good effect.03:10
owhThat's true, but that opens up a whole can of worms in terms of keeping the additional AV scanner up to date and functioning.03:10
ScottKNot really.03:11
ScottKOne of the good things about Ubuntu is we basically do that for you.03:11
owhWell clamav will need to be kept up to date won't it?03:11
ScottKYep.03:11
owhAs in, the database.03:11
ScottKBy default, freshclam checks for new signatures every hour03:11
ScottKWe also update the engine once the new ones are tested.03:12
ScottKUnlike most packages, with A/V "stable" means falling behind, so you have to try to pace the threat.03:12
owhSo, the engine package is updated regularly with database updates which replicate the freshclam updates?03:13
owhOr am I misunderstanding?03:13
ScottKDatabase (signature) updates come based on the freshclam check.03:13
ScottKEngine updates are regular package updates and come that way.03:13
ScottKFirst we have them in a PPA for integration and testing, then in *-backports, and finally to *-updates/security after thorough testing.03:14
owhSo, does the security updates contain the database updates as well, or is one supposed to run freshclam *and* update the package regularly?03:15
owhI think I got waylaid when you said: "One of the good things about Ubuntu is we basically do that for you."03:16
ScottKOn the phone03:17
owhI took that to mean the signatures and the application, but I'm suspecting that's not the case.03:17
owhc.03:17
owhScottK, sure I'll phone you <grin>03:23
ajmitchowh: as long as you're willing to pay for the phone call :)03:30
owhajmitch: It was a reference to a previous comment where I was on the phone, typed "Phone" and the person I was talking to thought I was offering to support them via the phone. sk came along to clarify - I was having a little dig :))03:31
ScottKowh: Back.03:32
owhHey03:32
owhHaving fun with ajmitch :)03:32
ScottKowh: What I meant was that all you need to do to keep your clamav up to date is do your normal system updates.03:32
ScottKIf you look at the package history, you'll see we update clamav a lot; https://launchpad.net/ubuntu/+source/clamav/+publishinghistory03:32
owhRight, but freshclam does the signatures separately in addition to that -- right?03:32
ScottKYes.03:32
owhNow I'm on the same page :)03:33
owhIt's old age, gets you every time. Next my hair will start falling out I'm told :)03:33
owhSo, run an smtp server locally, run clamav, run fetchmail to google, deliver to imap, sounds too simple :)03:34
ScottKAlso if there is a security issue with a particular module in clamav, upstream can turn that module off remotely via the updates so the insecure code doesn't run.03:35
ScottKThen when we issue the security patch, we can turn it back on.03:35
owhThat sounds excellent.03:35
owhWith the risk of getting my head bashed in. The server is currently offering workgroup file/print services. I've been steadily cleaning up the workstations to the point where I'm getting ready to run as a domain controller so I can centrally manage the lot. When I create user accounts in that scenario, it would be grand if their imap accounts were part of the same account.03:35
* owh is guessing that I'm going to need to run openldap to achieve that.03:36
ScottKSo now you're getting into stuff I don't know a lot about.03:36
owhLets stay on your solid ground. IMAP accounts?03:36
owhCan they be "virtual", as in, not mapped to linux user accounts.03:37
ScottKYes03:37
owhThey're then stored somewhere on the file-system in a tree right?03:37
ScottKYes.03:37
owhOr in a database?03:37
ScottKDovecot handles all that.03:37
owhCool.03:37
ScottKI think in the file system.03:37
owhHow do I manage users?03:38
owhIs there an RTFM I should be consulting>03:38
* ScottK is finding said FM ATM03:38
owhPhone03:39
ScottKowh: What release of Ubuntu will you be using?03:39
ScottKowh: (assuming 9.04): Here is where I would start - https://help.ubuntu.com/9.04/serverguide/C/email-services.html03:40
owh8.04lts - still phone03:40
ScottKhttps://help.ubuntu.com/8.04/serverguide/C/email-services.html then03:41
ScottKAlso http://www.postfix-book.com/ is a must.03:42
Rafael_owh: i was chtting with somebody on the samba chat, can you take a look at: http://paste.ubuntu.com/176861/ accessing the nas, should the user be with passowrd or not03:48
carlgibsonhellos03:49
carlgibsonanyone available for a quick question?03:50
ScottK!ask | carlgibson03:51
ubottucarlgibson: Please don't ask to ask a question, simply ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)03:51
carlgibsoni just placed some automount lines in fstab, and rebooted the system.  The mounts failed to occur, but now the physical drive is not appearing in the /dev folder and fdisk is failing to fins the physical drive and the partitions.  Any suggestions on where to go from here?03:53
carlgibsonat this point i have restored fstab back to its original state without the lines i added03:53
carlgibsonthe mounts were working when i did them manually before placing the lines in fstab03:53
=== carlgibson is now known as rkitect
Rafael_i just connected with putty and see on the terminal prompt that i have "new mail"how can i check it03:55
tomsdalewhat would you guys recommend as a cheap webserver (rackmount) to install ubuntu on? get a used dell powerblade off ebay? any other tips?04:02
Alex_21Hi, when launching Songbird I get "songbird: error while loading shared libraries: libjemalloc.so: cannot open shared object file: No such file or directory"04:19
Alex_21Please help04:19
ScottKAlex_21: How is that related to Ubuntu Server?04:20
Alex_21It is on my media server. I asked in #Ubuntu but being blind I find it to be too high traffic04:21
Alex_21So I asked in here04:21
ScottKAlex_21: What Ubuntu release are you running?04:25
ScottKAlex_21: If you are running Jaunty, 9.04 you need to install xulrunner-1.904:29
=== yann2_ is now known as Yann2
uvirtbotNew bug: #378920 in samba (main) "WebDAV fights Samba, WebDAV wins, Windows looses. Blame it on RUN_MODE=inet." [Undecided,New] https://launchpad.net/bugs/37892005:36
owhRight, finally off the phone.05:36
owhThanks for your links ScottK.05:36
ScottKowh: You're welcome.05:37
owhDid I mention how much I *love* USB modems and NetworkManager? I've been on the phone attempting to determine why NM decided that the USB modem should stop working for no apparent reason. Lovely. Suffice to say that the Sierra Aircard is not stable under Hardy :( --- meanwhile back at the ranch, it's time for lunch :)05:38
oh_noesis it possible (even via a special kernel or something) to allow a non root PID to bind to priviledged ports?05:41
ScottKoh_noes: What problem are you trying to solve?05:46
owhIs there any particular reason you need to do this, to me it looks like a security breach waiting to happen.05:46
oh_noesbecause we're an ISV and we have our own listeners, syslog, ntp etc.05:48
oh_noesat the moment we're running as root05:48
oh_noesthe priv ports is the ONLY reason it needs to run as root, so I'd like to get around it05:49
oh_noessolaris has net_priv_auth permisisons which makes it really easy05:49
oh_noesand we know solaris is 74x more advanced than linux, but iwas hoping there was a project in the midst that could handle this05:49
* owh scratches head and chews on lunch.05:51
ScottKCould be, but I haven't needed such a thing, so I don't know.05:52
owhScottK, does postfix run as root?05:52
ScottKSome parts of it do.05:53
ScottKIt's got a segmented architecture and each bit runs with the minimum needed permissions.05:53
* owh guesses that the listener is part of that part :)05:53
owhCould you forward services to unprivileged ports?05:54
ScottKSure.05:54
ScottKOr via some other kind of socket.05:54
owhI suppose you could make an iptables rule that did that, so ntp would magically appear on a non-privileged port.05:55
owhoh_noes: Would that help you?05:55
oh_noesnot really05:56
oh_noesIt's a workaround05:56
oh_noesthe crust of the problem is all our apps are java, and in java there is no conception of 'start as root, then spawn a non root pid' (like what apache does)05:56
owhAhh.05:57
oh_noesiptables wont help because the app is running as non-root.   And I doubt a non-root user can modify iptables05:57
owhoh_noes: So, what about running two independent processes, one as root, one as non-root.05:57
owhThe iptables would be a one-off configuration, something the administrator does once. Not a dynamic thing.05:58
oh_noeswell thats the problem, our stuff can bind to any port at any time05:58
owhWhat does the java code actually do?05:58
* owh is thinking that inetd opens and closes privileged ports on demand. Or is that the wrong end of the conversation?06:00
oh_noesStuff that doesnt need root permissions06:00
owhoh_noes: Let's approach this from another angle. How does sloaris deal with this?06:02
oh_noesusermod -K defaultpriv=basic,net_privaddr NONROOTUSER06:04
oh_noesdone06:04
oh_noesthey can now bind to < 102406:04
owhWell, google came up with this: http://www.debian-administration.org/article/Running_network_services_as_a_non-root_user.06:09
owhAnd the first idea is an iptables rule :)06:10
owhBut there are other ideas too :)06:10
owhAnd here is another: http://www.jscape.com/secureftpserver/docs/index.html?runningasnon_rootuserinun.htm06:11
owhIt talks about using xinetd to do the redirect.06:11
rcsheetsi'm looking for an MTA (or better yet an example postfix configuration) for a development server, where i want mail to look like it's sent successfully to any address, but where it's actually just all dumped into one mailbox, so it doesn't escape into the wild.06:11
ScottKI recall discussions of a setup for doing that with postfix, but not the details.06:12
rcsheetsbelieve it or not i'm a little lost on what to google for...06:12
ScottKheh.06:12
rcsheetscan you think of any terms you'd use to describe that?06:12
ScottKLook on postfix.org in the add-ons section.  Maybe it's there.06:13
rcsheetshmm ok06:13
ScottKoh_noes: The authbind thing sounds at least vaguely like what you were looking for.06:13
owhWhen google doesn't tell you the answer, you know that the question's the problem :)06:13
rcsheetsyeah, definitely :)06:13
rcsheetsi was hoping there would be some commonly used term for this kind of configuration. it seems like it would be useful in a lot of cases.06:14
owhYay! PPC-1 has landed in Sydney - we're going to get connected to the Internet thingy soon :)06:14
rcsheetsyay the series of tubes!06:14
* owh is currently typing via string.06:16
owhrcsheets: You sure have a tricky question to google for :)06:16
rcsheetsyeah i've noticed... :-\06:17
rcsheetsman, it's a lot more calm in here than in #ubuntu06:17
owhrcsheets: postfix force local delivery came up with: http://www.softwarefreedom.org/blog/2008/jan/09/postfix-secondary-mx-local-deliver/06:18
rcsheetsi also just found tihs: http://thedrupalblog.com/configure-your-development-server-deliver-all-mail-locally06:19
owhI have no idea if it's gonna help, but it might :)06:19
rcsheetsthanks i will look at that06:19
owhoh_noes: Did you see the links?06:19
oh_noesyep ta06:20
oh_noesprobably not what i want and def overkill06:20
oh_noesbut might suffice for a workaround06:20
wizardslovakhello people06:20
owhoh_noes: I saw a reference to privileged tcp ports, but I think it's a red herring: http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1242882365194+28353475&threadId=61553606:22
owhwizardslovak: No people here, just monkeys :)06:22
wizardslovakowh: i knew monkeys are great with ubuntu06:23
owhwizardslovak: We eat them among ourselves :)06:23
wizardslovakowh: roasted tastesss soo good, back to ubuntu tho06:24
owhwizardslovak: For that to happen you need to actually ask a question.06:24
wizardslovakwell so far i have none tho , still cant make dovecot work06:25
rcsheetsbeautiful. got it working.06:25
owhrcsheets: For the logs, how did you do that?06:25
rcsheetsoww. and then i jabbed the corner of a motherboard into my leg.06:26
rcsheetsfsck06:26
rcsheetsstarted with a "local delivery only" postfix configuration06:26
* owh shudders to imagine the state of the development server and the blood coming from rcsheets' leg.06:26
wizardslovaklol06:27
rcsheetsthen created this /etc/postfix/transport file (2 lines):06:27
rcsheetsrcsheets@fry.localdomain local:06:27
rcsheets* discard:06:27
wizardslovakonly think i am looding are nervers06:27
ScottKIt all MTA configuration wanted was a little blood, then it's user friendly.06:27
ScottKIt/If06:27
owhHey, we're not talking about sendmail here :)06:28
rcsheetswhich configures mail destined for my address *only* to use the local transport, and for everything else to be discarded06:28
rcsheetsthen added to the end of /etc/postfix/main.cf the following two lines:06:28
rcsheetstransport_maps = hash:/etc/postfix/transport06:28
rcsheetsalways_bcc = rcsheets06:28
owhNiiice.06:28
rcsheetsand finally reloaded postfix with:06:28
rcsheetssudo postmap /etc/postfix/transport06:28
rcsheetssudo /etc/init.d/postfix reload06:29
rcsheetsand voila!06:29
rcsheetsi get this in the logs for the discarded original...06:30
rcsheetsMay 21 01:29:31 fry postfix/discard[11151]: 76D125FE2B: to=<test@example.com>, relay=none, delay=0.1, delays=0.09/0.02/0/0, dsn=2.0.0, status=sent (example.com)06:30
rcsheets(note the postfix/discard)06:30
ScottKrcsheets: One caution:  If the always_bcc deliver fails, it will create a real bounce message.06:30
rcsheetsand my copy:06:30
rcsheetsMay 21 01:29:31 fry postfix/local[11150]: 76D125FE2B: to=<rcsheets@fry.localdomain>, relay=local, delay=0.12, delays=0.09/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)06:30
rcsheetsScottK: won't that real bounce message just get discarded?06:30
ScottKNo.06:30
rcsheetswhere would it go?06:31
ScottKIt may, but I'm not sure.06:31
wizardslovakits making me nuts, 2nd week and still cant make it work06:31
rcsheetswell, how shall i make that happen... change the always_bcc to a nonexistent username?06:31
rcsheetsmight as well find out how it fails now rather than later06:31
ScottKrcsheets: Make it fail on a message from an address that it won't be embarassing to have get the bounce.06:32
rcsheetswhich from are we talking about?06:32
rcsheetssendmail -f <this?>06:33
ScottKMail From06:33
ScottKrcsheets: Yes06:33
rcsheetsk06:33
* ScottK goes off to be.06:33
ScottKbe/bed06:33
rcsheetswell, please don't stop doing that06:33
ScottKProving i should06:34
ScottKGood night06:34
rcsheetsthanks for the advice :)06:34
wizardslovakwhen i send mail to my gmail account , i am getting user@server1.wizzy.us as sender, what should i change to be user@wizzy.us?06:34
wizardslovakchange hostname?06:34
rcsheetsyou shouldn't need to change the machine's actual hostname06:34
rcsheetshow are you sending the mail?06:34
wizardslovakfrom shell06:35
wizardslovakmail user@wizzy.us06:35
lamontsee /etc/mailname06:35
wizardslovakok i changed /etc/mailname and it wrks06:36
wizardslovakthx ;)06:36
rcsheetswith always_bcc = nonexistent, the bcc copy is discarded as well as the original06:37
rcsheetsso no mail is generated06:37
rcsheetsjust two discards06:37
rcsheetscool! :D06:37
* rcsheets hugs postfix06:43
wizardslovakwhat do you use with postfix cyrus or dovecot?06:44
rcsheetsi have always used dovecot, though on my production mail system i now use dbmail06:44
wizardslovaki am having problems with dovecot06:44
wizardslovakhttp://pastebin.com/m39cc40406:44
rcsheetsperhaps you should try setting postmaster_address ?06:45
wizardslovak??06:45
wizardslovakmy problems are ssl06:45
rcsheetswell it does mention06:45
rcsheetsFatal: postmaster_address setting not given06:45
rcsheetsSASL != SSL06:46
rcsheetsi would fix the obvious one first06:46
rcsheetswhich is simply "please set this setting or i won't work"06:46
wizardslovakok  can you help me with it?06:46
rcsheetswith setting postmaster_address?06:46
wizardslovakyes06:46
rcsheetsthis seems relevant. http://www.dovecot.org/list/dovecot/2007-March/020434.html06:47
rcsheetswhich directs the user to read the dovecot wiki about lda06:47
rcsheetsi have never used dovecot's LDA, so i'm not particularly experienced with that, but you might start on the dovecot wiki06:47
wizardslovaki ordered book about postfix and dovecot06:48
wizardslovakcan you actually help me?06:48
wizardslovaki like to chat more then read whole book to find one little think06:48
rcsheetsi have suggested reading the dovecot wiki entry about lda. did you want me to read it for you?06:48
wizardslovaknooo06:49
rcsheetsi don't know how to fix your problem. i would have to do the same research to fix it that i'm suggesting for you to do.06:49
wizardslovakok what about sasl?06:49
rcsheetshave you googled for that error message? i've never seen it before.06:49
wizardslovakfor about 2 weeks i did chat with couple people here about it , but i cant make it work06:50
wizardslovaki will post it on launchpad06:50
wizardslovakmaybe there06:50
rcsheetsthis mailing list thread may be helpful. https://lists.ubuntu.com/archives/ubuntu-users/2007-July/118466.html06:50
wizardslovaki am on wiki.dovecot.org and there are lots names with lda06:51
wizardslovakwhich should i read?06:51
rcsheetsi would think http://wiki.dovecot.org/LDA and http://wiki.dovecot.org/LDA/Postfix06:52
rcsheetsthe other ones (when i search for lda) seem to be mostly LDAP and other MTA specific things06:52
rcsheetslike qmail, exim, etc.06:52
rcsheetsyou're using postfix so you don't need to worry about qmail, exim, etc.06:53
wizardslovakwell i am trying to use squirrelmail06:53
rcsheetsok...06:56
wizardslovaki can log in and check mail , i cant send or receive mail tho06:56
rcsheetsi would tackle sending and receiving separately06:58
wizardslovaki left note on launchpad.net so hopefully ill ge answer07:08
wizardslovakif not i will have to "reinstall" dovecot+postfix07:08
=== ejat is now known as e-jat
uvirtbotNew bug: #358616 in php5 (main) "php5 crashed with SIGSEGV in start_thread()" [Medium,New] https://launchpad.net/bugs/35861609:12
uvirtbotNew bug: #360947 in php5 (main) "php5 crashed with SIGSEGV in curl_global_cleanup()" [Medium,New] https://launchpad.net/bugs/36094709:12
uvirtbotNew bug: #356359 in php5 (main) "php5-cgi crashed with SIGSEGV in vspprintf()" [Medium,New] https://launchpad.net/bugs/35635909:15
uvirtbotNew bug: #284661 in php5 (main) "php5 crashed with SIGSEGV in execute()" [Medium,New] https://launchpad.net/bugs/28466109:26
kworkhttp://paste.ubuntu.com:80/177027/ <--- any suggestions ?09:38
macnokwork: LTS does not upgrade automatically https://help.ubuntu.com/community/IntrepidUpgrades#Network%20Upgrade%20for%20Ubuntu%20Servers%20(Recommended) , and if you're root you don't need sudo ;)09:43
kworkmacno, tnx, just too used to sudo lately :P09:43
kworkotherwise i do know that sudo runs command as root09:43
=== tuxlinux_ is now known as tuxlinux
jetoledoes anyone know how to get vim to recognize crontab syntax in server 9.04, I set syntax on in vimrc and when I run crontab -e, it says that command is not supported in this version11:05
jetolenevermind, just figured it out by editing ~/.selected_editor to just say vim11:06
kworki have two nics both have diffrent ips on diffrent networks11:11
kworki need diffrent gateways for diffrent interfaces11:11
kworkbut when i add gateway to both interfaces i can access only one interface11:11
kworkrather then both11:11
PhotoJimkwork: you can't have two default gateways.  you have to create routing rules to decide which traffic goes onto which NIC.12:12
kworkthe thing is i can set route to network without gateway just fine12:42
kworkbut when i specify gw12:42
kworkroute add -net networkadr/prefix gw gwip dev ifdev12:44
kworkand i get no such proccess12:44
j0nrhi all. I am trying to set up my own web server, (basic user here) so taking it slowly step by step. I just installed apache2 and as far as I am aware, as default shouldn't I be able to view /var/www/index.html now from the web?12:49
kworkif its running12:50
kworknetstat -an | grep 8012:50
kworknetstat -an | grep www12:50
kworkone of them12:50
j0nrwhat will that do?12:52
j0nrwell both return nothing12:53
j0nrso what does that mean...port 80 not open or something?13:00
kworkyou dont have webserver running probably13:01
kwork/etc/init.d/apache2 start13:01
j0nri did do that tho...13:06
W8TAHive gotten 4 used servers -- they are dual xeon 2.0 or 2.4 ghz -- because they are used, i dont have original system specs etc.   How can i tell if i should be running 32 bit or 64 bit server edition?13:07
macnoW8TAH: uname -a13:08
W8TAHtheres no os installed on them at this time13:08
W8TAHim still in setup phase13:08
giovaniyou boot into a livecd13:09
W8TAHoh - -ok - -makes sense -- thanks13:09
giovaniand cat /proc/cpuinfo13:09
kworkj0nr, check the apache error log then13:10
W8TAHthanks giovani13:11
W8TAH:)13:11
j0nr[Thu May 21 12:08:12 2009] [alert] No active workers found... Apache is exiting!13:12
j0nrbut that was over an hour ago13:12
j0nri have tried /etc/init.d/apache2 start since then and no error message13:12
niekieOdd.13:13
macnoj0nr: /etc/init.d/apache2 status what returns?13:13
j0nrmacno: no status command available13:14
j0nrhow can i check if apache is running or not?13:14
macnoj0nr: ps -ef | grep apache13:14
niekieUhh... uname -a won't tell you if you should be running 32 bit or 64 bit.13:14
niekieIt will tell you *IF* you're running 32-bit or 64-bit.13:15
macnoj0nr: which version are you using?13:15
niekieIt'll say nothing about if your processor is capable of 64-bit.13:15
niekieW8TAH: I'd consider just trying out booting 64-bit. You'll find out soon enough if it fails. (might waste a CD that way, though :\)13:15
j0nrmacno i did apt-get install apache213:16
niekieW8TAH: you can also run 32-bit Ubuntu on a 64-bit system fine.13:16
j0nrmacno: no result from ps13:16
niekieW8TAH: but you'll miss specific features offered by 64-bit platforms though.13:18
j0nrmacno: root@server:/var/log/apache2# /etc/init.d/apache2 restart13:18
j0nr * Restarting web server apache213:18
j0nrhttpd (pid 27714?) not running13:18
j0nr   ...done.13:18
niekieW8TAH: like being able to address a bigger amount of memory.13:18
j0nr[Thu May 21 12:19:06 2009] [warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run?13:20
j0nr[Thu May 21 12:19:06 2009] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations13:20
j0nr[Thu May 21 12:19:06 2009] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread13:20
j0nr[Thu May 21 12:19:06 2009] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread13:21
j0nr[Thu May 21 12:19:08 2009] [alert] No active workers found... Apache is exiting!13:21
macnoj0nr: have you edited apache2.conf or something else?13:21
j0nrmacno: only looked thru it, didn't think I changed anything13:23
EochIs there a way to tunnel traffic through ssh without having to redirect through local host?  I have an app that uses like tcp 4000 and 6000 and it goes from one machine out to many machines on the same ports, so I don't really want to create separate redirective ports and send to localhost if I don't have to.13:34
j0nrmacno: sorted, apache2-mpm-prefork solved it. thanks :)13:45
=== asac_ is now known as asac
W8TAHhi folks - -i booted a live CD did cat / proc/cupinfo looking for info as to wether my cpus are 64 bit or 32 bit pentiums - its not specifically listed that i can see - -i also tried uname -a and the only indicator in there was that it mentioned i68614:44
W8TAHcan someone help me out please?14:44
aptanetis dmidecode on there? that has a detailed section on the cpu14:47
W8TAHis that a piece of software?14:48
aptanetyup, it's in /usr/sbin on my debian box14:49
W8TAHyup - -its there - got multiple screen fulls of info - will it come right out and say 64 bit processor?14:51
akince1I have a script that keep kicking out with "Unexpected end of file" when it hits an if [ <condition> ] portion of the code despite there having been many other such constructs previously in the file14:52
akince1Anyone think they might know why?14:52
aptanetW8TAH, not sure, I don't have a 64 bit cpu to test it on, although it doesn't specifically state 32 bit14:54
W8TAHok -- this one specifically says neither14:55
W8TAHits an older dell power edge 265014:55
W8TAHso im going to guess at 32 bit14:55
aptanetyou may have to use the info there to check using google14:55
W8TAHok14:55
aptanetlooks likely to be a xeon cpu, so http://en.wikipedia.org/wiki/Xeon may be of help14:59
macnowho create links in /dev/disk/by-uuid/ ?15:00
ScottKmacno: What problem are you trying to solve.  My prediction is that if you have to ask that question you don't know enough to mess with it directly (me neither)15:03
W8TAHya - -i was looking at that15:04
macnoScottK i added a first lvm disk to a test system, get uuid, modify fstab and try to mount it by mountpoint but fails with http://pastebin.ubuntu.com/177229/15:06
macnoScottK i'd like to add other disks but i dislike to reboot to test if it works15:07
ScottKDid you try the mount again after reboot?15:07
macnoI have the row in fstab15:08
ScottKSo it mounted?15:08
macnoyes it is15:08
ScottKOK.  So the real question "If I and an lvm disk, how do I get the UUID to be availalbe without reboot"15:09
macnoScottK yes, right15:09
ScottKOK, i don't know that answer to that question, but that's a much better question.15:09
macnoScottK ok,  I understand15:11
ScottKNow that you have a better question, you may have more luck with Google too.15:12
SangrialGood Morning, I was wondering how can I uninstall ubuntu-server 9.04? windows xp wont let me reformat over it.15:45
SangrialAnyone know?15:48
uvirtbotNew bug: #379061 in apache2 (main) "Please merge apache2((2.2.11-4)(main) from debian unstable(main)" [Undecided,In progress] https://launchpad.net/bugs/37906116:01
acalvoHello16:25
acalvoI need some advise, I want to know, fom your POV, which is the best solution for a mail server (pop3/imap/smtp). Thanks!16:26
ScottKacalvo: The standard Ubuntu choice for this is Postfix (smtp) + Dovecot (pop3/imap).  In Jaunty the postfix-dovecot package (or is it the other way around) automates a lot of the setup for you.16:28
acalvoScottK, thank you, you said what I wanted to hear :-)16:29
\shSangrial: delete the partitions with <insert fdisk on xp or whatever os you are using>16:30
\shSangrial: the linux partition I mean16:30
=== scfh is now known as scfh_
=== scfh_ is now known as scfh
radovanhi16:45
radovanlooking for some kvm guru. got some serious issues with kvm-84 in 9.0416:46
eolo999hi, i tried changing loglevel from debug to warn but still get debug messages in /var/log/eucalyptus/*log. where am i wrong?17:00
eolo999obviously in /etc/eucalyptus/eucalyptus.con17:00
eolo999f17:00
billybigrigger_is it possible to setup an alias, or subdomain or something in apache2, so that, for example, im trying to setup webmail, using roundhouse, now instead of having users go to mydomain.com/webmail, can i setup http://webmail.mydomain.com????17:01
billybigrigger_im not sure what this is called, or where to find info on it17:01
yann2virtual hosting :)17:01
billybigrigger_ahh :P17:01
yann2search for virtual hosts in apache documentation17:01
\shbillybigrigger_: it's called "virtual hosting" and "subdomains" and yes it works17:01
billybigrigger_also, before i can any further...i have setup dovecot and postfix already...17:01
billybigrigger_i have a working mail server...but is it too late to configure virtual users for my webmail?17:02
billybigrigger_or does anyone know if roundcube does its own virtual users?17:02
macnobillybigrigger_: how many users?17:03
billybigrigger_hmmm, ~10-2017:03
billybigrigger_no, less than 10, sorry17:03
macnobillybigrigger_: with less then 10 you can create them as linux users17:03
billybigrigger_i could just make system users i guess for that little of users...but i do have mysql so...17:04
billybigrigger_ya17:04
billybigrigger_k, thanks17:04
uvirtbotNew bug: #379093 in nagios-plugins (universe) "check_by_ssh does not populate output file in passive mode" [Undecided,New] https://launchpad.net/bugs/37909317:06
W8TAHanyone have a dell power-edge 2650 and able to answer a few questions in PM?17:36
|eagles0513875|hey guys i have a question if i setup dhcp can i get it to use mac addresses to get the same ip's instead of using my router17:40
Sam-I-Amusually those router boxes support static addressing if you give them mac addresses17:42
|eagles0513875|can i use it as more then a router box though then install firewall etc17:44
Sam-I-Amubuntu or the router box?17:45
|eagles0513875|ubuntu-server but right now dont have it installed17:45
Sam-I-Amsure ubuntu can do firewall/router activities17:46
Sam-I-Amiptables and whatnot17:46
|eagles0513875|i was thinking for firewall shorewall + snort +snortwall17:47
|eagles0513875|which would be better shorewall or iptables as a firewall17:47
Sam-I-Amshorewall is its own OS17:47
Sam-I-Amand just runs iptables internally17:47
|eagles0513875|ahhhh ok17:47
|eagles0513875|might have an issue then with iptables as i have never setup iptables before :(17:48
Sam-I-Amits not too bad... there are several utils out there to automate firewall building with it17:48
|eagles0513875|on ubuntu-server17:49
Sam-I-Amprobably17:49
|eagles0513875|Sam-I-Am: i did find shorewall in ubuntu repos17:49
Sam-I-Amyeah there seems to be some stuff17:50
|eagles0513875|what would you recommend cuz im kinda torn between shorewall and iptables17:50
Sam-I-Amubuntu tends to use 'ufw'17:50
|eagles0513875|ufw??17:50
Sam-I-Amshorewall is iptables17:50
Sam-I-Amits just a glorified configuration mechanism17:51
|eagles0513875|gotcha17:51
|eagles0513875|then ill probably stick with iptables17:51
Sam-I-Amufw is like shorewall17:51
Sam-I-Amits a configuration utility for iptables17:51
|eagles0513875|gotcha17:54
|eagles0513875|ill have to get working on it later ill be back if i have any questions thanks Sam-I-Am17:55
Sam-I-Amsure17:55
|eagles0513875|Sam-I-Am: i found a how to on howtoforge on setting samba as a domain controller does that work with active directory18:00
Sam-I-Amdefine work with active directory...18:03
|eagles0513875|sweet ok18:03
Sam-I-Amif you use samba as a DC, you dont need AD18:03
Sam-I-Amsamba works as an NT domain controller, not an AD domain controller... until samba4, which isn't really out yet.18:03
|eagles0513875|ahh ok18:05
W8TAHhi folks - -im running 8.04 server on dell power edge 2650 servers -- ive gotten it installed -- and now when i try to start the machine -- i get as far as the remote access controller initializing and then it stops -- any suggestions?18:31
Sam-I-AmW8TAH: sounds like the virtual decides for the RAC rearranged which device grub sees as your boot device18:36
Sam-I-Amor the kernel sees...18:36
W8TAHive got the RAC disabled within its setup18:37
Sam-I-Amso does it start booting the kernel and then hang or not even boot?18:37
W8TAHnever goes to grub as far as i can tell18:37
Sam-I-Amhmm, it should at least get to grub18:38
Sam-I-Amgrub might puke, but it should start18:38
W8TAHunless the different hardware means i need to install grub manuall -- ive never had to install manually for any other server install ive done18:38
dethredicHey guys, I am having some DNS issues18:39
Sam-I-Amonly thing i've seen with some dell hardware is the RAC's virtual devices causing device names to change between install and first boot18:39
W8TAHok -- how do i fix it?18:40
dethredicI can type in my IP and get to my site, I can type in my nameservers and get to my site18:40
Sam-I-Amdepends if thats the problem18:40
dethredicbut my domain name doesn't take me to my site18:40
W8TAHhow can i diagnose?18:40
Sam-I-Amat a minimum you'd see grub trying to load18:40
|eagles0513875|dethredic: do you have anything in /etc/resolv.conf18:40
W8TAHok -18:41
W8TAHhummmmmm18:41
Sam-I-Amdoes it say 'missing operating system' ?18:41
dethredic|eagles0513875|, yes, something with my ISP and then nameserver somerandomeiphere18:42
W8TAHno -- it says nothing - -but i did just find something where an embedded bios device was above the hard drives in one of several boot orders18:42
W8TAHso i changed that and im trying again18:43
dethredicThis thread might help clarify things18:43
dethredichttp://ubuntuforums.org/showthread.php?t=116131618:43
|eagles0513875|dethredic: i have noticed on kubuntu not sure about ubuntu yet but resolv.conf can only have one namserver ip of your isp for some strange reason18:43
Sam-I-Amyou can have more than one resolver in resolv.conf18:43
|eagles0513875|Sam-I-Am: strange18:44
dethredic|eagles0513875|, can you try reading the thread, it was working before but now it doesn't18:44
|eagles0513875|on jaunty i cant18:44
dethredicjust cause of my IP change18:44
|eagles0513875|dethredic: can you ping with the name of the site18:44
|eagles0513875|dethredic: wait18:45
|eagles0513875|you have dyndns not sure on your router but can you have it update the dyndns info with the new ip18:45
Sam-I-Amhatchseadgroup.com has address 24.150.41.5618:45
dethredicya18:45
Sam-I-Amthats what dns returns fro me18:45
dethredicthat is my old IP18:45
Sam-I-Amso dyndns is broken18:45
|eagles0513875|my router auto logs into my dyndns account and updates with the new ip18:45
Sam-I-Amthey didnt update your record18:46
Sam-I-Amthis has nothing to do with your client18:46
|eagles0513875|ya probably need to go to their site and update it or seems like certain routers can do it for you18:46
dethredicWell18:46
dethredicAfter my IP changed I went to the DynDNS site18:46
dethredicand changed my IP on my nameservers18:46
dethredicas you can see in the pictures18:46
Sam-I-Amand its got about half a day TTL left18:46
Sam-I-Amyou might want to send them another update18:47
dethredicSam-I-Am, so try updating my DynDNS records again?18:47
Sam-I-Amyes18:47
Sam-I-Amthis isnt an ubuntu problem18:47
dethrediceven though the IP in those records are correct18:47
Sam-I-Amyeah, but whats coming out of DNS isn't18:48
dethredicwell18:48
dethredicIf I type in one of my nameservers into my address bar (from DynDNS)18:48
dethredicI am taken to my site18:48
Sam-I-Amone of your nameservers?18:48
dethredichsg1.shacknet.nu18:49
W8TAHSam-I-Am: i wonder if i didnt set the bootable flag on the software raids18:49
W8TAHits startin to look like that18:49
Sam-I-Amheh18:49
Sam-I-Amwell, usually thats set automatically18:50
Sam-I-Amor grub is too far away from the part of the drive the bios will read for booting18:50
Sam-I-Amdethredic: that doesnt appear to be a nameserver to me18:51
dethredicSam-I-Am, What do you mean? DynDNS gave it to me.18:51
dethredicHere is another one I got: hatseadgroup.servebbs.org18:51
Sam-I-Amare those just servers or name servers?18:52
dethredicI thought they were name servers18:53
dethredicThis method worked before18:53
dethredicSam-I-Am, They are under the section "Host Services" in DynDNS18:54
Sam-I-Amthose are just hostnames you have... not nameservers18:54
dethredicohhhhhhhh18:54
Sam-I-Amhosts that resolve to your IP18:54
dethredicSam-I-Am, So what do you propose I do?18:55
Sam-I-Amhsg1.shacknet.nu has address 24.150.45.13018:55
dethredicya18:55
dethredicthat is my IP18:55
Sam-I-Amso that one apparently updated correctly18:55
Sam-I-Amthe other one didnt18:55
Sam-I-Amso just re-update dyndns18:55
dethredicok18:56
dethredicI reupdated them all18:56
Sam-I-Amif it still doesnt work, email them and ask why its broken18:56
dethredicOk18:56
Sam-I-Ambut its not an ubuntu thing18:56
dethredicSam-I-Am, alright. So I can use them as nameservers?18:56
Sam-I-Amtheyre not nameservers18:56
Sam-I-Amer, dyndns... or those hosts?18:57
dethredichmm18:57
dethredichsg1.shacknet.nu is first on my list for nameservers18:58
dethredicAnd I used them as nameservers before18:58
dethredicI am very confused >.<18:58
Sam-I-Amwell, maybe i just cant get there from here18:59
Sam-I-Ambut if that hostname points to you, you're just using yourself as a name server19:00
Sam-I-Amanywho, i'm off to a meeting19:00
dethredicok19:00
dethredicthanks for your help19:00
chmacecho $PATH doesn't return what's set in /etc/environment, the sbin paths are missing. Any suggestions on where to investigate?19:04
=== yml_ is now known as yml
simplexiochmac: fast fix: export PATH=$PATH;/sbin/;/usr/sbin19:18
chmacsimplexio: Yeah, I thought about that, or about hacking it into ~/.bashrc or something19:19
chmacsimplexio: Kinda curious to know why it's not working by default though19:19
chmacLooks like there's other weird shell ness going on also, when I start screen, there's no shell on screen0, but screen1 works fine19:19
HolmenI just installed a guest system on my 9.04 host...when I try to connect to it thru ssh I get connection refused ...is that the guest system blocking or network bridge that doesnt work?19:26
chmacHolmen: I'd guess it could be either, but I'm no expert. Can you ping the guest?19:27
W8TAHSam-I-Am: i found it19:28
W8TAHubuntu cant boot when / or /boot are on raid 519:28
W8TAHso i'll have to make a small partition for them to be on19:29
Holmenchmac: right...yea, ping went thru so looks like it's the settings on the guest system19:30
ScottKW8TAH: I think it's just /boot that's a problem.19:30
W8TAHits software raid19:31
W8TAHand i dont put /boot on a separate partition - - i just leave it in the same partition as /19:31
ScottKYes.  If it was hardware raid you could have / and /boot on the array because Ubuntu wouldn't even know there was raid.19:31
W8TAHok19:32
simplexiochmac: it works for me :) .. it could be that your user isnt in sudo group or similiar problem19:45
chmacsimplexio: I do have full sudo via the admin group, but I manually created that group, so I think you're onto something...19:45
simplexiochmac: created ? in ubuntu systems it ther eis allready sudoers group for that, or it is admin group can recall it right now19:52
ivoksadmin19:52
ivoksusers in admin group have 'sudo privileges'19:52
simplexio:)19:55
simplexiothere  is debian way and ubuntu way19:55
dethredicHey guys, I am having a problem connecting to my server.20:04
dethredicThis thread outlines my problem better than I can do here20:04
dethredichttp://ubuntuforums.org/showthread.php?t=116131620:04
Sam-I-Amand an hour later its still not an ubuntu problem :P20:07
dethredicwell I don't know where else to go to get help20:07
dethredicgota any suggestions20:07
Sam-I-Amdid you contact dyndns?20:07
dethredicsent them an e-mail20:07
Sam-I-Amthink thats about all you can do at this point20:08
W8TAHSam-I-Am: fixed it20:08
Sam-I-Amwhat was it?20:08
W8TAHubuntu cant bood with /boot and / on a software raid 520:08
W8TAHso i put them on a raid 120:08
W8TAHworks perfectly20:08
Sam-I-Amlinux can't boot with that either20:09
Sam-I-Amin general20:09
W8TAHok20:09
Sam-I-Ambut yeah, that'd do it20:09
W8TAHoh well - -1 down 3 to go20:09
W8TAH:D20:09
chmacsimplexio: Yeah, /etc/lsb-release says it's Ubuntu, but root was active and no admin group existed when I was given the login20:17
chmacIt's a VPS a friend is hosting for me, so I've asked him how he installed it, doesn't seem like "stock" ubuntu / ubuntu-server20:17
LHChey20:21
LHCanyone run their own email server?20:21
ScottKLHC: Lots of people do.  If you have a question, just ask it.20:31
billybigrigger_bah20:45
billybigrigger_anyone here use apache's virtual hosting?20:45
billybigrigger_LHC::: i just set one up yesterday...20:45
billybigrigger_i have created /etc/apache2/sites-available/thefrozencanuck.ca and linked it to /sites-enabled/thefrozencanuck.ca .... now im trying to create 2 subdomains, forums.thefrozencanuck.ca and webmail.thefrozencanuck.ca20:46
billybigrigger_here's the pastebin of my sites-available/thefrozencanuck.ca20:46
billybigrigger_http://pastebin.com/f6ef0ec5c20:47
billybigrigger_and here's what happend after /etc/init.d/apache2 force-reload....ignore the awstats aliases errros20:48
billybigrigger_http://pastebin.com/m44f4830120:48
LHCcool20:52
LHCahh Im thinking of settin up my own webhost, small time. and im was wondering about email20:52
LHCI should maybe buy cpanel but I wanna do as much as I can :X20:52
billybigrigger_???20:55
LHCim thinking of settin up my own email server and sell it with my hosting20:55
billybigrigger_i setup a mailserver yesterday...it was fairly painless...20:55
LHCssl?20:55
=== Barre_ is now known as Barre
LHCwhat do you use to access it20:55
billybigrigger_i skipped ssl/tls20:56
billybigrigger_its my home mail server20:56
billybigrigger_google, lots of tutorials out there...howtoforge has  a good one20:56
=== billybigrigger_ is now known as billybigrigger
LHCkk thanks21:02
LHCI just wanted to know if it was possible haha21:02
billybigriggersure it21:03
viezerdbillybigrigger: maybe try as root21:03
billybigriggers/it/is21:03
billybigriggerviezerd::: ?21:03
billybigriggerviezerd::: try what as root?21:03
viezerdbillybigrigger: http://pastebin.com/m44f4830121:04
billybigriggerdoh21:04
billybigriggerhmm21:05
billybigriggercan't connect to the site now21:06
heath|workHello. I keep reading articles at HowToForge.com and most of them say to disabled app armor to run thing in a chroot jail, but is this really necessary?21:14
LHCdam I hate IE21:27
=== MenZa_ is now known as MenZa
Bizzehhi, i have just installed ubuntu server 8.04 and i was wondering if there was any way to set the power profile to "ondemand"21:42
LHCanyone know a little php?21:46
LHCcant get into php chan21:46
billybigriggerviezerd::: those aren't working21:59
billybigriggerviezerd::: still can't get those virtual hosts working correctly....21:59
LHCbillybigrigger, do you know how to make unlimited subdomains?22:00
LHCI never did anything like that before so im curious22:00
billybigriggerim trying to setup subdomains right now with apache22:01
billybigriggerits just a virtual host file...22:01
billybigriggerthat goes in /etc/apache2/sites-available22:01
billybigriggerie. /etc/apache2/sites-available/subdomain.domain.com22:01
billybigriggerand in there it sets the parameters for the virtual host...then create a sym link to /etc/apache2/sites-enabled22:02
billybigriggerbut its not working out too good for me :P22:02
billybigriggerhttp://httpd.apache.org/docs/2.2/vhosts/22:02
BizzehLHC: subdomains has nothing to do with php, its apache22:03
orsogrigioHi I just install ubunto server on virtualbox vm, how can i test if apache is working?22:04
orsogrigiothanks22:05
billybigriggervisit http://localhost22:05
LHCBizzeh, yeh the php thing I was trying to figure out was adding header and footer to each page22:07
orsogrigiobillybigrigger: no browser instal on ubunto-server22:07
LHClike 10 pages with 1 external header and footer22:07
LHCbillybigrigger, yeah I spent 6 hours figuring out vhost, then turns out one line was commented out xD22:07
billybigriggerorsogrigio::: ping localhost:8022:14
billybigriggerLHC::: which line may i ask? hehe22:14
billybigriggerorsogrigio::: nvm22:15
LHChaha22:15
LHCthe one with # at the start :P22:15
billybigriggerorsogrigio::: you can use nmap or netcat22:15
billybigriggers/netcat/netstat22:16
LHChowtoforge is awesome22:18
=== bomana is now known as aboman
centaur5Is there a way in the alternate install to make apt do a --fix-missing on a package it fails to download?23:26
massctrlhi i have a couple of kvm ubuntu jeos machines running, all works fine except that they mount but often not an nfs share defined in fstab... .when I do a mount -a afterwards all works fine, ... anyone knows about this?23:41
LHChey again23:43

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