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

ruben23hi guys if i do ifconfig i cant see any ehternet, but when ifconfig -a i see the eth0, even i put the IP and oter details on it, when i restart ti fails00:19
ruben23any idea..does my ethernt really are not installed..? or installed00:19
clustyhey00:41
clustyi tried making my tiny asus boot from pxe using a netboot image00:42
clustyit could nto detect my network card: suported after kernel 2.6.1800:42
clustyany clues how i can fix the whole thing?00:42
=== KnightStalker is now known as Guest10989
=== funkyHat_ is now known as funkyHat
pmatulisruben23: did you get the ethernet problem fixed?01:15
=== Guest51139 is now known as Adri2000
storrgiei put a new nic in my server01:42
storrgieremoved the old one01:42
storrgiehow do i make the new nic operate as eth001:42
storrgiei want to stop the persisitant interfaces01:42
storrgie:(01:44
ruben23pmatulis: ...?02:09
ruben23you there02:09
pmatulisruben23: yes02:09
ruben23pmatulis: still my ethernet fails02:10
ruben23what should i do02:10
pmatulisruben23: how did you configure your interfaces?02:10
ruben23i did pico /etc/network/interfaces02:11
pmatulisruben23: pastebin that file02:12
ruben23http://pastebin.com/JxNJGfaQ02:12
v1adwhat the problem again? sorry jst joined in02:13
ruben23when- command ifconfig - i dont see anything, but ifconfig -a, i see eth0 no ip.02:14
v1ado02:14
v1adis he network working though or no?02:14
ruben23but i already manualy put the IP on the interfaces and make it static.02:14
ruben23v1ad:you mean..?02:14
v1adso what you have there is what you out in correct?02:15
v1adwhat i meant iss did you set the variables for the ip02:17
ruben23yes i have already..02:17
Shapeshiftrhey.02:17
Shapeshiftrwait, nevermind.,02:17
Shapeshiftrwrong channel >_<02:17
ruben23 pmatulis: ..?02:18
v1adand if you ping google do u get a response?02:18
v1adbasically what im saying if your router does not assign u a dhcp address and you try to set 1 manually with the router set as dhcp it won't work02:19
GhostFreemanwhere is the grub menu.lst in 10.0302:20
GhostFreeman10.04*02:20
v1adand if you have no network connections available make sure its pluged in good on both ends02:20
v1adin /boot02:21
v1adnvrm that was old 1 i think02:21
ruben23yes all of that i have look on tis, it properly plug, its set to static..and still fails.02:21
v1adif you have the older grub its in /boot/grub02:21
v1adnewer grubs set themselves and it is stored in a different location02:22
v1addid u check your router02:22
GhostFreemanso how do I configure boot settings02:22
v1adis that set 2 static?02:22
v1addefine configure02:22
GhostFreemanI need to add a rootdelay to see if it fixes an outstanding issue i have on my headless machine02:23
v1adlike boot time or boot preference?02:23
GhostFreemanrootdelay needs to be set02:23
v1adif you go to like /boot/grub02:23
v1addo u see menu.lst?02:23
GhostFreemanNo02:23
v1ado how fun let me check my server machine my pc has an older grub02:24
GhostFreemanthis is actually a recurring issue02:24
GhostFreemanI try to boot and it throws me to initramfs busybox, complaining about how it can't mount my boot drive02:24
GhostFreemanI exit busybox and it just works02:24
v1adupdate-grub02:29
v1adand also check the header in /etc/grub.d/02:30
v1adsomething like 00_header02:30
GhostFreemanOk02:30
GhostFreemanwell I just tested it with a grub boot and the rootdelay is what I need to add to the kernel stanza02:31
GhostFreemangrub.cfg has the settings i need02:31
GhostFreemanit's a bit of a mess from last time though...I got it from here02:32
GhostFreemanThank you :)02:32
v1adkk good luck02:32
v1adruben seems more of a hardware issue than a software. to set your ip to static takes more than just setting it in a config file. i would leave it as dhcp and figure out why your network is not getting the address so since you already set it to static02:36
v1adgo into your router and make sure its not broadcasting a dhcp address. there will be a conflict.02:36
pmatulisruben23: can you configure it manually?02:37
v1adhttp://pastebin.com/JxNJGfaQ he pasted this02:37
pmatulisruben23: can you configure it manually?02:38
pmatulisruben23: (on the command line)02:38
ruben23thats02:38
ruben23manually02:38
ruben23ocfigure02:38
ruben23i have pasted02:38
pmatulisoh well, good luck02:39
pmatulis(when you use the interfaces file you are not doing it manually, you are giving parameters that *some other* thing will use to do it for you)02:39
pmatulistry02:40
pmatulisruben23: sudo ip address add 192.168.1.3/24 brd + dev eth002:40
=== dendro-afk is now known as dendrobates
ne7workhow can i install jdk on ubuntu-serveR?03:06
GhostFreemanI've got an even bigger problem03:20
GhostFreemanI'm trying to get Samba to start but it appears the /etc/samba directory is gone03:20
GhostFreemanactually nevermind, I forgot about this dpkg thing03:21
GhostFreemanactually03:24
GhostFreemanyeah its still an issue03:24
GhostFreemanwhat would cause samba to drop the /etc/samba directory, and how do I get it back (and smb.conf)03:24
ne7workGhostFreeman can you help me dude please :(03:33
ne7workreally please :(03:33
=== dendrobates is now known as dendro-afk
GhostFreemaninstall jdk?03:39
GhostFreemanTry sudo apt-get install openjdk03:39
GhostFreemanthat should get you in the right direction03:40
ne7workplease someone help me with l2 server :(03:59
kmanAny webmin users out there?05:00
kmanAnyone out there?05:04
jmarsden!webmin05:05
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.05:05
kmanOk I was looking and seems to be people still using it and getting it to work.  Will explore your suggestion with !ebox.05:08
v1adim pretty sure webmin supports ubuntu05:08
kmanand  hopefully the other way around - Ubuntu supports webmin05:09
v1adWebmin - 2 visits - Apr 105:09
v1adCurrently Debian, Ubuntu, CentOS and Redhat Enterprise are supported. If you like it, you can upgrade to the commercial version. April 12, 2010 ..05:09
v1adive used itwith fedora and ubuntu05:10
v1adno issues05:10
kmanIt looks like Webmin installed OK but am getting an error when trying to run.  Error is "no such file or directory" when run https://localhost:10000 any suggestions?05:11
jmarsdenSee https://answers.edge.launchpad.net/ubuntu/+question/2873 for background on why webmin was dropped.  Use at your own risk.05:12
v1adwhere do u run that05:12
v1adu do enter it into a web browser correct?05:12
v1ad127.0.0.1:1000005:12
v1adopen chrome or firefox05:13
kmanI tried that from the command line.  not sure how to get a browser like interface going from the command line.05:13
v1adu dont05:14
v1adu install it05:14
v1adand then u access it from a web browser05:14
v1adu cant access it from command line05:14
v1adif u are accessing it remotely u will need to do ipaddress:10000 or domainname.com:10000 if u have a domain name05:14
kmanI was trying to test it from the server before I tried from a remote box.  The server does not have any graphical interface.05:16
v1adu cant test it from the server then05:16
v1adif u have a firewall make sure that port 10000 is open05:17
kmanI'm new to this so I apologize for my ignorance.  Ok I'll try from another box.05:17
v1adno problem we where all ther ebefore05:17
kmanThanks have a good night.05:19
=== KnightStalker is now known as Guest92107
=== Guest92107 is now known as KnightStalker
=== deslector is now known as scarper
uvirtbotNew bug: #601288 in dhcp3 (main) "package dhcp3-server 3.1.3-2ubuntu3 failed to install/upgrade: vidinis procesas installed post-installation script nutrūko gražindamas reikšmę 127" [Undecided,New] https://launchpad.net/bugs/60128808:06
corecodehey09:17
corecodei have a mdadm raid 1 that i want to mount during boot, but it doesn't contain my root.  somehow I always have to scan+assemble the array manually09:18
corecodewhere is the init.d code that will assemble the raid?09:19
corecodei can't find it09:19
=== lau is now known as Guest16812
=== kobrien is now known as Guest98128
KnightStalkerhow to setup a proxy server?10:53
joschiKnightStalker: proxy for what? http? smtp? imap? ldap?10:54
KnightStalkerhttp10:54
joschihttps://help.ubuntu.com/10.04/serverguide/C/squid.html10:55
KnightStalkerThanks,let me look at that10:55
KnightStalkerjoschi,it times out11:22
KnightStalkerI changed the port and restarted it and it still times out11:22
KnightStalkerI use local IP and port11:22
KnightStalker192.168 ect11:22
KnightStalkerokay seems to be firewall11:24
steffan/4/213:27
GhostFreeman_I'm having issues trying to reinstall mysql-server14:00
LeeQhi folks, if I want to mirror a server... I should rsync /etc   /lib  /var  ?14:02
=== steffan is now known as stfn
clustywas curious what's the main diff between the server and desktop ubuntu?17:12
clustyjust that server is strippe down of all the shit?17:12
cloakableclusty: server has a different default kernel, and no gui.17:14
clustyi just set up an ubuntu torrentbox (headless) and put desktop on it and stopped gdm17:15
cloakableErk, why?17:15
clustywas that addressed to me?17:16
cloakableyes17:16
clustythe only gui tool i kinda like is gparted17:16
clustyand was not in the mood to write 2 cd's just for that17:17
cloakableThe only gui server tool I like is... um, none :P17:17
clustytried doing a netinstall, but the kernel there is ancient17:17
clustyand my netcard was not detected17:17
clustycloakable: also i think at some point i installed a server ubuntu and was a big pain in ass to get cpu-freq going17:20
clustywas a few years back17:20
cloakableHmm17:20
clustywhile the desktop had everything fine by default17:20
clustyanyways i am sure it's fine cause i cannot demand performance from it cause it's a piece of shit anyways... :D17:21
IdleOne!language | clusty17:21
ubottuclusty: Please watch your language and topic to help keep this channel family friendly.17:21
clustyoops17:21
clustysorry. piece of faeces :D17:21
IdleOneyou can express your dislike for something without bad language. Thanks17:21
clustyany clues where is mod_deflate for apache2 ?17:27
clustyi can't find the package for it...17:27
cloakableit's in the default apache2 install17:30
cloakablesudo a2enmod deflatw17:30
cloakablesudo a2enmod deflate17:30
saculI've been doing some research on setting up a central server on my home network.  I'd like users home directory on any client to be stored on the server for universal settings and storage for each client...  I'm looking at a guide on LDAP... is that the direction I should be going?17:38
saculI'd also like the users to be authenticated by the server so that the users are the same on all machines.  and if I change my password on one machine it changes on all of them... etc17:39
cloakableLDAP is a great choice for central auth17:39
cloakableAnd it's not too hard to set up if you're doing pure Linux auth17:40
cloakablesacul: look at the ubuntu server guide17:40
saculcloakable: thanks a lot.. thats what I was looking at.. just wanted to make sure I wasn't overcomplicating the process17:40
cloakableThe good thing about LDAP is that it can grow :)17:41
cloakableLater on, you could set up a radius server, and use it to get WPA2-Enterprise on your wifi :)17:42
saculcloakable: the idea is actually for the server to eventually really be the backbone of my network including replacing my existing router17:42
cloakablesacul: hmmm. I might avoid replacing your router with it.17:43
saculcloakable: oh?  I'm running a really old lynksys 802.11b wireless access point right now.. its soooo slow17:43
cloakablesacul: It's best to run as few services as you can on your gateway17:45
cloakableI'm running two boxes myself, one gateway, one central server.17:45
saculcloakable: that makes sense...17:45
cloakablesacul: yeah17:45
cloakablesacul: And do you really want your LDAP server on an internet-facing box?17:46
cloakable:)17:46
saculcloakable: true...17:46
saculcloakable: thats why I came here! :) make me see the stupid decisions. :)17:47
cloakablePut the backbone server in the center of the network, and link the router to it.17:47
cloakableI SHOULD do that, but I'm running Smoothwall. I'll eventually replace with either pfSense or another ubuntu server.17:47
saculcloakable: time to start downloading the server image.. thanks for the advice!17:49
cloakablesacul: no problem :)17:50
maekis there a way to install a local .deb with dependency  support from my apt repos?18:43
Nafallogdebi18:45
Nafallo^-- maek18:45
uvirtbotNafallo: Error: "--" is not a valid command.18:45
maekNafallo: I thought that was a gnome tool?18:45
Nafallono. that's gdebi-gtk18:46
maekso in 10.04 I see gdebi as a gnome pkg and gdebi-core as not being any type of DM thing. sorry for being dumb Im coming from redhat and have little ubuntu/debian experience18:47
Nafalloyeah, you want the package gdebi-core installed to get the binary gdebi18:48
maekNafallo: thanks18:48
maekoh this is sweet. I did dpkg -i mylocal.deb and then when I ran apt-get it said I had unmet deps and and apt-get -f install would fix them. and it did!18:49
Nafalloheh, yeah. I trust gdebi more though. playing around with dpkg is one layer down ;-)18:50
maekok, ill fire up another vm and see what happens. I had to build a cobbler package and this point im just kind of winging it.18:51
maekso something else im confused on. does the service command not work anymore with upstart?18:51
Nafallonoclue I'm afraid. don't think I ever used what you are talking about :-)18:52
maekim not sure what im talking about either. what I though was that upstart took over some portion of running services in 10.0418:53
Nafallothis is true.18:54
maekdo you know how I would start a service now, because the service comand and /etc/init.d/servicename start are not working18:55
Nafallostart/stop/restart <service>18:55
maekoh my. thank you!18:56
maekdo I need more then a start/start/status style init file in /etc/init.d/servicename for upstart to work?19:02
NafalloI don't believe upstart uses init.d19:07
Nafallo/etc/init by the looks of things.19:07
maekhmm, ok. so if I get a service ill have to redo the init.d to an init/service.conf thanks19:08
maekso If I install a package from 10.04 repo like apache it should have an /etc/init/apache2.conf file ? but I get an /etc/init.d/apache2 file and start apache2 doesnt work19:09
Nafalloit is very much possible all packages have not transitioned yet.19:11
NafalloI do believe all packages installed by default on a desktop installation was the target for 10.9419:12
Nafallos/94$/04/19:12
maekthanks19:14
clustycloakable: thanks for the deflate19:29
cloakableclusty: no problem19:29
clustycloakable: a while back that was a module19:29
cloakableclusty: aha19:30
Toddshareware in a repo? I just vomited in my mouth a little.20:35
cloakableD@20:36
cloakableD:20:36
cloakableTodd: what's that?20:36
ToddUltraEdit is in a repo that I'm using.20:36
ToddI forget what I'm using it for.20:36
ToddOh it's in the partners repo.20:37
ToddBAH.. that's even worse20:37
cloakableHeh20:39
jpdsTodd: No, it's not.20:41
Nafallojpds: it was before... are you sure?20:44
pmatulisno it's not in partner or no it's not worse?21:00
Nafallopmatulis: he meant "no, it's a good thing" :-)21:03
* Nafallo harrased him on jabber about it ;-)21:03
clustywhat VPN server would you guys recommend?21:52
cloakableclusty: for what application?21:55
clustyto access a bunch of servers on the LAN21:56
clustynow i tunnel over ssh21:56
cloakablethat works21:56
clustybut this is annoying: 1 port for each service on each machine...21:56
cloakablehmm21:56
cloakableAre you looking for ease of use or?21:56
clustyi got like 4 postgress connections21:57
clustyyes21:57
cloakablepptpd21:57
cloakableon the gateway21:57
clustywhat are the alternatives?21:57
clustyi mean why did you ask me of purpose21:57
cloakableThere's openvpn21:58
cloakableWhich is more secure, but harder to setup21:58
clustydefinately i don't care that much about security21:58
cloakablepptpd is easy to set up, and there's a client built into most things21:59
clustydoes pptp have stream compression?21:59
clustyssh saves my ass with the -C part...21:59
cloakableyes, but it's disabled by default, I'm not sure why.22:01
clustypptp it is then... :D22:02
cloakableapt-get install pptpd :)22:03
clustyfor some reason all howto's i found started by compiling pptpd from source22:03
cloakableThat's because they weren't wise enough to use ubuntu22:04
clustythat was under ubuntu22:04
cloakableHmmm22:04
cloakableWeird22:05
cloakabledid it give a reason? Or was it just do it this way?22:05
clustythey were patching the source22:05
cloakablehmmm22:05
cloakableWhat for?22:06
clustylemme check. when i reached that point i gave up :D22:06
clustyfelt like too much of a hassle22:06
cloakableheh22:06
cloakableyes22:06
cloakableWell, slap it into a fileserver :)22:08
cloakable*gateway22:08
clustyhttp://forums.bit-tech.net/showthread.php?t=13202922:10
clustymust have been some old ubuntu 200722:10
uvirtbotLaunchpad bug 2007 in openoffice.org2 "can't upgrade opneoffice.org2-common or -base" [Medium,Invalid] https://launchpad.net/bugs/200722:10
cloakableMmm22:11
cloakablethe plugin works now, iirc22:12
holmserI am trying to set up an rsync backup for my server22:25
cloakableand?22:25
holmsereverything was working great until I realized that I need to be super user to access everything in /var/www22:26
holmserso now my script always asks for a password in the ssh login portion of it22:26
holmserbasically, when I run the command with sudo I get asked for a password, when I run it as a regular user I do not22:27
holmserhow can I set it so it doesn't ask for a password when run as sudo?22:27
jmarsdenholmser: I think you want to edit /etc/sudoers (using the visudo command)  so you give yourself NOPASSWD permissions for that particular command.22:29
holmsergot it... I just needed to copy the keys from /root/.ssh/ over too22:31
holmserwell, the public key anyway22:32
holmsernow all I need to do is set up a root chron job22:33
holmserdamn... is there a way to make rsync follow symlinks?22:36
jpds--copy-links22:38
holmserthank you22:43
CooroI was wondering, is it possible to get Mysql to work on ubuntu?22:43
holmseryes22:44
guntbert!lamp | Cooro22:44
ubottuCooro: LAMP is an acronym for Linux-Apache-MySQL-PHP. However, the term is often used for setups using alternative but different software, such as Perl or Python instead of PHP, and Postgres instead of MySQL. For help with setting up LAMP on Ubuntu, see  https://help.ubuntu.com/community/ApacheMySQLPHP - See also the Server CD installation process (different in Edgy+)22:44
CooroAh22:44
CooroSo I can't just install mysql, I have to use a different method?22:45
holmserno, you can just install it with sudo aptitude install mysql-server22:45
CooroHhmm22:45
holmserwhat are you using it for?22:46
holmserwebsite?22:46
CooroWell, I'm trying to create my own game22:46
Cooroand need the mysql.22:46
guntbertCooro: sudo aptitude install mysql-server22:46
CooroSo it'll work just like if it was on windows? Sorry for my questions, first it using linux anything. xD22:47
holmserdepends on how you are using it.  If you want to include it with your game, I would use SQLite22:47
Cooroah, k22:48
CooroThank you22:48
holmsernp22:48
CooroCrazy that they want so much money for just one license of windows. -_-22:50
CooroCompared to ubuntu being free. lol22:50
CooroI was thinking about installing windows mysql 08 lite on it.22:54
CooroSo what kind of gui does ubuntu have?22:56
cloakablethe server?22:57
cloakableit doesn't have gui22:57
CooroYeah or do I have to instal one?22:57
Cooroah22:57
cloakableyou can install one if you want22:58
cloakableBut it's mostly a waste of resources22:58
CooroIt'd help. lol22:58
cloakableyour server will waste ram displaying a desktop nobody will ever see22:58
CooroDo you know where I can download a gui or is it included into the instal?22:58
cloakablesudo apt-get install ubuntu-desktop22:59
cloakableOr aptitude22:59
cloakableAptitude will let you get rid of it easier22:59
CooroThat the command?22:59
cloakableyup22:59
Coorok22:59
CooroWhere do I get the gui?22:59
cloakablethe command downloads it for you23:00
cloakableThen installs it for you23:00
cloakableThen does basic configuration for you23:00
cloakableThis isn't windows :P23:00
cloakableYou don't need to go out hunting for software23:01
Cooroah, kk, thanks23:01
qman__the GUI does not provide any advantages in managing a server, as all the server software is command-line based23:05
cloakableindeed23:05
qman__ubuntu server and ubuntu desktop share the same repositories and package sets, they are just configured differently out of the box23:05
cloakableAlso, most ubuntu servers run headless23:06
CooroI'm sorry, what does headless mean?23:08
ChmEarlCooro, no eyes, ears, or nose23:08
CooroAh, kk.23:09
ChmEarlCooro, actually no monitor keyboard or mouse23:09
cloakableCooro: Most ubuntu boxes are administered remotely, via secure shell.23:11
Cooroah23:14
CooroWell, kinda need a gui for this one. :(23:14
cloakableHeh23:15
cloakableWhat for?23:15
jmarsdenCooro: Why?  What server software needs a GUI?23:15
cloakableCooro: Do you think software needs to be on the local box to connect with mysql?23:16
jmarsdenIf you just want "a desktop PC that will sometimes run some services", because you personally like a local GUI, you should just install Ubuntu Desktop.23:16
CooroWell, I normally use the sql through the gui23:22
cloakableHow do you connect to it? tcp/ip or socket?23:23
Coorotcp/ip23:28
jmarsdenCooro: So run the "SQl GUI" (what application is that, by the way?) on your local desktop or laptop running Ubuntu Desktop, and connect over the network to the SQL server (MySQL or Postgresql or whatever) on your server.  The server does not need a GUI, only your local desktop/laptop workstation needs the GUI.23:34
cloakableindeed23:40

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