Ubuntu Servers :: Xforward Not Working?

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


ADVERTISEMENT

Ubuntu Servers :: Website Not Working \ Default Site Is Working?

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

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 View Related

Ubuntu Servers :: .htaccess Working, Rewrite Not Working Properly?

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

Ubuntu Servers :: Samba 3.0.28a - ACL Working 3.5.2 ACL Not Working?

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

Ubuntu Servers :: Chmod -R Not Working At All?

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

Ubuntu Servers :: Apt-get Update Not Working?

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

Ubuntu Servers :: Build Is Not Working

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

Ubuntu Servers :: Url Rewriting Not Working?

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

Ubuntu Servers :: EC2 10.04 EBS AMI & Webmin No Working

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

Ubuntu Servers :: Iptables Not Working In Xen VPS?

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

Ubuntu Servers :: How To Get Firewall Working

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

Ubuntu Servers :: DNS Not Working On Client?

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

Ubuntu Servers :: Chmod G+s Not Working?

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

Ubuntu Servers :: Cron Isn't Working

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

Ubuntu Servers :: X11 Forwarding Not Working In 9.10 Server

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

Ubuntu Servers :: Everyting Is Working Except No Map Is Displayed?

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

Ubuntu Servers :: Apache Only Working With Port 80?

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

Ubuntu Servers :: Php Stopped Working After Update

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

Ubuntu Servers :: Libvirt & Kvm Is Not Working After Upgrade To 9.04

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

Ubuntu Servers :: Postfix SMTP Not Working

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

Ubuntu Servers :: 9.10 SSH Without Password (id_rsa) Not Working?

Apr 28, 2010

I also have the same problem. but on 9.10. have you solve the problem? It will be wonderful if you can give some hint.

Quote:
Originally Posted by pc-cito

I'm under Ubuntu server 8.04 and Open-ssh 4.7p1 I need to connect via ssh two servers: S1 to S2

Now what i do:

S1: ssh-keygen -t rsa
S2: mkdir .ssh
S1: cat .ssh/id_rsa.pub | ssh user@S2 'cat >> .ssh/authorized_keys'
S2: chmod 644 .ssh/authorized_keys

[Code]....

View 3 Replies View Related

Ubuntu Servers :: Get NFS Working On Local Network?

Apr 30, 2010

I've followed several guides and am trying to get NFS working on my local network. For starters, I think I should be able to NFS mount a drive on the server (192.168.1.65) TO the server. From there I'll work with another client (currently 192.168.1.80)

Code:
$cat /etc/exports
/media 192.168.1.0/24(rw,no_subtree_check)
$cat /etc/hosts.deny
portmap mountd nfsd statd lockd rquotad : ALL

[Code]...

The guides I've read seem simple, so I must be missing something easy. Can't figure it out, so I'm looking for help after googling for 2 hours.

View 9 Replies View Related

Ubuntu Servers :: ClamAV Not Working After 10.04 Upgrade?

May 7, 2010

Code:
* Starting ClamAV daemon clamd
WARNING: Ignoring deprecated option MailFollowURLs at line 33
ERROR: Can't initialize the internal logger
ERROR: Can't open /var/log/clamav/clamav.log in append mode (check permissions!).
...fail!

[Code]...

View 5 Replies View Related

Ubuntu Servers :: Network Card Not Working?

May 10, 2010

so i just downloaded Ubuntu Server 10.04 and i'm very happy with it on my virtual machine... but when i try to install it on my actual server it fails.

When i went to install it, it told me that there was no network hardware detected or something like that. So i just thought i could install a driver for it later.

So other than that all went well. and im very happy but now i dont know how to install my network driver. The card is a LYNKSYS LNE100TX. i downloaded the driver software and burnt it to disk because i was out of floppys. (I like floppys better) and when i went to install the software it allmost worked but it said:

Code:
make: gcc command not found

I'm assuming that means i need to install gcc but didn't really know how to go about it having no internet.

View 6 Replies View Related

Ubuntu Servers :: Collectd-exec Not Working?

May 11, 2010

using 10.04 and i can't get this to work any ideas?relevent bits from collectd.conf

Code:
LoadPlugin exec
<Plugin exec>

[code]....

View 2 Replies View Related

Ubuntu Servers :: Dnsmasq DHCP Nor DNS Working?

Jun 11, 2010

I have been rtying for a couple of days now to set up a local dns/dhcp server with dnsmasq on a ubunut server 10.04 I followed the basic instructions from several websites, starting with the ubuntu community one, didnt work, then tried some other, and nothing.

In the server the dns works, i test with dig example.com and i can see the time difference, so dns is working. so the problem is not making the dns work but to make the server listen for dns and dhcp resquests and respond to them.

I have desactivated the dhcp from the router so thats not the problem. making a windows box ping the server works, so the network is configured correctly.

dnsmaq is listed as "LISTEN" on netstat, i read in some blog that it should be using ports 67 and 68 but those are no listed, neither i configured them in any moments, none of the instructions i followed mentioned sth about that. i even tried configuring the window box with the ips and dns accordingly and that wouldnt work either.

so in conclusin i have dnsmasq that does have dns set up but wont answer to any requests of either DNS nor DHCP.

View 1 Replies View Related

Ubuntu Servers :: PHP Not Working In *.html In LAMP

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

Ubuntu Servers :: Sudo And Ssh Not Working After Upgrade?

Jul 27, 2010

I have a server that started out at 8.04 LTS was upgraded to 8.10 and to 9.04. When I upgraded to 9.04 sudo and ssh stopped working.

Fortunately I have a root account and can login as root or su to root.

I suspect this is the result of changes I made to nsswitch.conf and pam.conf to get winbind working.

I was hoping for a fix by upgrading to 9.10, but that didn't work. I want to upgrade to 10.04 LTS, and stay there but I think need to resolve this first.

auth.log reports failed password for ssh attempts and authentication failed for sudo. I am at a loss to determine where the problem is and how to track it down.

View 3 Replies View Related

Ubuntu Servers :: Cant Get Server Nic Cards Working?

Aug 5, 2010

i had just went out and got some older blade servers and put ubuntu server on it and when i was installing it it asked if i wanted to set an ip because it didnt get a dhcp responce i said no then because i was going to do it later when i do a ifconfig now all i get is a lo interface but if i do sudo lspci i get 2 ethernet controllers and they show as follows 2:03.0 Ethernet controller: Broadcom corporation NetXtreme BCM5702X Gigabit Ethernet (rev 02) 2:04.0 Ethernet controller: Broadcom Corporation NetXtreme Bcm57j02x Gigabit Ethernet (rev 02)

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved