starting over?

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

starting over?

Postby capchap » Sun Aug 10, 2014 3:31 am

Hi All,
I have pogoplug e02 which I installed ArchLinuxARM-kirkwood-latest.tar.gz

Everything unpacked and pacman ran and I updated everything etc etc, installed LAMP, webmin and then tested a basic 'helo world' html.
everything went south when I tried to run phpinfo and all I can get is a blank screen.
Many config files are missing or whatnot. webmin doesnt see mysql config files or php config
I was able to place a php.ini file where system expected, but didnt help bring php up.

So my plan was to start over.
well I unplugged the thumb-drive and the pogoplug wont come back up....so I guess start over from scratch really isnt going to happen exactly as I thought.

So, what do I need to do to make a clean install at least from the kernel? or what?
I suppose I need to wget something and work withing my currently bootable environment or im toast.
I suppose there must be some 'reinstall' instructions out there.


guidance appreciated.

don
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: starting over?

Postby moonman » Sun Aug 10, 2014 6:10 am

Comeon man. All the answers are out there. Google "how to reinstall archlinuxarm", first result gives you generic instructions. I already mentioned link in my signature. Arch does not use old initscripts, so make yourself familiar with systemd. All the (detailed) guides are in the ArchWiki. You HAVE TO read them. You have to make yourself familiar with how things are done in Arch. Arch is not Ubuntu or Centos. We are here to help, but we can't do everything for you.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: starting over?

Postby capchap » Sun Aug 10, 2014 5:17 pm

Sorry you feel that way, not very supportive or encouraging IMO.
I was only keeping the threads separate because reinstall is different from the original problem posted and other newbies like myself can find issues discussed easier if they are kept separate and I know forum moderators will gripe if you get off topic.

I am fully aware that I have to read, and am solely responsible for the outcome.
I was merely hoping to tap the vast experience of the users who have already gone this way over apparently the past 4 years, and would tell me to use this script and avoid that one. For example, should they have a similar problem as I did, and they read my thread, they may find my solution useful...get a bigger thumbdrive. I wasn't looking for anyone to do it for me.

And it would seem to me, based upon my problem description in my first post, that others may have encountered the same problem and would be so kind as to tell me 'your xxx.conf is not set correctly or is n the wrong location instead of RTFM!

AND, had you been just a little more experienced and gracious, you might have mentioned to me yourself that I needed a bigger thumbdrive as 1GB isn't big enough. I guess you were more interested in holding on to your hard earned information instead of freely sharing.

From what I have learned so far however, I agree, you are right, this isn't ubuntu or RHEL, or Centos. Archlinux is truly a 'hack' and not very well supported by those who use it and I am pretty much on my own to identify the scripts to use and proceed with caution and solve my own problems.

In short, based upon the guidance i have received so far this forum, unlike others, is pretty much not worth my time to read because many problems encountered by members will likely be addressed with RTFM which makes the forum pointless.

if you happen to be forum moderator/site manager feel free to end my account as at this point I see no good reason to return.
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: starting over?

Postby WarheadsSE » Mon Aug 11, 2014 12:36 am

$this->bbcode_second_pass_quote('capchap', 'A')rchlinux is truly a 'hack' and not very well supported by those who use it and I am pretty much on my own to identify the scripts to use and proceed with caution and solve my own problems.

https://wiki.archlinux.org/index.php/The_Arch_Way

