Category Archives: Information

Server sendmail and icecast info

Well, I just noticed that the podcast and regular blog weren’t sending out email notifications any longer.  Pretty easy to track down.  For some reason, sendmail was not running.  Even easier to fix.  I simply did (as root):

# systemctl start sendmail

Tested the podcast’s php mail function, and all is well.

Something else that I’ve been chewing on for awhile and finally whipped a couple weeks ago.  I wanted my icecast server and IceS streaming source to behave like centovacast, with a ‘live’ mountpoint that ‘takes control’ of the stream…..  All I had to do is add these lines to /etc/icecast.xml:

<mount>
<mount-name>/stream</mount-name>
<fallback-mount>/live</fallback-mount>
<fallback-override>1</fallback-override>
<hidden>1</hidden>
<public>0</public>
</mount>

<mount>
<mount-name>/live</mount-name>
<fallback-mount>/autostream</fallback-mount>
<fallback-override>1</fallback-override>
<hidden>1</hidden>
<public>0</public>
</mount>

<mount>
<mount-name>/autostream</mount-name>
<fallback-override>1</fallback-override>
<hidden>1</hidden>
<public>0</public>
</mount>

Then, I just had to set IceS to send to the autostream mountpoint, instead of stream.  So, now, in absence of live, when you connect to the normal stream mountpoint, you fallback to live, then fallback to autostream.  The fallback-override directive allows a live source to ‘pull back’ listeners connected to the autostream.  😉

 

10.5 GB Bootleg upload

I am currently in the process of crab_radio_01sending a huge upload of concert bootlegs to the server.  See what happens when I get a day off from work?  😉  This should include everything that I have broadcasted on Happy Hour – CRAB Radio Live since the beginning of the year and more.  Within the next day or two, these concerts ought to appear in the playlist after the playlist gets automatically rewritten.  Here are the bootlegs that are being added:

4 Non Blondes – 1993-11-11 – Milano, Italy
ACDC – 1978-10-30 – Nijemgen, Holland FM
ACDC – 1979-09-08 – Warnors Theatre, Fresno
ACDC – 1979-11-12 – No Stop Signs – Amsterdam
Bad Company – 1976 – Live Albuquerque
Bad Company – 1979-06-29 -Capital Centre, Landover
Black Sabbath – 1974-02-21 – Providence
Black Sabbath 1980-11-16 Tokyo – Evil in the Evening
Black Sabbath 1980.11.18 The Day Of Tony’s Illness – Tokyo
Blue Oyster Cult – 1980-09-08 – KSAN FM Live Broadcast
Blue Oyster Cult – 1981-12-15 – Country Club Reseda
Boston – 1976-09-27 – Agora Ballroom
BTO – 1984-07-01- Harpo’s, Detroit, MI
Crosby, Stills, Nash & Young – 1969-12-14 – Detroit 12.14.1969
Deep Purple – 1991-08-21 – Sao Paulo, Brazil (Slaves And Kings – BFOC)
Deep Purple.- 1991-08-21 – Sao Paulo Brasil
Delta Moon – 2005-08-27 – Live Smith’s Old Bar, Atlanta Ga, August 27, 2005
Delta Moon – 2011-05-04 – Live Wendelstein Germany 2011-05-04
Foghat – 1974 – WPLR FM Dallas, TX
Foghat – 1976 – KBFH
Foghat – 1980-07-18 – Chicago
Foghat – 1981 – International Amphitheater, Chicago
Girlschool – 1982-05-06 – Glasgow
Girlschool – 1984-01-12 – King Biscuit Flower Hour Presents
Grand Funk – 1982-09-06 – What_s_Funk_Lives
Grand Funk Railroad – 1971-12-07 – Live at University of Hawaii (12.07.1971)
Grand Funk Railroad – 1972 -12-23 – Madison Square Garden 110K
Grand Funk Railroad – 1972-12-23 – Madison Square Garden 320K
Grand Funk Railroad – 1972-12-23 – In Concert Madison Square Garden (1972.12.23)
Grand Funk Railroad – 1972-12-23 – In Concert MSG 224K
Heart – 1978-03-18 – California Jam II
Heart – 1979-01-26 Burn to the Wick – Passaic NJ
Heart – 1979-08-04-05 Heart & Soul – Kanagawa
Jimi Hendrix – Hilton Hotel, Washington, 10 March 1968 (CD & Covers)
Judas Priest – 1981-06-21 – Breaking The Law
Judas Priest – 1983-12-17 – Dortmund Germany
Kiss – 1976-09-06 – Toronto, Canada 1976
Led Zeppelin – 1970-03-21 – Pure Blues
Led Zeppelin – 1973-01-22 – Live At Southampton University
Led Zeppelin – 1980-06-22 – Conquer Europe
new3.txt
Pat Travers Band – 1980-04-30 – Detroit, Michigan 04.30.1980
Pat Travers Band – 1980-05-25 – San Francisco
Pat Travers Band – 1982 – Nassau Coliseum
Pink Floyd – 1968.06.25 – My Uncle Is Sick Because The Highway Is Green
Pink Floyd – 1971.10.17 – Wind And Seabirds – San Diego
Pink Floyd – 1972 – The Complete Rainbow Tapes 8CD set
Pink Floyd – 1977.07.06 – Roar Ends – Olympic Stadium, Montreal, Quebec
Pink Floyd – 1981.02.18 – The Sixth German Show – Dortmund – The Wall Live
Rainbow.- 1982 – Live Between The Eyes
Rush – 1978-11-20 – Brainwaves
Rush – 1980-02-11_13 – Saint Louis ’80 Remaster
Rush – 1992-06-14 – Because It Happens
Scorpions – 1993-10-16 – Munich (FM Broadcast Master)
The Runaways – 1976 – ForeverLost – Palladium NY
The Runaways – 1976-07-16 – Live at The Agora 1976
The Runaways – 1978-01-07 – Wasted – The Palladium New York 1978
The Who – 1989-06-27 – Tommy at Radio City Music Hall
Triumph – 1979-08-19 – Chicago 79
Triumph – 1982 – Ottawa82
Triumph – 1984-04-10 – Precious Metal Virtuoso (Dallas84)
Triumph -OrlandoFL82
Wolfmother – 2005-10-15 – Rising Sun – Auckland, New Zealand
Wolfmother – 2011-06-03 – Nurburgring Germany
ZZ Top – 2008-07-18 – Rot Hod Twingo

