Debian GNU/Linux its one of the oldest and more popular Linux distributions. The Debian project was started in 1993 by Ian Murdock (the name Debian is a junction of Debra + Ian, his girlfriend at the time). Debian strongest points are the portability, stability and commitment to the free software ...
0
votes
0answers
6 views
failt to run uwsgi command in rc.local
If I run the uwsgi command directly like: uwsgi --emperor vassals --daemonize emp.log, the website runs well.
Then I edit the /etc/rc.local.
#!/bin/sh -e
uwsgi --emperor /path/vassals --daemonize ...
0
votes
1answer
19 views
virtualbox on linux nat configuration
I am trying to set up Network Address Translation on Virtualbox. The host is Debian wheezy and so is the virtualized server.
On virtual server side, no configuration has been made;
On physical ...
-4
votes
2answers
45 views
How to backup File system
I used sudo rm -r /etc/apt and my apt folder in file system got deleted because of which i am not able even to use Internet in terminal also.can any body suggest me how to back up my apt folder in ...
-1
votes
0answers
21 views
mac time code of btime?
I have a file system which I thought was ext2 but there is btime metadata for the files. btime is supposed to mean birth time of the file. I also read that this btime was introduced in ext4. Does this ...
-1
votes
1answer
20 views
Change Hard Drive Mounted Location Debian
I just realized my hard drive is mounted to the wrong directory, how many I change the directory in which it is mounted?
Thanks!
2
votes
0answers
20 views
Nagios (Return code of 141 is out of bounds) on random services
We have had Nagios running on one of our servers with out any problems for a while but lately we get (Return code of 141 is out of bounds).
The load on the server raised because we gone online with ...
-4
votes
2answers
26 views
Unable to connect to Apache website hosted on VPS
I have set up a basic LAMP stack on a self managed VPS and now I would like to to preview the site by the IP assigned by our provider - before switching DNS over. Chrome reports the following error ...
1
vote
1answer
35 views
Dovecot+AD not work
I have Windows Server 2008 R2 as AD server and Debian Squeeze with Dovecot 1.2.15 as IMAP server.
When I try to login with telnet, Dovecot is freezing and do nothing.
# telnet localhost 143
Trying ...
0
votes
1answer
33 views
Install Facebook Perl Module Debian
I'm getting an error
Can't locate Facebook.pm
I'm wondering if anyone can tell me how to install the perl facebook module under debian.
Thanks
the full error is
Can't locate Facebook.pm in ...
-2
votes
0answers
28 views
Nodejs server for production
I want to use nodejs as a standalone production server (e.g not behind nginx), using expressjs, with websockets (nowjs) and mysql for the db. Pages are sent over https. Users will be able to login and ...
1
vote
1answer
34 views
How to install Debian packages from list
How do you install Debian/Ubuntu packages from a file containing a list of package names?
I have a file packages.txt like:
apache2 install
libapache2-mod-wsgi ...
2
votes
2answers
23 views
How can I serve from apache several projects and disallow that users project from reading other's project?
Let's explain that mess, I have some projects in one server under debian 6, each one located at their respective /home/USER with it's respective user. I want the users that login as "project1" not ...
0
votes
1answer
23 views
MySQL Should each Database be managed by a different user?
Should I have a different MySQL user for each database so that if someone gets access to a mysql user they cannot effect the others?
If so how would i go about doing this?
3
votes
1answer
26 views
What privileges does a MySQL User need for Wordpress?
I need to create a new MySQL user to manage my wordpress site. What privellages are needed for wordpress?
I assume INSERT is also needed and maybe DROP?
Example
GRANT SELECT ON database.* TO ...
2
votes
1answer
37 views
How should I setup email log notifications on Debian server
I've built lots of Debian servers. They hardly ever fail but when they do I've never had a good enough logging system. So I told myself this time would be different.
I've got Apache2 and MySQL happy ...
1
vote
1answer
7 views
Regarding Reinstalling PostgreSQL
I was using PostgreSQL 8.4. I tried removing it through Synaptic Manager and then I tried to install 9.1, but I still version 8.4. I deleted all the files associated with postgresql. Now I am unable ...
1
vote
2answers
33 views
MySQL stopped working on debian squeez
Suddenly and without any reason mysql stopped working.
netstat -tap
does not list the mysql process. I tried
/etc/init.d/mysql restart|start
But his produces an error message:
...
0
votes
1answer
25 views
How can I clone a Debian system? (ie. deploy via template)
I'm running ESXi 5.0 and have created a Debian Squeeze (6.0.5) "template" which is just an installation of Debian slightly customized (ie. VMware Tools installed).
If I clone the system (ie. deploy ...
-1
votes
0answers
66 views
Debian package performance on XFS, btrfs, ext3, ext4
I did 4 clean installations of debian 6 and measured time of installing some average virtual package. FS options are default.
time apt-get install build-essential
I got very strange results ...
4
votes
2answers
76 views
Linux router: ping doesn't route back
I have a Debian box which I'm trying to set up as a router and an Ubuntu box which I'm using as a client.
My problem is that when the Ubuntu client tries to ping a server on the Internet, the packets ...
0
votes
1answer
10 views
/var/cache/logwatch No such file or directory at /usr/sbin/logwatch line 633
Logwatch has been working perfectly until now. I read a tutorial that you shouldnt edit the config in the default place
/usr/share/logwatch
Instead you should move it to
/etc/logwatch
So i did ...
0
votes
0answers
21 views
What Server Monitoring Software works with csf/lfd/iptables?
Hi I am looking for web based monitor software that monitors Config Server Firewall and works on Debian.
Similar to how http://snorby.org/ works with snort?
Does anyone know if there is such a ...
0
votes
1answer
20 views
Can i Run php5-suhosin with suPHP?
I currently run suPHP and have just installed php5-suhosin. Can I run them both together and if so where do I configure suhosin? As usually it is in the php5 ini file but suphp doesnt use that i dont ...
1
vote
0answers
14 views
Config Server Firewall: Spamming my email | lfd on localhost: Suspicious process running under user www-data
I have just installed and configured CSF and I am getting 100s of spam emails containing this message.
lfd on localhost: Suspicious process running under user www-data
Time: Wed May 23 01:05:52 ...
2
votes
1answer
46 views
Debian server loses /var mounting point
We have a server running Debian squeeze and randomly (once a month, more or less) the /var partition loses it's mounting point, so /var becomes a folder on / partition and main services start to fail.
...
0
votes
0answers
25 views
Troubleshooting Bug: Soft Lockup [migrated]
We're having some trouble here with "soft lockup"s in our /var/log/syslog. The system seems to freeze for 10-70 seconds, then comes back. This is affecting web serving and other key processes. It ...
0
votes
1answer
36 views
Debian and Kernel Versions
Debian is running 2.6.32-5. Recent kernels seem to have addressed some kernel soft lockup issues, I'd like to try them. Although... the patches don't seem to be in the Debian-stable repository.
# ...
0
votes
0answers
11 views
Virtualmin locks itself with “This webpage is not available”
I have a weird problem with Virtualmin basically locking itself every now and then, returning "This webpage is not available". Once I reboot my server it starts working after a minute or so. What ...
0
votes
1answer
37 views
Pros vs Cons of Rate Limiting ICMP
I am configuring Config Server Firewall and here is the default config for ICMP.
I have read on the internet that disabling or limiting ICMP can cause huge headaches on your server. However I have ...
0
votes
1answer
39 views
apt-get update Error
I get the following error when typing:
# apt-get update
W: Failed to fetch http://etc.inittab.org/~agi/debian/libapache-mod-security2/etch/Packages 404 Not Found [IP: 80.28.139.208 80]
E: Some ...
0
votes
1answer
87 views
Config Server Firewall: You need to install the missing perl modules and then install cxs
I am trying to install config server firewall however when i follow the tutorial and run install.sh i get the following error. Can anyone help?
root@localhost:~/csf# sh install.sh
Configuring for OS
...
2
votes
1answer
27 views
Modify foreign files by a debian package
I am creating a debian package. This will have to alter /etc/inittab to switch tty1 from /sbin/getty to /sbin/rungetty.
Of course I can alter the line with an sed in the postinst. Is this the best ...
-2
votes
2answers
68 views
Running DNS for multiple domains on a debian server
I'm pretty new to this! I'm trying to redirect my url to my server, so all I did was this :
http://www.debian-administration.org/articles/412
which consisted of adding a ...
0
votes
1answer
53 views
Issues installing apache debian
I'm having issues installing apache2, and pretty much everything in general, I'm using debian.
I run sudo apt-get install apache2 and then it returns
root@debian:~# apt-get install apache2
Reading ...
0
votes
1answer
39 views
System time problems on Debian (wait for clock tick timed out)
I just installed a new server and changed the time zone by using the command:
dpkg-reconfigure tzdata
the system clock is correct now but /sbin/hwclock --systohc doesn't work:
select() to /dev/rtc ...
0
votes
1answer
40 views
Node.js installation on Debian 6
I used to use this method for node.js installation on Debian, since it was easy and everything worked fine. Even with multiple users.
Since version 0.6.18~dfsg1-1 of the sid package, installation ...
0
votes
1answer
40 views
Upgrade to Squeeze on KVM VM causes clock problems
So I have this VM (I don't have access to the host system) running Debian Lenny, with the following kernel: 2.6.32-bpo.5-686 #1 SMP
This morning I upgraded the VM to Squeeze (finally), and as the ...
0
votes
0answers
36 views
Debian L2TPNS VPN - iPhone won't connect
I've setup an L2TPNS VPN server on my Debian 6 box following this article:
http://wiki.debian.org/HowTo/iPhoneVPNServer
I've forwarded UDP ports 500 and 4500 on my router as per the article and put ...
1
vote
4answers
56 views
Upgrading my debian server to Wheezy just to install mono
I'm looking to use mod-mono-server4 so that I can run .NET 4.0 apps on mono.
I'm currently running a debian server with squeeze with this mono version:
$ mono --version
Mono JIT compiler version ...
5
votes
1answer
207 views
HP DL380 G7 + Smart Array P410i + sysbench -> poor raid 10 performance (resolved!)
I have running system with low IO utilization:
HP DL380G7 ( 24gb RAM )
Smart Array p410i with 512mb battary backed write cache
6x SAS 10k rpm 146gb drives in RAID10
Debian Squeze linux, ext4 + LVM, ...
0
votes
1answer
28 views
Create statistics about https usage in apache
I've setup https on my server. Nothing big, just to provide encryption. I was wondering how many users really use it. Is there a way to watch how many requests are over https and how many are not? The ...
2
votes
1answer
59 views
DHCP: One NIC and multiple subnets
I'm setting up a Debian to work as a gateway for a small office network. I need to have three subnetworks for different areas within the company and I will define which PCs will get what IP based on ...
0
votes
3answers
68 views
JDK Not installing in Debian.
I am using these commands to install JDK/JVM in Debian server -
apt-get install openjdk-jdk
apt-get install sun-java6-jdk
But getting lots of error -
404 Not Found [IP: 149.20.20.6 80]
404 Not ...
1
vote
1answer
47 views
Why are some web clients requesting a page named “cache”?
We see errors like this in the apache error log:
[Thu May 17 14:32:35 2012] [error] [client 192.168.1.1] File does not exist:
/home/www-data/mywebsite.com/r/cache, referer: ...
1
vote
1answer
35 views
Which permission is needed to open a TCP server socket on Linux?
I want to start a websocket server, but can't connect to it from other machines. Only when I start the websocket server with root permissions it works. So this seems to be an permission Problem.
...
0
votes
1answer
29 views
How do I pipe commands together in a debian preseed file?
I would like to know if it is possible to pipe commands together in a preseed file.
Something Like:
d-i preseed/late_command string yes N | apt-get install package -y
(I realize this is a ...
0
votes
3answers
54 views
My node.js http server appears to be blocked by iptables
EDIT: Solved... There was a hardware firewall in the way!
I installed node.js on a remote Debian GNU/Linux 6.0.4 (squeeze) server and ran this http server on port 8866.
var http = require('http');
...
0
votes
1answer
53 views
Static virtual IP in debian 6.0.4
In debian 6.0.4 my static ip is 192.168.1.151 and I want to add one more ip 192.168.1.175 as virtual ip. For did I made following changes in /etc/networking/interfaces
# This file describes the ...
0
votes
0answers
67 views
Ubuntu/Debian Grub2 show stopper [closed]
I am trying to setup my own home server - headless. It is a Fit-PC2 machine (full tech specs here: http://www.fit-pc.com/web/fit-pc/fit-pc2-specifications/ ) with 160GB HDD so it has limited BIOS ...
1
vote
2answers
97 views
server running out of memory
the server is running out of memory and get to the point where it starts killing the process, the total PSS memory(actual memory used from the Resident memory) consumed by top using applications is ...