UbuntuIRC / 2009 /01 /03 /#ubuntu-server.txt
niansa
Initial commit
4aa5fce
[01:51] <nephish> hey vim users, is there a way to get the syntax highlighting colors as rich as the same color theme in gvim?
[01:54] <Kamping_Kaiser> huh?
[03:49] <mljohns4> I recently performed a fresh Ubuntu LAMP install. Using phpmyadmin to interface with the MySQL server, I noticed that there were a couple of user accounts created by default, such as "ANY" and "debian-sys-maint". Are these necessary for the LAMP server to operate?
[03:50] <mljohns4> The "ANY" user has no password set, which is of concern
[04:29] <ball> hello medic33
[05:43] <techsupport> I installed ubuntu server in vmware, its telling me to install vmware tools by mounting the virtual cd drive, how can i do that ?
[05:46] <ball> I don't know vmware, but if you've somehow told it to map the physical CD-ROM drive to a device presented to the Ubuntu Server guest, then it's probably somewhat automatic
[05:49] <hads> "mount /cdrom" ?
=== Deeps_ is now known as Deeps
[07:19] <shubuntu> guys has any of you got a csr signed before? can you help me out
=== erichammond1 is now known as erichammond
[08:18] <shubuntu> does anyone know how to create a new mail acount in postfix?
[10:39] <J-_> I need some suggestions. I'm running a LAMP installation on hardy, and I need a program to update with afraid.org. What client should I use that's easy to configure?
[11:53] * delcoyote hi
[11:54] <nyarla> anybody familiar with pure-ftpd? nice piece of software btw. But I cant achieve to process the transfer.log into my stats analyser, because the log file is rw root-only. How can I make it www-data readable by default?
[12:06] <J-_> http://pastebin.com/d6ebf7121 Does that look correct? it's my network interface.
[13:21] <shubuntu> J-_: that's not enough
[13:22] <shubuntu> you need to put in more than that
[13:22] <shubuntu> there's network, and broadcast
[13:22] <shubuntu> you need both of those too
[13:23] <J-_> shubuntu: what will network and broadcast be? I'm on a dynamic IP
[13:24] <shubuntu> ooh you can't assign a dynamic ip statically
[13:27] <Deeps> huh?
[13:27] <Deeps> that is enough
[13:27] <Deeps> you dont need network and broadcast in there as well
[13:27] <J-_> =\
[13:28] <Deeps> if you want to define them, in your case, network would be 192.168.1.0, broadcast 192.168.1.255
[13:28] <Deeps> your netmask already makes that clear though
[13:28] <J-_> I still don't know why my domain isn't working then.
[13:29] <Deeps> what's your domain?
[13:29] <J-_> http://www.bytebind.com
[13:29] <Deeps> i see 'test by justin' blog
[13:30] <J-_> wtf
[13:30] <J-_> whoops
[13:30] <J-_> Deeps: could you do a screenshot for me?
[13:30] <J-_> Does it looks like a drupal installation?
[13:30] <Deeps> yep
[13:30] <J-_> ...
[13:31] <J-_> I wonder why it's not working locally then
[13:31] <Deeps> if you're within your NAT'd lan, trying to connect to your WAN ip, you'll be hitting your router
[13:31] <Deeps> and your router wont do the port forwarding for local (lan) clients
[13:31] <Deeps> alter your local hosts file so www.bytebind.com hits the lan ip of the server (192.168.1.120?) and then try
[13:31] <J-_> I mean I can use my LAN IP and my domain will work. But, prior to hardy(dapper) I could go to my .com website, and it would show up as well.
[13:32] <J-_> Deeps: how would that be done?
[13:32] <Deeps> are you using an ubuntu server as a router?
[13:32] <shubuntu> don't set your ip manually
[13:32] <shubuntu> set it through dhcp
[13:32] <shubuntu> you should be good
[13:32] <J-_> Deeps: no.
[13:32] <Deeps> shubuntu: why would you want a server to aquire an ip from dhcp?
[13:33] <shubuntu> because he doesn't know what he's advertising his ip as
[13:33] <Deeps> J-_: then your upgrade from dapper to hardy shouldn't have any effect, as it'd be your router thats handling the nat traversal
[13:33] <shubuntu> and where the main entry for his network is
[13:33] <J-_> hmm
[13:33] <Deeps> shubuntu: he has a server on his lan behind his nat router + wan gateway
[13:33] <J-_> Deeps: Indeed
[13:33] <Deeps> shubuntu: said server shouldn't have a dynamic address or it can cause problems, especially when port forwarding comes into play (updating all forwards to point to new ip)
[13:34] <shubuntu> do a netstat -nat
[13:34] <Deeps> J-_: what OS are you on?
[13:34] <Deeps> J-_: (as in, your client that you're connecting to your server from)
[13:34] <J-_> Deeps: Currently Ubuntu(Hardy) on my laptop.
[13:35] <Deeps> J-_: open /etc/hosts in a text file
[13:36] <J-_> Done
[13:36] <Deeps> format is ip hostname
[13:36] <Deeps> eg
[13:36] <Deeps> 192.168.1.120 www.bytebind.com
[13:36] <J-_> Will try it, thanks.
[13:36] <Deeps> (incase that wasn't already clear)
[13:38] <J-_> I do so, restarted network interfaces and it seems it didn't do anything
[13:38] <Deeps> you may need to restart your browser, as that caches hostname->ip
[13:39] <shubuntu> hey edit /etc/hosts
[13:39] <shubuntu> make sure your ip is properly set for your domain.tld
[13:39] <shubuntu> then echo subdomain.domain.tld > /etc/hostname
[13:40] <shubuntu> then /etc/init.d/hostnam.sh start
[13:40] <shubuntu> then if you type in hostname
[13:40] <shubuntu> you should get your correct domain
[13:40] <Deeps> would be correct if he had subdomain.domain.tld set to resolve to his lan ip, which would then also be incorrect to publish to the internet
[13:40] <shubuntu> then type in hostname -f
[13:41] <shubuntu> no he should set his lan ip as eth1
[13:41] <shubuntu> his eth0 should be his real ip
[13:41] <shubuntu> the one outside the router
[13:41] <Deeps> then what would his router use?
[13:41] <shubuntu> eth0
[13:41] <Deeps> but his router isnt his ubuntu server...
[13:41] <shubuntu> his machine would connect locally using eth1
[13:42] <shubuntu> and externally using eth0
[13:42] <Deeps> he's not using an ubuntu server as a router...
[13:42] <shubuntu> so what
[13:42] <Deeps> at least, not this server in question, anyway
[13:42] <J-_> I've always used eth0
[13:42] <shubuntu> the router does the routing
[13:42] <Deeps> this server isn't a nat gateway, it's simply another machine behind the nat router.
[13:42] <J-_> That didn't do it though, I'll google some.
[13:43] <J-_> Maybe I have to log in and out again.
[13:44] <shubuntu> try all
[13:44] <shubuntu> :P
[13:44] <Deeps> possibly, i'm not very familiar with using linux desktops
=== BrunoX1ambert is now known as BrunoXLambert
[16:34] <J-_> Is it possible to automount an external drive easily on a LAMP server?
[17:46] <maxbaldwin> What does the *L* in LAMP server stand for?
[17:50] <Nafallo> Linux
[17:57] <evarlast> hence WAMP where Linux becomes Windows or SAMP where linux becomes Solaris, or MAMP where it becomes MAC
[18:11] <lapo> hi
[18:11] <lapo> I'm having a strange problem, I have a samba+ldap pdc on hardy (samba 3.0.28a)
[18:12] <lapo> I can join other samba machine w/o problems
[18:13] <lapo> on those btw wbinfo -g works while wbinfo -u don't (Error looking up domain users)
[18:13] <lapo> any idea?
[18:22] <moldy> hi
[21:16] <akincer> I'm trying to use some variables as part of a complex pipe in a custom init.d script and it doesn't seem to be working, anybody here proficient in such things?
[21:30] <akincer> nm, figured it out
[21:54] <altf2o> quick question: Got Ubuntu Server 8.10 on an old 500Mhz/256MB RAM/13GB HD box. I believe i've found the proper "incremental backup solution" on the help page w/ simple scripts. However i want to create a /complete/ Image so if i ever need to reimage the drive, or a new one i can. Anyone have any tools in mind capable of doing that?
[21:57] <Deeps> partimage
[21:57] <hads> altf2o: dd
[21:58] <Deeps> or dd, if space isn't an issue
[21:58] <hads> I was trying to remember the one that skipped empty blocks but can't think of it.
[21:59] <hads> partimage is probably what I was thinking of.
[21:59] <altf2o> perfect. Now i do have multiple partitions, that wouldn't impact my ability to successfully reimage correct? Or might some "links" or other settings be lost in that process?
[22:00] <altf2o> I.e. if i go from my current multi-partition setup, to a new install w/ a single partition & swap space only
[22:00] <Deeps> partimage skips empty blocks, or at least, compresses them down so they're small enough
[22:00] <Deeps> if you restore from an image, you're restoring the original partitioning layout too
[22:00] <Deeps> although if you want a full disk image from multiple paritions, you may be better off piping dd through gzip
[22:01] <Deeps> as partimage makes images per partition
[22:02] <altf2o> ok, perfect. I'll kind of weigh my options & go from there. I would just hate to be S.O.L. in the event of a hardware crash. I'd hate to setup all the stuff on this box again, lol.
[22:02] <altf2o> rephrase: The nerd in me would love it, the logical part of me would think, "Idiot should've made an image"
[23:08] <Aperture> Hi Everyone. I'm running Wordpress, PHP, Apache, and MySQL on an Ubuntu machine (to use as a webserver). It is wirelessly connected to my network. Every 10 minutes or so, I can't connect to the server and if I ping it, I get the message "host is down/unreachable". I've gone through and pulled back all of the energy saving settings to no avail.
[23:12] <jtaji> running a server over wireless is bound for failure
[23:13] <jtaji> I wouldn't trust it anyway
[23:14] <Deeps> wireless is fail
[23:15] <Deeps> maintain an active ping to the server
[23:15] <Deeps> or some other kind of active session with traffic going back and forth over the wireless
[23:15] <Deeps> if it still drops out after a while, then it's not energy saving issues
[23:15] <Deeps> it's a shoddy wifi card / access point
[23:16] <WoLf_Loonie> Hello, and sorry to disturb. I'm having an issue with my server, was trying to create a self signed SSL certificate to be used with Dovecot.. but I can't get the hostname right.. should be only "hostname", instead, it states "hostname.domain", and it always returns an error when I check the emails.. anyone could point me where to look to fix this?
[23:35] <WoLf_Loonie> Nevermind, I've found the error. (was a different default filename used on the docs I was going by. >.<)
=== liberfiasco is now known as libervisco