Fedora Servers :: LAMP Package Installation Fails / What To Do?
Mar 7, 2011
I have a desktop running on Fedora 14. I installed LAMP by using scripts for package installation. That works fine. Also, I have a virtual environment (Virtual Machine Manager), in which I installed Fedora 14 as well. I tried to install LAMP by the same scripts and the same packages as on my desktop, but strangely - it does not work.
I figured out that in both cases two instances of httpd.conf are installed, one residing in /etc/httpd/conf/, the other one in /usr/local/apache2/conf. The first one seems to belong to the server that is by default installed together with Fedora 14. The second one is the result from the package installation.
For a reason unknown to me, the second one (/etc/httpd/conf/httpd.conf) is always activated on my desktop, while the first one (/usr/local/apache2/conf/httpd.conf) is activated by default in my virtual computer. I have been able to change the DocumentRoot with succes.
I know how to install LAMP with yum, I have a second virtual computer with LAMP installed by yum, and the whole question is not an urgent one, but... I am just curious... what could have caused the difference? And what would I have to do whenever I would like to use the package installation or vice versa?
View 4 Replies
ADVERTISEMENT
Sep 2, 2011
I want to use yum to install LAMP with ssl. Is there a certain order I have to do that in? If I understand this right, yum gets its rpms from one repository. In order to maintain the rpms I will need to know the installation layout of each rpm. How will I find this information?
Also, can I tell yum to go to a certain place and get that rpm? For instance, I've been reading linux topia. Can I tell yum to get that mysql rpm?
Once mysql is installed, how do I start it and get into the client/monitor?
View 3 Replies
View Related
Nov 22, 2009
My installation went fine. Apache, PHP, and MYSQL all work independently. My trouble getting PHP to serve MySQL content. The first thing I did was look in the PHP.INI file to check that it was set up correctly. Then I discovered my install of PHP does not have the expected directives, namely extension_dir or any DLL comments where I can enable MYSQL. Instead my config file has a PHP.D directory. In that directory there are no files for MYSQL. I look at the PHP.net site and I can't find any info on how to write this file. And there's the issue of the missing extension_dir directive.
As I said, I visited the PHP.net site and could not find any specific manual pages explaining this change to PHP 5.2.11. I downloaded "the latest php.ini" development file from the site. As near as I can tell its for PHP 6.0.0 and it does have the extension_dir directive, and it still uses the DLLs in Dynamic Extensions section. (EDITED= The introduction of the PHP.INI file doesn't give a version number, however later under error handling there is a note: "as of PHP 6.0.0"). Why I can't find more information about this on any forum or at PHP.net?
View 14 Replies
View Related
Nov 2, 2010
it seems i have successfully installed LAMP.. i have a very basic page below that works when invoking "data()" but when i try to connect to mysql server (by removing the comments "//") it would just return a blank page.
[Code]...
View 1 Replies
View Related
Apr 14, 2011
Do I need to do anything special to my LAMP server for AJAX to work?
View 2 Replies
View Related
Jul 31, 2011
I have a like problem with all programs last time:
For example, package libtwolame0 installation fails
Code:
I had a like problems with another packedges, when try install mplayer and codecs from Packman.
View 2 Replies
View Related
Apr 27, 2015
After Updating to version 8.0 today...
Package Updater GUI is Failing with the message:
No updates are available
No network connection was detected.
=================================
I did updates almost daily on wheezy
Todays updates [via the Pkg Updater GUI] were over 300 meg.
After the updates and reboot
System was showing version 8.0 in the GUI desktop and using 'cat /etc/debian_version'
Then...
From terminal I did ...
apt-get update
apt-get dist-upgrade
The dist-upgrade was over 40 minute and ~ 500meg
Things seemed to go well.
I updated sources.list with apt-spy.
[In order to trouble-shoot: I subsequently commented-out the apt-spy sources and found some generic sources on internet]
==========================================
# sources.list generated by apt-spy v3.2.2
#
# Generated using:
#
[Code].....
apt-get and Synaptic GUI both work.
I did/reviewed some settings in the Synaptic GUI I imported two v8 signing keys into Synaptic from [URL]
Package Updater GUI is Failing with the message: No updates are available No network connection was detected.
View 5 Replies
View Related
Jul 1, 2010
I'm installing openSUSE 11.2 on a notebook from DVD + locally mirrored update and kde4 buildservice repositories. This usually worked fine, but this time, the installation always fails at about 89% while installing some package, whose name I can't find out. Its script fails with error 127, the error message blocks access to the log.
Is there a way to continue the installation process afterwards, instead of always trying to reinstall and hoping to find out the name of the failing package?
View 3 Replies
View Related
Mar 5, 2010
after a while of using Gnome with Fedora 12, I installed Openbox and started the configuration process. Everything is pretty much just the way I like it, but when I open the package manager and try to install something, it says "Authorization failed: you have failed to provide proper authentication. Please check any passwords or account settings" I'm sure it's because I forgot to add something to my autostart.sh, but I'm not sure exactly what...
View 5 Replies
View Related
Apr 29, 2010
I installed Fedora 12 inside VirtualBox and trying to make Software Update. It fails with different messages which looks like:Could not add package update for ..Package name may differ. Internet connection is working. Is there another way to update the system?
View 2 Replies
View Related
Jun 14, 2011
Code:
$ su -c 'yum update'
Password:
Loaded plugins: presto, refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libva-freeworld.x86_64 0:1.0.12-1.fc15 will be updated
---> Package libva-freeworld.x86_64 0:1.0.13-1.fc15 will be an update
--> Finished Dependency Resolution .....
View 2 Replies
View Related
Nov 2, 2015
After receiving no response either here or on IRC, I copied 80 package files to a temporary directory and ran dpkg-scanpackages . /dev/null > Packages with the expected result. The curious part is the delay when output redirection is not used: nothing appears until the script completes, when the result is dumped to the screen. It therefore appears that there is an upper limit to the number of packages that the script can handle, somewhere between 80 and 42,474.
Is this an undocumented feature, or just a peculiarity of my system?
I'm new to Debian and wanting to set up a local repository on my work drive. After following instructions online and copying all packages (~43,000) from the DVD set into /work/Debian/8.2/packages/ I ran dpkg-scan-packages as instructed:
Code: Select all# dpkg-scan-packages . /dev/null | gzip -9c > Packages.gz
This produced an empty file. I then ran dpkg-scanpackages with no output redirection expecting to see a flood of text on the screen, but all I got were error messages suggesting that it can see the .deb packages but is not parsing them:
Code: Select allroot@qbx:~# dpkg-scanpackages /work/Debian/8.2/packages
dpkg-deb: error: invalid character ' ' in archive '/work/Debian/8.2/packages/libshhopt1_1.1.7-3_i386.deb' member 'debian-binary' size
dpkg-scanpackages: error: couldn't parse control information from /work/Debian/8.2/packages/libshhopt1_1.1.7-3_i386.deb
[Code] ....
This all seems in accord with the man page, and it's so simple I'm wondering what I'm missing.
View 1 Replies
View Related
Jun 7, 2010
I switched a working Lucid KVM guest from linux-server to linux-virtual and it could not mount root at boot time and issued a panic instead. Switching back (booted from CD and used "rescue a broken system") revived the VM.
My first guess is that some DM driver module needed for LVM is missing from the linux-virtual package.
View 2 Replies
View Related
Apr 4, 2011
we need to install gnuplot and synaptic manager fails because Intrepid is unsupported. I know we can update to a newer version but we cannot do it now (we'll do it during summer holidays). What's the best way of installing gnuplot (or some other aplication) on our systems? Should we download from sources and compile? Could we add some special source to our list and download from there?
View 1 Replies
View Related
Mar 19, 2009
how to create a website using LAMP. Take completed website and port to a web server and run.
System I am currently running an HP Pavillion laptop 500G HD, 6G RAM, dual boot Fedora 10 and Vista.
Questions: How should I partition HD to allow functionality of LAMP and to later transfer to a online webserver.
I have read several different rational on partitioning the disk. Do I really need a /tmp, /var? Currently I have / /boot, /swap, /home, /usr. Is this okay to start? Will it make transferring the project more difficult for "official use?
Should I not use the laptop at all and create a separate machine for this purpose only?
View 6 Replies
View Related
Nov 20, 2009
my update today failed, because the packages raydium and maniadrive depend on libphp5-5.2.9.so, which is provided by php-embedded, which is (apparently) not in the fedora 64bit repository There does however seem to be an i586 version...
View 2 Replies
View Related
Jul 12, 2010
I'm having troubles running systemtap scripts. It fails to run with message:
Code:
Checking "/lib/modules/2.6.33.3-85.fc13.i686/build/.config" failed: No such file or directory Ensure kernel development headers & makefiles are installed.
Then I typed:
Code:
$rpm -q kernel kernel-devel kernel-debuginfo
kernel-2.6.33.3-85.fc13.i686
kernel-devel-2.6.33.5-124.fc13.i686
kernel-devel-2.6.33.6-147.fc13.i686
package kernel-debuginfo is not installed
So no kernel-debuginfo, a package which I cannot find in repo. So where to get it and why it's not included in default installation if SystemTap is. It's like having Apache without tcp/ip stack.
View 2 Replies
View Related
May 1, 2009
I did everything and restarted my machine, everything seems to be ok. But when i type in my IP on the browser which is 10.0.11.25 which would be the localhost machine, i get this below:
Code:
ERROR The requested URL could not be retrieved
While trying to retrieve the URL: [URL] The following error was encountered:
* Connection to 10.0.11.25 Failed
The system returned:
(113) No route to host
The remote host or network may be down. Please try the request again.
View 2 Replies
View Related
Feb 6, 2010
I've successfully installed my LAMP server (9.10). I've ran a test.php but am curious if there are any tutorials onlines or even books to buy in order o learn how it all works. Where the files are and the mechanics of it. I have it installed but what now ha... I've done HTML, I've built websites but I'm lost!...
View 1 Replies
View Related
Jul 15, 2010
I need to uninstall Lamp from my Ubuntu 10.04 OS. I just need to commands etc as I am rather noob at Ubuntu. I will be installing it again I just have come across several problems.
View 2 Replies
View Related
Dec 22, 2010
I've looked at several tutorials and since i'm a newb I can't figure them out. I'm trying to set my hostname on my LAMP 10.04. What files do I need to configure? (all IP's below are fake)
Here are the first lines from /etc/apache2/sites-available/default
Code:
<VirtualHost 111.111.111.111:80>
ServerAdmin webmaster@localhost
/etc/apache2/ports.conf has these lines after the comments
[Code]....
View 4 Replies
View Related
May 24, 2011
I'm using ubuntu server 11.04 in a LAMP configuration. I have my login page setup but my php email verification isnt working. I would like to know how can I install a relay that can take the email verifications and send them through a gmail account.
View 2 Replies
View Related
Jan 13, 2010
I have a LAMP server running Ubuntu 8.04.03 Server edition running smoothly. Ive setup several websites on the server and all are ok, but I constantly have trouble with permissions. Everytime I setup a new domain to host, I setup a user specific to that domain. This allows SSH login specific to the domain. The problem I have is that every time I setup ownership in the virtual directories for the users they belong to, the settings don't seem to stay. Initially it seems to work ok, but when I install Joomla and setup the webspace, I always seem to have to login to the server itself to chmod the folders I need to have writable. I cant chmod properly from my FTP client which is weird. How to manage permissions?
Currently I am doing the following:
Code:
sudo mkdir -p {name of domain}/{public,private, etc...}
sudo usermod -g www-data {my user name}
sudo chown -R www-data:www-data /var/www/{directory for the domain}
sudo chmod -R 775 {folder path I need to change}
This works for a while but as I add new things to Joomla and I want to modify the folders, I always have to go back and redo the chmod and the chown commands to get them where I want.
View 4 Replies
View Related
May 4, 2010
End of my first week after using ubuntu. I have setup LAMP for the purposes of my own coding education, place to run php and python scripts.
LAMP seems to be setup fine and working - I even got php5 working with it - however I am having a lot more trouble getting python to work in much the same manner.
I have downloaded the mod_python from [URL], unzipped it, tried to run ./configure and it said apxs was not installed.
After some reading it turns out I had to remove some apache-fork something and install apache-devfork (please forgive lack of exact names).
After doing this the ./configure on mod_python passed the "finding apxs" test but then said it can't find apache2 at /sbin/apache2 and again aborted the configure.
running 10.4 (lucid)
View 1 Replies
View Related
Jul 23, 2010
PHP in *.php files works in LAMP. PHP script within an *.html file is not executed. Does not display anything but view->source_code shows the <?php ... ?>
[Code]...
Doesn't display anything except the page title is there. View page source --- shows <?php phpinfo() ?> not the phpinfo() output. Both files are in /var/www/ with 644 permissions.
[Code]...
View 9 Replies
View Related
Aug 25, 2010
Basically I've made a right **** up of my apache2 configuration and I just want to un-install apache2 and re-install so I can start again.
I've done research on this but the guides have always been for people installing using "apt-get" or "rpm" packages. I've tried these methods but nothing has worked.
The way I installed lamp was from selecting it in the different options when installing ubuntu-server from disk.
Is there any way I can do this through the terminal and not through synaptic, only reason being is that I'm ssh'ing across a local network.
View 2 Replies
View Related
Oct 11, 2010
I've installed developer's LAMP server and made changes on php.ini
But it doesn't display any errors or even a little warning, what's the problem, what's wrong?
View 9 Replies
View Related
Jan 25, 2011
I had a working LAMP server on my old server. After a HD went out and was replaced I rebuilt my server with Ubuntu 10.10 server. Talk about a smooth and impressive install. I set up my Apache server and MySQL and even installed php5 just like I had done before on my old server. The only thing different I did with this install is with Apache. I now host 3 websites with virtual hosts. This is the only thing different I have done than the last time.
My problem now is my website won't display PHP. I didn't know I had this problem until I installed Drupal for a friend to play around with. Drupal won't finish the installation process because it claims: In your ./sites/default/settings.php file you have configured Drupal to use a server, however your PHP installation currently does not support this database type.
Know I have googled this phrase to hell and back to find a resolution and haven't. I even talked to my local linux guru at work and he refereed me here. I have tried reinstalling php left and right. I'm convinced that there is an option to enable php globally that I'm missing. I really think the virtual hosts is what is causing this trouble. What input will the mighty Ubuntu community provide me with,
View 4 Replies
View Related
May 18, 2011
Ran the following command from a user account listed with ALL permissions in visudo.
Code:
sudo tasksel install lamp-server
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
tasksel: aptitude failed (100)
View 2 Replies
View Related
Jun 15, 2010
I've installed Ubuntu 10.04 LTS (64-bit) server edition on a box here (a few times now), and each time I attempt to boot post-install, I get RAID errors. The box has 4 hard drives in it, and I've disabled the hardware RAID in BIOS because I couldn't seem to get that to work.During the installation, I opted to handle partitioning manually. One set of hard drives has two partitions: one for swap, and one for /. When all is said and done, I end up with three RAID 1 mirrors: one for swap (/dev/md0), one mounted at / (/dev/md1), and one mounted at /srv (/dev/md1).
View 3 Replies
View Related