Ubuntu Servers :: After Some PHP Fatal Errors / Php Do Not Working / But Html Is Still Working
Mar 7, 2011
I have very interesting problem after ~10 PHP Fatal error, php 5(latest one) in apache2(latest one) in Ubuntu Server 10.10(with latest updates) just do not work. So if try any php page it's not working(user see white page), but HTML still work fine.What that can be? So only restart apache is help to back php. (we are running Wordpress blog 3.1)
View 2 Replies
ADVERTISEMENT
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
Jan 19, 2011
I just installed the lamp stack and so far my default site is working. But a 2nd site I made is not working.I created the config file in /etc/apache2/sites-availableit reads:Quote:
<VirtualHost myip:80>
ServerAdmin webmaster@mydomain.com
ServerName mydomain.com
[code]....
View 9 Replies
View Related
Apr 25, 2011
I had a problem with apache2 and getting .htaccess working. I have done some things and i believe its working the ErrorDocument command is anyway. I believe there may be some problems with the rewrites though.Im trying to take a urlhttp://localhost/showthread/123and make it display whats on http://localhost/index.php?showthread=123The rewrite rule is Quote:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^showthread/([^/.]+)/?$ index.php?showthread=$1 [L]
[code]....
View 8 Replies
View Related
Apr 23, 2010
I upgraded Samba to 3.5.2 to enable Windows 7 to log in to the PDC. ACL was working with the Samba 3.0.28a that came with 8.04LTS. After upgrade I can now log in to the domain with Win 7 but ACL permissions are not working on Win7, XP or anything. They still show on the server but any attempt to change permissions on the workstation fails with "Access is Denied" and only user/group/other permissions are doing anything. Anyone know what changes for the ACL were made between the two versions? I know they're working on switching to VFS modules but setting "vfs objects = acl_xattr"
View 1 Replies
View Related
Jul 28, 2010
I have NFS almost up and running. On the server /etc/exports is good, hosts.allow and hosts.deny are good, I can make the connection and in /var/log/messages on the server but on the client at 192.168.20.95, when I enter:mount -t nfs -o nfsvers=3 192.168.20.1:/home/nfs /home/nfs_local.It doesn't error out, doesn't come back to a prompt, it just sits there. I have verified not a permission issue.
View 1 Replies
View Related
Jul 29, 2010
I have been having problems with Xserver crashes (goes into low graphics mode). On inspection of my .xsession-errors file, I get X IO fatal errors 5, 11 and/or 104. Somehow my computer is losing its connection with the xserver (connection reset by peer) What is causing this? Should I post a report to launchpad? This happened before and after a clean install and more often when I opened a full screen game (SDL or OpenGL) Here is my xsession errors after my last crash:
[Code]....
View 1 Replies
View Related
Oct 18, 2010
I recently experienced a problem with Gnome and I removed and installed some components from it. Now that I have fixed the issue, the experimentation trying to fix the error has caused two minor problems with Gnome? Two buttons don't work; the 'Computers' button from [Places] and 'Trash' from the file manager windows. Screen dumps: [URL]
View 1 Replies
View Related
Feb 10, 2011
I just installed Arch (x86_64). I am trying to setup Xorg. I have not installed a DE or WM yet, I just want to make sure Xorg is 100% first.
I had to edit the xorg.conf myself to direct it to my Intel graphics driver, but now it seems to work perfectly.
Except after exiting X, my terminal reads:
Code:
xinit: connection to X server lost
waiting for X server to shut down xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
XIO: fatal IO error 4 (Interrupted system call) on X server ":0"
after 1011 requests (1011 known processed) with 3 events remaining.
xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":0"
I'm pretty new to Linux and have no idea what this means! But I'm assuming it's not normal, because it says 'error'.
View 3 Replies
View Related
Dec 30, 2009
My simple problem is: i ftp my running ksh script from linux to windows and then to other linux box.
But my script is not working showing different errors.
View 3 Replies
View Related
Jun 20, 2010
I have gotten sendmail pretty much to work but kept on getting DSN error in /var/log/maillog, and also the following in /var/spoo /mail/root
[code]...
View 2 Replies
View Related
Feb 22, 2011
I have a machine running with slackware64 13.1 and vnc servers is installed on it. It worked for months until yesterday, when I couldnt connect to the machine remotely.
I have 2 vnc "users" on this machine, root and "user". Each have their own desktop. Root has desktop :1 and user had desktop :2. Simple enough.
VNC servers is started via /etc/rc.d/rc.local with the command:
Code:
Code:
It worked flawlessly. I use the very same configuration on my home server, never had a glitch.
From the "distant" machine, I get this error when I try to connect:
Code:
Unable to connect to VNC server
What has changed so it no longer works? I assume its not a network problem since the machines are all located in my home network and there is no firewall or router in between them.
View 2 Replies
View Related
Jul 26, 2009
Its been a while (maybe too long) since I last used yum to check for updates / install anything on my server, but when I tried the other day I got the following response:
# yum list updates
Loading "installonlyn" plugin
Setting up repositories
Error: Cannot find a valid baseurl for repo: updates[code]......
Trying other mirror.Error: Cannot open/read repomd.xml file for repository: updates
A few weeks ago there were some network changes, but nothing else should have changed OS side.I have checked /etc/resolv.conf and that looks ok - ping and wget have no problem resolving hostnames.I tried setting enabled=0 in yhe .repos files - this allowed me to do a 'yum list', but 'yum list updates' returned an empty list - I am definitely not 100% up to date!
P.S. Attachment not there at the moment - getting the following error when I try to upload the zip file...Errors Returned While Uploading
Failed to open directory with write permission: /var/wwwthtml/oldwebcopy.centos.org/uploads/newbb
View 7 Replies
View Related
Mar 7, 2010
I just finished setting up my home ubuntu home server. Installed LAMP and it works beautifully. The problem is everytime I upload a file through FTP into the server, the file changes permission even though I did chmod -R 755 www. Si everytime I upload a file to my server i need to run the command chmod -R 755 /var/www
View 1 Replies
View Related
Mar 15, 2010
I have a farily new install of 8.04.3 server and I am having trouble with getting the following command to work.
sudo apt-get update
It is saying that apt-get "could not resolve" the server. The error text is below.
Here is my sources.list and after that are the error messages I am getting.
--------- sources.list ---------------------------
#
# deb cdrom:[Ubuntu-Server 8.04.3 _Hardy Heron_ - Release i386 (20090709)]/ hardy main restricted
[Code].....
View 6 Replies
View Related
Mar 19, 2010
I started building my server with the following goals:Quiet - it will live in a cabinet in my living room, so it should be as quiet as possible Low power consumption - not just to keep the heat (ergo cooling demands, ergo noise) down, but also to save money since it will be on 24/7 High reliability Support for 8 IDE and 2 SATA drives. (Toward this end, I have two 2-port IDE PCI controller cards and one 2-port SATA IDE controller card.) Spend as little as possible. (Money is VERY tight for me right now.)
I started with a mini-itx board I had lying around. It's fanless, with a Via Epia 700MHz CPU in it. A little anemic, but it draws very little power and is dead silent. The problem with this board is that it has 2 IDE ports on board, no SATA ports, and only one PCI slot, so I have to choose between my SATA card and my IDE card. I need - but can't have - both. I tried buying a 2-slot PCI riser card, but apparently it's incompatible (or DOA) - none of my PCI cards work when connected via this riser card. I've looked for PCI cards that have 2 x IDE + 2 x SATA ports, but anything that fits that bill is very expensive.
Now I'm thinking new motherboard & CPU - preferably something older that can be had cheaply on ebay. If it uses DDR memory (rather than DDR2), I can use the RAM I have, which saves me $25. A newer Atom-based board would be OK, but they all seem to have one PCI slot -- and not enough IDE/SATA ports to get the job done with just one PCI slot. If you can recommend a motherboard that meets all the criteria above, please post it. (Or, if you have any other ideas for handling this very cheaply, let's hear it!)
View 9 Replies
View Related
Jun 16, 2010
I aleardy set up an url rewriting before, but this time it does not seem to be working.To module is installed and activatedI created an htaccess file in http://localhost/entrepreneur/ contaning the following code:
Code:
Options +FollowSymLinks
RewriteEngine On
[code]....
View 4 Replies
View Related
Jun 17, 2010
I recently started with Amazon's EC2, and it's been smooth sailing up to this point. I installed the official EBS AMI ( ami-714ba518 ) for Ubuntu 10.04 and installed LAMP, etc. All this worked fine. However, Webmin is a bust. I cannot fathom why I can't get Webmin working after adding the webmin repo and installing via apt-get. This worked just fine on my physical server, but on Amazon it gives me "Firefox can't establish a connection to the server at xxxxxxx:10000." I made sure my security group allowed port 10000 through to my IP, and MySQL client connections work fine, so that can't be the problem.
View 9 Replies
View Related
Jun 27, 2010
When I try to run anything that uses iptables, even just iptables -L, I get:
Code:
1+drm33.2/modules.dep: No such file or directory
iptables v1.4.4: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded. This is on a fresh Ubuntu minimal install, using my VPS hosts image (so they could have messed something up). I know there have been issues in the past with iptables on Ubuntu on xen. Is this a Ubuntu bug? Is there a solution?
incidentally depmod -a gives:
Code:
WARNING: Couldn't open directory /lib/modules/2.6.32.11+drm33.2: No such file or directory
FATAL: Could not open /lib/modules/2.6.32.11+drm33.2/modules.dep.temp for writing: No such file or directory
View 1 Replies
View Related
Feb 18, 2011
How do I get my firewall up and running to secure the ubuntu servers.. I have 2x network cards & 1x pppoe connection atm.
eth0 192.168.1.200 / eth1 192.168.0.200
and the ppp0 connection
iptables looks like this so far.
# Generated by iptables-save v1.4.4 on Thu Dec 9 11:12:04 2010
*nat
PREROUTING ACCEPT [108:8763]
:OUTPUT ACCEPT [52:3594]
POSTROUTING ACCEPT [111:10071]
COMMIT .....
A far as I can see my ppp0 connection is open atm & I would like to close off any traffic except ports 80 10000 5900 21 & 22.
View 4 Replies
View Related
Mar 23, 2011
I have success install DNS server using BIND on Debian 6.0. and it's work with windows client. but with ubuntu I can't ping all my domain. but if I use nslookup or dig from my ubuntu client, it's work. and I try connecting my ubuntu client to internet using modem.
View 2 Replies
View Related
May 17, 2011
I'm the administrator of a small lab with a server (NIS and NFS) and several workstations.Yesterday the very old server finally died. While we're waiting for a replacement, I was instructed to move the files of some users to one of the workstation, which runs Ubuntu 10.04 Server EditionI changed the /etc/fstab to disable NFS, and I also modified /etc/nsswitch to disable NIS.Because the workstation doesn't have any account, I manually created several accounts I was asked to rescue and then copied the backup files to this workstation.After several chown commands, the users now can login to the workstation and access their files.
However, xforward no longer works. I checked /etc/ssh/sshd_config and make sure xforward is enabled. I thought that might be caused by some old files such as .Xauthority, so I created a new account by using this commanduseradd -d /home/testuser -m testuserHowever, xforward still doesn't work for this new account.I tried ssh -X, ssh -Y. none of them workswhen I execute xclock, it shows:Error: Can't open display: ocalhost:10.0with no further debug informationwhen I do echo $DISPLAY it shows:localhost:10.0I've spent several hours searching online but so far I haven't found the solution yet.
View 4 Replies
View Related
Jun 18, 2011
I have spent the last 2 hours trying to get this to work and it is driving me crazy, I have a 11.04 box and have setup some zfs filesystems for data storage, I have 2 users and have created a group called media and added both of the users to the group. I have changed the group of the directory to media and have set chmod g+s
root@saturn:/tank/data# ls -l
total 8
drwxrws--- 2 root media 2 2011-06-18 13:59 Backups
drwxrws--- 2 root media 2 2011-06-18 14:26 Music
drwxrws--- 2 root media 2 2011-06-18 12:44 Pictures
[Code]...
View 1 Replies
View Related
Jun 18, 2011
I'm trying to remotely schedule a shutdown using cron but I can't get it to work. I did setup the following 'sudo crontab -e'
Code:
For some reason doesn't this work, since I was able to login and get this output when using 'date'
Code:
View 7 Replies
View Related
Jan 6, 2010
Pre-exsisting issue from 9.04 server, and has never worked right for me. When I try to open an X11 forwarded app on a mac using the command "ssh -X myusername@serverIP" Other linux machines have similar issues from terminal. I can login just fine and preform any actions I want that do not require X11 forwarding, like say firefox or a manager. I just get the error "Error: no display specified" when trying to do anything with X11 forwarding. I have almost no Linux experience but from tinkering and my friends tinkering wonder if I have a x authority issue.
At one point I had ubuntu desktop package installed (forwarding still did not work then), did a unclean uninstall of it installed Xubuntu. Xubuntu did nothing but throw fits saying I did not have authority to preform all sorts of actions, many relating to root access. This box is meant to be a headless file, print and web server with the ability to login remotely as a convince for administration. I have given up on having a working GUI of any kind on this box. I really do not want to reinstall because of the amount of data on the main partition. What can I start trying to look into?
View 1 Replies
View Related
Jan 15, 2010
I have set up a mapserver, everyting is working except no map is displayed, it looks like a problem with the tmp folder where the images should be writing to. I have searched for a solution and it seems that the user group needs to be www-data, however on my system apache is set as root not www-data and www-data does not exist as a group. Can I simply create this group? if so how?Then I assume I just do the following:
sudo chgrp www-data [path]/tmp
sudo chmod 755 [path]/tmp
sudo chmod g+s [path]/tmp
[code]...
View 1 Replies
View Related
Jan 20, 2010
I have a virtual server setup on port 80 that works fine, however, if I change the port to, say, 8080 the browser then fails to connect.I'm using webmin to configure everything, all the other settings seem to work as I would expect.I get the error "Safari canī open the page http://192.168.0.12:8080 because Safari cant connect to the server 192.168.0.1." in safari, and i get something similar on the xubuntu machine in firefox connecting via localhost.It's almost as though theres a firewall in the way, but I think it's more likely to be some config problem.
View 2 Replies
View Related
Mar 19, 2010
Today i made an update using Webmin, and after that php stopped working, instead of running the files it launches a download. So i checked what was going on, and php module was disabled in apache config. When trying to enable it, it said the file "/usr/lib/apache2/modules/libphp5.so" did not exist, and indeed it disapeared. I tried to reinstal php and apache (with and without --purge, through apt) and it didn't solved the problem.
Also i tried copying the file from another machine, also without success (this time it shows " Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.") Dont know what to do now, im kinda desperated here because this machine hosts my website =P
View 2 Replies
View Related
Apr 6, 2010
I upgrade one of my servers from 8.04 to 9.04 and now libvirt is not working anymore.
The funny part is that the virtual machines are working perfectly because I can access them via ssh/ftp/etc.
I just can't access the libvirt interface. For example, if I issued (as root):
virsh -c qemu://system
I halts with Connecting to uri: qemu:///system error: failed to connect to the hypervisor
Is there a trace/debug that I can verify ?
View 1 Replies
View Related
Apr 7, 2010
I've got a server running 9.10, and I'm having a few issues with SMTP. It's got Postfix and Dovecot installed, and eventually I'll add content filtering, but I need to get past this issue first.
I know there's a lot of posts out there for Postfix issues, but I haven'tbeen able to find one specific to my issue.
IMAP and POP3 work fine through SSL, and the server can send mail without any problems. That's all fine and dandy, but I need to utilize an e-mail client (like evolution or outlook). Everytime I set up a user in Evolution, the smtp connection times out, or is refused. I know it's not a firewall issue. Port 25 is open, as well as 465. So I should be able to connect through SSL. I want to be able to connect through SMTP using the same credentials as IMAP.
Here's my main.cf file:
Code:
myhostname = mail.adamwgay.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
[Code].....
everytime I get things rolling, this issue pops up. I don't know if it's something I'm setting up wrong in the client, or if it's a configuration error on my part in postfix.
I'm also having a bit of an issue with my aliases. I've basically got a lot of addresses going to root, then root going to the main user, but it's not actually delivering the mail to the main user. It sends it straight to root.
View 9 Replies
View Related