Ubuntu :: Getting A Screen Saying It Worked But No Content Has Been Added?
Dec 14, 2010
I'm currently learning how to program in PHP i have recently installed LAMP server and apache2 and MySQL, i have run a bunch of commands, so i can really remember them all..the ones i can remember is:
Code:
apache2 php5-mysql libapache2-mod-php5 mysql-server
sudo tasksel install lamp-server
sudo apt-get install apache2
and when i entered url in my browser bar i got a screen saying it worked but no content has been added.
I tried put my test file (called index.php) into /var/www/ still not worked renamed it to index.html still not worked.tried url and with index.html wasn't working.
i woke up today to try find out what was wrong. BUT NOW I CAN'T ENTER url.I got a "server not found" screen like when you enter an incorrect adress
i tried to restart apache using:
Code:
sudo /etc/init.d/apache2 restart
but get's
Quote:
* Restarting web server apache2 apache2: Syntax error on line 233 of /etc/apache2/apache2.conf: Syntax error on line 12 of /etc/apache2/conf.d/index.php: Expected </?php> but saw </div>
[fail].
The installation went okay (to start with) on my newly formatted hard drive (after death of Windows XP), but I got an error about 3/4 of the way through. The system said something about starting the desktop to try to resolve or fault find the problem. So I now have a desktop with access to all the menu system. I am feeling my way around slowly getting used to the environment. I think there are bits missing from the install but with no frame of reference I cannot tell what exactly is wrong. One obvious problem is my Monitor screen resolution. In Monitor preferences it is set as 'unknown monitor'.
The detect monitor button does nothing and the resolution is set as 2048 x 1536 which is just too small to see properly on the screen. I am currently using zoom to increase within a window to use at all. I have tried opening a terminal and using the xrandr command which reports the following:
xrandr: Failed to get size of gamma for output default Screen 0: minimum 2048 x 1536, current 2048 x 1536, maximum 2048 x 1536. default connected 2048x1536+0+0 0mm x 0mm
I have never been able to use the Screen Saver in the Desktop settings, as even clicking on a Screen Saver, crashes the whole Desktop Settings.Here is what I get:
I have upgraded to 10 from 9 on my netbook and am considering downgrading. I now have screen size issues, my minimised programs disappear and my movie software will not work. I had no problems at all with 9.
I had to install Ubuntu 10.10 5 times before the boot problem was fixed, but only now to find that the Nvidia GE Force 3 Ti200 video card is NOT supported by the current Nvidia drivers and the legacy Nvidia 96 video drivers has a known bug which may never get fixed.Currently I am running the 1024 x 768 screen size under Nouveau, but how can I change this to 1920x1080 ? Will creating an xorg.conf file work?I did have the GE Force 3 supporting the new 1920x1080p monitors under VGA mode and the screen looked fantastic in the past.
I just set up a separate monitor, I am running Ubuntu 10.04, I use the nVidia graphics driver, Now the Bars on the top and the bottom of the screen won't appear and can't be used. I rebooted w/ out the second monitor and now it disabled itself. I can't get the terminal option at the login screen. When I rebooted the first time w/ the second screen icon's on the desktop appeared. Now nothing appears, but the background. I opened up my browser (Google Chrome) by my key combinations for those who are wondering how I posted this.
I have a Dell precision 380 (system specs can be found here: [URL]. My system is set-up in dual boot configuration with Windows Xp x64 on one side of my HD and CentOS 5.3 (64bit) on the other. My system came with 2Gb (2 x 1Gb) of RAM and I recently wanted to upgrade. I bought 2 x 2Gb ELIXER DDR2 667Mhz RAM. I carefully added the new sticks to my motherboard, booted up windows via bios which noticed the new RAM was present. All seemed well.
However, on rebooting the system and entering the CentOS boot phase, after the boot phase (eg starting program... [ok] etc) but before the login screen my screen goes black / blank. My system has an ATI FireGL v3100 graphics card, I checked out the technical info on this and it should be ok on 64 bit linux. (See: [URL])
I'm relatively new to Linux from an administration pov, and I'm working as half teacher / half tech admin at a school because they can't afford to pay someone who actually knows this stuff. I am having issue with a Foxconn 761GXM2MA-RS2 motherboard, with what I assume is the video driver. Everything looks dandy when booting until the X Window system starts up; at that point, the screen seems to translate some vertical strips of the display output around, so part of the screen gets real fuzzy with the content of the other part.
I am unable to find any Linux drivers for this motherboard, however I may be a bit lucky. Another computer with the same mobo died, so I took the hard drive from that and stuck it in; walla! Functional video..... but no working LAN. I need some way of copying over the drivers (which I believe are compiled into the kernel...) or access to the video drivers and info on how to install it.
I am using find to search for .tgz files modified more than 7 days ago and delete them.find /directory/ -iname backup*.tgz -daystart -mtime +7 -exec rm -rf {} My problem is that find will go through the content of tarball as well and list all content. I want to only search main tarball and delete it if older than 7 days.
If you have the value 100 in File1 and the value 5 in File2, how do you write a script to divide the 100 in File1 by the 5 in File2 in Linux Bash Shell?The operating system I am using is Ubuntu 10 and object is to write a script to accomplish this task.
Is there a software that can capture a rectangle on the screen defined by a mouse click and drag in which the content is saved the buffer somewhere in png format and then I can cut and paste it to openoffice in one step ? This way I don't have to use a screencapture the whole screen and then pop up imagemagic and then crop the image, save it and read it from openoffice.
I have a Compaq Evo N610c that was running 9.10. I was reluctant to upgrade to 10.04 since everything was working like a clock. But, alas, the "newer is better" bug bit me and I just HAD to try out 10.04. So, I installed it in a dual boot mode, keeping my 9.10 in tact. I'm glad I did! I use an Enterasys Roamabout CSIBD-AA-128 wireless lan card to connect to my network. I use WEP 128-bit encryption for the network. I connect without issue in 9.10.
In 10.04, I am unable to connect to the network. I am sure that the card is recognized, as the system "sees" my network and tries to connect. I am asked for "wireless network authentication required". I have tried both passphrase (WEP 40/128-bit key) and WEP 128-bit passphrase (network name 5rueckls). When I enter either, the computer looks like it is trying to connect, but never gets there. Settings under the "Editing Auto 5rueckls" include Mode: Infrastructure, MTU: Automatic, IPv4 Settings Method: Automatic, IPv6 Settings Method: Automatic, Wireless security: WEP 40/128 (key entered), WEP Index 1, Authentication: Open System. Available to all users is "ticked". I am very new to the whole Linux/Ubuntu environment, but have made alot of progress! I can follow direction very nicely.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I am a new user of Slackware 13.37 (KDE) on my laptop. Unfortunately, suspend to ram is not working properly. It worked the very first time I tried it, but has failed since. The computer suspend properly (light turns orange) but when I click any button it restarts computer and recovers journals.
I recently installed openSUSE 11.4 and the wi - fi conection doesn't work, but with Ubuntu worked without problem. What can I do to get wi-fi connection working on this distribution again?
[10.04]-Gobi Loader Fails on 10.04 RC, Worked on 9.10? I was using a program called "Gobi Loader" to manually setup my Qualcomm 9212 3g internal USB modem on my Verizon Wireless Gateway LT2016U NetBook. Gobi Loader program loads the modem's firmware so it is usable by Ubuntu OS. This worked fine on Ubuntu 9.10, but on Ubuntu 10.04 RC when I run Gobi Loader it just hangs. I've Googled for hours and have not found a solution to this issue. For me it is a big issue as in Ubuntu 10.04, my 3g access is not working. (I'm paying Verizon Wireless $60 dollars a month for 3g access my Ubuntu 10.04 can't use.)
The only option I see now is to install Windows(R) XP, then reinstall Ubuntu 10.04 and dual boot. I would have to boot into Windows(R) XP first, the soft reset and boot into Ubuntu 10.04. (but this is not something I wish to do) This Qualcomm 9212 3g internal USB modem is quite popular in NetBooks, and I can't be the only person in the universe who is using Ubuntu 10.04 on it so there must be some way to make this 3g modem work on Ubuntu 10.04?
I had screwed up a unsolvable Ubuntu install, so I had to reformat and reinstall. I did all that, installed my apps, but then saw and was convinced to upgrade to 10.10. It took forever, but it downloaded and installed the upgrade package. Since then, I have had a few issues that I had never had in 10.04. The other ones are in their own threads though. So, now when I either close my laptop lid or hit suspend, I can see it do some things, then either A. It goes to sleep. Or B. It just freezes.
No HDD activity, just those messages it displayed for suspending like it does when it works. I have screenshots attached of that. Also, in the default applet that provides you with the sleep option and shut-down, etc, sometimes the option Hibernate disapears. Now, I have seen how the menu is without it and like it that way. I think I need to be looking for a prefrence file for it, because I would like the option Hibernate to be removed from that menu.
1. How can I get the machine to go to sleep properly? This is mainly because I hate loosing what I am doing.
2. How do I remove the option "Hibernate" from Indicator Applet Session 0.4.6?
I installed Ubuntu 11.04 and then I installed WICD using Synaptic and then uninstalled Network Manager. WICD worked fine until I rebooted. Then I could not connect at all. Wicd displayed the wireless lans and even authenticated OK. But wicd was not able to obtain an IP address.
Does anyone know how I might enable my boot to Ubuntu again? Here is what I have found but do not know what I should fool with. I thought I would ask for help before I screw it up worse.I have Ubuntu 10.04.1 installed inside W7 effectivly creating a dual boot system. It's been running fine for about 2 months. Now when I try to boot into Ubuntu by selecting the boot Ubuntu option in the Windows Boot Manager, it fails and goes back to Windows Boot Manager. There are 2 screens that flash by in about 1/2 a second when enter is pressed after the ubuntu selection and before it reverts again to the Boot Manager. With the help of a camera and good timing, I captured a picture of the text displayed.
The first screen displays;Try (hd0, 0) NTFS5 No wubildrTry (hd0, 1) NTFS5 _The second screen displays;error unknown command loadfonterror file not foundIn the windows C: drive I find the 2 files; C:wubildr created 12/19/10 size 87kbC:wubildr.mbr created 11/7/10 size 8kb (created the date I installed Ubuntu)In C:ubuntuwinboot... I find the same two files with the same size and creation dates as in the windows c: drive. In addition I also find a file, C:ubuntuwinboot.wubuildr.cfg, created 11/7/10, size 2kb, described as a MS Office Outlook configuration file.There are also a files;C:ubuntudisksootgrub but the grub directory is empty. The grub directory was created 11/7/10. Should there be a file in the grub directory?
I used to run an application named DBabble (client) through Wine back when I used 11.1. Then, the version of Dbabble client was 2.2h -I still have the exe-. Now I tried this same version on 11.3 with Wine, and this is what I got: ImageBam - Fast, Free Image Hosting and Photo Sharing
Latest version of the client is 2.9i, and this one seems to work fine, but the server I want to connect needs client 2.2h. I thought it was the Wine version, but a friend tried the exe in a system with 11.1 and latest Wine, and it worked for him. So there's probably a change in 11.3 that broke this app under Wine. Is there a solution or workaround for this on 11.3?
first i make one partiton ten format it add mount point and fire luksopen command and create secert file and enter this in crypttab but when i rebbot it showes scert file not found and partion remain unlocked
I had a wubi install- but it only let me dedicate 60 GB. I quickly ran out of that available space and decided I'd better try one of those tools to move my stuff on a partition of it's own.
I just used LVPM to transfer Wubi to the HDD, and.. it worked. Almost.
All I had to do was edit my grub file. I did that in Wubi, opened the menu.lst file with gksudo and added this just before windows: (I want Ubuntu to be first on the list, ofc)
Code: # This is a divider, added to separate the menu items below from the Debian # ones. # title Other operating systems: # root ## Added By Human Being code....
(Please tell me if anything up there isn't needed, is wrong, or if I left something out..)Now it makes me press "S" before I can see the login screen at boot-up.
I want the quickest boot possible for Ubuntu, with a way for us to use Windows if needed.
It's looking for an Ubuntu 10.10 AMD64 CD, and I have the 10.10 Alternate AMD64 DVD.. and that message doesn't respond at all... I can press "S", and then it goes to the login screen, all works fine. I can update, I looked to see if the check-box for a CD upgrade was checked, but it wasn't.. I ticked the box (just for science), put in the alt-disk, and.... again it waited forever.. So that must be the wrong CD. Unticked it.. Also I just updated this morning fine. Still, that 'Press "S" to skip' at boot up is annoying
Do I have to download the standard Ubuntu 10.10 AMD64 ISO again.. (before it kept freezing), or is that futile.. I mean, all it's going to do is downgrade, (if it does anything..) right?
I upgraded my system today from Kubuntu 10.10 (or whatever the last full release was) to 11.04 using the automated web process. I know, I know, I should have tested off a live cd or a thumb drive, foolish mistake. On upgrade the video card works, and it boots fine... but I have no keyboard and mouse. I checked the forums and realized that maybe it was a problem with the brand of keyboard and mouse I was using. so I've tried four manufacturers (even tried switching between wired and bluetooth) to no avail.I've also tried starting in recovery mode, but the problem persists.
To be specific, my bios sees the hardware just fine, and I'm able to hold down shift and pull up the selection options pre-OS, and select which one to run... and I can see the red optical light on the mouse no problem, so it's not a defect of either the motherboard or the input devices themselves. However, once in the OS, in recovery mode, or anything else, I'm left without a keyboard or mouse. As my system only has USB ports and not PS2, I can't check a hardware spec beyond what I've tried.Also, it doesn't work if I select the "boot into an older version of linux" which is odd.Can someone make a recommendation? Is there a way to get a liveboot cd of the previous version of Kubuntu that worked?