$this->bbcode_second_pass_quote('capchap', '
')In short, based upon the guidance i have received so far this forum, unlike others, is pretty much not worth my time to read because many problems encountered by members will likely be addressed with RTFM which makes the forum pointless.

http://slash7.com/2006/12/22/vampires/
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: starting over?

Postby pepedog » Mon Aug 11, 2014 8:00 am

Capchap
You should have put a little more effort in, your loss
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: starting over?

Postby capchap » Mon Aug 11, 2014 8:40 am

warheadsSE,
I dont understand your point.
per your link on the ARCH WAY:
Arch Linux defines simplicity as without unnecessary additions, modifications, or complications, and provides a lightweight UNIX-like base structure that allows an individual user to shape the system according to their own needs. In short: an elegant, minimalist approach.

wouldnt that mean if a dir or file is needed it would be present?
however according to archlinux PHP
PHP
Note: libphp5.so included with php-apache does not work with mod_mpm_event (FS#39218). You'll have to use mod_mpm_prefork instead. Otherwise you will get the following error:
Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
AH00013: Pre-configuration failed
httpd.service: control process exited, code=exited status=1
To use mod_mpm_prefork, open /etc/httpd/conf/httpd.conf and replace
LoadModule mpm_event_module modules/mod_mpm_event.so
with
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

To enable PHP, add these lines to /etc/httpd/conf/httpd.conf:
Place this in the LoadModule list anywhere after LoadModule dir_module modules/mod_dir.so:
LoadModule php5_module modules/libphp5.so
Place this at the end of the Include list:
Include conf/extra/php5_module.conf

however, when I do this, http fails with error that it cannot find the module...why, because it doesnt exist, and there doesnt appear to be any information as to where it should be so I could move it. the system also looks for php.ini in /etc, but the file actually lived in /etc/php. so would it be simpler to have the config files point to the right dir, pr install the files in the right dir rather than expecting someone to find them and move them?

So, I dont believe that I have 'mis-tryped' any of the command line instructions for the installation (although my typing is terible) and I dont think that pacman failed.

So that leaves be with not really understanding at all how to approach this problem.

As far as your vampire reference; I fail to see how directing someone to a page that is irrelevant to be generous help.
My view of generosity is to help without expectation.
You are absolutely correct in assessing that there are those who will suck, and suck and suck (They are the ones in my opinion who refuse to read and learn)
But I would like to point out that I did read what was suggested and it fell short. Was it my pointing out that your help was not helpful, or that you realized you misdirected someone that got you so upset?

maybe if you would take the time to highlight where I have failed to follow directions in the archlinux installation guide instead of highlighting my quotes, I would be
1. able to learn from the vast knowledgebase
2. be thoroghly embarrased by my own admission of guilt rather than lambasted into false guilt.

How about you ask me a few questions about what I did to get where I am or what else might be going on and maybe you would see I have an actual problem that isn't readily obvious and would require someone such as yourself to identify what went wrong.

I will admit to a few things.
1. I did not read EVERY google result about how to install LAMP on a pogoplug. iinstead I did several differnt searches and reviewed the top 2-3 articles on the first page that seems to offer what I was looking for (namely LAMP on my pogoplug)
2. I was quite surpised that there wasnt something a little more recent (I think the instructions were dated 2010, or possibly 2012
3. I was very tired and was not paying attention to a couple things that did slow me down. namely I did not realize that the pogobox closed my ssh session and was looking for the files on my MAC instead of the pogoplug.
4. I did not read posts to my questions quickly enough...moonman suggested that my thumbdrive was old and I should try another. I wish I had seen that post 5-6 hours earlier.
but even when I did get around to reading it I did not see what 'old' had to do with anything. It wasnt until later that i did learn that someone else had posted a uboot/lamp install and they indicated that 2GB was minimum necessary. When I switched to 8gb, the problem resolved. I think my 1 gb thumbdrive is actually newer than my 8gb thumbdrive.

I will also admit that I did read the links suggested (several times) and did not see how they addressed my issues. I guess because they didn't.

My previous issue is that when I try to run a phpinfo file, I get a blank screen. I have created a lot of sites in the past, and never encountered a blank screen before. I have encountered php that shows up as text instead of running, which means php.ini and/or .htaccess have some issues. My current issue is easily solvable...get a copy of the .so file andplaceit in the appropriate dir. But that will likely only take nme back to the 'cant read the pid file.' I did see several refernces to blank php screens which suggested there was a problem in /usr/lib/tmpfiles.d/apache.conf.that would require a syntax change:
You have to change this
d /run/httpd 0755 root root -
to
d /run/httpd 0755 http http -

which had no impact
and the archwiki site that said:
Error: PID file /run/httpd/httpd.pid not readable (yet?) after start.
Comment out the unique_id_module: #LoadModule unique_id_module modules/mod_unique_id.so
which also was of no value (it was already commented out)

So, how is directing someone to read information that isnt helpful, and then complain about 'tend toward helping them''

Why in the world would a person go google stuff, try to do it on their own with no guidance a prudent decision when there are apparently experts who could at least say, follow this set of directions, they are the best, and clearest.

I have never, not once, asked anyone to solve my problem for me, to give me code, or to correct my syntax.
I do however insist, that if your going to direct me to a resource, that it be relevant.

so far, they haven't been and your attitude toward others proves my point.
IMO you have made the assumption that I wont do anything for myself.
Then passed judgment on me based upon that false assumption.

did it ever dawn on you that the information provided was in fact not helpful?

PLEASE sow me that it was, PLEASE embarrass me with the facts!

I would gladly in all humility apologize to you and to everyone who has read this post.
My requirement is that it be on one of the documents that was referenced earlier, and it solves the basic problems which are.
files referenced don't seem to exist and LAMP is installed and runs properly and that reading the material would make it clear (without guessing/trial and error) that a certain action would solve the problem.

do you think you could do that? if not, then again you have made my point for me.

please be so kind as to post one way or the other.


OH, if you did read this far, moonman indicated in a previous post that I should put in code tags'???
I'm guessing he means to stop html from being interpreted..not 100% sure, but I am sure he didn't like something in one of my posts
what do they look like, where can I read about their use.
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: starting over?

Postby capchap » Mon Aug 11, 2014 8:51 am

pepedog,
I'm not sure I understand your comment:
You should have put a little more effort in, your loss

Put in more effort into what exactly?
trying to salvage the pogoplug, or trying to participate in this forum, or trying to read more of the references?

anyway, you dont know what effort I have put in to any of those things.
If you think that one of the links provided offers a solution to my problem, please enlighten me.

I have a spare pogoplu gdevice (not that its worth a bunch) that I will ship to anyone who can show me the information in the links given so far will solve the problems.
just open the link, highlight the answer and one pogoplug vs E02 is yours!

hows that?
anyone up to it?
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: starting over?

Postby capchap » Mon Aug 11, 2014 9:23 am

too late;
problem solved
but I am back to the cant read pid which wasn't solved by either method,, but is a differnt problem

back to drawing board.
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: starting over?

Postby pepedog » Mon Aug 11, 2014 9:49 am

Right, I'm going to setup a lamp. Won't be right away.
Ignore the pid error, just check the pid is in /run/httpd/

Even when everything is configured correct it might appear not to be working due to browser caching
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: starting over?

Postby moonman » Mon Aug 11, 2014 10:25 am

Just to point out the obvious: you said you couldn't find libphp5.so, so I went and checked:

$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install ~]# pkgfile libphp5.so
extra/php-apache
extra/php-embed')

so here I see libphp5.so is part of php-apache and php-embed packages

I went to LAMP wiki page: https://wiki.archlinux.org/index.php/LAMP

In the installation section it says to install php-apache. So you haven't read.

By code tags I meant whenever you are copy-pasting something from terminal use [ code ][ /code ] tags. There is a button for it.

I'm not going to argue about this with you. WarheadsSE made a great point. If somebody is willing to help you - great. If not - you know why. Good luck (NO sarcasm).
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Next

Return to ARMv5

Who is online

Users browsing this forum: No registered users and 10 guests