Debian Configuration :: Apache - Setting Up Squeeze Test Box
Jul 16, 2011
Setting up my Squeeze test box, I can't seem to get APache2 to find index.html. It keeps coming up with the initial "It works!" page.
On my Squeeze server, the /etc/apache2/httpd.conf file contains this line:
DocumentRoot /home/www_local
and that box serves the website perfectly.
On the test box, I created the /home/www_local directory and put an index.html file in it, then populated /etc/apache2/httpd.conf with exactly the same DocumentRoot line and restarted Apache. Still the same result -- Apache isn't finding my index.html file. I have grep'ed all the files in /etc/apache2 and /etc/apache2/conf.d looking for 'DocumentRoot' and it's not in any of them.
I'm doing some tests and playing around with postfix in a test squeeze server. What I want to achieve is a postfix mail server using ports 465 and 587 with smtp authentication to send mails. I followed this howto: [URL].. and I'm using a php script with pear functions to test sending emails to a gmail test account of mine. This is the script:
<?php require_once "Mail.php"; $from = "Webmaster <webmaster@server>"; $to = "My Name <myaccount@gmail.com>"; $subject = "This is sent with pear as a test"; $body = "This is the body of the message";
I have a set of vm's with stable, testing, and sid to keep track of how things are going. When I did an apt-get dist-upgrade with squeeze last week, things seemed to OK (350 package updates) until the end. It didn't seem to like and / or was confused by a kernel dependency.
I am not too concerned yet. Because these are in vm's, I do a snapshot before any significant change. I can futz around with impunity because I have that backup.
I re-booted, and tried the apt-get dist-upgrade again with same results. I think I also tried apt-get -f install.
So I reverted to the snapshot, and will simply try again in the future. I recall that with lenny as testing, the font-desktop was really screwed up for about a period of 6 weeks.
However, just in case someone else runs into this:
1) a re-boot worked, but the failure of apt-get made me nervous enough to revert.
2) waiting for corrections has seemed to work in the past (with a single exception with a 4-disk SCSI software RAID10 update that failed to re-boot lenny successfully after what seemed to be a minor update -- that was on a real system, not a vm. I haven't gotten back to look at that.)
hHey i recently installed Debian Squeeze 64bit over my Ubuntu & Windows, i got everything installed and running including all programs i need without a single problem The one thing i havent been able to do yet is install the Nvidia Driver for Geforce 8800gt, ive searched a few sites but one site is telling you to do this way and the the is telling you to do it another way then people are saying about having errors when xorg updates and stuff.
So i was wanting to know whats the easiest and best way to install the Nvidia Driver package (from nvidia website) onto Squeeze 64bit, i've done it on lenny but cant remember ow
If i get this working then il probaly use Debian as my main OS from now on.
I recently just installed Squeeze on an ia64 system and was having some troubles with running VNC.I get the following error, more specifically for some reason I get a malloc - memory corruption error:
Xtightvnc(9165): unaligned access to 0x60000000001ea06c, ip=0x4000000000268280 Xtightvnc(9165): unaligned access to 0x60000000001ea074, ip=0x4000000000268280 Xtightvnc(9165): unaligned access to 0x60000000001ea07c, ip=0x4000000000268280 Xtightvnc(9165): unaligned access to 0x60000000001ea084, ip=0x4000000000268280
[code]...
After display all the code above, it just stops. The port 5901 is still closed - if it runs properly, would it open automatically?Is there something that is incompatible? Or am I missing some system configuration component?
I just set up my dad's pc with Debian Sqeeze. It runs perfectly fine and after trying a lot of distro's Debian is the only one that will not crash or freeze up X. Now we're forced to using my own 17" monitor instead of his 19" wide screen since the max res is 1280 x 1024 in Sqeeze. What he needs is 1360 x 768. I found out in the wiki that xorg.conf needs to be edited. Since the file does not exist it needs to be created by running "Xorg -configure" in tty after stopping GDM. when running the "Xorg -configure" command this is the output;
" vmware: Please ignore above "FATAL: Module vmwgfx bot found." (++) Using config file: "/root/xorg.conf.new" (==) Using system config directory "/usr/share/X11/xorg.conf.d" Number of created screens does not match number of detected devices. Configuration failed. "
It's an Intel Sandy Bridge integrated graphics chip. I've tried running "Xorg:1 -configure" as mentioned in a forum but that simply gives me a "unknown command" answer.
how to install Dropbox for Debian Squeeze from source.Please read everything before you begin. I prepared it as I installed Dropbox for my own system. Please Note: I use sudo, you may have to use root or 'su' from the command line. If you don't know the difference between sudo and su, then you shouldn't try this until you know. At the time I did this, the lastest dropbox version was 0.6.7.
I installed Firestarter firewall on debian Squeeze.Now i note there is a gui available in System->Administration which apparently does not need to be running all the time - its not set up to start on boot.When I boot I notice the boot message has a line saying "Starting Firestarter firewall .... failed"When I am logged in and type "/etc/init.d/firestarter status" as the Firestarter FAQs say, I get"Firestarter is running... ... (warning)"I can run the gui manually and still same message.
When I activate Tor in Iceweasel, it forbids me access to the internet completely. Even attempting Google results in "Iceweasel is configured to use proxy server that is refusing connection".
I have seen this in Lenny, too - it was caused by activating Tor without having installed privoxy. I installed privoxy and everything was okay. In Squeeze, Tor is using polipo. Polipo is installed and running. I have not played with settings of polipo or Tor, the configuration is the same as it was after installation.
What can be wrong? I am a rather an user than a networking guru. I am connected to internet by means of DHCP, no local lans, no special routings, no additional proxies. I have already tired to reinstall polipo.
Just installed squeeze on a new laptop(had been runny Lenny on my older one with no issues, but no sound or wireless on the new one).I decided to install the ATI drive for my Radeon Mobility 4500(or some close revision) because the fan is constantly running and based on some other postings, it seems that it could be the graphics card causing it.Downloaded the driver from ATI's site and it seemed to install fine but when starting X.
When I try to downgrade from sid squeeze I don't get GDM running just a login promt after a reboot.Have also reinstalled nvidia driver but still only login promt.I did aptitude update and aptitude full-upgrade after changing sources.list from sid to squeeze.
Got a problem mounting my Windows partition in Squeeze. It keeps refusing to mount it for me in Dolphin. I am a member of the disk and fuse groups, /dev/fuse is owned by root:fuse, and /sbin/mount.ntfs points to /sbin/mount.ntfs-3g, which in turn points to the ntfs-3g executable. I kind of need this ASAP. I am supposed to be finishing with this machine in 35min, and I am dead in the water without the ability to copy some files from the Squeeze ext4 partition over.
I installed Debian Squeeze from a net install to a raid 1 array. I have been having a lot of troubles related to being able to write to one or more of the mounted drives - even touch gives me errors.
The most interesting line from dmesg is:
Here is the full output from dmesg:
I found a thread that indicated that this bug was fixed in the next kernel version: 2.6.32-6. I am willing to upgrade the kernel to get rid of my problems. Is a squeeze kernel at 2.6.32-6 or higher available? If so, where? I have not compiled my own kernel, and am not very interested in getting into that.
I use my laptop at the college, and I've to suspend him frequently. So, I've decided to install the package pm-utils, to hibernate my PC, instead of power off it. When I try to do "# pm-hibernate", a tty appear, and this error is displayed :
[3506.405310] pm_op(): usb_dev_suspend+0x0/0xa [usbcore] returns -2 [3506.405310] PM: Device usb1 failed to freeze: error -2 This is the result in pm-suspend.log : Initial commandline parameters:
I have upgraded my server to Debian 6.0 Squeeze but it looks like some of my sites are not compatible with PHP 5.3.x so I would like to revert to previous 5.2.6 version.So my question is what to do?a) Remove PHP 5.3.x from system via apt-get and install my old 5.2.6 from old archives at /var/cache/apt/archivesorb) just try to update from archives PHP to 5.2.6?
-rw-r--r--. 1 root root 2413316 May 11 2008 libapache2-mod-php5_5.2.0-8+etch11_i386.deb -rw-r--r--. 1 root root 2413290 Oct 6 2008 libapache2-
As a long time user of some other distributions I decided to switch to Debian and installed 6.0 from amd64 kde cd image.Upon logging to KDE I discovered thatant locate knetworkmanager anywhere,it doesnt autostart and I could not find it anywhere else.I am connecting through a wireless network to the Internet so I cant connect through the Ethernet to download it through apt-get for example,if it is not installed by default.lly confused,knetworkmanager is standard tool in KDE but I cant find it in Debian 6.0
A couple days ago I installed Debian Lenny (netinst) to my friend's laptop, a IBM Thinkpad T23. Got a black screen after gdm loaded and the laptop seemed frozen. Decided to upgrade to squeeze. I edited the apt sources file and changed all the instances of lenny to squeeze, and then upgraded.Had the same display problem, but found a web site that suggested disabling acpi. So I did that, got the sound working, (needed cs46xx firmware), and all seems to be running fine.I get some weird udev messages at boot time, but I have a feeling that's due to how I upgraded. I can't copy and paste since the messages aren't in my system log. If anybody wants more information about it, I can supply it. pgrep shows two instances of udev running so it appears the messages are only warnings.When upgrading to squeeze, I used tds.net debian mirror links. Earlier today I switched to Debian's official US repo URLs and had to upgrade about 250 packages after reloading package data.
Now, when I click on System -> Administration -> Time and Date.After a couple seconds I get a dialog box that says "The configuration data could not be loaded" in bold black letters. Underneath that in smaller letters, "You are not allowed to access the system configuration" I receive that same error when accessing "services" and "users and groups."But I can access the synaptic package manager and update manager from the administration submenu.
I've been testing Squeeze to determine whether KDE4 is finally suitable for my primary machine. Everything seems to be working fine except for detection of IDE devices. My CD/DVD drive no longer automounts and the reason seems to be that no device is being created. My Lenny system detects the drive as /dev/hda, but no such device exists in Squeeze. During boot, Squeeze appears to detect the drive as /dev/sr0 (according to dmesg), but in fact that device does not exist either.I'm actually running the Lenny kernel, as I am unable to compile my Ralink wireless driver (rt2860sta) using the Squeeze kernel. Also, for inquiring minds, I use removable HDD drive bays on my systems to simplify testing.
I have been trying to build a Debian-live-version for some time using live-helper. It works fine if I choose lenny as distribution. With sid I always get into trouble.Sometimes live-helper does't find any aufs-modules but it stops looking for them if I keep the options as simple as above.What is the problem of live-helper's to build on sid or squeeze (which I have met similar troubles with)?
Alright, first Squeeze wouldn't create an initial RAM disk even with "--initrd" specified. Now I don't need one and it's creating one for me even though I don't want one! How do I stop this? I'm beginning to feel like I am using Windows in the sense that it's doing things on its own. Don't make me a RAM disk unless I say so!
I just noticed that I had a sid line on my sources.list, at the end of all squeeze lines, and I've been updating more or less regularly. Does the ordering imply some sort of "preference", so that the first lines are preferred over the subsequent ones, or is it all about the latest version?After removing that line, and taking a look at my installed packages with synaptic, all the "latest versions" of the packages seem to be the ones that are already installed, and I click on properties, and there are no older versions available, only "##.##-### (testing)". Emphasis on "testing", rather than "sid" or "unstable". Of course I didn't check all of them, but about a dozen, and none deviated from that pattern. However, I went to double check on the web pages about the packages, and it seems that many of the squeeze's packages are at the same version of sid. I couldn't yet find one that is not.perhaps the sole fact that the sid line was on sources.list is enough to know that something happened -- as I don't recall having ever set up those configuration files about preferred sources/pins or however it's called), and suggestions on how to proceed? My hunch would be to just downgrade things gradually as they eventually fail (as I did with geeqie, which is why I suspect that there is some mess), but leave everything alone. Not try to fix what is not quite broken. And if it fails too often, go full-blown sid.
I don't print much, but tonight needed to print and found that none of the printers were listed in Okular or Openoffice, then when I tried to open Cups Administration http://localhost:631/ I got the error message Connection to Server Refused
1) old a1300 laptop: P3 800, 256 MiB RAM, HDD, PC-CARD NIC. from lspci: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10) with debian (i386), previously lenny, now squeeze. running as server.
[Code]...
Smaller files seem to transfer faster, but I have no idea why. I've checked with ethtool that both NICs are running at 1000Mb/s, and both are connected to the same Gigabit switch. The HDD in the laptop had previously provided (nfs) transfer speeds of 12-13 MiB/s. The options in fstab on the client are what I've changed them to since, while trying to fix the problem. Can't remember exactly what they were, but rsize, wsize and nfsvers are some I put there trying to fix it.
I had considered buying a new, faster HDD for the laptop, but that is certainly out of the question until this is resolved. Edit: Is this the right place to ask about this? I did wonder if the 'General Questions' category was a better fit.
I looked into my shell 'profile' on my running lenny and copied the PS1 definition over to my [virtual] new squeeze machine, but astoundingly, the prompt does not change!
The prompt always remains to be like this:${debian_chroot:+($debian_chroot)}u@h:w$
This does definitively not stem from 'profile' and I cannot find, where it is defined and how I can override this. If I do it interactively, in a terminal [terminal running in Gnome], it works like expected. In that script, even if I use 'unset PS1',followed by PS1= ... / export PS1, it does not change,Someone with the knowledge and/or a good idea would be great!
1st post in Debian Forums, just came from Arch...and segmentation fault and wine are the 2 special reasons for my return, it's a great distro but i miss the stable part of the deal.I'm a performance guy and i want to know what you use for mobile broadband connection (USB Pen) with exception of course of network manager, even with 8GB of RAM to deal with i want to keep my Debian Squeeze simple, better said:netcfg / wicd for networkpptp client for vpn........ for mobile broadband
I have a Mac G3 and Squeeze 2.6.32-5-686 on an ethernet wired. Works fine with Lenny kde but only in one direction with squeeze kde4. Mac pings squeeze box ok but response is "server may be down or offline". Squeeze connects to Mac normally. Squeeze installed with server option. How do I enable eth0? I need some direction
I have an older system that has been running testing for about 4 years. Originally I was running testing for several packages that were not yet available in stable. However, now that this system has a more crucial role in the network I have considered moving it to stable in hopes that it I can gain some insurance on it's uptime. It is important to note that I have never had a problem with the testing distribution and would be quite content to continue running it; I do want to know my options though.
I have not yet updated the system since the stable release of squeeze, I am considering to change my sources from testing to stable and just let apt take care of the rest. Anyone have any experience with such a thing? After searching Google I have found some solutions to force a downgrade, but that is really not what needs to be done here. I suppose I should have switched my sources to squeeze some time ago and this probably would have worked itself out.
A similar question is what happens a couple of years from now when another release happens. Have you had good luck updating from old stable to stable? I've run testing on several machines now for several years and have went through freezes and dist-upgrades several times with no major problems at all. Will I see the same stability if I move to the stable distribution?
I just setup a new squeeze debian 6 server, it will work as proxy server with squid. But I have an issue when i want to install sarg (sarg-report), i cannot find the package thru aptitude/apt-get, however it was present in lenny distribution. Is it a miss in squeeze, is it discontinued or should I add a specific entry in /etc/apt/sources.list? (currently squeeze main, squeeze/updates main)