Questions tagged [ubuntu]
Ubuntu Linux is a Debian derivative that aims to bring Linux mainstream. Questions on this site should generally refer to Ubuntu Server. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.
16,577
questions
0
votes
2
answers
2k
views
Moving folder of files from CentOS server to Ubuntu Server
I have a production server and a development server.
Problem is the development server only has 20GB diskspace and about 8GB available.
The folder of files I'm trying to move is 6GB(ish). I've ...
0
votes
1
answer
149
views
Group of workstations refuse to SSH to one another, but can connect just fine in and out to others
I have a group of Ubuntu 14.04 workstations that are all clones deployed via image. After imaging, they are assigned a static IP and they also delete/regenerate their host keys. Each of them on their ...
0
votes
1
answer
561
views
How can I make unison stop writing itself to root root when sshing from server to server?
I am using this command:
sudo unison /opt/bitnami/apache2/htdocs/test/wp-content/uploads/ ssh://[email protected]:7775//opt/bitnami/apache2/htdocs/test/wp-content/uploads -owner -group
upon ...
0
votes
1
answer
8k
views
Setting up ubuntu to send mail from PHPMailer
I have a small server, inside the company where I work, which has an app that needs to send email to notify users for different reasons.
I'm using PHPMailer to do this. But as I suspected, I need to ...
0
votes
3
answers
3k
views
I don't have Sendmail but port 25 is still using by Sendmail
I am running this command:
telnet 87.106.xxx.xxx 25
And it says
Trying 87.106.xxx.xxx...
telnet: Unable to connect to remote host: Connection refused
But telnet localhost is running properly.
...
0
votes
1
answer
2k
views
Webmin slave DNS
I setup slave DNS server for my master, I configured everything, all domains was transfered to the slave server, I can add new domain, edit existing domain, but in the logs I've got problems.
There ...
0
votes
1
answer
1k
views
Apache TOP command time format?
When running top on an Apache server, what is the time format for the output?
For instance, is it minute:second.second?
https://i.stack.imgur.com/fMbcf.png
Edit:
I'm running on Ubuntu 14.04 and ...
0
votes
2
answers
248
views
a2ensite fudging supplied path
When trying to a2ensite my new virtual host, I'm receiving an error indicating that the virtual host config isn't there, when the path I specified does in fact exist. The a2ensite command seems to be ...
0
votes
1
answer
684
views
Why upgrade from 12.04 LTS to 14.04 LTS
We have been using 12.04 LTS already for a couple of years but we are considering to move to the next LTS version which is 14.04. It was released on April 2014 I so was wondering how people consider ...
0
votes
1
answer
625
views
Ubuntu server rename - can not resolve host
I renamed an Ubuntu 14.04 server (changed name in hostname) and now when I sudo I get a can not resolve host {nane} message. The command still works though. Do I need to change another file to bind ...
0
votes
1
answer
7k
views
Ubuntu server Cannot write to '' (No space left on device) [duplicate]
I'm running a Ubuntu server and this evening since rebooting it I am not getting the error message Cannot write to '' (No space left on device).
Earlier I did unzip a large directory in to /root ...
0
votes
1
answer
54
views
Different technologies for syncing with server
Well, I'm currently teaching DB in a course in University. Students had already gone through advanced programming (this includes torturing them through a whole semester with massive projects, they ...
0
votes
1
answer
113
views
How to restrict all services to single domain in Ubuntu?
Someone has pointed an unknown domain to my server's IP address likely via A records. I would like to reject access to ALL services (httpd, ssh, mail, etc.) from this domain and only allow requests ...
0
votes
1
answer
117
views
I cannot find the SQLite Instance on Haskell / Snap based server
I have inherited a Haskell based server (on Ubuntu) on which SQLite is being used for authentication through the Snap SQLite-Auth module.
After searching the server I am unable to locate the SQLite "...
0
votes
1
answer
509
views
S/W RAID6 and 4k sector format -- slow resync
I'm looking for reason why Linux software RAID-6 re-sync is much slower than I expected.
I have used 6 WDC WD40EFRX HDDs (with 4k physical sectors) to create RAID-6 array.
$ sudo mdadm -v -C /dev/...
0
votes
2
answers
4k
views
What does "STA" mean in "Broadcom STA driver"? [closed]
I've been wondering for some time now, what does STA stand for?
Context: Broadcom 802.11 Linux STA wireless driver
Example: http://www.broadcom.com/support/802.11/linux_sta.php
0
votes
1
answer
2k
views
Can't reach multi-homed Ubuntu from different subnet
I have a multi-homed Ubuntu 12.04 server. I have two network interfaces connected to two different IP ranges.
2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen ...
0
votes
1
answer
421
views
upstart - supervisord fork count > 2 (can;t get supervisord to start on boot)
i'm trying to use upstart so that supervisord starts automatically at boot.
my supervisord is in a virtual environment.
I've configured it to run in foreground mode with -n param and it works if ...
0
votes
1
answer
3k
views
oneric-security apt source is missing?
On apt-get on a 11.10 machine i'm getting:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/main/source/Sources 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch ...
0
votes
1
answer
126
views
Spam e-mail tracing
I have this issue where I receive on my server admin e-mail failure notices to a lot of e-mails that I or my hosted domains did not send.
The machine is an Ubuntu with Plesk 11. For e-mail I use ...
0
votes
1
answer
1k
views
I can't automount cifs filesystem
I have some problem with automount.
I'm using Ubuntu 12.04.
Here is /etc/auto.master file.
#+auto.master
/mnt/nfs /etc/auto.nfs --timeout=60 --ghost
/mnt/samba /etc/auto.sam --timeout=60 --ghost
...
0
votes
1
answer
2k
views
How to automate cleanup of config files from past pkgs as reported by "dpkg -l | grep ^rc"
There are a number of pkgs that weren't removed with "apt-get purge" and I would like to automate cleaning them up.
You can't apt-get purge apache2.2-common because the pkg is already removed.
You ...
0
votes
1
answer
865
views
Ubuntu - Create Script to Restart Multiple Tomcat Instances
I have 4 instances of Tomcat to serve a JSP application. Every now and then I have to restart them all (when I recompile a class, for instance). But every time I have to restart their services one by ...
0
votes
1
answer
40k
views
unable to configure cntlm on ubuntu for NTLM authentication
I am trying to setup cntlm on ubuntu13 for NTLM authentication. I used apt-get install to setup ctlm. My cntlm.conf file in the etc directory is copied below - the username/domain and password are ...
0
votes
2
answers
4k
views
Saving SSL password for SVN in Ubuntu
I have tried to set up my SVN that way, that it saves my passwords, but for some reason it won't work.
I am using a SSL certificate, for which I need to provide a password every time.
I have tried ...
0
votes
1
answer
2k
views
wants to use eth0 instead of em1 and pXpY
I am using Ubuntu server 13.10 and i am doing automated installation of Ubuntu server 13.10, After installation i wants to do network configuration automatically and for that i wants to put eth0 name ...
0
votes
2
answers
351
views
Is this dependency upgrade in Ubuntu safe?
I am wanting to install PHP5 on an internal production server running Ubuntu 12.04 LTS. When I try to use apt-get to install it lists a multitude of dependencies and recommends running apt-get -f ...
0
votes
1
answer
203
views
How can I speed up the opcode cache response time?
I've got a moderately powerful VPS (quad core Xeon, 3GB ram, ssd) running Ubuntu 12.10, PHP 5.5.8 and Opcode cache is enabled.
I'm using memcached, opcode cache and mod_pageSpeed.
I'm monitoring the ...
0
votes
1
answer
202
views
Restart Apache When Creating a new Site Config
How can I auto-start a site when the config file for it is created?
Ubuntu Server 13.10 Apache
0
votes
2
answers
898
views
Setting up mail delivery to Django on Ubuntu
I have a server running Python 2.7 and Django 1.6. I'd like to allow Django to send and receive emails with as little overhead as possible. I'd prefer not to even have a Mailbox set up for Django. ...
0
votes
2
answers
953
views
DirectoryIndex not being respected on AWS EC2 instance
Hey guys I'm having a really weird issue here with my AWS EC2 instance. I have set up my LAMP stack with PHP5.5 MariaDB and Apache2, I have created/enabled my conf file (below)
<VirtualHost *:80&...
0
votes
2
answers
651
views
How to tell which script is slowing down the server the most?
As it happens often to coders, I had to take over someone else's code for this company, the server runs on Amazon Cloud (i2.xlarge) running ubuntu-saucy-13.10-amd64-server. (the guy left)
The ...
0
votes
1
answer
168
views
no internet connection when in private network [closed]
I have an ubuntu server with a public IP, which I can reach with ssh from my local machine.
However, when i put this server in a private network, I can no longer reach it with ssh from my local ...
0
votes
1
answer
573
views
What is the best way to redundantly back up to external hdd so that one of the hdds can be unplugged daily to be taken off site?
The problem I've got is that I have a Ubuntu 13.10 instance, running ownCloud, and I want to keep redundant backups of the data directory from ownCloud on two external drives (1tb, USB3).
The plan is ...
0
votes
2
answers
6k
views
nginx does not seem to load memcached module for php
I have an Ubuntu machine with nginx and memcache running, and I'm trying to use PHP with Memcached. I'm getting Fatal error: Class 'Memcached' not found.
The ini file is loaded from /etc/php5/fpm/php....
0
votes
1
answer
414
views
smb.conf configured with SMBCLIENT?
I am getting the error NT_STATUS_BAD_NETWORK_NAME when I send the command echo "hello" | smbclient -M "hostname" from Ubuntu to Window. Dumb question, do I need to to configure smb.conf?
0
votes
2
answers
3k
views
chroot: can't resolve domain names [closed]
i can't resolve domain names in chrooted environment - in the normal shell it works fine.
i'm using plesk 11.5 and my chroot environment contains the following:
https://gist.github.com/xarem/...
0
votes
2
answers
1k
views
Can't run two separated sites under the same NGINX server
I'm trying to run two separated sites on the same server using nginx.
Depending of the configuration, nginx serves one site or another under both domain names. It won't run each site on it's own ...
0
votes
1
answer
2k
views
which is better, setfacl or chmod +a? [closed]
I have been working with Ubuntu for a year or so.
Just the other week I have started to learn the Symfony framework which works faster with the ACL.
In the installation and configuration of Symfony (...
0
votes
1
answer
1k
views
Canvas and Apache Permission denied
I'm setting up a test server for canvas-LMS. However when I try to access it after following all the steps in the production start guide to install all the requirements and do all the initial setup I ...
0
votes
1
answer
2k
views
Cannot install in mongodb in ubuntu 13.04
I follow the instruction provided by mongodb.
But seems package mongodb-10gen isn't existed.
vagrant@m1:~$ sudo apt-get install -y mongodb-10gen
Reading package lists... Done
Building dependency ...
0
votes
1
answer
70
views
Nginx server location configuration
I want the domains example.com/a/1234/asdf, example.com/a/7890/qwer ,..., example.com/a/* to serve a webpage from the same index file, /var/www/foo/bar/index.php
My nginx is configed like this:
...
0
votes
2
answers
7k
views
ERROR: JETTY_HOME not set
I have tried installing Jetty server on my Ubuntu 12.04 following this steps. But when I start my server I get the following error,
service jetty start
** ERROR: JETTY_HOME not set, you need to set ...
0
votes
1
answer
430
views
Why the system information message when accessing an Ubuntu server doesn't match free -m?
Each time I SSH into my AWS Ubuntu servers I see a system information message, showing load, memory usage and packages available to install, like this:
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-...
0
votes
1
answer
201
views
How to protect a virtualhost by Both IP OR password
I have managed to password protect a virtualhost by using this:
<Proxy *>
Order deny,allow
Deny from all
Allow from office-ip-1 office-ip-2
</...
0
votes
1
answer
583
views
Advice on setup to run Shiny Server (requires Linux) for R web apps when we have a Windows 2008 R2 Enterprise Server?
I am a rookie when it comes to servers, but I have nonetheless been the one asked to get Shiny up and running for web applications in the open-source statistics and computing environment R at my ...
0
votes
1
answer
685
views
LAMP stack everything seems to be working except sites are blank
I have a LAMP stack,
Ubuntu 12.04.3 LTS
PHP 5.3.10-1ubuntu3.8 with Suhosin-Patch (cli) (built: Sep 4 2013 20:05:42)
Apache/2.2.22 (Ubuntu)
MYSQL 5.5.32-0ubuntu0.12.04.1 (Ubuntu)
Codeigniter 2.1.0
...
0
votes
2
answers
278
views
eth0 lots of sudden interrupt
I as looking through munin-generated charts on an Ubuntu 12.10 server.
I noticed that starting about 2 weeks ago(this server got a cold-shutdown at that moment) it started generating lots of rtc0 ...
0
votes
1
answer
673
views
"Syntax error at 'input'" when restarting Varnish; something wrong with default.vcl
Here's the default.vcl, varnish configuration file, that I've built after lots of reading and referring:
backend default {
.host = "127.0.0.1";
.port = "8080";
}
acl purge {
"localhost";
}
# ...
0
votes
1
answer
117
views
Reach server linux inside network
I have installed a new Ubuntu server inside my network with ip 192.168.1.253.
I can reach by ssh to it but if I search it from a mac or pc I can't find the server.
With mac I have tried:
network-&...