Re: [arch-general] RAID Fails Due To Metadata

2010-09-24 Thread Carlos Mennens
On Tue, Aug 24, 2010 at 1:12 PM, Carlos Mennens carlosw...@gmail.com wrote:
 I noticed today I tried to create a new system using 'Software / Fake
 RAID' on Arch with the 'mdadm' utility. I have not done this for a
 year or so but realized that when I tried now on my new system, it
 failed and then I tried it again and read between the lines...

 mdadm: Note: this array has metadata at the start and may not be
 suitable as a boot device. If you plan to store '/boot' on this
 device, please ensure that your boot-loader understands md/v1.x
 metadata, or use --metadata=0.90

 So then I created my array as follows:

 mdadm --create /dev/md0 --metadata=0.90 --level=1 --raid-devices=2
 /dev/sda2 /dev/sdb2

 Is there a way to get Grub to read / access the default metadata that
 the 'mdadm' utility uses?

I asked this one month ago... nobody has encountered this or has any info?


Re: [arch-general] Unable to Start PostgreSQL

2010-09-11 Thread Carlos Mennens
On Fri, Sep 10, 2010 at 1:11 PM, Byron Clark by...@theclarkfamily.name wrote:
 On 09/10/10 at 01:00pm, Carlos Mennens wrote:
 Anyone know what I am doing wrong? This is a brand new server and
 fresh install of both Arch  PostgreSQL.

 https://bugs.archlinux.org/task/16507

Wow - I just checked that ticket and was shocked. It appears that
PostgreSQL is just flat out broken and doesn't work when installed on
Arch Linux, right? Is there a work around or anything or do I simply
have to wait until the developers resolve this issue before I can
start and run a PostgreSQL server on Arch Linux?

Thanks for bug link!


Re: [arch-general] Unable to Start PostgreSQL

2010-09-11 Thread Carlos Mennens
On Sat, Sep 11, 2010 at 2:13 PM, Stefan Husmann
stefan-husm...@t-online.de wrote:
 Well, there are possible workaraonds in the comments of the bug report.

 Regards Stefan

Yeah I couldn't get them to work so I was super disappointed because I
don't want to use Debian but I need a PostgreSQL server ASAP and can't
wait for developers to patch this bug at their convenience.


[arch-general] Unable to Start PostgreSQL

2010-09-10 Thread Carlos Mennens
When I installed the latest version of PostgreSQL today, I attempted
to start the daemon so I could login and start creating databases but
received the following error:

[r...@buster ~]# /etc/rc.d/postgresql start
:: Starting PostgreSQL
  [BUSY] su: warning: cannot change directory to
/var/lib/postgres: Permission denied
could not change directory to /root
pg_ctl: could not open PID file
/var/lib/postgres/data/postmaster.pid: Permission denied

  [FAIL]

Anyone know what I am doing wrong? This is a brand new server and
fresh install of both Arch  PostgreSQL.


[arch-general] RAID Fails Due To Metadata

2010-08-24 Thread Carlos Mennens
I noticed today I tried to create a new system using 'Software / Fake
RAID' on Arch with the 'mdadm' utility. I have not done this for a
year or so but realized that when I tried now on my new system, it
failed and then I tried it again and read between the lines...

mdadm: Note: this array has metadata at the start and may not be
suitable as a boot device. If you plan to store '/boot' on this
device, please ensure that your boot-loader understands md/v1.x
metadata, or use --metadata=0.90

So then I created my array as follows:

mdadm --create /dev/md0 --metadata=0.90 --level=1 --raid-devices=2
/dev/sda2 /dev/sdb2

Is there a way to get Grub to read / access the default metadata that
the 'mdadm' utility uses?


[arch-general] Configure / Set a Hostname

2010-08-24 Thread Carlos Mennens
I have read on Google searches and on all over so many different ways
to properly set a FQDN on Arch Linux and am more confused than I was
before I started looking this up. I don't ever get prompted during the
Arch installer to enter a 'hostname' but rather do so in /etc/rc.conf
which appears to make no difference because it's superseded by
/etc/hosts. Can someone tell me if I want my Arch machine called
bishop.mydomain.tld, how does one properly and officially achieve
this task in Arch?