** I know that I’ve added a few Grand Funk MSG bootlegs.  They are all the same date, but have different coverart and bitrates. **

(Stay tuned for more additions)  😉

Server gets larger system drive, and the root LVM extended.

Well, as you all saw in my post on 28 Jan, the root partition only had 29G free, so I felt that an expansion was in order.  The original IDE drive was 200 GB, so only 50 GB was allocated to the root partition.  I ‘cloned’ the existing drive to a new 250GB IDE drive using clonezilla, whichScreenshot-1 was exceedingly easy.  Now, to expand the root partition.  This is blivet-gui, which is supposed to be the new partition management tool, not quite out of beta yet.  However, it refuses to do anything to a mounted partition, so it looked like command line tools were going to have to do.  The commands needed will be:  fdisk, lvs, pvcreate, vgs, vgextend, lvextend, mkfs.ext4, and resize2fs.  You can see by the screen shot, that the new drive has been installed with 46.5 GB of free ‘unallocated’ space.  It is this space that I want to use.  😉  The first step is to use the df -h and lvs commands to collect some information that you will need.  Next, break out our old friend fdisk in order to partition and prepare the free space.  #fdisk  /dev/sda in my case.  Then, create another primary partition (3 of 4 allowable).  Screenshot-4After, that is done, change the partition type from Linux to LVM (8e).   Then, we have to create an ext4 filesystem by doing: #mkfs.ext4 /dev/sda3.  Now, all we need to do is to extend the volume group and capture the free space into the logical volume for root.  😉  First, initialize the partition as a physical volume by:  #pvcreate /dev/sda3.  Now, check the volume groups using the command #vgs.  Now, we can extend it.  The command I used was  #vgextend vg_cap /dev/sda3.  Just a couple more commands…. We are almost there!  Next, we extend the logical volume (lv_root) with all the free space of the volume group (vg_cap).  #lvextend -l +100%FREE /dev/vg_cap/lv_root.  Now, to resize the filesystem:  #resize2fs /dev/vg_cap/lv_root.  Finally, verify everything is fine using df-h, lvs, and vgs.  As you can see, lv_root is now 95GB, with 73GB free.  Screenshot-5 Everything is fine, with the only casualty being that blivet-gui doesn’t seem to run any longer, but that’s no big problem since it didn’t really give me any advantage on a mounted filesystem.  Moral of the story:  The TRUE strength of Linux resides in the CLI (Command Line Interface), shell, terminal, or whatever you choose to call it.  Always has and always will.  As a matter of fact, I accomplished all this over SSH, using VNC just for screenshots.  😉

 

Strange server behavior

Earlier in the month, I noticed that for some reason server ‘auto backups’ were not occuring, with the last one being 20 Dec 2014.  Upon investigation, I found that not only could I not mount /dev/sdc/ , the backup drive,  but fdisk -l |grep Disk wouldn’t even list it.  So, I figured that the drive died, so I ordered another 2 TB drive.  I also ordered a spare 250GB IDE drive.

Yesterday, I was going to prep and replace /dev/sdc.  I found that after a reboot, the server not only recognized the backup drive, but its data seemed intact, with the exception of the last sys partition backup.  So, I immediately did another fresh, full sys partition backup.

Well, at least now, I have a spare 2GB data drive, as well as a spare 250GB boot drive (the current one is only 200GB) onsite.  Could have been worse, I imagine.  😉