I wanted to get SystemTap running on my lenny. I use the "debian 2.6.32-bpo.5-686" Kernel. Actually my lenny doesnot support my hardware by default so I have compiled kernel modules myself to get them working. Also I have no backup so cannot really mess up with the system
i do have a strange problem get running php5 on lenny 64 inside apache2. i had installed it as all instructions on the web does: # apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi
apt has enabled php automatically, so /etc/apache2/mods-enabled/php5.conf does have inside: <ifmodule mod_php5.c> AddType application/x-httpd-php .php .phtml .php3 AddType application/x-httpd-php-source .phps </ifmodule>
I recently installed debian testing, amd64, on my box and I am running the xfce desktop. When I login, I always get a bubble popup telling me that virtualbox is not running. Is it something I should be worried about? I use only Linux on my machine.
I'm configuring a server for Zenoss monitoring over SNMP, but the SNMP process is running on 127.0.0.1:161 instead of 0.0.0.0:161, according to "netstat -an | grep -i udp".
Not sure why this is happening, but Zenoss reports that SNMP is not running due to this. My snmpd.conf file is the same as all of the other servers that are running SNMP, but this is the first Debian server I've tried to add (the other's are CentOS).
I am running a dual-boot of LMDE and Debian Squeeze XFCE, and I actually have a Debian XFCE question. How can I tell what is running in the background. I have been tweaking my Debian install since I first installed it about 3 weeks ago, and I keep adding to the RAM usage. What is the best way to see what else is running out there and whether or not is it necessary?
I have since a couple of days a vps. I discovered that there's is no nameserver is running.
# host google.com Nameserver not running google.com A record not found, try again
Also there's no resolv.config in /etc/. I re-installed the OS several times without any changes. I ask my host about this but he has not answered my questions.
Nothing serious (I think), but everytime I run apt-get to remove programs and doing upgrades... I get a strange message.
This is the output of apt-get upgrade: Inspiron1525:/home/hernan# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: iamerican ibritish 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 17 not fully installed or removed. After this operation, 4030kB disk space will be freed .....
And this is the output I get when removing a program (I removed amor so I can show the output): Inspiron1525:/home/hernan# apt-get remove amor Reading package lists... Done Building dependency tree Reading state information... Done
The following packages will be REMOVED: amor iamerican ibritish 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 17 not fully installed or removed. After this operation, 6185kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 89741 files and directories currently installed.) Removing iamerican ... /var/lib/dpkg/info/iamerican.postrm: line 6: /usr/sbin/remove-default-ispell: No such file or directory dpkg: error processing iamerican (--remove): subprocess post-removal script returned error exit status 1 ..... E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm running testing and over the last week or two my system is getting slow. Any disk access slows everything to a crawl. Even the cli can take several seconds to display characters as I type them.
What would be necessary to run an ftp server (or a web server) on my local PC so that other people I know could access it and download stuff from it? The idea is to share photos, videos etc with friends/family where the files are a bit too big for email. (All 100% legal, own-content, no copyright issues, needless to say). Security isn't that vital, I'd just put files in the ftp directory, email the link and let them download the files, then remove them again. No passwords are required, and no uploads.
Obviously there's the problem that both computers have to be on at the same time, and I assume I'd have to change my computer's firewall settings and my router's settings to allow the traffic through, but my question is more basic than that - is it even possible? My internet connection is through a router, and as I understand it, my router has the IP address, not my computer. So I can connect through my router using my computer's IP address, but only my router knows my computer's IP address, and all the rest of the internet just sees my router and its IP address. Which means (I think) that I can't just send my IP address for my family to connect to, because that only gets them as far as my router, and the router would have no idea what to do with such requests. Am I right so far?
So is there any way for my family's computers to contact an FTP server or a web server running on my computer? Or does it require some kind of intermediary server to act as a traffic-forwarder? Is there such a thing? I'm assuming that setting up little private torrents would be fiddly and inefficient. Or would it be better/simpler to use one of the free filesharing services and put up with the (sometimes not too family-friendly) adverts associated with them?
I have a firewall script setup to run in rc2.d. There is a K99 for it and then an S99. The problem however, is that it isn't being called. No errors, no logs, nothing. The symlinks in /etc/rc2.d point to /etc/init.d/script, but nothing ever happens on boot or shutdown. I can manually do /etc/init.d/script start and it will start just fine, including printing a line that it is starting. What's going on here? The permissions are the same as the other scripts in the init directory, so I doubt that is a problem.
I have a XEN DomU VM running Lenny and set up using debootstrap. I also have the TimeWentBackwards issue sorted using: [URL]. The problem is that my cron jobs just don't run. I've set up a cron job that simply echoes a date string to a file as a tester but it's not running. I've tried it under the root crontab, in /etc/crontab and set up in /etc/cron.daily. Is there something I'm missing?
Just fooling around with a live image, thinking about dumping Ubuntu for a straight Debian install and I can't get wireless running on it. Is this a "known issue?"
I have a script that needs to start executing on startup. Because I originally wrote it for MacOSX I never cared to learn how to daemonize it (thanks launchd!). Are there any relatively easy ways to run it on startup on debian to?
I installed jessie 8.1 and wmii ( Version: 3.10~20120413+hg2813-8) and I use a basic wmiirc.
Code: Select all:~/.wmii-3.10$ ls -la wmiirc -rwxr-xr-x 1 root root 8033 août  1 17:28 wmiirc
If I want to run wmii the system says:Code: Select all:~$ wmii
wmii: fatal: another window manager is already running
Some information :
Code: Select all~$ update-alternatives --config x-window-manager Il existe 3 choix pour l'alternative x-window-manager (qui fournit /usr/bin/x-window-manager).
is there a common reason why modules get mismatched with the running kernel version?why do I always get that uneasy feeling like I'm headed in the wrong direction?
I've got a Shorewall (Shoreline?) firewall up and running, but it's logging to /var/log/messages. I'd much rather have it logging to another location e.g. /var/log/firewall but can't find (a clear enough) explanation on how to do this. Apparently, it varies greatly depending on the distro, the kernel, and the version of Shorewall that is running. You'd think it would be something as simple as setting a path in a config file, but apparently not. I'm running a stock Lenny kernel on the firewall machine. It comes with version 4.0.15 of Shorewall.
I am trying to get this example systemtap script running, but does'nt compile.I've made modifications etc but can't figure out what's wrong with the syntax.I know that systemtap is functioning as I can run a few other scripts, such as
Code: stap -e 'probe kernel.function("sys_open") {log("hello world") exit()}' My kernel is 2.6.38-8-generic #42-Ubuntu SMP and I have the debuginfo kernel installed.
running Debian Squeeze (standard 32bit squeeze Kernels linux-image-2.6.32-5-486 and linux-image-2.6.32-5-686) happily without trouble on a 64bit capable Samsung laptop featuring an Intel T3200 Dualcore processor. However, when I try to boot using the squeeze 64bit kernel (linux-image-2.6.32-5-amd64) the system proceeds through a few text lines immediately after Grub, and then performs a warm start.
The text output I get immediately after Grub look similar to the ones I get booting the 486 and 686 kernels, without any indication for the reboot behavior. The rebooting also seems to happen before any entry is written into the boot/system log files (logging is enabled). This behavior also occured when I first tried to prime the machine from the Debian squeeze install CD using the amd64 kernel. I'm generally happy with the 32bit kernels, but I'd like to use the amd64 support to do some Java compatibility testing for 64bit architectures.
The Laptop is a Samsung R510-Aura T3200 Delfina with the following Hardware and Setup (using Grub as boot loader):
- Intel Pentium Dual CPU T3200 @ 2.00GHz (see http://ark.intel.com/Product.aspx?id=37160 for details) - NVIDIA GeForce 9200M GS - 3GB RAM + 1GB reserved for GeForce - Konfiguration Details: -- Phoenix Bios
[Code]....
Maybe a strange BIOS-Setting that works with the 32bit kernels but not with the 64bit kernel? I've seen a post on here that indicates someone is running the amd64 kernel on a T3200 successfully, and the chip is definitely 64bit capable, so the reboot behavior is a complete mystery for me
I'm having troubles running systemtap scripts. It fails to run with message:
Code:
Checking "/lib/modules/2.6.33.3-85.fc13.i686/build/.config" failed: No such file or directory Ensure kernel development headers & makefiles are installed.
Then I typed:
Code:
$rpm -q kernel kernel-devel kernel-debuginfo kernel-2.6.33.3-85.fc13.i686 kernel-devel-2.6.33.5-124.fc13.i686 kernel-devel-2.6.33.6-147.fc13.i686 package kernel-debuginfo is not installed
So no kernel-debuginfo, a package which I cannot find in repo. So where to get it and why it's not included in default installation if SystemTap is. It's like having Apache without tcp/ip stack.
Unfortunately my laptop was powered off whilst the Updater Applet was doing an update. Now, after a reboot, the system always fails when updating. Neither the Updater Applet nor yast does succeed. To me it looks like some involved DB got corrupted. The error messages are shown below.
Code: Subprocess failed. Error: RPM failed: error: package systemtap-runtime-0.9.9-2.4.i586 is not installed Code: Subprocess failed. Error: RPM fehlgeschlagen: error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found error: error(-30987) getting "" records from Requireversion index error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found error: error(-30987) getting "" records from Requireversion index .....
I'm running the current release of Debian with the 2.6.26-2 kernel. This is an upgrade from an older (2.4 kernel) series redhat release. One of the things I had working in the older system was a dns server with accompanying monthly update of the root hints file. I tried working through a dns how-to to set this up again, but it seems much has moved around since I last played with this. All of the files listed in the how-to are not where it says they should be. I am looking for a better reference on keeping the dns server running with current server information.
I am running on a laptop and cron.daily is set to run at 0625 So I wonder what happens if my machine is not turned on at that time.. At that rate it could also be off for the other periods as well (weekly, monthly) Is there solution that will allow them to run once they are online after the appointed time? using a cron entry that runs every 15 or 5 or 1 minute.
Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.
I am having no luck configuring ProFTPd on a Debian Lenny production server we use to host our MySQL databases and a few websites. I had originally set it up so I could login and manage our internal sites, but I have the need to allow a few clients in to access their sites that we host. I am trying to root the users in their site directory, which would be "/sites/www.whatever.com/".
It just hit me while typing this. Is it possible to create a user without a shell to prevent login via SSH and set the home folder to /sites/whatever instead of /home/username? That would allow me to continue operating with my current configuration and root them in their site while preventing SSH logins.
i have a HP MSA 2312fc SAN with 2 LUNs configured. The first LUN (LUN ID 1) is correctly connected to the system, but when i connect the second LUN (LUN ID 30), i find in the syslog this message: multipathd: 8:64: size 6835937472, expected 5267578112. Discard
Here is the multipath.conf
[Code]....
So I correctly see the two luns, but multipath doesn't create the relative devices. Under /dev/mapper I see: control mpath0 mpath0-part1 mpath0-part1 is the first lun, the one I mounted in a directory under filesystem. I can't find the device for the second lun
I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.
My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.
I have some errors when run the mount -all command: mount: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Failed to open /proc/filesystems: No such file or directory
I have a PC104 running debian. I have 3 hard drives (in addition to the one booting) mounted in fstab by UUID. I use the options defaults,error=remount-ro. However, this means that when I boot with the hard drives not attached, I have to press Ctrl-D to bypass when the boot discovers the drives are missing. Is there a timeout commandoption I can add to fstab so that it automatically continues booting even if the hard drives are not attached? I could not find anything on a timeout command. (I tried adding timeout=1000 but no-random guess)