Thanks!


Re: [arch-general] Colorized Output Listing

2010-08-19 Thread Carlos Mennens
On Thu, Aug 19, 2010 at 8:48 PM, Phillip Thelen viiru...@yahoo.de wrote:
  Have you tried adding this to your .bashrc?

 alias ls='ls --color=auto'

 basically just tells bash to execute ls --color=auto instead of just ls.

 Hope that helps you ;)

Right now I only have a 'root' user and no normal shell users ...yet.
I checked /root and there is not /root/.bash*. Am I missing something
here? I even created a new user and in their home directory there is
no .bashrc. What is wrong with my system or am I expected to manually
create the .bashrc file using 'vim'?


[arch-general] Label and Format USB Drive

2010-06-16 Thread Carlos Mennens
I have a USB thrumb drive when I mount it, it mounts fine and shows up
as USBDRIVE on my system.

I would like to know how I can reformat the drive as fat32 using the
'mkfs' command and also setting a new system label on the drive as
ocz_usb?
I do not appear to have the tools installed on my Arch system that
allow me to format as fat32 and can't find the command to format and
set the label? Can this be done in one command step?


Re: [arch-general] Label and Format USB Drive

2010-06-16 Thread Carlos Mennens
On Wed, Jun 16, 2010 at 2:32 PM, Thomas Bächler tho...@archlinux.org wrote:
 Am 16.06.2010 20:23, schrieb Guilherme M. Nogueira:
 With /dev/sdb as your usb drive, to format:

 fdisk /dev/sdb
 mkfs -t vfat /dev/sdb1

 and then to name the partition:

 mlabel -i /dev/sdb1 ::ocz_usb

 Then (for mlabel) you'll need mtools, too. The label can be passed as an
 option to mkdosfs, or you can use dosfslabel to set it.

It appears Arch can't find /dev/sdd1 however I can find it fine when I
use the 'fdisk' utility. I don't understand why...

[r...@tuna ~]# mkfs -t vfat /dev/sdd1
mkfs.vfat 3.0.9 (31 Jan 2010)
/dev/sdd1: No such file or directory

When I look under the /dev/ directory, I don't see sda sdb sdc or sdd.
Am I missing something here?


[arch-general] Lost Sound Today

2010-06-01 Thread Carlos Mennens
I did a update / upgrade today and noticed that there was a new kernel
installed so I rebooted my Arch workstation. Sadly I no longer have
any audio in Gnome via flash plugin. I checked and made sure I am a
member of the 'audio' group if that matters...I am.
I don't know if sound was broken before or after the upgrade but I
can't listen to Pandora or any streaming audio via the web. I checked
my sound properties and everything appears to be normal. Please help!

-Carlos


[arch-general] Burning From Command Line

2010-05-20 Thread Carlos Mennens
How do I create a bootable install disk from an .ISO image I
downloaded from the Arch site? I would like to know how to do this via
CLI only rather than using a front end GUI like Gnome Baker, K3B, or
Brasero. Does anyone know the command to burn the image to disk via
CLI and what packages I must have in order to do so?


Re: [arch-general] Burning From Command Line

2010-05-20 Thread Carlos Mennens
On Thu, May 20, 2010 at 12:30 PM, Dave Morgan
davemorgan...@btinternet.com wrote:
 Wiki?   I'm sure there must be something in there.

I just got back from vacation. Don't know why I didn't think about the
Wiki. Duh...

http://wiki.archlinux.org/index.php/CD_Burning


Re: [arch-general] Brasero Wont Copy Disks

2010-05-04 Thread Carlos Mennens
On Mon, May 3, 2010 at 5:07 PM, Burlynn Corlew Jr burl...@gmail.com wrote:
 I switched
 to gnomebaker/xfburn and everything worked fine.

