Ubuntu Servers :: Php Only Works On Server Machine?
Feb 22, 2010
I'm trying to setup a server at home so i can work in a LAMP based web app from a Windows 7 laptop. I downloaded Ubuntu Server 9.10 and installed it on one of my desktop PCs. I also installed phpmyadmin and everything seemed fine (tested with lynx) I started noticing the problem when I tried to connect from the laptop to the server in the same LAN. when i tried to access [URL] the browser kept loading forever and nothing appeared. The default [URL] it works" page display just fine I then created a testing.php file containing just <?php phpinfo() ?> in the /var/www directory and it works on the server, but from the laptop it displays the same hanging behaviour, any php code doesnt seem to be properly executed when apache serves other machines.Im guessing its some sort of php configuration causing this, and it might be obvious for ppl with more experience with server setups, but i've never setup a server before and Im having a hard time solving this.
View 1 Replies
ADVERTISEMENT
Mar 18, 2010
I have an ubuntu kk laptop connected via wireless to my mixed network (xp, win7, other ubuntu), but i can not ping said machine or connect via ssh. Internet and smb-browsing ON this machine work, as does pinging FROM it. If this was a windows machine, I'd say a firewall is in the way, but since it's a vanilla karmic install, this should not be the case (or should it?).
View 2 Replies
View Related
Feb 12, 2010
I have a script that works fine on a commercial server and my CentOs Box at home but doeasn't work with another commercial server (Where we need it to).I have pulled the PHPINFO.PHP from both and wondering if someone could tell me which parameters to compare when the following happens:The script seems to do the HTML/Java and outputs the PHP script on the page , but this site has many other PHP scripts working fine:
View 6 Replies
View Related
Jul 28, 2011
Code:
192.168.0.133:/openils /openils nfs4 rw,_netdev,auto 0 0
fails to mount the nfs4 share, however
[code]...
View 6 Replies
View Related
Apr 30, 2010
My school are cutting costs.I suggested they go open source.They said if I could find out how then they would consider it.Basically they want a mixture of windows and ubuntu clients.What I would like to no is how a ubuntu machine can connect to a server (SAMBA I think) so that it can access our home folder like the windows machines do.
View 1 Replies
View Related
Mar 21, 2010
I am running a local webserver mainly for development. I have everything set up. The issue I currently have is that I cannot shut down the machine from the command line. I can issue the command but the machine remains on. I also cannot get to the desktop via VNC.The reason for this, is that there is no monitor attached so Ubuntu says that it is trying to run in Low Graphics Mode. I found this out as I plugged the monitor in to my server.So question is, how do I get around this? How can I set up Ubuntu to get past this, or do I need to install Ubuntu Server?
View 3 Replies
View Related
Aug 14, 2010
I am having trouble to make my SSH server working with remote machine.
Code:
telnet 192.168.1.102 22
PHP Code:
[Code].....
View 9 Replies
View Related
Jun 24, 2010
I currently run Win 7 and want to upgrade my computer to a server to accomplish the following... I have a VPN Service. I want the server machine to connect to a VPN providing a secure connection. Then, I want all the machines in the house (windows based) to connect through the server onto the VPN connection. Hopefully this makes sense. Would it be better to stick to Windows Server 2008 or switch to Ubuntu?
View 5 Replies
View Related
Apr 19, 2011
I've spent days trying to setup access properly from a public address to a monitoring server that works fine locally. Everything works from public access until I try to link to a CVS repository. The rancid CVS repository is set up as a separate server (virtualhost). It appears the referring link causes a DNS error (105: Server Not Found) when the CVS repository server is accessed from the public address. Things work fine when accessing via localhost.
Localhost link:
[URL]
Public link: (this results in 105 error caused by redirection (bold portion of link))
[URL]
Code:
Virtualhost config:
LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
[code]....
View 2 Replies
View Related
May 31, 2010
Im having trouble setting my SAMBA server correctly. I have two Win machines, one with WIN7 and one with XP. I have one Ubuntu machine and Ubuntu Server 10.04. My problem is that I can only acess files from the Win 7 Machine. When I try to map out the shared dirs on my serverI get asked for user and password, when I enter my creditensials it dosent help.. What to do? I used the sample smb.conf file and open for no restrictions..
[Code]....
View 9 Replies
View Related
May 30, 2010
I have RHEL 4 U7 installed on 4 machines, with approximately same configuration. yesterday i was trying to set up public key authentication for ssh on them to be able to run some automated jobs but i had a problem with one particular machine: when used as an ssh client to access the other 3, it kept prompting for a password. the configuration worked on the other 3, they can be accessed from each other with no problem. they can also access machine 1 - the one that has the ssh client problem - too with public key authentication.
When i run ssh -vv on machine one i get the following output :
Code:
This is my machine 1's ssh_config file:
Code:
View 14 Replies
View Related
Dec 15, 2010
I have Ubuntu 10.10 installed for some time now and I don't boot my Win7 machine in weeks!I love how solid, robust it is... and also how good it looks.Love the features like Ubuntu One (use it a lot!) and the Software Center. I'm 95% converted and I would be 100% if it weren't for 2 issues:
1 - The machine won't shutdown. Rebooting works fine but shutdown it just hangs... Kinda sucks having to press the Power Off button every time...
2 - I'm on a laptop but it doesn't recognize my battery. All I get is a "electric ray" on the panel. Even if I remove AC power it still does the same... No charging information, nothing... I tried
Code:
sudo modprobe pmu_battery
on the terminal but is says that the module could not be found.
Everything else works terrific (better than Windows!) with this two exceptions...
View 9 Replies
View Related
Oct 19, 2009
I have the virtual machine manager in fedora 11.On Dell Inspiron 1545 (dual core, 2GB RAM)I can not run any linux distribution virtualized Using Qemu as engine.The virtualized system boots but after not working.Try distributions of 32 and 64 bit.
View 3 Replies
View Related
Sep 28, 2010
I have installed RHEL4 on my desktop machine . Done all the setting in /etc/pam.d and finally my rsh and rlogin works from my machine(rsh the same machine)
[root@linux tmp]# rsh 10.121.113.92
Last login: Tue Sep 28 18:00:22 from BLE
You have new mail.
[root@linux ~]#
[Code]....
View 7 Replies
View Related
Sep 5, 2010
I am using debian testing on my office pc, but i need to access it's desktop from time to time. So i need No machine/teamviewer software that can provide me with possibility to interact my desktop. The problem is, that i want to run shadowed session type, because teamviewer is not good for me. So, when i run no machine in shadowed mode, it crashes with message "The connection with remote server was shut down, please check your network settings and try again." The log is here:
[Code]....
View 1 Replies
View Related
Dec 13, 2008
I know this has been covered in many threads before, but I'm stuck not finding my exact situation or an answer. I'm a newbie using a Debian Linux machine as the client and Windows XP machine as the server. I have successfully mounted the XP Network drive on the Linux machine using commands from the root terminal:
mount -t smbfs -o username="Windows Username",password=windowspassword //XPcomputername/folder /mountpoint/
However when I put the command in the ect/fstab file as suggested in several posts, I don't get any result on boot up. I.e. I can't get the network drive to mount on start up, I always have to manually mount it from the root terminal.
View 7 Replies
View Related
Apr 9, 2010
I need to access a Windows Server 2000 machine using a Linux machine via KDE, but that will migrate to Gnome. The Linux user to connect to Windows machine, you should open an application 'XYZ' automatically, and only this, denying any unauthorized access. When you close the application 'XYZ' communications (RDP?) Should be terminated. Do I need a log of accesses and possible attempts to circumvent the system and access other application.
View 7 Replies
View Related
May 20, 2010
I'm running Ubuntu Server 10.04 and have a secure (SSL/TLS) FTP server on it. However, I'd like to use this FTP server to update programs I made using Microsoft Visual Studio. Unfortunately, in Microsoft's infinite wisdom, secure FTP servers cannot be used. Rather than use an insecure FTP server, I want to set up my secure FTP server to be able to access whatever I need to on the machine, and then add an insecure FTP server that only has access to the directory where I put my update files. I am currently using vsftpd as my FTP server. Is there any way that I can set up two FTP servers on this single machine?
View 6 Replies
View Related
Nov 7, 2010
I have done a fresh install of the OS and I am having wifi trouble. I am failing in connecting to an access point that Windows works fine with on the same machine. As far as I can tell it is connecting but not getting an IP address via DHCP. when running ifup it says its backgrounding getting an ip address.
View 9 Replies
View Related
Nov 3, 2010
I recently installed vsftpd on my server. I noticed that users on the machine can login into vsftpd with their username and password on the machine and go to their root dir "/home/username".Now, I want to give some people a vsftpd username and password so they can upload and download files and folders to their folder, but this folder has to be in the "/var/www/(username)" folder. I don't want them to be able to go to any other folder than their own folder like "/var", "/etc" or "/home" etc. Also I don't want them to be able to login on the machine as a user, through putty for example. They should only be allowed to acces their folder with vsftpd, nothing else.
View 1 Replies
View Related
Mar 1, 2011
I just installed Apache2 for the first time, on Mint 10 (Ubuntu 10.10) and put PHProxy in /var/www/x
The php page works fine if I access it via www.domain.com/x, and it works both with and without the www when I access it via https.
But if I go to just http://domain.com/x, then it tries to download the php file.
View 2 Replies
View Related
Jun 15, 2011
My ISP provided me with a static IP and I went and bought a domain name with godaddy.com. The issue I'm having now is that I am getting a 403 forbidden error (You don't have permission to access / on this server). The strange part is that when I ssh into my server, and try to go to my website, everything works fine
View 5 Replies
View Related
Sep 11, 2010
I've been using curl in a script of mine for a while on Ubuntu 9.10, without problems.
Ubuntu 9.10 got the following curl installed through apt-get:
ii curl 7.19.5-1ubuntu2 Get a file from an HTTP, HTTPS or FTP server
[code]....
View 1 Replies
View Related
May 14, 2011
I would like to accomplish: 1. Users to have access to their own Share on the server, no one exept the user shall be able to browse, read/write. (sould the user directories be in /home/<username> folder or shall one use another structure?
2. There shall be a public are where all users can browse, read and write. no guests, only users who have accounts!
3. A GroupShare. Users who are members of group Staff many browse, read/write.
4. Add some directorys for private use (to see how it works)
So would this be correct: Create the Directory Structure on the server:
Code:
# mkdir /usr/smbroot
# mkdir /usr/smbroot/users
# mkdir /usr/smbroot/public
# mkdir /usr/smbroot/groups/staff
# mkdir /usr/smbroot/private/fredrik_extended
or shall one use the default user shares /usr/<username>/?
[Code]...
View 1 Replies
View Related
Feb 9, 2010
I am having an issue with my server I have setup. I have apache running and can access the files via all other computers on my network via the ip address i have it set to default to the /var/www folder with index.html as the main file. I am however having issues trying to access it from my other IP the one i found at what is my ip. I have even setup a no-ip address to it. I've forwarded port 20 and port 80 i've even given it the default dmz. I disabled the firewall on my router and I checked and my Ubuntu machine doesn't have a firewall whatsoever i can access my outside ip on the local machine and have access the problem i'm having is trying to access it from anywhere but home. [URL]
View 9 Replies
View Related
Aug 20, 2010
when I try to view my root directory of my website.if I go to URL... on my computer, it always loads the "It Works!" page. I deleted the original index.html page, and even replaced it - but if I go to URL... it KEEPS coming up.If I specify the page I want to view, ie.URl... it loads the right file.Is there a setting in the conf file that Im missing?
View 3 Replies
View Related
Jan 10, 2011
I'm having an issue with a BIND server. After a restart, (or randomly, I assume whenever a cache expires,) when I try to resolve any domain I get a "Host yahoo.com not found: 2(SERVFAIL)" Eventually it starts working and works fine till the cache expires again;
[Code]...
View 1 Replies
View Related
Apr 2, 2011
I'm following how to instruction by [url] I cannot get sites working.
View 7 Replies
View Related
May 3, 2010
I am running a website using a Fedora 9/ Apache 2 platform. I have added two new disks to the same server and installed Fedora 12 (I don't have both sets of disks in at the same time either the old ones with F9 or the new ones with F12). Having copied 'all' of the settings over to the new F12 installation it only serves pages on localhost not on the external IP as the F9 version does.
I have now installed F9 (got rid of F12) onto the new disks and copied the settings from the old installation onto the new disks and the server once again serves up pages. The only hardware changes are the disks being popped in and out between restarts as I swap between the old and new installations.
Hopefully there is some obvious (to someone) difference between F12 and F9 that would account for this.I have messed with settings for a while now and am almost at the point of paying for RHEL to see if that does the job.
View 4 Replies
View Related
Jun 21, 2011
iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.
View 14 Replies
View Related