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

jmarsdenwizzy_: To set up a basic mail server on Ubuntu Karmic, do not "wget" and "unzip" anything!  Just sudo apt-get install dovecot-postfix    # and answer the debconf questions.  It's very very simple.00:54
osmosisim not really understanding the point of Eucalyptus. Maybe im not finding a good tutorial on it.01:08
owen1sudo /etc/init.d/sysklogd restart     is this is the command to restart syslog? i deleted /var/log/syslog and I want it back...02:54
wizzy__i am trying to install  "install.php"  with "php -q install.php" command and i am getting error "php : command not found05:04
wizzy__hello05:08
jmarsdenwizzy__: Do you have php5-cli installed?05:11
wizzy__i am trying to install it but i cant05:11
wizzy__always till "segmentation faulty tree .. 50% and then back to terminal05:11
wizzy__and php5 not installed05:12
jmarsdenSo what happens when you do    sudo apt-get install php5-cli ?   Can you pastebin the full output somewhere I can see it?05:12
wizzy__"reading package lists ... done   Segmentation faulty tree ... 50%   "05:13
wizzy__and then nothing , root@ubuntuserver:05:13
jmarsdenwizzy__: OK, so your apt database is unhappy.   Try apt-get -f install    # with nothing after the install.05:13
wizzy__same thing05:14
jmarsdenwizzy__: Wow, it's *really* unhappy.  Do you know when this started, or what you might have done to cause it?05:17
wizzy_ok i am back05:19
jmarsden<jmarsden> wizzy__: Wow, it's *really* unhappy.  Do you know when this started, or what you might have done to cause it?05:20
wizzy_nothing eventualy05:20
wizzy_its fresh install ,05:20
wizzy_only think i did was to setup apache205:21
jmarsdenwizzy_: Then the simple thing to do could be to do another fresh install... something is *wrong* with that apt database.05:21
jmarsdenI05:21
jmarsdenI'm not enough of an expert to know exactly how to go about fixing it.05:21
wizzy_ok thank you05:22
jmarsdenYou're welcome.05:22
wizzy_http://ubuntuforums.org/showthread.php?t=101056905:23
jmarsdenOK, well, I suppose you can try   sudo rm /var/cache/apt/*.bin   and see if it works for you.05:23
wizzy_WORKS05:23
wizzy_;)05:24
jmarsdenCool :)05:24
wizzy_hihi05:25
wizzy_hih05:27
wizzy_did you ever use ispconfig?05:27
uvirtbotNew bug: #518281 in postfix (main) "package postfix 2.6.5-3 failed to install/upgrade: " [Undecided,New] https://launchpad.net/bugs/51828105:36
Deterministi'm trying to install sun-java6-jdk using a bash script on several remote machines but i keep running into the same problem: certain packages bring up a manual confirmation dialog during installation and i can't seem to find a way to override this behavior (aptitude -y doesn't help, obviously). any ideas?06:48
Deterministnada?06:50
jmarsdenDeterminist: if the dialog is from debconf you can preseed the question concerned.  if not... you'd have to look at exactly what the installer script is doing.06:51
Deterministjmarsden: preseed = ? and how would i know this?06:51
jmarsdenDeterminist: Read the Ubuntu Installation Guide.  See https://help.ubuntu.com/9.10/installation-guide/i386/preseed-using.html for example06:53
Deterministjmarsden: ty06:53
jmarsdenYou're welcome.06:53
Deterministjmarsden: may seem silly, but i actually figured out what i need to pass (parameters), but i have no idea how (after reading that guide above). how do i actually pass 'preseed --owner sun-java6-jdk shared/accepted-sun-dlj-v1-1 boolean true' to aptitude (or am i being silly) ?07:00
jmarsdenI'm not sure you pass it to aptitude.  You set it in the debconf database.  I'm no expert on preseeding, I just know it exists for things like this...07:01
jmarsdenSee if man 7 debconf     # sheds any light on how all this works.07:02
Deterministok, thanks07:02
Deterministthis isn't going to be simple. is it?07:08
Roxyhart0hi, how i can know which kind of array i got?07:09
Roxyhart0array disk07:09
Roxyhart0how i can create disk array from line command07:11
jmarsdenDeterminist: Probably not.07:13
Deterministjmarsden: getting somewhere with dpkg --set-selections07:13
jmarsdenRoxyhart0: cat /proc/mdstat will show you what Software RAID arrays you currently have running.  Is that what you mean?07:13
Roxyhart0no doesn't show me nothing and is weird07:14
Roxyhart0beacuse when i install (start with cd ) i installed the array disks07:15
Roxyhart0I mean the array that i did when i installed, i am usind a HP server07:15
Roxyhart0i got just it: Personalities :07:16
Roxyhart0unused devices: <none>07:16
jmarsden"Installed the array disks"?  What do you mean?  Does your server have a hardware RAID controller you are using?07:21
Roxyhart0yes07:21
jmarsdenThen /proc/mdstat does not show those, it shows Software RAID (not Hardware RAID).07:22
Roxyhart0no :(07:22
jmarsdenTo see the status of hardware RAID arrays you must use whatever utility is for that controller.07:22
Roxyhart0i used the HP tool before install ubuntu, and when i was installing ubuntu, it shows me the array07:23
Roxyhart0but now i cant see07:23
subcan't see what?07:23
jmarsdenSee if you can find your RAID controller listed on http://wiki.debian.org/LinuxRaidForAdmins  and use whatever utility works with it.07:24
subHPs SmartArrays usually end up like /dev/cciss/c0d0 or something07:24
Deterministjmarsden: got it :D07:25
Deterministjmarsden: debconf-utils07:25
jmarsdenDeterminist: Cool :)07:25
Deterministjmarsden: thanks for the guidance. didn't even know where to begin :)07:25
jmarsdenYou're welcome.07:26
* jmarsden installs debconf-utils ... :)07:26
subRoxyhart0: Are you trying to mount the array or are you trying to see the configuration?07:26
Roxyhart0see the configuration an then create LVM07:26
subif it's an HP server you can reboot and configure the RAID arrays via the ROM-based utility at boot07:27
Roxyhart0but i think jmarsen is right..because i am using smart array. Do you know doc about this kind of tips using HP server with ubuntu?. PD. tahns very much jmarsen, you are always very kind07:27
Roxyhart0and thanks as well sub07:28
jmarsdenRoxyhart0: You're welcome.07:28
subRoxyhart0: Do you see anything when you do: ls -al /dev/cciss/07:29
Roxyhart0yes, i just see that07:34
Roxyhart0i didnt know this is the "name" using HP07:34
Roxyhart0question which kind of format is better for data? xfs or ext?07:46
qman__ext3 is historically more reliable, xfs can suffer total data loss if your system crashes or loses power suddenly07:51
Roxyhart0thanks for that, i will use ext307:51
qman__if you use xfs, make sure you use a stable configuration with a UPS07:51
Roxyhart0what could be the benefit using xfs?07:52
qman__xfs offers some performance benefits, particularly with larger files07:52
Roxyhart0i think i prefare something reliable, even if is could be slower07:53
qman__for important data, I agree07:53
qman__ext3 has been very reliable for me in the past, and even when I've had some corruption, generally the errors are recoverable with minimal data loss07:53
Roxyhart0yes, i had also a experience before i could reocver just ext3 but the partition which was xfs i couldnt. I thought was just casuality07:54
Roxyhart0hi any experience with ext4? is better than ext3 and realiable?10:15
uvirtbotNew bug: #518346 in kvm (main) "Emulated serial port does not work with FreeBSD 8.0 guest" [Undecided,New] https://launchpad.net/bugs/51834611:16
Roxyhart0alo12:41
Roxyhart0hi someone have doc how to install samba domain member on ubuntu?13:25
Roxyhart08hi when i do net rpc join i got an error:  NT_STATUS_CONNECTION_REFUSED14:18
Roxyhart08any idea?14:18
uvirtbotNew bug: #518400 in clamav (main) "package clamav 0.95.3+dfsg-1ubuntu0.09.10 failed to install/upgrade: " [Undecided,New] https://launchpad.net/bugs/51840014:31
\shdear vmbuilder pros, which action is executed first after OS installation: --exec or --copy?16:06
uvirtbotNew bug: #518211 in lm-sensors (main) "IT8720F chip not recognized by lm-sensors" [Undecided,New] https://launchpad.net/bugs/51821116:06
a1fayellow16:12
a1fai am trying to boot the iso from a usb drive16:13
a1fai get to the point where it is supposed to map a cdrom and scan it, but it says no cdrom exist16:13
a1famy grub settings are16:14
a1fafind --set-root /ubuntu.iso16:14
a1famap /ubuntu.iso16:14
a1faroot16:15
a1fakernel /install/vmlinuz file=/cdrom/preseed/ubuntu-server.seed ..16:15
a1fanot to bore you16:15
mboehmi want to change /dev/ttyS0 group with udev rules to "nut" but it does not work16:47
mboehmcreated a rule file in /etc/udev/rules.d with KERNEL=="ttyS0", GROUP="nut"16:51
mboehmwhat can be wrong?16:51
mdeslaurkirkland: I'm getting a FTBFS with libvirt as the new uuid-dev package doesn't contain libuuid.la anymore. Have you looked at this yet?17:11
\shhmm...something's wrong with kvm not starting up when using --part17:21
=== dendro-afk is now known as dendrobates
wizzy_hello people18:04
Callum__hi =P18:05
wizzy_i want to host website and phpbb forum on one server18:16
wizzy_website is working18:16
wizzy_now how to configure server to show phpbb forum site?18:17
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
bageeraif you have php working then all you have to is extract the phpbb files in your webdir18:21
bageeraand configure phpbb18:21
wizzy_yes but example1.com is website and example2.com is forum site18:22
bageerathen extract phpbb files into example2.com and the forum site will load up by default once its configured properly18:23
wizzy_i got phpbb with apt-get18:24
bageeraah18:24
wizzy_i am removing it18:25
bageerarun a search and see what directory the files were put into18:25
wizzy_can i open bz2 in ubuntu?18:27
bageerayup18:28
bageerause the j switch when running tar18:28
bageerainstead of z18:28
wizzy_ok18:28
wizzy_ok so i got it into its own folder18:34
wizzy_now how to start installation?18:34
wizzy_....php -g install.php18:34
bageerago to that page from the browser18:45
wizzy_i forgot to do vhosts18:46
bageeraif I'm not mistaken there may be one or two things that need to be changed on the system but everything else can be done through the browser18:46
wizzy_How is it ServerAlias or ServerAllias?18:51
bageerathe first one18:51
wizzy_with single L18:51
bageerayes single l18:59
=== ikonia_ is now known as the_tester
tzabarsöker php kodare, ngn intresserad...? korta uppdrag...19:20
guntberttzabar: wrong channel ? :)19:21
tzabarhum... vilken r den rätta...19:22
guntbert!english | tzabar19:27
ubottutzabar: The #ubuntu, #kubuntu and #xubuntu channels are English only. For a complete list of channels in other languages, please visit http://help.ubuntu.com/community/InternetRelayChat19:27
tzabarsorry19:27
guntberttzabar: np - what was that lanuguage? swedish?19:28
tzabaryes19:29
guntbert!se | tzabar might help :)19:29
ubottutzabar might help :): Svensk Ubuntu- och Kubuntusupport hittar du i #ubuntu-se resp. #kubuntu-se19:29
tzabarok tack19:30
monkevening19:32
monkanyone help me configure a network to be a gateway?19:32
wizzy_how do i change permissions of chae/:??19:42
wizzy_cache:/19:42
ZiderI have an issue with cryptdisks.. all the disks I unlock gets both foo and foo_unformatted in /dev/mapper. as I understand it, the _unformatted are temps or something, but shouldn't they go away then?19:46
wizzy_i am trying to install phpbb319:49
wizzy_and i need to change permissions  of cache/: files/: store/:19:49
wizzy_but there are none in my server19:50
wizzy_how to change permissions on /var/www/website?20:06
guntbertwizzy_: you might want to read some of the next links20:09
guntbert!cli20:09
ubottuThe linux terminal or command-line interface is very powerful. Open a terminal via Applications -> Accessories -> Terminal (Gnome) or K-menu -> System -> Konsole (KDE).  Guide: https://help.ubuntu.com/community/UsingTheTerminal or type in it: man intro20:09
guntberthttps://help.ubuntu.com/9.10/serverguide/C/20:10
guntbert!tldp20:11
ubottudocumentation is to be found at http://help.ubuntu.com and http://wiki.ubuntu.com - General linux documentation: http://www.tldp.org - http://rute.2038bug.com20:11
uvirtbotNew bug: #517701 in ntp (main) "ntpd apparmor rule does not allow reading dhcp based config" [Low,Incomplete] https://launchpad.net/bugs/51770121:12
MTecknologyAny ideas how to display a heartbeat page?22:02
MTecknologyI want to make one server show uptime for all other servers..22:02
MTecknologypublicly..22:03
KurtKrautMTecknology, are you sure this is a valuable data to publice? Usually you have to hire/rent another company to make the mesurements and publicize it for you.22:26
KurtKrautMTecknology, because they'd be neutral and wouldn't hide downtimes22:26
subI understand the point you are trying to make, but I disagree with the statement that they would be neutral -- You are paying them after all22:30
sub:-)22:30
MTecknologyKurtKraut: I just thought it would be something fun to show.22:30
KurtKrautsub, but their business depends on the reliability they can provide. A single 'scandal' would put them out of business.22:31
subIn monitoring you have all sorts of thresholds and ways of weeding out "false positives" that would make it really easy to say "Due to technical limitations, we weren't able to report the downtime until N minutes after the incident"22:32
subHowever, usually, these hired/outsourced monitoring companies report the outages directly to the company paying them and not their customers22:33
subMTecknology: If you're just doing it for giggles or for fun, I'd recommend you look into an interpretted language that can be used easily for web development22:34
subWhether that's Python, Ruby, PHP, Perl, or some other thing is up to you22:34
subI'm sure there are already freely-downloadable solutions for all of the languages I listed above22:35
subOtherwise you can set up a full monitoring package using Zabbix, Nagios, or some other software22:36
sherringhamwww.pingdom.com :-)22:40
MTecknologysub: my idea was a little php page and a cron task @reboot22:40
Roxyhart0hi somebody knows about any doc about how to join my domain member serber to the PDC, includyng any configuration for that?23:07
jmarsdenRoxyhart0: Please, *please* read the Ubuntu Server Guide.  For this, see https://help.ubuntu.com/9.10/serverguide/C/likewise-open.html23:15
peepsaloti had a software raid 5 setup on a box where I just upgraded the motherboard.  since swapping out the motherboar it does not recognize my raid array.  i think this is due to the drive numbers changing.  does someone know what I must do to correct this?23:22
peepsaloti am reading the mdadm manual, but confused on what exactly needs to be done.  I think i need to --assemble? using mdadm --assemble --scan doesn't seem to do anything23:23
ujjainis this a never-ever offtopic channel?23:24
peepsalotlikewise, mdadm --manage doesn't seem to do anything either23:24
ujjain"Not only am I in a meat market, I'm the chopped liver." << what does this mean? Sorry, I am not English.23:24
peepsalotthey both just give another command prompt with no output23:25
myjimmywebhello, completely new to ubuntu server, trying to get a LAMP server going, followed the perfect server guide from howtoforge23:26
myjimmywebonly problem is that now my dns isn't working23:26
ujjainmijimmyweb: did you check the logs? can you telnet to udp 53?23:27
ujjainwhat port is dns?23:27
myjimmyweboofta, i ssh into it with putty, hmm, trying to set up a dyndns setup23:28
myjimmywebidk, basically it all works if i access it with my local ip, but not with the myjimmyweb.homeftp.net23:28
ujjainSo you are not running our own dns server.23:28
ujjainWhat happens if you ping to the homeftp?23:29
ujjaincorrect ip?23:29
ujjainMaybe your router forwarding settings are incorrect.23:29
myjimmywebthat's what i'm thinking23:29
myjimmywebdo i have to open a port on my router?23:29
myjimmywebfor the server's ip address?23:29
ujjainWhat is your server's ip? please give me the first 3 digits, e.g. 192.168.1.23:30
ujjainI mean, that's an internal ip and would explain the problem.23:31
myjimmyweb192.168.123:31
ujjainOk, that's it.23:31
ujjainYou go to http://192.168.1.123:31
myjimmywebyeah, that's my router23:32
ujjaintype the login details, maybe admin/password, user/user.23:32
myjimmywebyeah yeah23:32
myjimmywebi'm in my router23:32
ujjaingo to forwarding settings or dmz23:32
myjimmywebbut i'm not sure what port to forward23:32
ujjainand make sure all requests, or port 80 (web), is sent to that ip, e.g. 192.168.1.1323:32
myjimmywebcool23:32
myjimmyweblet's try that23:32
ujjainand make sure the homeftp DNS is sent to your real external ip, and not internal.23:32
ujjainwww.whatsmyip.com might give your ip.23:33
ujjainno, that's spam23:33
myjimmywebyeah, dyndns has it set up23:33
ujjainhttp://whatismyipaddress.com/23:33
ujjainthe ip at that location?23:33
ujjainor your 192.168 ip?23:33
myjimmywebyeah23:33
myjimmywebno it's my external23:33
myjimmywebin ISPConfig, myDNS-Server is "oFfline"23:34
ujjainhttp://external ip should work23:34
ujjainif http://internal ip works.23:34
ujjainyou don't need dns-server if you use homeftp.net's dns service.23:34
myjimmywebok23:34
myjimmywebplugging my external in works23:35
myjimmywebi get the It Works! site23:35
ujjainGreat! Well done!23:35
myjimmywebjust not when i plug in my name23:36
myjimmywebmyjimmyweb.homeftp.net23:36
ujjaindoes your ip start with 24?23:37
myjimmywebhah, yeah23:37
ujjainI dont think it's correctly redirecting the port 80 traffic.23:38
myjimmywebhah, yo utry going to my external?23:38
ujjainI did.23:39
ujjainIt does not work.23:39
myjimmywebhmm23:39
myjimmywebtry once more, i disable and renable the port 8023:39
myjimmywebplugging my external in works for me23:39
myjimmywebhttp://24.196.89.253/23:39
Roxyhart0somebody has a doc how to install a domain member and join to the PDC, i am getting error: NT_STATUS_CONNECTION_REFUSED23:40
Roxyhart0any idea?23:40
ujjainmyjimmyweb: it does not work here.23:40
ujjainhttp://www.rexswain.com/httpview.html23:41
ujjainSee for yourself23:41
ujjainDo you have any other firewalls? Or routers?23:41
ujjainYou should set your DMZ, which forwards all ports, that's easier.23:41
ujjainAnd less secure, but hopefully nobody's reading.23:42
myjimmywebi have no other firewalls or routers23:43
subhttp://www.ntcompatible.com/thread24048-1.html23:44
ujjainI am not sure how to help you.23:44
ujjainTry to disable your firewall at home for a few minutes.23:44
myjimmywebonce i disable port forwarding on port 80, i wasn't able to access the site from my external IP, but once enabled i was again23:44
sarthorHi, I configured PPPoE-server with the help of http://ubuntuforums.org/showthread.php?t=291926 , as this url says that you have to add each user as a regular users to your linux, Like , "adduser xyz" it create the home directory also each time. I dont want to add users like this , just wanna add users to pap or chat file in /etc/ppp/ directory, How can i? Need help please23:44
ujjainmyjimmyweb: maybe it's a firewall like zonealarm23:45
myjimmywebdon't use that junk23:45
ujjainor even iptables ^^23:45
subyour ISP could be blocking the port23:45
ujjainI beleive there is a firewall by default.23:45
ujjainCould be ISP too yes.23:45
subTrying moving it to a higher-numbered port, update your port forwards, and see if it works23:45
ujjainCheck out iptables --list.23:45
ujjainYou can use multiple ports right? e.g. Port 80 800823:46
myjimmywebhmm, yes23:46
myjimmywebwell ujjain, i'll try this again some other time23:50
myjimmywebmight post something, but thanx for your help23:50
sarthorHi, I configured PPPoE-server with the help of http://ubuntuforums.org/showthread.php?t=291926 , as this url says that you have to add each user as a regular users to your linux, Like , "adduser xyz" it create the home directory also each time. I dont want to add users like this , just wanna add users to pap or chat file in /etc/ppp/ directory, How can i? Need help please23:51
Roxyhart0hi, how i can know if i have my firewall running?23:58

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