Questions tagged [debian]
Debian is a popular and influential GNU/Linux distribution. Questions here should generally be about Debian Server.
7,654
questions
0
votes
3
answers
934
views
apt-get install and upgrade fails on debian
I've got a strange error preventing me from installing anything on my Debian box.
When I run apt-get upgrade (or apt-get install) it produces this error message:
# apt-get upgrade
E: dpkg was ...
0
votes
2
answers
638
views
Login screen in debian 5.0.3
I'm a very fresh Linux user. It's my first step and I finished Debian 5.0.3 installation and I can't login. I type the username and password but nothing! Just the prompt changes to "debian@user$". I ...
0
votes
6
answers
11k
views
Network routing issues on Linux
I was hoping someone out there would be able to look at this and let me know what I have missed. I have 4 machines and for some reason, only 1 of them can talk to the other 3 via their private IP ...
0
votes
5
answers
2k
views
Debian 5 Install Login Password
I just installed Debian 5 however the install didn't ask me for a root password.
At any rate I can't log in because I don't know the root password.
Is there any way to regain access or do I have to ...
0
votes
3
answers
1k
views
Performance improvement for Innodb - High CPU
I have a dotnet application that has a high-traffic connection to the MySQL database. It's an application that stores IoT data. It connects to the database approximately 50 times per second. In these ...
0
votes
2
answers
1k
views
Linux: Mounting a partition on a new physical drive to a directory - where does the data reside (physically)?
If I have a machine with a single physical disk and I partition and add a new disk to a directory (e.g. /usr/data) long after the OS has been installed and running, where do those files exist ...
0
votes
3
answers
1k
views
Mediawiki cannot acces database after Debian upgrade
I upgraded a Debian 9 "Stretch" server to Debian 10 "Buster", which also upgrades Mediawiki to version 1.31.
Trying to run update.php, it fails with "Cannot access the ...
0
votes
3
answers
1k
views
why do you need to update a whole operating system to get updated php version? (debian) [closed]
I am mostly a windows guy. I have a debian 9 VM with OMV and wanted to update the php version.
I read and realised that you need to update the whole os to get the latest php version?
Why do you need ...
0
votes
3
answers
4k
views
Can't upgrade certbot because of libc6 version
I am trying to update Certbot from 0.10.2 to some version with support to ACME 2 in Debian 9.1 with Python 2.7.9.
apt-cache policy certbot
certbot:
Installed: 0.10.2-1
Candidate: 0.28.0-1~deb9u2
...
0
votes
3
answers
182
views
Upgrade outdated linux production servers without shutting down
I came into some work with a client who wants to setup a monitoring infrastructure. The issue I have come across is a lot of servers are using really old kernel versions(from around 2012-2013) the ...
0
votes
1
answer
89
views
Is there any reason apt-get upgrade would install new packages?
I recently ran apt-get update on a server, and the output suggested it was installing a bunch of new packages. What could be the reason for this? Should I be worried?
Reading package lists...
...
0
votes
1
answer
3k
views
How to get ps output with headers [duplicate]
The question is basic, How to get output of ps with headers in Linux.
Linux details:
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
I can get ...
0
votes
1
answer
123
views
Why does apt-get install duply (on debian 7.8) not update to the latest verison?
Hi there I'm a bit confused about updating on my debian server. I'm using duplicity + duply on my server and wanted to update duply to the latest version. Running:
sudo apt-get install duply
...
0
votes
1
answer
629
views
Shared /home with NFS: chown /home/userdir to a user that doesn't exist on the server
Let's say I have a NFS /home on my server that gets mounted on boot by clients (EDIT: on their own machines -- locally), in order to have a common /home for my clients, this way they automatically ...
0
votes
1
answer
381
views
apt-get source: Unknown command "source"
Following this tutorial, I'm stuck a this line:
$ apt-get source lighttpd
Unknown command "source"
aptitude 0.6.8.2
Why does my apt-get/aptitude does not support this command?
I don't know if this ...
0
votes
2
answers
2k
views
Duplicate partition table in (Debian) Linux
A disk failed in a software RAID array and I'm trying to replace it. I've done this before without a hitch but this time I'm getting an error when trying to duplicate the partition table.
I'm using ...
0
votes
1
answer
74
views
Debian Server System time and time used by processes are different
I have a dedicated server running debian 7, the system time shows
"Wed Aug 7 04:28:26 EAT 2013"
I have restarted the server several times but processes like deluge and apache return http headers ...
0
votes
3
answers
176
views
Debian server is killing my network
I have a Debian 6.0 server and everything was running fine with it. This server is my environnement so I can develop web application.
Since yesterday, the server is doing something to the network and ...
0
votes
1
answer
2k
views
When running `export $PATH` on linux, where does this info actuall store?
Let's say I run this straight from a bash command line, where is this information actually being stored?
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
0
votes
1
answer
2k
views
configure secondary dns server debian
I have two VPS. I would like to use second one as a secondary dns server.
both VPS are Debian 6. how I could do that?
is it enough that I install bind9 and copy zone files from first VPS to second VPS?...
0
votes
2
answers
2k
views
server host name and server ip address redirect (Debian, Apache)
I have the following folder structure on my Apache
.../var/www/www.x.tt/htdocs
.../var/www/www.y.tt/htdocs
I have defined a virtual host for each.
So if I type in www.x.tt in my browser I get to the ...
0
votes
3
answers
315
views
How to test and actually perform a transfer of an internet domain to a new server regarding mail?
My setup is a productive server (e.g. 1.1.1.1) hosting a domain, lets say example.com. Currently, postfix and courier (only IMAP) are doing the job of hosting mail. I am planning to transfer the ...
0
votes
1
answer
913
views
Debain cron help accessing a URL
The documentation says that I need to:
If your hosting account is on LINUX/UNIX system you can setup a CRON
job to point to this URL
http://yourUrlToThisScript.com/cron.php?cron=do&d=31
...
0
votes
1
answer
68
views
Command to show .php files ordererd by date last change or creation
I need to show all .php files created or modified within 1 day (or last tot entries)
Is there a command for this?
0
votes
1
answer
1k
views
Debian: sftp-server still running after removing vsftpd?
After i removed vsftpd from my new vserver with debian5, there is still some process called sftp-server running and managing ftp-connection.
How can i turn that off? Where does it came from?
...
0
votes
1
answer
75
views
Load all printers drivers on a custom Debian CD
I am building a custom Debian CD to install a Debian web server with our software, and it have to handle a printer, which can be any existing printer. How can I add all printers drivers, and how CUPS ...
0
votes
2
answers
1k
views
change htaccess password daily
I want to protect a sub domain where the user is only given access for 1 day. Is it possible to set up a cron job that will automatically update a .htpasswd file with a new password daily?
0
votes
2
answers
336
views
Apache2: not defined domains directing to the same virtual host
I have Apache2 configured in a debian box with virtual hosts. I have several domains pointing to the box's IP address. The domains whose virtual hosts are configured works perfectly. But if I type in ...
0
votes
5
answers
5k
views
proliant dl360 G7 + debian squeeze
has anyone installed debian squeeze on an HP proliant dl360 G7 ?
my concerns are about hardware raid, does it works?
on http://wiki.debian.org/HP/ProLiant i see that DL360 G6
is not working.
thank ...
0
votes
3
answers
2k
views
How can I log all traffic with its exact length?
I want to process all packets with their size going through our gateway server (running Debian 4.0).
My idea is to use tcpdump, but I have two questions.
The command I'm currently thinking of is ...
0
votes
3
answers
247
views
Server should shutdown when network connectivity goes down
I tried putting script like this:
#!/bin/sh
date >> /home/date
halt
It works when the network cable removed manually and i have inserted the script in /etc/network/if-down.d. It is not working ...
0
votes
2
answers
199
views
Can I trust that every Debian-derived distro will have a 'base-files' package that contains '/etc/debian_version'?
What I want is a quick, reliable command to ascertain that the Linux I'm running in is Debian-based. The following command seems to work. It also returns the Debian version:
dpkg -L base-files 2>/...
0
votes
4
answers
7k
views
Error while installing Samba on Debian
When doing apt-get install samba smbfs I get the following error. How do I go about troubleshooting and fixing this?
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg ...
0
votes
3
answers
158
views
Can I rely on `curl` being installed on Debian/Ubuntu? How could I find out?
Is curl installed by default on Debian & Ubuntu (in 2024)? How could I answer this question myself?
I am writing the install instructions for software, part of which requires running a script that ...
0
votes
1
answer
1k
views
Setup A Program to Run At Startup As A Specified User On Linux
I have a server running Debian 12 that does not have root access enabled as recommended by many. I do have an another user admin privileged account on the server.
I have a program that does not come ...
0
votes
1
answer
7k
views
For SSH access only, do I leave `#PubkeyAuthentication yes` commented out in sshd_config, or uncomment it?
Just setting up a new Debian 10 server having uploaded my public SSH keys, not restarted sshd yet.
I can now log in without password, so now doing all the usual recommended edits in /etc/ssh/...
0
votes
2
answers
420
views
Where are the official sources for libzbar?
zbar is a project that provides a barcode/qr-code scanning library and command line programs. libzbar0 is provided in version 0.22 on Debian buster (our Docker images) and in version 0.23 on Ubuntu 20....
0
votes
2
answers
117
views
Can not connect to VM
Linux noob here.
I have a VM on Google Cloud. Have Debian on it.
I used to connect to it through Google Cloud's ssh client.
In file /etc/ssh/sshd_config i changed the value:
PermitRootLogin ...
0
votes
1
answer
4k
views
POSTFIX Won't Start says: bind 0.0.0.0 port 25: Address already in use
Sorry, I've read tons of related topics but didn't get solutions for my issue.
Suddenly this morning, POSTFIX did not respond. I didn't do anything special in my server.
POSTFIX status says :
...
0
votes
1
answer
600
views
Changed from DHCP to static but cannot resolve name [closed]
I just installed a Debian 9.6 amd64 on a VirtualBox with NAT. I had to change the network settings from DHCP to static and with a netmask of /30 because it is in my assignment. So I followed a few ...
0
votes
1
answer
2k
views
Apache crash every day
My I have a clean Debian server with apache only, I have 1 basic site with no special options. Everything is working fine but everyday at the same hour, Apache will crash and won't start, I have to ...
0
votes
1
answer
852
views
EC2 is down, cant access it over http or ssh
It happened to me several times before, and each time I restarted the server and it replaced the ip and worked.
But why does that happen?
looked at the monitoring tab and cpu and memory were low so ...
0
votes
1
answer
8k
views
Hyper-V Integration for Debian 8
As per https://oitibs.com/install-hyper-v-lis-on-debian-8/ i need to edit nano /etc/initramfs-tools/modules however i noticed that even without this, nor installing apt-get install hyperv-daemons, out ...
0
votes
1
answer
146
views
exim4 - email clients unable to retrieve emails
I have configured exim4 on my Debian system and I am able to send emails from the server as a user and receive emails to this user. I am also able to connect mail client such as thunderbird/bluemail ...
0
votes
1
answer
2k
views
Problems with reverse DNS to unknown hostname
I test it in pingdom on dns health.
Pingdom gives me this error message;
Reverse for 192.0.2.4 points to an unknown host name (192-0-2-4.rev.example.invalid).
The PTR record for the address points to ...
0
votes
1
answer
2k
views
Login problems after changing default port ssh
I changed the Port in sshd_config file and restart the service (Using Linux Debian 8).
Logged out from SSH (Putty) and I tried to login later but I can't connect through Putty anymore.. I tried to ...
0
votes
2
answers
4k
views
Postifx - Dovecot unable to send emails "status=bounced (user unknown)"
My email server was working fine on (Debian Jessie 8.5). My setup uses Postfix 2.11.3, Dovecot 2.2.13, and using Virtual users and Mailboxes (Maildir style). It worked great, until I wanted to ...
0
votes
1
answer
1k
views
systemd does not notice apache starts
My debian-system has been infected with the systemd-virus...
When I issue the "service apache2 start" command to start apache, it thinks it failed, but apache is running just fine.
So "service ...
0
votes
1
answer
6k
views
How come I can't see apache's environment variables in my shell?
I'm running apache on my Debian 8 laptop. I haven't made any config changes so everything is at the default.
apache2.conf uses environment variable defined in /etc/apache2/envvars, but when I open a ...
0
votes
1
answer
1k
views
Cronjob change email subject and sender name
I have a cronjob setup using crontab that looks like this...
[email protected]
00 02 * * * /home/myaccount/myscript.sh
This works great and at 2AM it runs the script and emails me the ...