/srv/irclogs.ubuntu.com/2010/10/07/#ubuntu-server.txt

The_PacoHi. I'm trying to get nmbd/smbd to restart properly when I make changes, but I wind up having to kill them because upstart wants me to use "service smbd restart" or "service smbd stop" and then says "restart/stop: unknown instance"00:11
The_Pacohow can I get smbd/nmbd to restart properly without resorting to kil?00:12
armenbhello...what's the fundamental difference between ubuntu-server and ubuntu-desktop?00:16
armenberr, desktop and server versions of ubuntu00:16
The_Pacoserver is stripped down, no X interface00:17
armenbI'm trying to install a *-dev package in Desktop, and it can't find it00:17
armenbwhereas my server instance can...00:17
armenbis there something I'm missing?00:17
The_Pacocheck to see if they're using the same sources in apt-get?00:17
The_Pacothey're largely identical, afaik. So they should be able to find and install the same packages. Be careful that you're not committing yourself to loading x11 if you use aptitude, though, as it tries to resolve dependencies00:19
qman__ubuntu server and desktop use the same apt repositories, so you have one enabled on your server that is not enabled on your desktop00:19
qman__the biggest difference is the default package set00:20
qman__the kernels are slightly different too00:20
qman__but they're the same core OS, and everything from one can be installed on the other00:20
qman__The_Paco, you're looking for "service samba restart"00:21
armenbgah, lame. I needed to apt-get update first.00:22
qman__or maybe not00:22
qman__that's what it is on karmic00:22
qman__on lucid both smbd and nmbd exist00:23
The_Pacoah00:24
The_Pacowell00:24
qman__a whole lot of names changed in lucid, very frustrating00:24
The_Paco... no, says unrecognized service00:24
qman__but anyway, that error means that upstart is attempting to stop a PID that doesn't exist00:25
The_Pacois there some kind of better place for learning about upstart than that anemic wiki of theirs?00:25
The_PacoI'm feeling that the community has yet to get behind it, despite it now almost completely replacing init for us00:25
qman__it completely replaced init a long time ago00:26
qman__ubuntu's been using it in sysv compatibility mode since, I want to say, 6.1000:26
qman__it's only just now to the point where a lot of services have native upstart scripts00:26
The_Pacofun00:27
The_Pacowhere are the upstart scripts held, then?00:27
qman__I'm really not a fan of upstart00:27
qman__ /etc/init/00:27
The_PacoI'm starting to understand that mindset00:27
The_Pacookay, so same place00:28
qman__no00:28
qman__sysv scritpts are/were in /etc/init.d/00:28
The_Pacooh yeah that's right00:28
qman__in my opinion upstart overcomplicates things00:28
qman__not that it's a bad idea at its core00:28
qman__if you're interested in some reading, I found this idea to be brilliant  http://0pointer.de/blog/projects/systemd.html00:30
The_Pacoit's fighting with itself00:30
The_Pacoyeah, I'll read it00:31
The_PacoI've got to learn how to manage these things properly. Init.d was annoying but at least by the time I was slightly familiar with it it was consistent. Trying to run the smbd upstart script puts me in an endless loop admonishing me to use certain commands while ignoring the ones I give and spawning more smbd's00:32
qman__yeah00:32
qman__somehow, your smbd is running outside of upstart00:33
qman__a reboot would probably fix it, though you should be able to just kill it and start a new one00:33
qman__if it's not working, something else is getting in the way00:33
The_Pacoit's been a while since a reboot, what could it hurt. Few mins.00:36
The_Pacohuh, actually seems to be behaving now, funny that00:40
The_Pacojust goes to show that even with linux, the first troubleshooting step is always to restart and see if that fixes it00:40
qman__well, that's the easy way00:41
qman__but it's also almost never actually necessary00:41
qman__question is, is it worth the time to figure it out00:41
The_PacoI'm extraordinarily good at breaking things00:41
uvirtbotNew bug: #656048 in amavisd-new (main) "package amavisd-new-postfix (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/65604800:41
The_Pacocouldn't hurt, wave of the future and all that. Thanks. Later00:42
* freeflying 01:48
paul_whippIs this a good place to ask a beginner question about postfix?01:51
AmgineReasonably ok, paul_whipp.01:52
paul_whippthanks Amgine - it looked a bit quiet;01:52
Amgine<grin> It's quite quiet, but you'll never know unless you ask your question.01:53
paul_whippI am a web developer and I've been using ssmtp but I need to change it to postfix. I can probably deal with the installation and configuration once I understand what it means by hostname - does this need to be a known domain for the mail server?01:53
qman__the hostname it asks for in the debconf menu is the domain you want that server to receive mail for01:55
Amginehttp://www.postfix.org/VIRTUAL_README.html#canonical01:55
paul_whippI want it to receive email for lots of domains though01:55
qman__then think of it as the primary domain01:55
qman__you can add more though additional configuration01:56
paul_whippok, thx01:56
paul_whipp<looking at link>01:56
Amginepainful, but you should be able to work through it.01:56
paul_whippit is - I just want it to send the mail for each domain (and not route it through gmail like I had ssmtp doing)01:57
qman__mail is a lot of work01:58
qman__local mail is no big deal, but mail on the internet has to be done right, otherwise your messages will just get marked as spam01:59
qman__and you don't want to get your IP blacklisted01:59
paul_whippYes - I've been dragged into this by clients sticking around on my 'test' server in the cloud. Their email forms all come from 'me' as the gmail sender.02:00
paul_whippI guess I'm just going to have to plough through it.02:01
=== ivoks is now known as ivoks-afk
paul_whippIs there any reason I can't try postfix out by installing it on my desktop machine (it has a static IP)?02:04
qman__no02:10
paul_whippthanks qman, I'll try it there first.02:10
qman__I actually run postfix in a smarthost configuration on mine to forward SMART messages and such02:10
paul_whippI've been using ssmtp there too but I can afford to break it <grin>02:11
qman__pumped to my main server, which sends them through a gmail account to me02:11
qman__I know postfix is overkill for that use, but it's what I know02:11
* ScottK has postfix on ~every computer he owns down to and including his netbook.02:11
qman__yep02:11
paul_whippWow. OK - I think I'll have more questions soon. I'm going to work through the installation and configuration locally now.02:12
qman__that extra few K of RAM is insignificant compared to the hundreds of megs web browsers leak02:12
paul_whippssmtp has served me well for forwarding to my gmail account for system stuff and it only took a few minutes to install and set up. I'm going to miss it.02:13
qman__postfix is easy to set up that way for the clients, just pick smarthost and point to your server02:14
ScottKPostfix is at least as easy to install for a relay (as qman__ says)02:14
qman__ the server took a little more time to set up, but not more than a couple hours02:14
qman__google time included02:15
ScottKLongest it ever took me to set up a Postfix server was about 3 hours.02:15
ScottKAnd that was starting from boxes of parts on a table.02:15
qman__it only gets complicated with a 'real' server on the internet02:16
paul_whippHmm... I will need a 'real' server for the clients although it only needs to send mail so far.02:16
qman__yeah02:16
qman__but you still need to get it right, because fishy headers equal spam, and that means blacklist02:17
paul_whipp<googling smarthost>02:17
paul_whippIs there an easy way to 'know' I've got it right (no fishy headers or open relay)?02:17
qman__open relay is easy to test02:19
qman__and sending test mail to your own personal accounts, and checking the headers should factor in the anti-spam measures02:19
paul_whippqman: thx, how do I test open relay?02:20
qman__telnet in on 25 and attempt to send mail without authenticating02:20
paul_whippqman: thx. I can do that.02:20
qman__by default, I'm pretty sure it allows open relay on the local subnet02:21
qman__so you'd have to change that02:21
paul_whippok. I'm going to try installing it and see if I can put some of this into practice.02:21
_Techie_how to disable TLS in postfix?02:22
ScottKIt's not enabled by default.02:22
ScottKpaul_whipp: By default, Postfix is not an open relay, so you don't need to worry about that much unless you edit configuration files.02:22
paul_whippthx ScottK02:23
electrofreakDid ubuntu cut out the adaptec driver from the kernel?02:27
electrofreakin 10.0402:27
electrofreakall the things I'm reading on adaptec's Linux blog seem to indicate (for previous ubuntu versions) that the code is already included...02:28
electrofreakbut it doesn't appear to be for 10.04?02:28
SpamapSelectrofreak: "the adaptec driver" ?02:42
electrofreakaacraid02:43
electrofreakSpamapS, ^^02:44
SpamapSlinux-image-2.6.35-22-generic: /lib/modules/2.6.35-22-generic/kernel/drivers/scsi/aacraid/aacraid.ko02:45
SpamapSits in maverick02:45
electrofreakis maverick 10.10? (I don't keep up with these silly names)02:45
SpamapSelectrofreak: yes, 10.1002:45
SpamapSwhich is out in 4 days ;)02:45
electrofreakwait a second... I have it in my libs, too...02:46
electrofreakwhy isn't my card being seen?02:46
electrofreaklspci sees it... but I'm not getting any /devs for my array02:47
SpamapSelectrofreak: I'm always fuxzy on how initrd's work .. but maybe its not in there?02:47
SpamapSelectrofreak: lsmod | grep aacraid02:47
electrofreakwell, I just modprobed it... and it inserted...02:48
electrofreakwhat would the devs come up as?02:48
SpamapSI forget02:49
electrofreakwait... there it is02:49
electrofreakI'm so sorry... this appears to have been a retard moment, brought to you by electrofreak. everything is working....02:49
electrofreakit is /dev/sda... so it must have been there at boot.02:50
SpamapS:-D02:50
SpamapSactually02:50
SpamapSthe modprobe would have created it02:50
electrofreakSpamapS, nothing printed out recently in dmesg....02:50
electrofreakand now that I look more closely at dmesg, I do see it initializing... about 2.2 seconds after kernel started timing.02:51
electrofreakso, my bad.02:51
* SpamapS drums fingers waiting for AT&T EDGE speeds.. 02:52
electrofreaknow what we need is ASM/arcconf in apt...02:52
electrofreakadaptec is working on improving support for debian based distros...02:53
electrofreakso I was able to get it setup from a build they mentioned in their blog.02:53
electrofreaknow I need to reboot though. flashed new firmware to my card. Thanks SpamapS!02:53
paul_whippmore postfix questions: I installed it fine on my local machine and I set it up to relay to gmail but how do I specify the port?03:08
paul_whipppostfix trouble: I just tried using smtp.gmail.com:587 but then I get a certificate failure message in the log. Don't really want a certificate. How do I get relay to gmail to work?03:16
twbapt-get install  ca-certificates03:22
twbthat cert's in the default list03:22
paul_whipptwb: why do I need a cert?03:23
twbYOU don't03:23
twbBut postfix needs to be told to trust the cert that smtp.gmail.com is using03:24
twbIf ca-certificates is installed and you haven't unchecked any options in the low-priority debconf prompts, that SHOULD be the default behaviour (unless postfix is very weird).03:25
paul_whippI already have it installed03:25
paul_whippI have no idea about prompts so I guess I did not uncheck any <grin>03:25
twbThen pastebin the full transcript and/or talk to #postfix about it03:25
paul_whippok, thx03:25
twbhttp://paste.debian.net/94002/ <-- you should have something like this03:29
paul_whippthanks twb. It actually sent the mails in the end - it seems the certificate line was just a warning.03:38
paul_whippI have a working postfix server :-D03:38
twbWhatever03:38
paul_whippNow I just need to work out how "not to relay"03:39
twbThat should also be the default behaviour03:40
paul_whipptwb: I hope so, I'm going to comment out the gmail relay configuration and give it a go.03:42
DravekxAnyone have a fix for this error? status: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory03:42
Dravekxit happens when I try to check status on a service03:42
paul_whippDravekx: are you checking in a login shell?03:43
Dravekxpaul_whipp, no. checking samba status. but it gives me the error no matter what service status I check via SSH.03:43
Dravekxor lol. that's what you asked.03:43
twbSomewhere in postconf there are options on which domains you accept mail for03:44
Dravekxany idea on a fix?03:44
paul_whippDravekx: dbus is a pain. If you google you'll find some variables you need to set up for it to work.03:45
paul_whipptwb: Luckily I only want to send mail to begin with <takes baby step>03:46
twbIf your 25 and 587 are closed, then you aren't an open relay03:46
paul_whippCool. I can fix that easily in the firewall to be certain.03:46
twbExcept potentially in the more general sense, like having a "send this page to a friend!" feature on your website03:47
paul_whippDravekx: Hang on... I'll dig something up03:47
Dravekxpaul_whipp, Ahhhh... nvm... I got it. I wasnt using root.03:48
Dravekxit's a samba issue now.03:48
paul_whippDravekx: ok cool.03:49
zanthirHello, does anyone know how to add groups to groups?03:49
zanthirI'm running xfce on my ubuntu-server, and the groups for services (such as www-data) are well *ahem* groups, not users.03:50
zanthirOn my Ubuntu (not server) machine, these users are users, not groups (www-data for example).03:51
demonsporkzanthir, they are groups _and_ users03:51
demonsporkzanthir, do they exists in /etc/passwd03:51
zanthirdemonspork, I don't have an /etc/passwd...03:53
demonsporkzanthir, then you are not usin Linux03:54
demonspork"cat /etc/passwd"03:54
paul_whipptwb: I think send it to a friend would still work. Having removed the relay I'm seeing the connection attempts time out e.g. "connect to gmail-smtp-in.l.google.com[74.125.155.27]:25: Connection timed out" for an email to my own gmail address03:55
demonsporkshould give you a list of users03:55
zanthirdemonspork, I installed Ubuntu Server 10.04. I believe I am using Linux.03:55
demonsporkzanthir, then there is a 100% chance that the file "/etc/passwd" exists03:55
zanthirYou have an email? You can SSH in and look for yourself. Not there. Sorry...03:56
twbdemonspork: it is theoretically possible to have a working system that doesn't use "files" or "compat" for name resolution.03:56
demonsporkyeah, that is possible03:56
demonsporkbut only theoretically03:57
demonsporkI didn't even bother mentioning it though03:57
twbIndeed, when I try it about four packages fail their postinsts03:57
twbThough those are bugs03:57
demonsporkzanthir, do you have a terminal window open?03:57
demonsporktype "cat /etc/passwd"03:57
twbCertainly *UBUNTU* is required by specification to have a specific set of users and groups present in /etc/passwd and /etc/groups03:58
demonsporkor even just "stat /etc/passwd"03:58
zanthiroh, taht last one worked!03:58
twbzanthir: if /etc/passwd doesn't exist then your system is broken03:58
zanthirSo, it's probably just hidden?03:59
twbzanthir: if you're using a GUI, I cannot comment on its behaviour.03:59
zanthircat says "No such file or dir..." but stat finds it...04:00
twbThat shouldn't happen.04:00
zanthirerr... sry, I cat-ed for /etc/group, not passwd... Sorry.04:00
zanthirRight, ok. Cat finds everything.04:00
zanthirFor some reason though, they only show up as groups in my users and groups GUI...04:01
zanthirShould I probably ignore that and just try adding them to groups as if they were users from the cmd line?04:02
zanthirMm. Ok. Thanks twb.04:03
zanthir(about GUI)04:03
zanthirThank you too demonspork.04:15
RudyValenciaOK, so my server runs approx package caching, if I copy the contents of /var/cache/approx to another drive and then reinstall, will I be able to restore the cache by simply copying it back (along with the appropriate configuration)?04:49
twbIIRC, yes05:02
twbBut I am emphatically NOT a fan of those apt cachers, they've caused me far more problems than they've solved.05:02
twbNowadays I simply run debmirror, which consumes on average maybe 128MB a week to keep a complete mirror of lucid and hardy.05:03
jcastrosquid-deb-proxy my friends05:06
jcastrosquid ftw05:06
twbI've had problems with "optimized" squid cachers, too05:07
jcastrobooo05:07
twbIn particular, when they decide to cache Packages.bz2 (which is big) but not Release (which is small)05:07
twbSo you get checksum errors05:08
flock_dear friends i am try to create a name based virtual host in my local machine, but it is not working,05:08
flock_I add the following lines in the configuration file05:09
flock_<VirtualHost *:80>05:09
flock_ServerName www1.example.com05:09
flock_ServerAlias kevin05:09
flock_DocumentRoot /test05:09
flock_<Directory "/test">05:09
flock_Options Indexes FollowSymLinks05:09
flock_AllowOverride None05:09
flock_Order allow,deny05:09
flock_Allow from all05:09
twb!paste05:09
flock_    </Directory>05:09
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.05:09
flock_</VirtualHost>05:09
twbflock_: are you testing it with netcat?05:10
flock_i am using unutu 10.0405:10
flock_and using apache205:11
twbThat was not my question.05:11
RudyValenciaI think I'll just reinstall from a disc05:11
RudyValenciawhich no longer fits properly on a CD-R05:12
RudyValencia(I have to use a DVD-R now)05:12
qman__I use squid05:13
qman__it's not perfect but it's effective when all my servers update at the same time05:13
qman__I blacklisted Packages.bz2 and Release and such from being cached05:14
twbqman__: in theory, I just have my servers point to the local quaternary mirror05:17
twbThat hasn't actually happened yet because the debmirror is on a fucking 10baseT hub or something, so it's actually slower than the ISP's tertiary mirror...05:18
RudyValenciaI'm backing stuff up right now, what else should I back up besides /etc ?05:21
RudyValencia(on my server)05:21
RudyValenciaI know definitely userdirs05:21
gravity1187what service are your providing from your server?05:21
RudyValenciaSamba shares (from folders on a separate drive mounted to /srv), Web serving (also from the separate drive mounted to /srv), PXE Ubuntu installation, approx package caching, DNS, DHCP, and printing services05:23
gravity1187and /srv are on their own drives05:25
gravity1187any custom scripts that you may have put in /usr/bin or /usr/sbin05:25
gravity1187any mysql databases05:25
RudyValencia/dev/sdb1 is attached to /srv05:25
RudyValenciaI haven't made any scripts05:25
RudyValenciaand I did back up the MySQL DB05:26
RudyValenciaI decided just to copy /etc wholesale05:26
gravity1187yeah....any programs in /opt05:26
gravity1187that weren't installed from apt05:27
RudyValencianothing in /opt05:27
RudyValenciathat's probably good enough05:27
gravity1187then I would just be concerned with the /etc directory05:27
RudyValenciahm, my backup drive is ntfs though :(05:28
gravity1187what are you using for back up software?05:28
RudyValenciajust cp -a05:28
gravity1187you may want to look at rsync05:29
RudyValencia(to preserve the files as they are, but I just realized that ntfs won't save permissions05:29
gravity1187lot better solution in the long run05:29
gravity1187no it won't05:29
RudyValenciaI need to format the backup drive as ext3 or something05:29
gravity1187probably be the best way to go unless your zip or gun-zip the back-up first and then copy that to the ntfs partition05:30
qman__using ntfs is a bad idea anyway05:32
gravity1187so you could cp the entire etc directory into a backup directory and then gzip the directory and move it to your backup partition05:32
qman__the odds are one in a million, but you don't want it to be your partition that blows up05:32
gravity1187agreed05:32
RudyValenciaI'm setting the backup drive up with ext305:32
gravity1187qman__: an you think of any other important directories other than the obvious?05:33
qman__might want to take an ls of /var/cache/apt/archives, so you can look back at what packages were installed05:33
qman__or dpkg -l or whatever05:34
gravity1187I thought about that one05:34
RudyValenciaI'm just reinstalling only what this server needs05:34
qman__have a look through /var to see if there's anything in there you need and missed05:34
qman__and your home directories05:35
gravity1187RudyValencia: you said you were using Samba are you also using LDAP05:35
qman__everything else important would be in /etc05:35
RudyValenciano, just workgroup mode05:35
gravity1187log files might also be good if you are worried about retention05:36
RudyValencianah, this is my private server in my residence05:37
gravity1187etc it is then05:38
RudyValenciaI guess just /etc, /var/lib/tftpboot, /var/cache/approx, and the MySQL dump05:40
RudyValencia(and possibly /srv for good measure, just in case something goes horribly wrong_05:40
twbA backup should include all of /etc and /var, and if used /opt and /srv05:46
RudyValenciaah05:56
RudyValenciaok05:56
RudyValenciawill be backing up /etc and /var after /srv copies05:57
twbIf I were you, I'd backup the whole filesystem06:01
paul_whippI have a new working postfix install on a web server running a number of sites. The sites use forms that access sendmail via PHP (Joomla) and send emails to site staff etc. from the public. The PHP code changes the from email address so that the staff can reply directly to the person that sent them the mail if they choose to. Unfortunately, this results in the emails being put into the SPAM folder because "this message was likely forged and did not06:05
gravity1187have you tried whitelisting the From address?06:06
paul_whippNo.06:07
paul_whippIs that something that has to be done on a per recipient basis?06:07
gravity1187yes and or per sender basis06:07
paul_whippPer sender would be impossible because they are members of the public filling in a form06:08
gravity1187are you using spamassasin?06:08
paul_whippI'll try the 'real' sender06:08
paul_whippNo06:08
=== _Techie_ is now known as _TechAway_
gravity1187so what program is picking it up as SPAM?06:08
paul_whippgmail06:09
gravity1187hmmmmm06:09
gravity1187is this a public facing server?06:09
paul_whippYes.06:09
twbProbably your MTA is misconfigured06:10
paul_whippWhitelisting the real sender does not help06:10
twbe.g. it's HELO'ing with a hostname that doesn't resolve.06:10
gravity1187that was what I was going to ask next06:10
paul_whipptwb: very possibly since I barely know what I am doing06:10
gravity1187yep06:10
gravity1187what MTA are you using06:10
twbYou mentioned sendmail.  Do you mean /usr/sbin/sendmail, or sendmail-the-MTA?06:10
twbYou should be using postfix, not sendmail, as the MTA.06:10
gravity1187concur06:11
paul_whippthe mta is postfix I just installed isn't it?06:11
gravity1187nope sure isn't06:11
gravity1187goto http://www.howtoforge.com06:11
paul_whippthen the MTA is google gmail - its an online reader06:11
twbpaul_whipp: wrong.06:11
paul_whippso what is the MTA?06:12
gravity1187they have great tutorials on setting up postfix so that is secure and compiant06:12
twbsmtp.gmail.com operates and MTA, but it is not YOUR MTA.06:12
qman__his MTA is postfix, he mentioned it in his original question06:12
gravity1187MTA stands for Mail Transport Agent it is the program that sends and receives mail06:12
twbYour MTA is a daemon running on your server.  Its job is to 1) receive mail from local users and send it to local/remote receipients; and/or 2) to receive mail from remote recipients for local users.06:13
paul_whippSorry - I'm filling in a form on a website that has my newly installed postfix sending the mail for it (via the sendmail php interface). When I receive the email as an end user via an online google gmail account it appears as spam.06:13
=== _TechAway_ is now known as _Techie_
paul_whippMy postfix is not receiving any email - it doesn't need to.06:13
gravity1187what is your server hostname?06:13
twbgravity1187: tell him how to get the information, otherwise he'll give you the wrong datum06:14
paul_whippHow do I check the hostname? I think I entered samfordwebsites.com.06:14
twbpaul_whipp: what does "cat /etc/mailname" return?06:14
twbpaul_whipp: pastebin the output of "postconf"06:14
paul_whippsamfordwebsites.com.au (I was close ;))06:15
twbpaul_whipp: pastebin the output of "ip addr"06:15
paul_whipppastebin...06:16
qman__!paste06:16
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.06:16
paul_whippAh - whitelisting 3 times in google seems to have worked for the gmail account (guess they are using a heuristic)06:17
paul_whipp!paste06:17
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.06:17
gravity1187paul_whipp: Part of the problem is your server is blacklisted http://mxtoolbox.com/SuperTool.aspx?action=blacklist%3a174.129.39.15606:18
qman__you can use any pastebin you like, that's just one of them06:18
paul_whipphttp://paste.ubuntu.com/507784/ for postconf06:18
paul_whipphttp://paste.ubuntu.com/507785/ for ip addr06:19
paul_whippAt least I have a workaround by whitelisting the sender. I can tell my various clients that they have to do this so that the messages don't end up in their spam folders.06:20
gravity1187what is the public addy of this server?06:21
paul_whippIt does not have one.06:22
twbgravity1187: look at the ip a result06:22
paul_whippI've always just used the IP06:22
twbpaul_whipp: that doesn't help.06:22
twbYour network's mail gateway should have a public IP.06:22
gravity1187twb: I did not responding to ping and the domain ip is different06:22
gravity1187and that is probably y you got black listed06:23
twbIt should also have valid A and PTR and MX records and your /etc/maildomain should correspond to them.06:23
paul_whippI'm out of my depth here - Its just a machine in the cloud running a number of websites via apache. I DNS to the IP fine and everything (including ssmtp) worked fine.06:24
paul_whippI do own the samfordwebsites.com.au domain but its just one (not set up) site on the server that happens to be mine.06:25
paul_whippblack listing seems strange since until now its only sent a few emails via my gmail account.06:25
twbpaul_whipp: that you know about06:25
paul_whipptwb: fair point. I do look at the logs though.06:26
twbIt's entirely possible that your PHP crap is allowing anyone to send mails to anyone, i.e. it is an open relay06:26
Amgine<eyebrow>06:26
paul_whippScary thought - Its Joomla (latest version) so quite popular.06:27
paul_whippI don't think that is possible though unless it can be hacked to change the recipient somehow.06:27
twbYeah, well.  IME PHP hackers tend to excel at including that kind of feature in their code.06:28
paul_whipptwb: possibly, but Joomla seems pretty sound and being Open I haven't seen any sign of issues. Most security problems come from people leaving the doors open with it.06:28
twb"seems pretty sound" in what way?  Suddenly you're a security analyst?06:29
paul_whipptwb: No but I can read code and the mail part is pretty small. As for the rest I am dependent on the Joomla updates and feedback.06:29
paul_whippAs ssmtp has never had any kind of related records (not sure how it could) might the blacklisting be more to do with the IP range - its an amazon elastic IP06:31
twbHmm, the latest relevant one I can see is06:32
twbCVE-2008-4103 The mailto (aka com_mailto) component in Joomla! 1.5 before 1.5.7 sends e-mail messages without validating the URL, which allows remote attackers to transmit spam.06:32
uvirtbottwb: The mailto (aka com_mailto) component in Joomla! 1.5 before 1.5.7 sends e-mail messages without validating the URL, which allows remote attackers to transmit spam. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4103)06:32
paul_whippyes - I keep the updates going. 1.5.20 now.06:32
twbMost of the other vulnerabilites are SQL injection or information disclosure06:32
twbpaul_whipp: you're using ssmtp as your MTA?06:33
paul_whippI was until now.06:33
paul_whippI only needed to send emails from the sites when user forms etc. are filled in.06:33
twbLast time I looked, that did the Wrong Thing when you tried to point it at the real world.06:33
paul_whippWorked fine relaying through gmail. Its been running for a couple of years like that until now. Trouble was that with more client sites the recipients of the form emails would just click reply - sending an email back to me rather than to the user who filled in the form.06:34
twbParticularly when on a NATted box where dnsdomain and maildomain and friends don't match up with the smarthost's view of the world06:34
twbpaul_whipp: that's what ssmtp is supposed to do06:35
gravity1187twb: look at private06:35
paul_whippsorry - private?06:36
gravity1187I sent a private message to twb06:36
paul_whippok - I can't see that then.06:36
gravity1187nope sure can't06:37
gravity1187me and twb are having a sidebar06:37
paul_whippnp06:37
gravity1187paul_whipp: what is the from address that you are using06:38
paul_whippI've been entering different ones on the forms - here is a form: http://174.129.39.156/~samford_state_school/index.php?option=com_contact&view=contact&id=1%3Apaul-whipp&catid=8%3Aadministration&Itemid=2906:39
paul_whippThat one sends emails to me (obviously) but they want to add lots more contacts on this and on one other Joomla site hosted on the same server.06:41
qman__if the messages you're sending aren't from a domain that points back to your mail server, they will get marked as spam06:41
qman__sooner or later06:41
qman__because that's how spammers work06:41
paul_whippYes, thanks qman, I think this is an unsolvable problem. If I could do it then I could effectively spoof emails to appear to come from anyone.06:42
qman__like twb said, you need A, PTR, and MX records identifying your server as part of the domain06:42
paul_whippI will have to set up the one domain properly.06:43
gravity1187and then instead of using the mail php script due via an actual account06:43
gravity1187do it via an actual account06:43
paul_whippGood idea. I like the form though because it keeps the destination email private.06:43
gravity1187and it still will be private it is just going to go through an actual account for sending to the authorized individual that needs to receive it06:44
twbpaul_whipp: sending mail without meaningful DNS records *will* get you blacklisted06:44
paul_whippok - thanks very much for the help. I will configure one proper domain (one of mine) and then inform the clients they have to whitelist that. I think that will solve the problem. gtg now.06:45
twb"keep the destination private" is achieved by setting an envelope RCPT TO but not specifying a message To field, or by using BCC instead of To.06:45
twbNote that this will also often your message classed as spam.06:46
paul_whippok - thanks. Lots more reading (and configuring to do) then. l8r06:46
gravity1187If you need help come back and chat06:46
gravity1187also have a look in the wiki and http://www.howtoforge.com has great tutorials06:47
=== gravity1187 is now known as gravity1187_away
Zeu5anyone here can help me with my server set up? i am using ubuntu07:07
Zeu5my domain is correct. http://ombi60.biz/ but somehow its not pointing to my cakeapp07:07
twbcake is some ruby thing, right?07:17
Zeu5twb: hi its a php framework07:21
Zeu5twb: i have placed the files inside a folder inside /var/www/myapp/trunk07:21
qman__Zeu5, your domain is pointing to /var/www07:22
Zeu5i do have a index.html in /var/www but i am sure i pointed my virtual hosts to the new folder and restarted my apache. please advise07:22
qman__either modify the default site configuration to point to /var/www/myapp/trunk, or move your files to /var/www07:22
Zeu5qman__: thank u for help. shd i pastebin my apache conf file?07:22
qman__yes07:22
Zeu5hangon.07:23
Zeu5qman__: http://apache.pastebin.com/t5da94gY thank you07:25
qman__that's not the right way to do it in ubuntu07:26
qman__please undo the changes you've made, then modify /etc/apache2/sites-available/default07:26
Zeu5qman__: the only changes i have made are those line 10 onwards07:27
Zeu5qman__: are you asking me to remove them?07:27
qman__yes07:27
qman__in ubuntu, site configurations are in /etc/apache2/sites-available/07:28
qman__modifying the default is the easiest way07:28
qman__right now, the default site is overriding your configuration07:28
Zeu5qman__: how shd i correct it?07:29
qman__by creating the site the ubuntu way, either by modifying the default site, or creating a new site in /etc/apache2/sites-available/07:29
Zeu5qman__: i am not well-informed enough to make the distinction. would you mind advising me whether to modify default site or create new site?07:30
qman__modifying the default site will be easiest07:30
Zeu5and how to modify OR create07:30
qman__all you need to do is change the documentroot07:30
Zeu5i changed. i tried to restart i get a fail07:31
qman__what's the error?07:32
qman__see /var/log/apache2/error.log07:32
Zeu5[Thu Oct 07 06:35:40 2010] [error] (2)No such file or directory: could not open transfer log file /var/log/apache1/other_vhosts_access.log.07:36
Zeu5Unable to open logs07:36
Zeu5i got this when i restarted apache07:36
qman__run the following command and pastebin the result (if it's more than one line)07:36
qman__sudo grep -R other_vhosts_access /etc/apache207:37
qman__also, paste the result of07:38
qman__sudo ls -l /var/log/apache2/other_vhosts_access.log07:38
Zeu5http://pastebin.com/p4ZGnh1P07:38
Zeu5http://pastebin.com/XzajJrpu07:39
qman__ah, there's the problem07:39
Zeu5i am sorry i dun get it07:39
qman__it's a typo07:40
Zeu5can u please teach me07:40
qman__see how it says "apache1"07:40
Zeu5yes07:40
qman__edit apache.conf and change that line to "apache2" instead of "apache1"07:40
qman__apache2.conf*07:41
Zeu5YES!07:42
Zeu5qman__: thank u very much07:42
Zeu5there are other errors but i think those are application levels rather than at server.07:42
qman__probably07:43
qman__if apache started and didn't complain on-screen, that's likely the case07:43
Zeu5qman__: how do i check for mod_rewrite? i am not tat familiar with apache in ubuntu server07:54
qman__it is not enabled by default07:54
qman__if you need it, run07:54
qman__sudo a2enmod rewrite07:54
qman__then restart apache07:55
Zeu5qman__: the people over at #cakephp insists i look at the apache config to check that mod_rewrite is turned on. i have told them i have run that command you gave me. is there a way to doublecheck?08:01
qman__if you ran that command and restarted apache, and there were no errors, it is enabled08:02
qman__you can double check by running 'ls /etc/apache2/mods-enabled/08:02
qman__rewrite should be present08:02
qman__also, ensure that these lines exist in /etc/apache2/apache2.conf08:03
Zeu5qman__: i got this http://pastebin.com/iXNQEHHT08:03
qman__# Include module configuration:08:04
qman__Include /etc/apache2/mods-enabled/*.load08:04
qman__Include /etc/apache2/mods-enabled/*.conf08:04
qman__rewrite.load is present there08:04
Zeu5the lines you told me they are indeed inside apache2.conf08:05
qman__then, provided there were no errors, rewrite is loaded08:06
qman__the only other way to test is to create a script which utilizes it08:06
qman__but that's a little more complex08:06
Zeu5thanks qman__08:08
Zeu5qman__: i am toggling between here and the #cakephp channel. hopefully i can get this resolved soon.08:08
Zeu5qman__: i got it resolved. thanks. its a apache allowoverride issue.08:20
Zeu5qman__: you have a good day ahead :)08:20
qman__ah08:21
SpamapSgah.. I have to wake up in < 4 hours and I just can't fall asleep :P08:26
twbSpamapS: read a sendmail .cf08:34
twbOr just, you know, bull on through to the point where the fatigue toxins make you feel warm and fuzzy and lucid08:34
qman__I know the feeling08:36
SpamapStwb: that will be about the time I need to wake up anyway. ;)08:37
twbI watched Fight Club again last week08:37
twbSpamapS: for a meeting, or something actually important? :P08:38
SpamapSI drank a wheat beer and had a piece of bread + butter.. the insulin shock should push me over the edge enough to get a couple of hours of sleep. :)08:38
SpamapStwb: I have to board a plane in < 6 hours.08:38
* SpamapS has decided to fix RC bugs in squeeze to lull himself to sleep08:39
twbI can't help thining any still open are gonna be hard08:40
SpamapSyep08:40
SpamapShttp://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=59512008:40
SpamapSI think turning off name resolution (which is, IMO, a really stupid feature of mysql) is the right way to go. Even if its not turned off, I think its fair to think that requiring $named to start before mysqld is a bit weird.08:41
Zeu5 i got this error Invalid command 'VirtualDocumentRoot', perhaps misspelled or defined by a module not included in the server configuration and this was the line VirtualDocumentRoot /var/www/ombi60/trunk/%1/app/webroot08:43
Zeu5please advise08:43
Zeu5how do i check if i have truned on the right module for this to work.08:43
qman__mysql making use of name services is one thing, but it shouldn't _require_ them08:44
qman__just fall back to IPs if named is not available08:44
Zeu5hi qman__08:44
Zeu5:)08:44
SpamapSqman__: Yeah.. it does that, but it does it *really* slowly. ;)08:44
qman__Zeu5, looks like it requires mod_vhost_alias08:45
qman__sudo a2enmod vhost_alias08:45
Zeu5qman__: thanks! i gooogled ard but cannot find the right command. is there a reference to all these a2enmod commands?08:46
qman__a2enmod is simply a frontend, it creates symbolic links in /etc/apache2/mods-enabled/ for modules installed in /etc/apache2/mods-available/08:48
qman__so everything in /etc/apache2/mods-available/ can be enabled or disabled with a2enmod and a2dismod08:48
Zeu5qman__: thanks!08:51
Zeu5a2enmod simply means apache2 enable mod08:51
Zeu5got it08:51
Zeu5qman__: would you mind if i ask u more specific apache questions?08:57
qman__ask away08:58
Zeu5qman__: i am trying to set up a multi site  platform kinda like blogspot.com ,etc and i came across this article telling me how to optimize without using htaccess08:58
Zeu5http://bakery.cakephp.org/articles/view/boost-performance-by-removing-htaccess-plus-multi-site-with-virtualdocumentroot08:58
qman__this is exactly the place for that08:58
Zeu5scroll down to his part 208:58
Zeu5i modified my default to look like this http://pastebin.com/KLeBK3Mv now. it does not work. i wonder what i did wrong.08:59
Zeu5qman__: erm did i say something wrong?09:09
=== ivoks-afk is now known as ivoks
qman__sorry, I was busy for a moment09:10
Zeu5qman__: oh sorry am i disturbing?09:11
normanmhi there.. I'm using ubuntu 10.04 and see "java.io.IOException: File too large" messages09:11
normanmis there some os file limit with ext4 ?09:11
qman__no, just multitasking09:11
normanmI never saw this before on earlier rleases09:11
qman__I notice you're missing the section where he sets up the directory statement for the multiple directories09:11
qman__<Directory "/opt/leagues/sites/*/app/webroot/">09:12
\shnormanm: how large is your file?09:12
qman__and the following bits09:12
qman__where * is the user directories09:12
normanm\sh, eno clue as it happens within a mailserver09:12
\shnormanm: humm? you are running a java mail server?09:13
normanm\sh, yep.. development server09:13
SpamapSnormanm: ext4's max file size is in the terabytes, maybe even petabytes actually09:14
\shSpamapS: wait...09:14
\shI found a bug with the same error09:14
qman__the java file limit might be the problem09:14
normanm\sh, the max file size ?09:14
\shhttps://bugs.launchpad.net/gnome-split/+bug/580901 <- the guy says, he's using ext4 and the other guy tried it with ntfs and there it works09:14
qman__I know I ran into open file handle and open network connection limits in java before09:14
ttxhggdh, JamesPage: great job on ISo testing guys... hopefully we won't respin09:14
uvirtbotLaunchpad bug 580901 in gnome-split "File too large" [Undecided,Invalid]09:14
twbMax file size    16 TiB (for 4k block filesystem)09:14
\shnormanm: can you change your fs from ext4 to xfs or whatever else you could have?09:15
JamesPagettx: no problem; automated ISO testing ran through completely cleanly so all I had todo was update with test results!09:15
normanm\sh, I even can reproduce it with dd09:15
ttxWe might respin if we find a fix for Bug 64125909:16
uvirtbotLaunchpad bug 641259 in grub2 "grub does not appear to load after maverick post-beta install" [Critical,Fix released] https://launchpad.net/bugs/64125909:16
normanm\sh, http://pastie.org/120481309:16
normanm\sh, let me try ext309:17
twbJust because the *OS* supports 16TiB files doesn't mean *java* does09:19
normanmtwb, see my paste.. it even happens with dd09:19
twbCf. Emacs, which has a file size limit of 2**(word size - 3)09:19
twbnormanm: hum, OK09:19
SpamapSttx: wow, that grub bug is nasty09:20
ttxSpamapS: yes, cjwatson needs to reproduce on bare hw09:21
qman__Zeu5, ah, I see the part where you put it09:21
ttx /some/ servers have 100% failure09:21
Zeu5qman__: i think i know why. i did nt create 1 directory per user hence it didnt work09:22
ttxwe just hope we can get our hands on one failing example around here09:22
SpamapSnormanm: http://www.cyberciti.biz/faq/file-size-limit-exceeded-error-under-linux-and-solution/09:22
SpamapSnormanm: check ulimit -a09:22
qman__Zeu5, that would do it :)09:22
Zeu5my implmentation is slightly different from the article author. i got it to work though. :)09:22
Zeu5qman__: you are very friendly and patient. thank you. have a nice day :)09:23
qman__I haven't used that module in any capacity myself, so just looking for more obvious things09:23
\shnormanm: and eventually check your ulimit for that particular user you are running your dd / java app09:23
* SpamapS is starting to feel some possible sleepiness09:23
normanm\sh, I run at root09:23
normanmjust to make sure09:23
normanmulimit -a shows unlimited09:24
qman__normanm, I have run into similar problems with java applications hitting limits that don't apply to the rest of the system09:25
qman__never found the solution, just stopped using java09:25
normanmqman__, again.. it happens with dd too09:25
twbqman__: good man!09:25
qman__with dd, though, there is a problem09:26
twbnormanm: this is an ext4 filesystem?09:26
normanmtwb, yep09:26
normanmtwb, will try to get ext3 on it09:26
twbnormanm: please pastebin the output of "tune2fs -l /dev/sdAB" and "df /usr/local", where AB are the letter and number of the filesystem09:27
twbnormanm: also, if this is a VM or jail, specify the flavour thereof.09:27
qman__normanm, do you have any quotas enabled?09:27
normanmqman__, no quotas09:27
qman__or special mount options09:27
normanmtwb, yeah its a vm09:27
twbqman__: if he did, it SHOULD give a quota error09:27
normanmvmware09:27
qman__at precisely 10MB, something is almost certainly interfering with an artificial limit09:28
twbnormanm: do you have hgfs installed?09:28
twbnormanm: that is the vmware thing that provides file sharing with the host os09:28
normanmtwb, even don't know what it is ;)09:28
normanmso I guess no09:28
qman__oh, nevermind09:29
qman__I read that wrong09:29
twbDo you have the "vmware server tools" or so installed?09:29
qman__so it's between 10MB and 100MB09:29
twbAlso, pastebin those things I asked for09:29
ttxSpamapS, JamesPage: Another small issue I just detected on the ISOs: they still show "Ubuntu maverick (development version)" where they should say "Ubuntu 10.10" or something like that09:29
normanmtwb, http://pastie.org/120483209:29
qman__using vmware, did you preallocate the disk? if not, check the host OS for free space09:30
normanmqman__, there is about 2tb free space09:30
qman__ok09:30
ttxWe won't respin just for that though, we might go for a 0-day SRU on lsb-release09:30
normanmtwb, vmware tools are installed09:30
twbnormanm: that includes hgfs09:31
normanmtwb, ok09:31
normanmshould I stop the tools ?09:31
normanmits esx 409:31
twbIt won't hurt to try, I suppose09:31
SpamapSttx: That seems like a pretty serious problem.09:32
SpamapSttx: I mean, its cosmetic, but.. you install 10.10 official, and it claims to be the dev release?09:32
elisa871hi09:33
elisa871do you use citrix?09:33
normanmtwb, ok.. tools stopped same problem09:35
twbI'm out of ideas09:35
normanmtwb, funny enough.. if I create 10 files of 10mb it work09:36
normanmif I want to create one of 100mb it fails09:36
normanmso WTF!09:36
twbtalk to your vmware vendor?09:36
normanmwell with 9.04 I don't see this problems09:37
normanmbut its ext309:37
normanmso let me try this first09:37
normanmsame with ext309:38
normanmI don't get it09:38
twbapparmour?09:38
twbdmesg, logfiles?09:39
ttxSpamapS: I'd leave it to skaet... but you can voice your opinion on #ubuntu-release09:39
normanmtwb, apparmour disabled09:39
normanmnothing in dmesg / logfiles09:39
ttxi've mixed opinions09:39
twbpastebin the output of stracing the dd09:40
normanmlet me cool vm admin first09:41
normanmcool/call09:45
normanmtwb, http://pastie.org/120486009:52
normanmsame with xfs09:55
normanmso it must have something todo with the os09:55
normanmor vm09:55
normanmor whatever09:55
normanmneed to test more09:56
normanmwill come back later again09:56
twbnormanm: OK.10:00
twbI wonder if dropping to single-user mode would help10:00
twbI guess there's a lot of random shit in whatever upstart calls rcS10:00
normanmtrue enoguh10:01
normanmenough10:01
=== maxb_ is now known as maxb
JamesPagettx:  who's the resident postfix/amavisd expect on the team?10:07
JamesPagettx: ^expert10:08
ttxJamesPage: In the "Ubuntu server team" that would be ScottK10:10
ttxNoone in the canonical team is the 'expert', but I guess SpamapS or mathiaz know a bit about it10:11
JamesPagettx: OK - just wanted a second option on whether AV scanning with a postfix 'Local only' config was a common use-case;  I don't think it is (bug 656048)10:15
uvirtbotLaunchpad bug 656048 in amavisd-new "package amavisd-new-postfix fails to install when postfix configured for 'Local only'" [Low,Confirmed] https://launchpad.net/bugs/65604810:15
twbJamesPage: what would be the point?10:20
JamesPagetwb: I can't think of one :-); I guess you could send you (or someone else) on the same system a virus infected email10:21
twbWouldn't matter, since the system, being linux, doesn't really do the virus thing10:22
crbnscd doesn't cache DNS requests in Debian/Ubuntu10:36
crbtherefore every time anything wants a DNS response on my local network, it goes to my DNS server10:37
crb(tcpdump port 53 is very loud!)10:37
twbcrb: did you install it?10:37
crbevery now and then, under load, there's a 5 second delay on looking up names, which I suspect is related to running out of sockets10:37
crbtwb: install nscd?  I have it installed as I'm using LDAP for user auth10:38
crbbut it's the DNS traffic I'm concerned about at the moment10:38
twbnscd definitely does *something*, because without it, lucid's pam_ldap fails to talk to hardy's slapd due to some bizarro bug that I can't remember10:38
crbI had to install nslcd to work around a bizarro bug with pam_ldap10:39
crbbut the LDAP part is fine10:39
twbPADL needs to get their shit together10:40
crbI'm seeing 80 DNS requests a second from a given web server in production10:40
crbmultiply that by lots, and it makes me think some local caching might not hurt10:41
crbwhat's the general feeling on that?10:41
twbShrug10:41
crbhonest :)10:41
twbNote that nscd only affects nsswitch users10:42
qman__a caching secondary would likely solve that problem, but I'm wondering why a web server is making DNS requests at all10:43
twbSome retarded programs, like firefox and polipo, do their own DNS resolution.10:43
twbqman__: PTRs10:43
crbqman__: resolving internal services10:44
crbit does a SOAP call to our SSO10:44
qman__ah, ok10:44
twbsingle sign-on?10:45
crbauthentication backend, yes10:45
twbSOAP's a funny way to spell LDAP/krb10:46
crbLDAP is for UNIX users10:46
crbSOAP is for web users (Atlassian Crowd)10:46
twbAnd windows users10:46
crbAnd dirty people10:46
crbanyway, I didn't pick the applications10:47
crb(the web ones)10:47
twbYeah, fair enough10:47
qman__well, installing a DNS caching server on the web server with a reasonably short cache life (an hour or so) would solve the network bottleneck10:47
twbOpenID needs to die and be replaced by krb10:47
twbqman__: isn't that what nscd is?10:48
crbqman__: you have any preference? dnsmasq?10:48
qman__I don't know what nscd is10:48
crbmy understanding is nscd would do it transparently, at system call level10:48
twbI wouldn't think 80 hits per second is exactly a bottleneck10:48
qman__and I don't really have a preference, I haven't done anything extensive to have an opinion on performance of them10:48
twbcrb: yes, but only for stuff that uses those syscalls10:49
crbtrue10:49
twbcrb: if your app is doing them directly then it'll ignore nscd10:49
twbYou could try asking ss/netstat what's connecting (-p)10:49
crbnothing appears out of the ordinary10:51
sorennscd doesn't work at the syscall level, but at libc level.11:06
sorensyscalls are the interfaces to the kernel. The kernel doesn't care about DNS (or usernames, etc.).11:07
twbsoren: sorry, I was a bit confused11:08
bigbrovarHi guys, am using kubuntu 10.04 and am thinking of upgrading to 10.10 I setup ssh passwordless login keys on my current system to couple of servers I admin. can I just backup and save my .ssh file in my home and use it on the new install. would it work? or I would have to setup ssh-keygen again on the new system?11:15
=== ivoks is now known as ivoks-afk
a_okIs there a way I can boot ubuntu without networking?11:20
uvirtbotNew bug: #656225 in bind9 (main) "package bind9 1:9.7.0.dfsg.P1-1 [modified: usr/share/bind9/bind9-default.md5sum] failed to install/upgrade: el subproceso script pre-removal instalado devolvió el código de salida de error 1" [Undecided,Confirmed] https://launchpad.net/bugs/65622511:32
milxmy hosting provider sent me this log of suspicious activity on my account http://pastebin.com/bAU7RkeM - how would I generate such a log on my own server?11:50
=== _Techie_ is now known as _TechAway_
hggdhttx: a question -- the server ISo does not have 'reinstall Grub' anymore on the rescue option?12:13
ttxhggdh: no clue... it used to have that ?12:13
hggdhttx: it did, yes12:14
hggdhttx: but it is not there now. The Alternate CD has it still12:14
ttxstrange... I see no reason why it would have disappeared specifically on the server CD... maybe ask on #ubuntu-release12:15
zoopsterbigbrovar: as long as you have your private AND public SSH keys...no need to recreate via ssh-keygen12:15
bigbrovarzoopster: thanks :)12:16
zoopstera_ok: not sure the context, but ubuntu runs fine sans network...a server is rather useless w/o networking, imho, but it will run12:21
uvirtbotNew bug: #656251 in postfix (main) "package postfix (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/65625112:26
hggdhttx: My fault, I only tested LVMs yesterday...12:30
a_okzoopster: I disabled the NICS in bios, I wanted it to start without network active to prevent ipconflicts12:31
spiralisMaedox. Probably not a good idea, but - not my hardware :(. Thanks for the channel info.12:32
elmuerteI have an interesting issue with a newly installed 10.04 server on an asus eeebox 1007: after a few seconds of network inactivity it looks like it falls a sleep, and needs a second packet to wake up12:33
spiralisHi all, I am having problems with installing ubuntu-server due to failing to install grub.12:33
zoopstera_ok: well...disabling in the bios will do it.12:33
spiralisThis is a standard PC with two SCSI RAID drives.12:33
a_okzoopster: was looking for some kernel option to acceve that (like startt in some runlevel that does not enble netork stuff)12:33
a_okzoopster: yeah I was in luck it was on board stuff12:34
a_okI have no physical access12:34
zoopstera_ok: ah I see...so you have a ILO board or something then...not sure what runlevel removes networking...2 maybe? Never had a need so it's been purged from my memory banks. upstart manages that so a quick search on it may yield what you want faster12:40
jjman6_does nfs4 not support ext4? i'm having problems exporting ext4 partitions. but ext3 seem to work12:41
qman__a_ok, recovery mode (single user) should accomplish that13:04
qman__though I haven't tested it13:04
qman__however it will have significantly reduced functionality13:04
qman__if all you wanted to do was change network configuration while offline and reboot, recovery mode would work13:05
qman__jjman6, I don't see any reason why it shouldn't13:09
qman__nfs doesn't directly access the filesystem AFAIK, so it should work with any13:09
jjman6qman__: well i've tried on several partitions & 2 machines and i keep getting "... does not support NFS export"  error13:10
qman__google says you're not the only one13:13
=== jjohansen is now known as jj-afk
zulmorning13:18
qman__no real results though13:18
qman__is your desired export directory doing anything special or unusual? mount -o bind? encrypted home? symbolic link?13:19
ttxsmoser: we might respin -- that would affect cloud images too, at least to change the lsb-release name13:19
ttxCurrent finals still  shows "Ubuntu maverick (development release)"13:20
ttxfixed in archive13:20
hggdhttx: the only change would be that?13:27
ttxhggdh: no, we also get others13:27
hggdhttx: OK, back to testing then13:28
ttxhggdh: we still try to fix the "grub broken on some servers" issue13:29
ttxthat's what's holding up the potential respin13:29
hggdhttx: you mean not being in the rescue option, or other brokeness?13:30
ttxno, other brokeness. bug 64125913:30
uvirtbotLaunchpad bug 641259 in grub2 "grub does not appear to load after maverick post-beta install" [Critical,Fix released] https://launchpad.net/bugs/64125913:30
ttxit's not really fixreleased yet.13:30
ttxwe also have bug 656037 in the queue13:31
uvirtbotLaunchpad bug 656037 in choose-mirror "Software sources not selected" [High,Fix released] https://launchpad.net/bugs/65603713:31
ttxthat affects d-i, so server13:31
hggdhyes, and a nasty one13:34
elmuerteok.. the problem I had is a local machine issue... other machines have no issues connecting to the new ubuntu server13:42
linuxawi!release14:03
ubottuUbuntu releases a new version every 6 months. Each version is supported for 18 months to 5 years. More info at https://wiki.ubuntu.com/Releases & http://wiki.ubuntu.com/TimeBasedReleases14:03
=== ivoks-afk is now known as ivoks
jjman6_qman__: no,  i finally got a mount to work tho.  just still have no luck with any directories in my users home dir.  always says not support NFS export14:06
jjman6_qman__: and the other intersting part is using nfs4  os the type no longer seems to work.  i have to use straight -t nfs14:07
binBASHsomeone knows how to edit a file in a qcow2 kvm image?14:07
smoserttx, :-(14:07
smoserttx, i ran tests already. oh well, run them again if we respin14:08
ttxsmoser: it's not as if it wasn't automated ;)14:08
binBASHI found this http://libguestfs.org/virt-edit.1.html but it's not shipped with ubuntu unfortunately14:08
smoserttx, no, but it does cost $5014:08
nijabaSpamapS: nice https://wiki.ubuntu.com/CloudLoadbalancingHowto, but shouldn't it be help.ubuntu.com/community/ wiki ?14:09
=== sailerboy is now known as zz_sailerboy
ttxsmoser: that's nothing compared to what devpay pays you every month, right ;)14:11
smoserwell, no, but i like to spend canonical money as if it were my own and I *didn't* have an unlimited stream of money.14:12
hggdhsmoser: do I understand that _you_ have an unlimited stream of money?14:22
zulhggdh: its his little pot of gold14:30
smoserttx, so, to be clear, there is a lsb-release update ?14:33
smoserhttps://launchpad.net/ubuntu/+source/lsb14:33
ttxbase-files14:33
smoserthe latest i see in archive is 4.0-0ubuntu814:33
smoseroh.14:33
smoserok14:33
ttx/etc/lsb-release is shipped in base-files14:33
smoserok. so i have to start a spin.14:34
ttxwe should have a d-i update as well14:34
smoserwill do.14:34
ttxsmoser: not now... we might get a new grub as well14:34
smoserok.14:34
ttxI'll let you know14:34
smoserjust tell me when to push go14:34
smoseri will hold my breath14:34
smoserhggdh, well the "joke" is that every time someone runs an ubuntu instance on ec2, i get pennies14:35
ttxsmoser: how did the "current" tests go ?14:35
ttxI see them all at 0/2 on the tracker so far14:35
=== aliverius_ is now known as aliverius
ttxsmoser: also there is no cloud image on the tracker yet14:36
ttx(tar.gz)14:36
smoserwell, there doesn't need to be :)14:36
smoseri had asked that to be populated, but oh well.14:36
ttxhmmm14:36
ttxdoing tests on the previous dailmy is not completly useless14:37
ttxas in.. it's the last time to catch a last-minute bug14:37
ttxDaviey, hggdh: did you test recent cloud images  ?14:37
Davieyttx: yes, i tested the latest one14:37
Daviey'current', this morning14:37
ttxok.14:38
hggdhttx: I certainly tested the UEC ones, on both amd64 and i386, but I did not test EC214:38
DavieyThe only thing that i noticed the hostname not being resolved... when sudo'ing14:38
ttxok, so even if we have no results registered yet, it looks good, I assume14:38
DavieyI thought that wasn't an issue previously.14:38
ttxits been a long time since I last did sudo into a cloud image running on EC2, I must confess14:39
ttxs/EC2/UEC/g14:39
hggdhI am missing the UEC images tests from the ISo tracker, though -- where are they?14:39
Davieyttx normally roots them via an unpublished kernel buffer overfill.14:39
ttxhggdh: <smoser> i had asked that to be populated, but oh well.14:39
ttxDaviey: who needs sudo anymore ?14:40
smoserttx it was in the same request as for ec2 images so it just must have been lost.14:40
Daviey:)14:40
hggdhDaviey: I did not see any issue on sudo14:40
ttxsmoser: those QA people are so unreliable14:40
hggdhoh, yes, don't trust them14:41
hggdher14:41
ttxI mean, marjo left the remains of his lunch on the table, and it smells now14:41
hggdhLOL14:41
hggdhwhat, anchovies?14:41
ttxsalmon14:42
ttxa bit of rice14:42
Davieyand a lemon14:42
ttxI'll flush that down the toilet now14:42
ttxdone.14:42
* Daviey watches ttx take it to the bin... i wonder if bin and toilet are lost in translation.14:42
ttxDaviey: you don't want to know14:43
hggdhTMI, TMI14:43
Daviey:)14:43
ttxDaviey: I got lazy on my way there14:43
patdk-wktexas medical industry? what do they have to do with anything?14:43
ttxyay, fire alarm14:44
hggdhactually, Too Much Info14:44
patdk-wk:)14:44
hggdhso, ~1.5 hours for the next ISO?14:45
ttxhggdh: no ETA14:46
ttxhggdh: cjwatson wrestling the grub situation in some obscure server room14:46
ttxsee #ubuntu-release for progress14:47
hggdhttx: ack14:50
ttxhggdh: just in case we end up keeping the current candidate, would be good to register your test results on cloud images on the tracker14:54
hggdhttx: indeed, but we are missing the entries for UEC14:54
ttxhggdh: I thought you could fix that. Maybe ask ara ?14:55
hggdhwill do14:55
bpgoldsbKinda of tricky question.  I could be approaching this the wrong way, but this is a good crowd to ask.  I've got ~15 megs of PHP files for a webserver.  It's running in a VM, with less ram than I'd like.  Can anyone think of a way to force/trick Linux into keeping those files cached?15:09
bpgoldsbThe goal is to avoid disk-hits for the majority of page loads15:10
patdk-wkbpgoldsb, cat /var/www/* > /dev/null15:21
patdk-wkin cron every min :)15:21
JamesPagettx: Can you take a look at bug 656173?  Its a maverick bug related to multiple chained backing_files/qcow2 in libvirtd15:25
uvirtbotLaunchpad bug 656173 in libvirt "virt-aa-helper generate incomplete apparmor profiles  with chained backing files" [Undecided,Incomplete] https://launchpad.net/bugs/65617315:25
ttxJamesPage: that would be a new feature. At that point we just support the first level15:26
JamesPagettx: its a regression from Lucid where this actually works15:26
ttxI'd wishlist it... maybe jdstrand has another opinion15:26
ttxJamesPage: ah?15:27
ttxthat surprises me15:27
JamesPagePermissions in apparmor profile are incorrect but it parsers all three levels of file.15:27
jdstrandJamesPage: can you try setting 'allow_disk_format_probing = 1' in /etc/libvirt/qemu.conf?15:27
JamesPageYeah - I'll give it a spin now.15:28
* ttx didn't know that was supposed to work ;)15:28
jdstrand(it isn't in 0.8.3)15:28
jdstrandnot without setting that option15:28
bpgoldsbpatdk-wk: Interesting idea. ;)15:30
patdk-wkthere is an even more interesting idea :)15:30
JamesPagejdstrand,ttx: that did the trick (after a restart of libvirtd); all three levels of disk are now detected correctly.15:32
JamesPagettx: does this need to go into the release notes?  Could trick some people out.15:32
jdstrandJamesPage: as you read from the conf file, this is by design. it fixes a CVE15:33
ttxJamesPage: ask skaet on #ubuntu-release15:33
jdstrandI'll comment in the bug15:33
patdk-wkhttp://www.mythtv.org/wiki/User:Yeffetn15:33
patdk-wkscroll down to the nocat program15:34
JamesPagejdstrand: do you want to put some words together on this feature?15:54
jdstrandJamesPage: I can, but it'll be in a while15:56
JamesPagejdstrand: I can draft something for review if that would help; also need a pointer on where to put release notes (not done it before...)15:57
jdstrandJamesPage: I'll do it. I'd like it to be similar if not identical to the USN text I will be drafting15:57
JamesPagejdstrand: OK - let me know if you want a second pair of eyes over it.15:58
smoserhggdh, do you have any use for 20101007.1 images ? ie, should i get them to http://uec-images.ubuntu.com (even though thy're not completlye published yet)16:23
hggdhsmoser: I would rather wait for the server respin -- then I can get it all done in one single swwep16:24
smosergood deal16:24
hggdhsmoser: so, no hurry16:24
=== ivoks is now known as ivoks-afk
elb0wHow do I update sources to fastest mirror from shell?16:47
=== jj-afk is now known as jjohansen
frankstervillehttp://www.debianadmin.com/howto-select-fastest-mirror-in-debian.html16:57
frankstervilleif ur deb.... that is16:57
elb0wk ty16:59
ewookelb0w: a university close to you? :)17:05
elb0wnyu17:05
elb0wfranksterville, apt isnt finding that17:07
elb0wany other options?17:07
frankstervillenot finding netselect?17:09
frankstervilleahhh crap its broken under ubuntu17:10
frankstervillesigh17:10
elb0w:(17:10
frankstervilleyou could ping them all rofl17:11
elb0whahaha17:14
elb0wi have ubuntu gui here17:14
elb0wits not server though17:14
elb0wcould I take those mirrors and change them?17:14
frankstervillewith gui ...  http://www.ubuntugeek.com/how-to-select-fastest-mirror-in-ubuntu.html17:14
elb0wyeah ive done it in gui17:15
elb0wbut I cant move that over to server right?17:15
frankstervillei dont actually know lol17:15
frankstervillesheeshe17:15
frankstervilleummmm17:15
elb0wim comparing the files17:15
elb0will check17:15
elb0w:)17:15
frankstervillekk17:15
elb0wlooks like i can17:16
elb0wlol17:16
frankstervillethey match up?17:17
frankstervillenice17:17
elb0wcould be that its a 32bit server17:18
elb0wand 32bit client17:18
elb0wwould make sense17:18
frankstervilleahhhh lucky lol17:18
elb0wyeah i have a 64bit server i have to do this for though17:19
elb0w:(17:19
frankstervillei try to run headless but sometimes i have to cave to connecting a kb and monitor17:19
frankstervillei hate it17:20
elb0w1.2megs > 1.2B17:20
elb0wthe server doesnt even have a gui17:21
frankstervilleinstall gnome17:21
frankstervillelol17:21
elb0wlol17:21
frankstervillestartx :)17:21
elb0wno need actually17:21
frankstervilleyeyeye17:21
elb0wInstall x server17:21
elb0wssh -X17:21
frankstervilleye that to17:21
elb0woh I guess package manager is part of gnome17:21
elb0wthat wouldnt work17:21
frankstervillelolol17:22
frankstervillepwned17:22
elb0w:(17:22
frankstervilledoh!!!:/17:22
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
ttxnew ISOs on a mirror near you, maybe17:37
ttxgo wild!17:39
ttxJamesPage, hggdh, SpamapS, Daviey, zul ^^17:40
zulack17:40
* hggdh goes suffer a bit more17:41
hggdhttx: if smoser has published the UEC images, can you please re-enable them on the ISO tracker?17:42
smoserhggdh,17:43
smoserhttp://uec-images.ubuntu.com/server/maverick/20101007.1/ is populated with images (no ec2 info yet)17:43
Daviey\o/17:44
hggdhsmoser: cool, thank you17:44
* hggdh goes back to suffering a bit more17:45
SpamapSttx: I'm on battery on shared wifi at puppetcamp.. probably shouldn't be downloading isos. ;)17:55
ttxah! you're at puppetcamp too ? That's 3 of you, right ?18:02
=== ivoks-afk is now known as ivoks
uvirtbotNew bug: #656415 in vsftpd (main) "package vsftpd 2.2.2-3ubuntu7.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 3" [Undecided,New] https://launchpad.net/bugs/65641518:11
SpamapSttx: yes, just the intro to mcollective seems worth the 70 minute flight. ;)18:23
ttxmcollective?18:23
SpamapShttp://marionette-collective.org/18:24
SpamapSmessaging layer for puppet18:24
ttxah, right. Teyo mentioned it to me18:25
SpamapSDescribed as an "Orchestration framework"18:26
SpamapSOnly thing I don't like is activemq .. but I'm sure it can be made to not suck. ;)18:27
ttxJamesPage: did the hudson instance take up the new ISOs ?18:46
illytacoshi folks, i need some desperate help my job is literally on the line. I am having a hell of a time to get samba share working and I just need it to work for one user and one file just to show it works18:56
illytacosplease please please help18:58
RoyKwhat's wrong?19:01
RoyKdescribe your config and pastebin smb.conf19:01
RoyK!pastebin19:02
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.19:02
=== ivoks is now known as ivoks-icecream
RoyKillytacos: ?19:05
jeiworthyeah samba can be a pita in the beginning, but once you get the hang of it it's actually pretty straight-forward19:05
illytacosthanks RoyK I'm just trying to go back and fix some of the crap I already did wrong19:07
RoyKillytacos: you need to be a little more specific if you want us to help :)19:08
illytacosyeah for sure sorry just give me one sec19:08
illytacosI need to start from scratch19:08
* RoyK would gladly spend some time helping illytacos to save his job19:09
illytacosI tried to migrate permissions from one file to another19:09
RoyKillytacos: start out by pastebinning the config19:09
illytacosand oh man did that not work out19:09
RoyKillytacos: posix ACLs?19:09
illytacosok19:09
illytacoswhew. sorry abotu that19:10
=== ivoks-icecream is now known as ivoks
illytacosok so now I'm followign this tutorial for now just give me a sec to modify the samba config file19:10
ttxclosing for the day -- happy ISO testing everyone :)19:11
illytacoshttp://www.jonathanmoeller.com/screed/?p=159019:11
ttxsmoser: you should be able to find someone to post your EC2 AMIs to the ISO tracker on #ubuntu-release19:11
RoyKillytacos: no, pastebin /etc/samba/smb.conf19:11
ttxsmoser: and start the automated tests19:11
illytacosok hnx19:12
ttxJamesPage: please add your magic test results to the tracker when they are done as well :)19:12
* RoyK waves his wand in ttx's direction19:12
JamesPagettx: will do; they will take most of the night to spin through so will update in the morning.19:12
ttxJamesPage: works for me19:13
illytacosthere done19:13
illytacosthank you19:13
JamesPagettx: great19:13
illytacoshttp://paste.ubuntu.com/508176/19:13
illytacosI feel like I'm going to have a heart attack -_-''''19:17
RoyKillytacos: calm down :)19:17
illytacosthnx19:18
RoyKso cutting away the comments, here's the file http://paste.ubuntu.com/508178/19:19
RoyKwhat is [test]?19:20
RoyKyour test share?19:20
RoyKif so, that needs at least a path19:20
illytacossorry what are the comments?19:20
RoyKanything starting with # is a comment19:20
RoyKthat is, not parsed19:20
RoyKby samba19:21
illytacosok so I get rid of the # cool.19:21
RoyKer19:21
RoyKno19:21
RoyKdon't19:21
RoyKwhat are you trying to do?19:21
RoyKmake a test share to some dir?19:21
illytacosyes19:21
illytacosI can put the path in19:21
RoyKhere's an example share http://paste.ubuntu.com/508182/19:21
RoyKfrom one of my test boxes19:22
RoyKeverything not under [global] are treated as shares19:22
uvirtbotNew bug: #656456 in samba (main) "Samba is filling the disk with two logfiles (syslog and daemon.log) with messages on "No data on inotify ds?!" [Undecided,New] https://launchpad.net/bugs/65645619:26
RoyKillytacos: or to detail it - first you have a [globals] section, then, after that, you have [myshare], [yourshare], [whateveryyouwannacallit]19:27
illytacosamazing!!!!!!!! i got it I got it19:28
RoyK:)19:28
illytacosok now how on earth do I set up a new user?19:28
illytacosto access a few of the files19:29
illytacosoh my god I love you19:29
RoyKillytacos: smbpasswd -a someuser19:29
illytacosomg ok thnx19:29
RoyKiirc you need to create a unix user for it as well, but I'm not sure about that19:29
RoyKbetter just try with smbpasswd -a someuser first19:30
* RoyK gladly accepts Islay whisky in payment19:30
RoyKs/in/as/19:31
illytacossorry royk in terminal i type which smbpasswd -a user how do I set up a password19:31
RoyKillytacos: http://paste.ubuntu.com/508186/19:33
RoyKit needs a unix user, it seems19:34
illytacoscannot lock /etc/passwd...??19:35
RoyKillytacos: if you have a windows domain controller in the network, configure samba to use that19:35
RoyKillytacos: erm - are you root?19:35
illytacosomg sory I'm panicing and not thinking sorry19:36
RoyK:)19:37
* RoyK hands illytacos a dram19:37
illytacoscrap access denied19:39
RoyKillytacos: you don't have root access to the box?19:40
hggdhdarn! Why does libvirt change the ownership of an ISO image?19:41
illytacosI need to access it from a windows machine19:41
uvirtbotNew bug: #656465 in vsftpd (main) "package vsftpd 2.2.2-3ubuntu6 failed to install/upgrade: el subproceso script post-installation instalado devolvió el código de salida de error 1" [Undecided,New] https://launchpad.net/bugs/65646519:41
RoyKillytacos: the shares can be accessed from a windows machine once you have created samba users19:41
illytacosok so I just created a user19:42
illytacosand no dice19:42
RoyKboth useradd -m username and then smbpasswd -a username?19:43
illytacosyeah19:44
RoyKperhaps setting a unix password for the user might help - 'passwd username'19:45
JavaAtomTrying to install 10.04 Server (x64) on a series of three RAID-0 devices (on two physical hard drives) -- Grub fails to install. How am I doing it wrong?19:45
JavaAtom** The three raid devices are 100MB /boot, 16GB swap, and 4TB /19:46
RoyKerm ... three raid-0 devices??19:46
=== luis__lopez is now known as luis_lopez
JavaAtomRoyK: Software raid.19:46
RoyKsure, but that's playing with matches and gasoline19:46
JavaAtomAnd hoping the server doesn't lose a drive, I get that.19:46
JavaAtomShould I just move to a RAID-1?19:47
JavaAtomFor everything?19:47
RoyKdunno - never tried that - perhaps using a dedicated /boot partition will help19:47
RoyKI'd do that if I were you19:47
RoyKdisk space isn't very costy atm19:47
RoyKI have a bunch of servers with linux software mirrors (raid-1) - works well19:48
RoyKa little tricky on old Hardy, but with Lucid, it's smooth19:48
JavaAtomRoyK: Getting these 2-TB drives (and the server) was hard enough. This is also for our wiki19:49
JavaAtomRoyK: * Enterprise wiki. Regular backups will be made and moved to a backup server.19:49
illytacosRoyK: sorry um how to I set a unix one?19:49
RoyKpasswd username19:50
uvirtbotNew bug: #656471 in mysql-dfsg-5.1 (main) "package mysql-server-core-5.1 (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/my_print_defaults', which is also in package mysql-cluster-server-5.1 0:7.0.9-1ubuntu7" [Undecided,New] https://launchpad.net/bugs/65647119:51
illytacoshm on the windows machine it says thatthe path can't be found but I navigated to it in explorer19:56
RoyKillytacos: pastebin smb.conf again, please, and make sure the path it points to is writable for that user19:57
RoyKor at least readable19:57
illytacostnx19:58
RoyKchmod 777 /path/to/data19:59
illytacoshttp://paste.ubuntu.com/508206/20:02
RoyKillytacos: ls -ld /home/oecmsrvtst01/test/OECM_OFFICE_APR0820:03
illytacosRoyK: so chmod 777 ls -ld /home/blah/blah20:03
RoyKillytacos: ls -ld /home/oecmsrvtst01/test/OECM_OFFICE_APR0820:04
RoyKpastebin that20:04
illytacosoic20:05
illytacoshttp://paste.ubuntu.com/508218/20:05
RoyKillytacos: what is the username with which you are trying to connect to the server from the windoze box?20:06
uvirtbotNew bug: #655846 in samba (main) "package winbind 2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/65584620:07
illytacosRoyK: pm'd20:08
illytacoshonestly after all this I don't even know if I care about staying20:08
illytacosif I didn't have bills I would walk out. RoyK you're awesome and thank you20:09
RoyKillytacos: try to chmod 777 that dir first20:09
RoyKsee if that helps20:09
illytacosyes but now I can see everyone's everything20:10
RoyKwhat do you mean?20:10
illytacosthe user name and pass help but I can see all files. I need the rest to be locked down except for the one I set permissions on20:10
RoyKillytacos: how many users are there in this network?20:10
illytacosjust root, server and me20:11
illytacosfor now20:11
illytacosoh hang on20:11
illytacosI think I made myself admin in error20:11
frankstervilleIs there a .conf file that handles all printers or are they separate somewhere20:11
RoyKif you create [homes], a special share is created for each user, pointing to that user's homedir20:11
RoyKfranksterville: it's in the CUPS docs20:12
frankstervilleman?20:12
illytacosRoyK: er...20:12
RoyKillytacos: man smb.conf :)20:12
illytacosyes but... I have no idea what I type... I just type [homes]?20:13
RoyKillytacos: do you want to share all data, or do you want separate shares for private data?20:13
illytacosseperate shares for private20:13
RoyKwell, a [homes] section in smb.conf will help you there20:13
RoyKillytacos: man smb.conf20:13
RoyKit's all there20:14
RoyKthe docs20:14
illytacosI don't know what man is20:14
RudyValenciaman is the linux manual viewer20:15
RoyKillytacos: on the command line in linux, type 'man smb.conf' and press <enter>20:15
RoyKwithout the quotes20:15
illytacosohh ok20:15
frankstervillejust a random tidbit....  There are 5 members in the #webmin IRC20:15
frankstervillethats it20:15
JavaAtomRoyK: Any suggestions on a "proper" way to use the space of two drives as one giant usable space?20:16
* RoyK loathes web-based administration20:16
illytacosI'm sorry RoyK20:16
illytacosthank you20:16
frankstervilleRoyK:  werkin on headless and webless:  My terminal-foo is poor20:16
RoyKJavaAtom: I'd say 50 gigs for the root (which will be quite sufficient) and the rest for /home or perhaps a separate /data partition - you choose20:17
RoyKJavaAtom: if there is room for more drives in the box, make sure to set it up with LVM so that you can add another mirror later and add that space to the filesystem20:17
RoyKfranksterville: not to be harsh, but learning basic administration is quite easy and once learned, it'll help a lot20:19
frankstervilleRoyK:  Oh I understand.  Real admins do just that, they dont muck around in a gui because it is too slow that way.  Bash is so much faster IF you know wtf ur doin20:20
jeiworthJavaAtom: if you want to creat just one big partition out of 2 hdds you might want to look into lvm or raid-020:20
jeiworthalthough neither is really recommendable due to possible data loss in case of a single hdd failure20:20
RoyKfranksterville: it won't take too long to learn that part20:21
\sh.oO(webmin, that's so 1990ties)20:22
jeiworthhehe20:22
JavaAtomjeiworth: That's what I thought -- I was just looking for some potential alternatives.20:22
frankstervilleRoyK:  I get frustrated when I have to stop and read the entire Man 3 times lol20:22
RoyKjeiworth: I think he's setting up a mirror of two 2TB drives20:22
jeiworthJavaAtom: well, as said, technically quite possible, but not recommendable20:22
frankstervillebout to apt-get remove webmin20:22
RoyKfranksterville: just use another terminal :)20:22
JavaAtomRoyK: Nope, trying to span/stripe across both still.20:22
RoyK!webmin20:22
ubottuwebmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead.20:22
RoyKJavaAtom: you're mad20:23
RudyValenciaWill setting up SSH with OpenSSL keys stop login attempts from bad users that I get a lot of in my logs?20:23
JavaAtomRoyK: Either that or I figure out how to get this single application to spread its data over two dedicated partitions.20:23
frankstervillethe bot dont even like webmin sheeshe20:23
frankstervillelol20:23
JavaAtomRoyK: Which do you think is harder? :P20:23
jeiworthRoyK: that's another way to put it.. ^^20:23
RoyKJavaAtom: just reinstall on a mirror20:23
RoyKfranksterville: for good reason20:23
\shwebmail QMail Module Descr: Configure the popular Qmail mail server package | Author: Stephan '\sh' Hermann | Last Updated 2001-01-21 11:11:39 *lol*20:24
RoyKqmail????20:24
JavaAtomRoyK: You're not getting it -- I need more than the one 2-TB space I'd get out of that. Raid would work, but there's an error when I try to install GRUB on the raid-0.20:24
frankstervilleRoyK:  okok I'm gonna go cold turkey...  Mark this day....20:24
frankstervilleremove then purge?20:24
frankstervilleremove then clean?20:24
RoyKJavaAtom: then reinstall with a separate /boot fs20:24
JavaAtomRoyK: Okay -- that should work then.20:25
RoyKJavaAtom: I don't think grub likes raid020:25
\shRoyK: yes...I used qmail to spam DENIC (.de registry) with "REG: foobar.de" mails...I crashed their sendmail on sun os in 199820:25
* RoyK uses postfix20:25
JavaAtomRoyK: I was thinking that might help solve it -- again, thank you much.20:25
jeiworthgrub doesn't seem to like any raid, tried to set up raid 1 on a running system with multiple partitions and all worked fine except for boot partition, that still boots from a "normal" one20:25
Dev^NullHey all I have a disk image of ubuntu 9.10 that I replicate to about 500 different machines. I am having an issue with the 70-persistent-net.rules becuaes it wants to name the nic based of the mac address while this changes with each machine. I would like to set it up to look if ATTR{operstate}=="up" then  call that car eth1 I have 2 nic's in each box and only one is ever used. how would I do this.20:25
\shRoyK: and I installed qmail on any customer server we sold these days, and the cusomters wanted to have webmin, so I wrote a qmail plugin...the very first ;)20:26
RoyKJavaAtom: just keep in mind that when one of the drives die, the shit hits the fan20:26
JavaAtomRoyK: Absolutely.20:26
guntbertRudyValencia: not by itself, but after setting that up correctly you can turn off password based logins in ssh entirely20:26
JavaAtomRoyK: That's why I have backups pushed to a diff server.20:26
RoyKJavaAtom: and with the current pricing of drives, wtf don't you use a raid5 or something?20:27
jeiworthraid6!20:27
\shDev^Null: image based os deployment is a bit complicated with udev and nics on board...use FAI :)20:27
JavaAtomCase only holds two drives for now. And I'm on a budget.20:27
jeiworthDev^Null: that's a good question, i have the same problem here every time i clone a test-vm, always changes the eth interface number :-/20:28
RoyKRAIDz2 ftw20:28
\shjeiworth: raid6 costs license fees on HP G6/G7 Hardware with p410 smartarray on board ;)20:28
jeiworth\sh: what's FAI, have a link? :)20:28
\shjeiworth: http://www.fai-project.org/20:28
jeiworth\sh: yuck, license what? ;)20:28
* RoyK is planning two new servers with 11 7-drive (2TB) RAIDz2s in a zpool20:28
jeiworth\sh: thx!20:28
\shjeiworth: debian project, 10 years old but very heavy maintained...very good, very fast...is being used all around the world20:29
\shjeiworth: together with (DC)² (http://dc2.sourcecode.de/ + http://launchpad.net/dc2 ) the better solution for bare metals and vms with pxe boot then preseeding, imaging or kickstarting :)20:30
\shjeiworth: 100 VM servers in less then 5 mins with a full blown ubuntu server setup20:30
jeiworth\sh: wow, cool! thanks again, will give it a closer look :D20:31
\shjeiworth: if you need help or need infos join #fai@oftc and / or ask me in here.../me needs to leave now...going home :)20:31
RudyValenciaguntbert: maybe even denyhosts to stop more than three attempts?20:31
\shcu tomorrow20:31
jeiworth\sh: 'aight, take care :)20:31
guntbertRudyValencia: to be honest: I really don't care about attempts that *cannot* succeed20:32
RudyValenciaI'll just block interactive login without the public-key then20:32
RudyValenciaif that's possible - no public-key, no SSH20:33
frankstervilleRoyK:  thx for the push  webmin nuked20:33
RoyK:)20:35
franksterville:O  what have I done lol20:36
franksterville<breathe>   just a file/print server20:37
guntbertRudyValencia: exactly, there are two lines in /etc/ssh/sshd.conf where you can do it, they are well commented20:37
RudyValenciaah20:37
RudyValenciaand turning off password auth should reduce the number of attempts I see in my logs, right?20:37
RudyValencia(also, it won't prevent me from accessing my SSH on the road because I have the other half of the key, right?)20:38
guntbertRudyValencia: not necessarily - people can still *try*, but they cannot succeed20:38
RudyValenciaah, there'll still be attempts in my logs, ugh20:38
RudyValenciaI hate my logfiles getting so big from them20:38
RudyValenciabut I also hate putting SSH on an alternative port20:39
guntbertRudyValencia: just choose a *very good/long* passphrase for that key20:39
RudyValenciaI have one that uses a mix of characers from the keyboard-typeable set20:40
RudyValencia*characters20:40
guntbertRudyValencia: okok - but make it long too if you take the key on the road with the risk to "loose" it :-)20:41
RudyValenciaI rarely go out20:41
guntbertRudyValencia: *you* said "... accessing my SSH on the road ..."20:42
RudyValenciaI rarely use it on the road20:43
RudyValenciafor those few cases that I do, PuTTY is on my USB keychain, not the comptuer20:44
RudyValencia*computer20:44
RudyValenciaand the USB keychain is encrypted20:44
RoyKillytacos: did you fix your problem?20:48
rneeseafternoon guys20:54
rneesei need a good howto for unubtu-server custom iso20:54
frankstervilleRoyK:  Thats serious hardware20:55
RoyKfranksterville: what?20:56
frankstervillethe 2 new servers u planning20:57
RoyKah20:57
RoyKyeah20:57
RoyKfun :)20:57
RoyKfranksterville: to be used for Bacula storage20:57
frankstervillerename urself to BigRaid20:57
RoyKhehe20:57
frankstervilleYou use Bacula?20:58
RoyKfranksterville: two boxes with 110TB net storage and one small one with 10TB net storage, some SSDs for caching and a truckload of RAM20:58
frankstervilleI use Amazon S3 offsite20:58
RoyKfranksterville: not now, but we will20:58
RoyKwith tens of terabytes for a single backup, Amazon isn't really an option20:58
frankstervillehuge storage20:58
elb0wI am trying to build a Load balanced server setup with fail over. I was looking at Ultra Monkey but it looks like it hasnt been touched since 2007. Does anyone have any suggestions?20:59
frankstervillemust be pron lol20:59
frankstervilleor banking20:59
RoyKfranksterville: not really - http://nilu.no20:59
frankstervilleffs i cant read that20:59
frankstervillewhat laung is that lol20:59
RoyKthere's an 'english' link on top20:59
frankstervilleahh lol20:59
frankstervilleok hats better21:00
frankstervillethis kinda site reminds me of a friend of mine at rfmd.com21:01
=== _Techie_` is now known as _Techie_
RoyKfranksterville: we got some press after us recently after the Eyjafjallajökull eruption - this scientist has constructed a sort of camera that can see volcanic ash ...21:03
RoyK(or even SO2, but the ash follows that cloud)21:03
frankstervillewow insane stuff21:04
RoyKfranksterville: I guess I could have gotten better payment from a consulting firm than working with NILU, but then, it's quite fun to work with these nerds :)21:05
frankstervillemore important to enoy life21:05
RoyKindeed21:05
frankstervillethis is why i decommisioned IIS in favor of ubuntu lol21:05
elb0wSo what do you guys use for fail over?21:06
RoyKearly IIS is a piece of crap, later they have added more of the good stuff21:06
frankstervillei love the simplicity of linux21:06
frankstervilleso much easier to implement21:07
RoyKelb0w: I don't use any atm, but glusterfs is rumored to be quite good21:07
RoyKfranksterville: ACK21:07
=== demon_spork is now known as demonspork
RoyKsplittettisplatter21:08
illytacoshey RoyK I'm still having some challenges21:08
illytacostrying to work through it21:08
=== ajmitch_ is now known as ajmitch
nikolaj_basherHi :D is there any buddy how has set up an sms gateway?21:37
uvirtbotNew bug: #656527 in samba (main) "net usersidlist on a newly-installed samba server crashes with SIGSEGV" [Undecided,New] https://launchpad.net/bugs/65652721:56
alex88if i want to use wget and then shutdown the pc..i have to use sudo to shutdown but i will asked after wget terminates..how to ask at starting?21:57
alex88like sudo (wget file && shutdown -P now)21:57
=== jeipur is now known as jaypur
RudyValenciaI'm trying to install Ubuntu Server from the CD, but it says libldap and some other packages are corrupt22:19
RudyValenciaI burned the CD several times22:23
RudyValenciabut it still gives the same errors22:23
=== ivoks is now known as ivoks-afk
RudyValenciaI'm trying to install Ubuntu on my server but it keeps saying everything after libldap is corrupt, despite burning the disc two times.22:52
SpamapSRudyValencia: what version?22:53
RudyValencia10.04.122:53
RudyValenciaah22:53
RudyValenciano wonder22:53
SpamapS?22:53
RudyValenciathe md5sum of it is wrong22:54
SpamapSRudyValencia: it happens. ;)22:54
RudyValenciaWhat I'll do is restart the torrent to "fix" the parts that did not download properly22:55
RudyValenciaah, truncated download.22:56
RudyValenciaconsidering right now my backups are on a USB drive that I can't seem to mount with any Windows utility, I'm stuck until this finishes.22:57
=== metcalfc_ is now known as metcalfc
demonsporkhow can I restrict a user so that they can only bind to a certain IP addresS?23:15
demonsporkor, how do I monitor bandwidth usage on a per user basis23:15
=== lool- is now known as lool
=== ivo___ is now known as ivo_
echosystmhi guys23:59
echosystmi'm looking for a pretty transparent backup solution23:59
echosystmessentially i just want to a plug a hard drive in and have it automatically clone the entire system to that hard drive23:59
echosystmwhats the best way to do this?23:59

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