Ahhh...GnomeBaker is only in AUR...that stinks :(


[arch-general] Brasero Wont Copy Disks

2010-05-03 Thread Carlos Mennens
I just installed Brasero to burn / copy disks. I first added my user
'carlos' to the 'optical' group. However when I try and copy a disk on
my machine, I get an immediate error that says it fails. Then when I
save the log, it's blank. It has no details as to why the copy failed.
Anyone know what I can do to resolve this and allow my machine to burn
/ copy disks? I know my optical drive is running fine because I booted
from Ubuntu Live CD and was able to copy a disk fine.

Thanks for any help!


[arch-general] Nvidia Driver Installed But Not Running

2010-04-28 Thread Carlos Mennens
I recently installed the nvidia driver from 'Pacman' and rebooted. I
have not since updated / upgraded the kernel. I notice that when I try
and open my 'nVidia X Server Config' window and it tells me:

You do not appear to be using the NVIDIA X driver. Please edit your X
configuration file.

I looked in /etc/X11/ directory and don't see xorg.conf file. Does
anyone know how I can get my nVidia drivers working on Arch Linux? It
installed fine however it's not running for some reason.

-Carlos


[arch-general] Remove Epiphany Browser

2010-04-28 Thread Carlos Mennens
I just installed a fresh system today with Gnome 2.6.30. It
automatically installed Epiphany  Epiphany Web Bookmarks too. I would
like to know if I remove both of these applications, will I effect
Gnome or any of it's dependancies? I wont ever use Epiphany and I
don't like useless applications lingering on my system? Is there a way
to purge all of it's installation existance off my new machine without
messing up Gnome?


Re: [arch-general] Nvidia Driver Installed But Not Running

2010-04-28 Thread Carlos Mennens
Thanks all! It's working on my system looks amazing!


Re: [arch-general] Remove Epiphany Browser

2010-04-28 Thread Carlos Mennens
On Wed, Apr 28, 2010 at 11:56 AM, Ionut Biru biru.io...@gmail.com wrote:
 as for your information, nothing is installed automatically without
 informing you. when you did pacman -S gnome (gnome is a group of packages)
 it listed all packages that it will installed and answering Y will do that.
 If you do answer N you can select what you want.

I never answered 'No' to that so that is awesome information!


[arch-general] First Time Using AUR

2010-04-14 Thread Carlos Mennens
I am getting ready to use my newly built Arch Linux system for the 1st
time and use AUR and read the Wiki but I have a question that I am not
clear on:

Next choose an appropriate build directory. A build directory is
simply a directory where the package will be made or built and can
be any directory. Examples of commonly used directories are:

~/builds

Now when I create the ~/builds directory, does it matter if I do
this in a regular user's home directory or in 'roots'? It is not very
clear and I don't want to break anything or improperly build a package
from AUR.


Re: [arch-general] VirtualBox

2010-04-14 Thread Carlos Mennens
On Tue, Apr 13, 2010 at 2:55 PM, Guilherme M. Nogueira
guilhe...@nirev.org wrote:
 It seems to me that you are not familiar with AUR, are you?

No, I have never used until today. Which is why I am posting back.

 If not, you should read the wiki about it [1] and after that, have a
 look at the virtualbox_bin package [2].

 [1] http://wiki.archlinux.org/index.php/AUR
 [2] http://aur.archlinux.org/packages.php?ID=9753

Today I used the AUR for the 1st time in my Arch experience  creating
the VirtualBox package was fine. I downloaded
http://aur.archlinux.org/packages.php?ID=9753 tar ball and followed
the http://wiki.archlinux.org/index.php/AUR#Getting_started and
installed everything fine. Now when I went to start the 'vboxdrv' it
said it could not be found:

##
[code][r...@ghost ~]# /etc/rc.d/vboxdrv start
-bash: /etc/rc.d/vboxdrv: No such file or directory[/code]
##

I show that the installation of VirtualBox did not get any errors:

##
[code][r...@ghost ~]# pacman -Qs virtualbox
local/virtualbox_bin 3.1.6-1
Powerful x86 virtualization (Personal Use Binaries Edition).[/code]
##

Now when I try to start VirtualBox I get the following error:

##
[code][cmenn...@ghost virtualbox_bin]$ VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain:
dlopen(/opt/VirtualBox/VirtualBox.so,) failed: libSDL-1.2.so.0:
cannot open shared object file: No such file or directory[/code]
##

Below is what I see after I downloaded the Tarball and ran 'makepkg
-s' against it:

##
[code][cmenn...@ghost builds]$ ls -l
total 8
drwxr-xr-x 4 cmennens users 4096 Apr 14 09:37 virtualbox_bin
-rw-r--r-- 1 cmennens users 3063 Apr 14 09:15 virtualbox_bin.tar.gz

[cmenn...@ghost builds]$ cd virtualbox_bin

[cmenn...@ghost virtualbox_bin]$ ls -l
total 91336
drwxr-xr-x 6 cmennens users 4096 Apr 14 09:18 pkg
-rw-r--r-- 1 cmennens users 4694 Jan  1  1970 PKGBUILD
drwxr-xr-x 2 cmennens users 4096 Mar 25 15:10 src
-rw-r--r-- 1 cmennens users  113 Jan  1  1970 vbox_build_module
-rw-r--r-- 1 cmennens users 3269 Jan  1  1970 vbox.install
-rw-r--r-- 1 cmennens users 51834320 Mar 25 15:44
VirtualBox-3.1.6-59338-Linux_amd64.run
-rw-r--r-- 1 cmennens users 41664600 Apr 14 09:18
virtualbox_bin-3.1.6-1-x86_64.pkg.tar.xz[/code]
##

I installed with 'pacman -U' the 'tar.xz' file that was created today.
It went fine with no errors and all dependencies installed. Now I
can't figure out how to start the program because it's not in
/etc/rc.d/...

What did I do wrong or how do I fix it :(


Re: [arch-general] VirtualBox

2010-04-14 Thread Carlos Mennens
On Wed, Apr 14, 2010 at 10:05 AM, Lukas Fleischer
archli...@cryptocrack.de wrote:
 You need to install sdl if you want to use the VirtualBox GUI, have a
 look at the optional deps.

I installed that and yes I want to use the GUI but its dependency
after dependency and it doesn't seem to end...

Is there no way just to install are required dependencies?

Just for VirtualBox I have installed:

  sudo pacman -S libxcursor
  sudo pacman -S sdl
  sudo pacman -S fontconfig

And now it's still complaining about libXi.so.6...Is there no way
just to resolve everything or locate all required dependencies?


Re: [arch-general] VirtualBox

2010-04-14 Thread Carlos Mennens
On Wed, Apr 14, 2010 at 10:18 AM, Lukas Fleischer
archli...@cryptocrack.de wrote:
 How did you install X? All those packages get installed automatically if
 you install X via `pacman -S xorg` as described in the wiki [1].

 [1] http://wiki.archlinux.org/index.php/Xorg#Installing

I didn't install X on the server. It's CLI only. I then 'ssh -Y' to do
X11 forwarding to my desktop who has X installed.


[arch-general] Serial To USB Adapter

2010-03-31 Thread Carlos Mennens
Guys,

I have a Keyspan USB to Serial adapter. Now I am trying to be able to
connect to a Cisco switch via console serial cable using the Minicom
utility. My problem is I don't know how to tell Minicom that my serial
device is connected to /dev/ttyUSB0 or maybe it already knows  I just
don't know how to use it...

Code:

[car...@tuna ~]$ dmesg | grep tty
console [tty0] enabled
00:06: ttyS0 at I/O 0x3f8 (irq = 5) is a 16550A
usb 5-2: Keyspan 1 port adapter converter now attached to ttyUSB0

Does anyone know how I can tell my Arch system that I have a USB to
serial adapter connected to my machine?


Re: [arch-general] Serial To USB Adapter

2010-03-31 Thread Carlos Mennens
On Wed, Mar 31, 2010 at 1:01 PM, Thomas Jost schno...@schnouki.net wrote:
 Otherwise, you can just use GNU screen (screen /dev/ttyUSB0, or
 gtkterm. I've used both of them with a USB to serial adapter and I could
 connect to Cisco switches without any problem.

I just installed gtkterm and it worked perfect. My only problem is I
can't copy / paste from the program. Is there a way I can copy text to
my clipboard and paste them in a test editor? This is super annoying
when I am trying to take notes on things I am doing...


[arch-general] Firefox Spellcheck Missing

2010-03-26 Thread Carlos Mennens
I just installed Firefox from Pacman repositories and noticed that I
don't have the default add-on spell checker for Mozilla Firefox. I was
afraid to download some crappy 3rd party spell checker add-on for
Firefox and just wanted a plain English spell checker since I am the
worst speller. Can anyone please help me and tell me how I can install
/ download the default Firefox English spell checker?


[arch-general] New Using AUR

2010-03-24 Thread Carlos Mennens
I had two questions about using the AUR. I have never done it before
and read of the How-To on the Wiki but could someone please answer the
following two questions I have:

1. If I build a tarball on 'PC1' downloaded from AUR with the 'makepkg
-s' command, can I then transfer the created tarball to 'PC2' and
install it even though PC2 didn't have any of the required packages
used to create the tarball from the AUR?

2. Once a package is installed from the AUR, when I do a system
upgrade via Pacman, will outdated packages I installed via AUR get
automatically upgraded or do I have to do all my AUR packages
manually?


[arch-general] Vim Syntax Highlighter

2010-03-24 Thread Carlos Mennens
I noticed today when editing a config file for Postfix in Vim that one
value was listed in white text only and everything else was in color.
This lead me to beleive the value or parameter was wrong or not being
recognized by Postfix configuration but it is. I asked Postfix and the
said:

Your VIM syntax highlighter is out of date

Can anyone tell me if there is a way to update this manually if I have
the latest version of Vim in my Arch repo?


[arch-general] Unable To Rendor PHP Pages in Apache

2010-03-23 Thread Carlos Mennens
I today installed Apache on my Arch Linux server. I did the following:

# pacman -S php apache php-apache mcrypt pcre

Then I edited the /etc/php/php.ini file  un-commented the following:

[...]
extension=mcrypt.so
extension=mysql.so
extension=mysqli.so
;extension=odbc.so
;extension=openssl.so
;extension=pdo.so
;extension=pdo_mysql.so
[...]

I then restarted the 'httpd' service and when I try to render a HTML
page with PHP code, it wont rendor the code properly and just looks
like a script / code. I don't understand why I can't get Apache to
render PHP pages. Does anyone know what I am missing? This is only a
problem for me on Arch. RHEL, Debian, Ubuntu. and Slackware all work
out of the box.

Any suggestions?


[arch-general] MySQL Starts But Fails to Restart

2010-03-23 Thread Carlos Mennens
I don't understand this issue so I am posting this here. I noticed
today that I had an issue with restarting MySQL on my server:

1. I verify MySQL is not running:

Code:

[r...@ghost /]# ps -ef | grep -i mysqld
root  1706  1216  0 16:45 pts/000:00:00 grep --color=auto -i mysqld

2. I start the 'mysqld' service:

Code:

[r...@ghost /]# /etc/rc.d/mysqld start
:: Starting MySQL Server
  [DONE]

3. I verify that the daemon is running:

Code:

[r...@ghost /]# ps -ef | grep -i mysqld
root  1715 1  0 16:45 pts/000:00:00 /bin/sh
/usr/bin/mysqld_safe --datadir=/var/lib/mysql
mysql 1813  1715  0 16:45 pts/000:00:00 /usr/sbin/mysqld
--basedir=/usr --datadir=/var/lib/mysql --user=mysql
--log-error=/var/lib/mysql/ghost.err
--pid-file=/var/lib/mysql/ghost.pid
--socket=/var/run/mysqld/mysqld.sock --port=3306

4. I then run the command to restart the daemon for MySQL and it fails...

Code:

[r...@ghost /]# /etc/rc.d/mysqld restart
:: Stopping MySQL Server

[DONE]
:: Starting MySQL Server

[FAIL]

I can use the 'start' and 'stop' commands for /etc/rc.d/mysqld but
'restart' for some reason fails and this concerns me. Can anyone help
me understand what is wrong?


[arch-general] RAID Configuration Swap Space

2010-03-10 Thread Carlos Mennens
I wanted to know if I configure my three identical disks as followed:

- sda1 = /boot @ 4GB
- sda2 = RAID @ 300GB

- sdb1 = Swap @ 4GB
- sdb2 = RAID @ 300GB

- sdc1 = Swap @ 4GB
- sdc2 = RAID @ 300GB

Now when I am done configuring RAID, will Arch Linux show I have 8GB
of Swap space total under a tool like 'htop' or something like this?
Will the above configuration work? Or Should I change it?


Re: [arch-general] RAID Configuration Swap Space

2010-03-10 Thread Carlos Mennens
On Wed, Mar 10, 2010 at 3:26 PM, Louis Brazeau lbraz...@gmail.com wrote:
 You are aware that if sda breaks, you loose the /boot partition and
 you can't boot anymore ? I would suggest creating a 100MB /boot
 partition on all 3 disks as a RAID 1 (4GB for boot is over kill IMHO).
 That way you can loose any disk and still be able to boot.

How would I create this via command line across three individual disks?

Do you know that command would look like?


Re: [arch-general] RAID Configuration Swap Space

2010-03-10 Thread Carlos Mennens
On Wed, Mar 10, 2010 at 4:25 PM, Louis Brazeau lbraz...@gmail.com wrote:
 You can use the RAID/LVM article on the wiki :

 http://wiki.archlinux.org/index.php/Installing_with_Software_RAID_or_LVM#Partition_the_Hard_Drives

 I used it in the past to setup a few systems with RAID and with or
 without LVM. So its your call if you want to use LVM or not.

 Also note that the article uses 3 swap partitions in a RAID 1 (total
 2GB swap). So you will have to ajust the instructions for your
 situation.

 Anyway, it will give you a good idea what the commands look like.

Yes I am very familiar with that Wiki article but find Swap on RAID is
useless, no? For my scenario I was going to do the following and
please correct me if you think this is wrong:

- sda1 = 100MB
- sda2 = 1GB
- sda3 = 300GB

- sdb1 = 100MB
- sdb2 = 1GB
- sdb3 = 300GB

- sdc1 = 100MB
- sdc2 = 1GB
- sdc3 = 300GB

Then:

mdadm --create /dev/md0 --level=1 --raid-devices=3 /dev/sda1 /dev/sdb1 /dev/sdc1

Then mount /boot on /dev/md0. Does that look correct or can I not do
RAID1 on 3 devices? Should I have added '--spare-device=1' to that
command?

Now I would do:

mdadm --create /dev/md1 --level=5 --raid-devices=3 /dev/sda2 /dev/sdb2 /dev/sdc2

Then mount / on /dev/md1.

Do both commands look OK?


[arch-general] Bad Idea?

2010-03-09 Thread Carlos Mennens
Is it a bad idea to install nVidia display drivers manually by
downloading them from nvidia.com and installing it by hand...or should
I use 'Pacman'? I read that I could mess up my system by manually
installing packages and should always use Pacman.

Thoughts / Suggestions?

-Carlos

-- 
Sent from my mobile device


Re: [arch-general] Amavisd-new Only in AUR?

2010-03-06 Thread Carlos Mennens
I just don't see how you can use ClamAV on a MTA w/o Amavisd-new. I
thought Amavisd-new was the daemon that allows email to be passed from
SMTP to ClamAV and vice versa...that's why I can't believe more people
don't use it.

On 3/5/10, Daenyth Blank daenyth+a...@gmail.com wrote:
 On Fri, Mar 5, 2010 at 11:49, Carlos Mennens carlosw...@gmail.com wrote:
  Does anyone have any idea what is holding this
 software back from getting votes / moved into the 'Community? Is it
 considered buggy or just not widely used enough in the Arch community?

 Most likely there hasn't been a TU interested in taking it. Virus
 scanners aren't much use on a system without an smtpd, and clam tends
 to be popular there. It also only has had 18 votes over the past 5
 years, so it's pretty clearly not very popular...


-- 
Sent from my mobile device


[arch-general] Amavisd-new Only in AUR?

2010-03-05 Thread Carlos Mennens
I know I can download packages from AUR but I really could not believe
that 'amavisd-new' is not in 'Community'. I would think this tool for
email / virus scanning would be popular enough to be voted into
'Community' repo. Does anyone have any idea what is holding this
software back from getting votes / moved into the 'Community? Is it
considered buggy or just not widely used enough in the Arch community?

http://aur.archlinux.org/packages.php?ID=573

Thanks for any input.