[03:12] <Fudge> hi all, trying to get a friends usb c-media dongle to work on his ubuntu-server so he can have his screen reader work,  espeakup. but i keep getting a message saying  alsactl: load_state:1763Cannot find soundcard '-'...
[03:12] <Fudge> alsactl init fiinds the card, lsusb shows it and on a desktop cd there is sound.
[03:31] <Fudge> think found the problem, at bottom of /etc/modprobe.d/alsa-base.conf and set the usb soundcard to device 0 instead of -2
[07:35] <e66> In our ubuntu server sometimes a package some-pkg can not be installed due to network issue or "no installation candidate" error.  Now if I just download the .deb and manually install it by dpkg -i some-pkg….deb, will it install same as it would have been installed by apt-get ?
[08:59] <lordievader> Good morning
[09:21] <pukeko_2> anyone here good with PERC 5/i raid cards ?
[09:25] <pukeko_2> Dell 2950 running ubuntu
[14:56] <jonah> Hi can anyone please help, my postfix says it is now down but seems to be running. mail is just going in the queue and not being delivered!
[15:19] <jonah> I'm getting this in mail.err log: postfix/master[25638]: fatal: bind x.x.x.x.x port 25: Cannot assign requested address
[17:50] <anirban> Hi guys, do I have to add the user tomcat7 to any specific group for tomcat7 being able to write to sockets listening locally?
[18:33] <bekks> anirban: No. It just needs to have write permissions. Which socket do you talk about specifically, and which permissions are set on that socket?
[18:34] <anirban> I am using java to create the socket.
[18:34] <anirban> I don't have any idea how to change the permissions of a socket created by java.
[18:34] <anirban> It's a TCP/IP socket.
[18:36] <bekks> So its not even existing in the filesystem, since it is a network socket.
[18:36] <anirban> Yeah.
[20:29] <Billy21> hello
[20:30] <Billy21> i am not new to linux but new enough to create problems for myself
[20:30] <Billy21> I have recently setup a server ubuntu server on my network and it is crashing
[20:30] <Billy21> and i would like to find out why
[20:31] <lordievader> Crashing how?
[20:31] <Billy21> i think it is a disc failure
[20:31] <lordievader> Check the smart values.
[20:31] <Billy21> but I am not 100% sure
[20:31] <Billy21> how?
[20:32] <Billy21> should i know what smart values are?
[20:32] <lordievader> Billy21: Is the package 'smartmontools' installed?
[20:33] <Billy21> hmm... nope
[20:33] <lordievader> Harddisks measure how healthy they are themselves, this is called the SMART data.
[20:34] <lordievader> Install that and run 'sudo smartctl -a /dev/sd*' where * should be replaced with the letter for each drive.
[20:34] <Billy21> ok
[20:37] <Billy21> can i apt-get that ?
[20:37] <lordievader> Yes. sudo apt-get install smartmontools
[20:37] <Billy21> or do i need to wget and then install the packages
[20:37] <lordievader> You rarely need to wget things.
[20:38] <Billy21> thank you
[20:39] <Billy21> also is there a cheat sheet for ubuntu server commands?
[20:42] <lordievader> https://help.ubuntu.com/community/UsingTheTerminal
[20:42] <Billy21> thank you
[20:44] <Billy21> sorry... how do i list my drives?
[20:44] <Billy21> i have 4 drives
[20:44] <Billy21> one has m$ on it and two are raid
[20:45] <Billy21> i need to see if the raid is failing or if it is my ubuntu os drive
[20:47] <lordievader> All drives are listed in /dev as sda, sdb, etc. Run the smartctl command on all of them.
[20:47] <Billy21> ok
[20:47] <lordievader> Points of interest are the reallocated and pending sector counts. And the raw-read errors.
[20:47] <lordievader> Those should all be zero.
[20:50] <Billy21> is sda and sda1 the same?
[20:50] <lordievader> No, sda1 is partition one on sda.
[20:50]  * lordievader movie time
[20:51] <Billy21> which movie?
[20:51] <Billy21> SMART Disabled. Use option -s with argument 'on' to enable it.
[20:51] <Billy21> (override with '-T permissive' option)
[20:52] <Billy21> Read SMART Error Log failed: scsi error aborted command
[20:52] <Billy21> Read SMART Self-test Log failed: scsi error aborted command
[20:52] <Billy21> Read SMART Selective Self-test Log failed: scsi error aborted command
[20:53] <Billy21> i shouldn't have a bought i cheap disc
[21:09] <Billy21> 1 Raw_Read_Error_Rate     0x000f   114   085   006    Pre-fail  Always       -       72531505
[21:09] <Billy21> is that bad?
[21:14] <rsx> in https://lime-technology.com/wiki/index.php/Understanding_SMART_Reports you'll find "PLEASE completely ignore the RAW_VALUE number!"
[21:14] <Billy21> thank you
[21:26] <Billy21> thanks again for that
[21:28] <Billy21> ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
[21:28] <Billy21>   1 Raw_Read_Error_Rate     0x000f   081   067   006    Pre-fail  Always       -       129345976
[21:28] <Billy21>   3 Spin_Up_Time            0x0003   099   099   000    Pre-fail  Always       -       0
[21:28] <Billy21>   4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       5
[21:28] <Billy21>   5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
[21:28] <Billy21>   7 Seek_Error_Rate         0x000f   061   060   045    Pre-fail  Always       -       1553844
[21:28] <Billy21>   9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       259
[21:28] <Billy21>  10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
[21:29] <Billy21> is there a way to fix that stuff?
[21:31] <Billy21> the two drive that could be the issue are in my raid
[21:44] <bekks> Billy21: If the drive has issues with seeking blocks, its about to fail. You can fix it by replacing that drive.
[22:03] <lordievader> Billy21: That raw read error doesn't look good. Time for a new drive, I'd say.