[03:37] Greetings! [03:38] What user accounts on a fresh install are required? === luke_ is now known as lukehasnoname === _AshTray- is now known as AshTray- [07:14] HI [07:15] I run ubuntu hardy server and I have a IDE controller card in the server and the OS detects and show the card in lspci but the disk that is attached to to doesn't show in fdisk -l how do I access this disk? === AshTra402 is now known as AshTray- [07:22] have you tried using fdisk /dev/sda blindly and replacing sda with sdb, sdc, ... ? [07:26] Maybe you could also try sudo lshw -short -class disk # sudo apt-get install lshw first if necessary [09:12] Is there a hotkey for switching channels in xchat [10:20] hey guys, wondering if anyone is familiar with ubuntu 8.10 and compiling php, i have been on it for a while and been failing =( [10:22] jnet1216: Have done it on other systems, but not specifically 8.10 [10:23] http://ubuntuforums.org/showthread.php?p=6454685 =) [10:26] jnet1216: Have you downloaded the PHP source? [10:26] yes [10:28] <_ruben> php5 in 8.10 has sockets built in [10:28] :D That's a quick solution then! [10:28] not with my phpinfo() says =( [10:28] <_ruben> The following extensions are built in: bcmath bz2 calendar ctype date dba [10:28] <_ruben> dom exif filter ftp gettext hash iconv json libxml mbstring mime_magic [10:28] <_ruben> openssl pcre posix Reflection session shmop SimpleXML soap sockets SPL [10:28] <_ruben> standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zip [10:29] <_ruben> zlib. [10:29] <_ruben> thats what apt-cache tells me [10:29] hmmh thats wierd [10:29] wait [10:29] yeah now it says enabled [10:29] but [10:29] when i run it command link [10:29] err [10:29] command line* [10:29] i get errors [10:30] what error? [10:33] one second, im having some issues with samba now =( second day with ubuntu [10:39] sorry Gargoyle [10:39] looks like i do have sockets, im not sure where i got that from [10:40] :) [10:40] just having socket_bind issues, but i think i got more than one script running [10:50] Gargoyle: would you happen to know why my shared folder only gave me access to a specified folder, and not its subdirectories? [10:51] i installed samba a few hours a go [10:51] and shared /var/www [10:51] i mapped it to my Z: on my laptop (vista) [10:51] i can access and edit all the files in it, but once i go into a sub dir, like includes, i have read only [10:52] jnet1216: Sounds like your user permissions are wrong. [10:53] hmmh yeah could be, since www was owned by root, but then i chowned it to nobody.nogroup [10:53] and it worked fine with samba [10:53] and it shared, (when it was owned by root i was having issues) [10:53] but then the rest of the files were uploaded prior to samba, with proftpd [10:54] probably under another account [10:54] whats the best way to go about this? [10:55] when www was owned by root, i was having some reallly wierd issues trying to access it [11:03] jnet1216: IIRC, in order for apache to read the files, they must be owned by someuser:www-data [11:03] jnet1216: and have the appropriate permissions for group read (and execute for directories). [11:04] thats really odd [11:04] http://96.49.25.158/test.php [11:04] looking at permissions [11:04] its owned by nobody and nogroup [11:05] jnet1216: Is that because you put the files there with samba? [11:05] jnet1216: and you have told samba to use that user account? [11:05] the files were already there before i installed samba [11:06] i uploaded them from proftpd [11:06] but after i installed samba [11:06] i ran some chown command on the var/www folder [11:08] jnet1216: OK, var/www should be owned by root:root [11:08] jnet1216: then the directories inside should be owned by user:www-data [11:09] jnet1216: Unless you plan on having a "magic" apache config that will automatically search for directories in /var/www/ based on the url. [11:10] jnet1216: If you set user's primary group to www-data, then new files that you create will automatically have the correct group. [11:11] jnet1216: then make sure that samba (and proftp) are using the same user (or one configured the same) for uploading the files. [11:12] well, when www is owned by root [11:12] im having issues accessing it [11:13] but [11:13] i think i understand now [11:13] are you putting your website files in /var/www or /var/www/some_website_directory? [11:13] var/www [11:13] i think if i get ftp and samba to use the same user [11:13] and reupload the content [11:13] i should be fine? [11:14] jnet1216: You could re-upload, or you could just use chown [11:14] yeah i think thats exactly the issue [11:14] things uploaded with ftp [11:14] are not accessible [11:14] via samba [11:15] jnet1216: Is this just a test server? [11:15] yeah, for development [11:16] till i get some money to get a dedicated online [11:16] at a datacenter [11:17] jnet1216: My advice would be that when you get one online, use ssh (sftp) for uploading your files, not samba or ftp. [11:17] jnet1216: If you are using a windows machine, get yourself putty and winscp. [11:18] the only reason im using samba [11:18] is so i can map it as a network drive, things get so much easier =( [11:18] but yeah, someone told me that too [11:19] im using putty right now [11:19] to control the server [11:19] jnet1216: Yeah, a mapped drive is the next best solution to an actual local dev environment. [11:20] heyy [11:21] i just found something that can let me map a drive letter to sftp [11:21] but then, its not free [11:25] anyways, its 3:24 in the morning [11:25] one last question haha [11:26] how would i get samba to use a certain user while uploading? [11:26] when i upload right now [11:26] its under nobody/nogroup [11:27] <_ruben> disable guest logins and use proper accounts (smbpasswd can be used for that) [11:28] coolio, ill try that out 2moro morning again, even tho i had some major issues logging in from vista with that earlier [11:28] thansk guys, really helpful =) [11:30] <_ruben> (s)ftp(s) are far more friendlier protocols to use [13:01] New bug: #312140 in samba (main) "crash while coping data from local machine to remote samba share" [Undecided,New] https://launchpad.net/bugs/312140 [13:14] Hello, and sorry to disturb.. I'm unable to get IPv6 to work correctly on Ubuntu 8.10, I've set up /etc/network/interfaces with what I've found googling around for days, and with a configuration I'm able to resolve the hostnames correctly, but I can't connect nor ping any IPv6 host.. under the same router, I have another computer running Vista, and IPv6 is correctly working there. [13:24] WoLf_Loonie: does ifconfig show the correct ipv6 adress on your interface? [13:24] maswan: yes, showing the correct address for global [13:29] maswan: could it help if I'll pastebin the contents of interfaces and the output of ifconfig? [13:30] I think I got the "up ip route add default" line wrong. [13:44] hello there [13:44] i have a broblem with msql ndb cluster... [13:44] problem [13:46] is there any patch or a way to find the configuration from the mysql-server-5 package so i can recompile it my self? [13:46] recompile ? [13:47] rat: how about you give the exact issue that way we can assit you better [13:47] yes from source [13:47] the problem is that my mysql-server dosn have the ndb engine built in [13:48] so i need to enable it [13:48] rat: apt-get has features to do a source install [13:49] rat: Also, I think the MySQL docs tell you what options were used to build... or at least they used to. [13:49] Faust-C : i know but i need the ./configuration directives [13:50] rat: I have used these for a few years on my local test install - http://pastebin.com/d28f81b84 [13:51] ok thanks [13:51] is ndb something to do with cluster? [13:51] yes [13:53] There are separate downloads for MySQL Cluster now. [13:53] from the mysql.com? [13:54] rat: No. Microsoft have started shipping it instead of SQL Server 2008! [13:54] ;) [13:54] :) [13:54] http://dev.mysql.com/downloads/cluster/ [13:54] Gargoyle : thanks [13:55] Different version numbers and all sorts... Not kept 100% up on mysql in recend months, but I think a lot of MySQL Cluster specific changes have been made that they are not going to backport into the main branch, so it lives on its own now. [14:55] WoLf_Loonie: Hm. "ip route list" and "ip -f inet6 route list" should say stuff about what routing things you have online. [14:55] WoLf_Loonie: sorry for the slow responses, I'm working as well [15:57] looking for help to set up apache in a very simple configuration, specially with virtual hosts, where I'm lost [16:01] isle86: What you got so far? [16:03] Gargoyle: apache is running. i have a dyndns account, and now arvernes.dyndns.org points to my computer. Now I would like to add an ubuntu packets repository. The repo is done, but now, I'm fighting with apache i'm discovering. [16:06] isle86: Your going to have to be more specific than "fighting with apache" [16:06] yes, actually, I try to set up the virtual hosts named "ubuntu" on my machine. [16:08] isle86: http://www.petersblog.org/node/840 [16:08] this is what it looks like : http://rafb.net/p/ecrCbL40.html [16:09] isle86: that looks ok. Did you edit /etc/apache2/sites-available/default or copy it? [16:10] I don't know if I have to keep the statement in that file. [16:10] Gargoyle: that's a copy of the default file [16:12] ok, you should be able to just run "sudo a2ensite default_copy" (or whatever you called it) and then restart apache. [16:12] Also, you can get rid of the serverAlias line [16:13] Also, on your dyndns account you need to add ubuntu.arvernes.dyndns.com if you are expecting outside people to see it [16:14] the new fiel is named "ubuntu" so "sudo a2ensite ubuntu" ? do I have to remove the "default" file ? [16:14] sorry to be a pain i am newbie, can i be seen? [16:14] isle86: Nope, but you only need the NameVirtualHost line once. [16:15] mregister: Yep! [16:15] isle86: So if you have default and ubuntu both enabled, apache will have a little moan, but that is not critical [16:15] I would like to keep both. Possible ? [16:17] isle86: yes, that is the idea behind virtual hosts. [16:17] ok, so let's run the command you said above. [16:21] isle86: You won't be able to see the second virtual site until you fix or fudge the ubuntu.arvernes.dyndns.com dns entry. [16:21] done, restart apache, now you said to activate something on the dyndns web site.... I thought as arvernes.dyndns.org was registered, everything above would be visible [16:21] isle86: Apache is not a DNS server! [16:22] isle86: You can fudge it for local testing by editing your /etc/hosts file and adding an entry for it. [16:22] I'm on the dyndns web site to find out where to activate that "subdomain" [16:25] I guess I activated the right stuff. .??/ [16:25] should be available at http://ubuntu.arvernes.dyndns.org [16:31] do not know if it works though ... [16:34] isle86: If you have then dyndns has not caught up yet! [16:34] isle86: ping: cannot resolve ubuntu.arvernes.dyndns.com: Unknown host [16:34] Gargoyle: :-( [16:35] Do I have to change something in the apache2.conf file ? Could be my mistake ? [16:35] isle86: Did you edit your hosts file? [16:35] no [16:36] isle86: Then no... generally speaking you don't need to go messing in the main config file. [16:36] Gargoyle: ok [16:37] isle86: As I said, Apache is a web server not a DNS server. If you have setup dyndns to say that your managing it as a subdomain, then you also need to setup a dns server [16:38] Gargoyle: on the dyndns web site, I activated the following feature : [16:38] Hostname : arvernes.dyndns.org [16:39] isle86: That will only allow you to run 1 website. [16:39] Wildcard: (x) Create wildcards alias for *.host.domain.tld (so *.arvernes.dyndns.org) [16:39] isle86: I would imagine that would work, but I have not used dyndns [16:40] So Gargoyle that should do the trick ?? [16:40] maybe I have to wait for ddclient to reset its semafore file ? [16:41] isle86: err, you should be working now. The hostname resolves to the correct address [16:41] I can see your dists folder ;-) [16:44] ok, so it works. Now I have to understand some stuff with that vhost file. Thank you Gargoyle I wouldn't have thought to the dyndns stuff without you. [16:46] isle86: No probs. You can use whatever you like for your servername values and apache will use them. actually getting that name to work for a http request from the browser is DNS's job - not apache's [16:47] For all my testing I just have single words, like "site1", "site2", "drupal". And then edit my hosts file. [16:50] Gargoyle: is the default configuration files provided with apache are secure enuf or do I have to change different settings [16:52] isle86: Generally you won't need to worry about "Apache's" security. You'll only get problems when you start using modules that allow greater access to the filesystem or users to upload, like PHP or WebDAV [17:07] Is Ubuntu Server a sensible choice for cluster nodes? [17:08] Gargoyle: ok, back in a few minutes, pb with my keyboard [17:09] ball: Depends on the cluster. I am sure the redhat cluster suite is now part of the main repo and hence will be supported by canonical. [17:10] Gargoyle: thanks. [17:16] Gargoyle: hmm, something must be wrong, as arvernes.dyndns.org and ubuntu.arvernes.dyndns.org point to the same web page (I should say : directory) [17:17] pastebin your default and ubuntu files from the apache2/sites-available dir [17:17] ok [17:18] Gargoyle: these are they : http://rafb.net/p/uRzMKw97.html [17:19] you have your ubuntu root filesystem "inside" your default one. [17:20] is it that part : [17:20] [17:20] Options FollowSymLinks [17:20] AllowOverride None [17:20] [17:20] isle86: Do you just have the ubuntu directory in /var/www ? [17:20] right now yes. but I will have my own web site once this one will work. [17:22] isle86: OK, just make a new directory called /var/www/default, and then edit any paths in the default config file to update /var/www to /var/www/default [17:25] done, but still same result [17:27] isle86: Restarted apache? [17:28] I did, maybe I have to add the ServerName and ServerAlias statements to the default file. [17:28] isle86: not really, if you leave them out, then that one should answer any request to your IP with an unmatched name [17:29] isle86: re-pastebin the files. [17:29] ok [17:29] isle86: Are you planning on using cgi-scripts, and do you want access to the apache docs on your local server? [17:32] why not. I'm copying them. Could it be because of those statement : one is allowing everything as I have NameVirtualHost * and the second one say NameVirtualHost *:80 [17:32] this is the past http://rafb.net/p/PJEo2g12.html [17:33] maswan: sorry, had to go to the doctor. =\ [17:34] maswan: the output of what you asked before: http://pastebin.com/d8538c7e [17:34] Does Ubuntu Server include software RAID? [17:35] isle86: Those configs look OK. You can try removing NameVirtualHost from the ubuntu one. [17:36] isle86: However, my browser does not seem to think that arvernes.dyndns.com resolves properly. Perhaps that is the problem. [17:36] isle86: gtg now, hope you get the last few kinks sorted. [17:36] ok,, thank you. [17:36] WoLf_Loonie: that's the HEv6 thingies? it looks to me like multiple entries, but then again I don't have much clues if you are tunnling or something.. [17:37] Tunneling with Hurricane Electric (tunnelbroker.net) [17:37] so I've named the interface Hev6 [17:42] ah, but perhaps it shouldn't go out through eth0 as well then? [17:42] note that I'm just guessing here though [17:42] Well, I only have eth0, and I'm guessing it has to go through something to reach internet =) [17:43] yes, but if you have a tunnel, the ipv6 packets just go to the tunnel endpoint and then gets sent over v4 to the other endpoint of the tunnel [17:43] it's v6 over v4, not native v6 [17:43] so only the v4 should go over eth0 [17:51] i'm stuck with uid mappings when mounting w2k server active directory shares from ubuntu, if anyone can help it will be appreciated, thx [18:48] i am trying to get my LAMP server (Hardy) to email php generated emails. is exim4 the best option for that [18:53] mregister: Any reasonable MTA would work, including exim, postfix or (for minimalist approach) ssmtp [18:58] ok so i need to create an account with my ISP for exim4 to connect to? like i would for any other client? then configure exim4 to connect to my ISP like any other client? [19:14] mregister: You should configure exim4 to route all outgoing email to a "smarthost", which would be your ISP's mailserver, yes. [19:15] so in the intial setup when it ask about server type i specify "internet only" all smtp traffic? === jussio1 is now known as jussi01 [19:16] mregister: I'm no exim4 expert... if this is all you need a mail server for, exim4 is total overkill, you might find ssmtp smaller and simpler? [19:18] you maybe right. i need it to send email to sales@example.com orders@example.com etc.. [19:18] Yes; any MTA you set up can do that just fine. [19:27] New bug: #312274 in sysstat (universe) "backport sysstat 8.1.7-1 from jaunty to Intrepid" [Undecided,New] https://launchpad.net/bugs/312274 [19:28] how can I start a server on startup? [19:28] I installed ejabberd from source and I run it using: ejabberdctl start [19:41] ejabberd | 2.0.1-2 | intrepid/universe | source, amd64, i386 [19:41] ejabberd is packaged already, why not use the package? [19:46] I've tried the package but there is an error [19:47] apt-get install ejabberd [19:47] ejabberdctl start [19:47] RPC failed on the node ejabberd@...: nodedown [19:47] invoke-rc.d ejabberd start ? [19:47] also, doesn't the daemon start on install? [19:48] when I install it from source I can start and stop it but don't know how to start it on startup [19:50] I have a script ejabberdctl that works. it has start, stop, restart, status functions. How do I tell ubuntu to run the start on startup? [19:51] you shouldn't have to. [19:51] but I built it from source and it doesn't run on startup [19:51] on the package run on startup (I think) [19:51] ehrm. oki. can't help you then. [19:52] thanks [19:52] pablop: You really should try using the package, but you might be able to do something like update-rc.d ejabberd defaults [19:54] jmarsden|work: only if the init-script exists :-) [19:54] (in /etc/init.d) [19:56] True. That's why pablop should really be working with the package, not installing from a source tarball, IMO... when a package exists for something you use it, and if it has issues, you fix it... you don't start over from a source tarball, it's just wasteful [19:58] jmarsden|work: +100000 [19:59] don't know how to fix the package :) [20:00] I thought that init-script is just a script that calls ejabberdctl start [20:00] 'tisn't [20:00] pablop: Have you filed a clear and complete bug report? [20:00] starts up erlang and stuff [20:01] no I didn't filed a report [20:02] pablop: If you believe you have found a bug in a package, file a good bug report thoroughly documenting the issue. [20:03] whrer? [20:03] where? [20:06] https://bugs.launchpad.net/bugs/+filebug [20:08] thanks. I'm submitting the bug report [20:34] pablop: BTW, on my desktop PC I just did sudo apt-get install ejabberd && sudo /etc/init.d/ejabberd start [20:34] pablop: And it worked as expected... no bug seen... [20:37] you are right [20:37] that's strange. ejabberdctl start doesn't work but ejabberd start work [20:40] So... probably you should just uninstall your locally compiled stuff, install the package, and use it :) [20:40] there are other issues. I need some custom modules that I can install only on the build from source version [20:42] pablop: apt-get source ejabberd and work on it to add what you need? That way you can give back your changes to the community. [20:43] I wish I could give back. It's their module that is not trivial to install [20:43] I managed to install it only manually after installing erlang and then ejabberd from source [20:44] hmm, wanted to spend some birthday money on books, eg Daemon by Daniel Suarez [20:44] but i see kirkland is giving them away for free [20:54] what's the easiest way to revert a config file back to what was initially installed? [21:17] hey all [21:18] how would i go about finding the time zone that my server is using ? [21:19] cat /etc/timezone [21:38] thanks henkjan [21:40] i am doing a fresh install of ubuntu 8.10 and a bit confused on the options for the email server. there are options ' no configureation, internet site, internet site with smarthost, satellite system, and local only. [21:41] the internet one is the one that has me confused. [21:41] says mail is sent and received by smtp. isn't received done by pop? [21:41] bitsbam_: If you have a static IP and will be running a full mailserver, use "Internet site"; if you are on a home DSL or similar, and need to relay everything you send via your ISP, use "internet site with smarthost" [21:41] basically, this computer needs to be our company mail server, it needs to get and send mail right here [21:42] ok, we are the first one. static ip, we are the full blown mail server [21:42] Sounds like it. [21:42] BTW for POP3 you would install a POP3 server too, something like dovecot [21:43] very good. does hostname and domain name need to be the same? host is just the computer, and domain refers to everything behind the LAN. ? [21:50] he he, package updating as in just install from source? [21:50] bitsbam_: No, ideally you would grab the current source package using apt-get source and then modify it to use the new source tarball instead of whatever it uses now. [21:50] oh, so it compiles with the same options, uses same /etc/init.d/ scripts, etc.. i get it, cool [21:50] will do [21:51] See https://wiki.ubuntu.com/PackagingGuide/Complete#Recipe:%20Updating%20An%20Ubuntu%20Package [21:53] i just tried to apt-get install ssmtp and i get error conflicts with mail-transport-agent. do i need to remove exim4 first? [21:54] mregister: Probably. Try it :) [21:57] jmarsdenwork, got it thanks [21:57] No problem [22:00] Hello, and sorry to disturb yet again. This time I'm having a small issue with setting up Postfix and Dovecot on my server.. I used the Maildirs format, and followed the help pages on the Ubuntu website, but now root mail is not getting forwarded to my user, (I added the alias under /etc/alias) nor kept under root. [22:06] and I'm getting a " Relay access denied " error back when I try to email the server. [22:40] WoLf_Loonie: Relay access denied often means you forgot to tell postfix which domain(s) to accept mail for... [22:40] attempting an rsync between two cifs mounts, from //nas/av to //tvpc/av via "router", which is a hardy server, i'm seeing a load avg ~2.00 and 50% iowait in top + iostat, despite there being no physical io on the router [22:41] ie, on router, i'm doing rsync -aPv /mnt/nas/av /mnt/tvpc/av (which are both cifs mountpoints to their relevant machines) [22:42] that doesn't strike me as "right" [22:42] Deeps: It may be more appropriate to run rsyncd on a server and use rsync protocols, not SMB, on the wire? [22:44] possibly, however 'nas' is a linuxed based ARM processored barebones unit, and 'tvpc' is a windows box, which may lead to more complications [22:44] i was simply noting that this was occurring, rather than it being much of a greivance, 'router's function is usually fairly limited, and despite the load still manages my adsl connections just fine [22:45] eitherway, alternating the process is more trouble than it's really worth, the rsync will be done in another day or two, and i highly doubt anyone will notice any issue [22:45] (been at it since wednesday without any real problem) [22:47] Well, you could get a Cygwin-based rsync to run on the Windows box if you had to... but I see what you mean. Does "router" have good NICs in it, or cheap ones that use lots of CPU? If router uses cheap (RealTek etc.) NICS, that may be part of why this is happening. [23:06] Hi