Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Bob Morales
Aug 18, 2006


Just wear the fucking mask, Bob

I don't care how many people I probably infected with COVID-19 while refusing to wear a mask, my comfort is far more important than the health and safety of everyone around me!

Is anyone using OpenSUSE 11.3?

I tried the DVD and KDE-LiveCD (both 32-bit) and I can't get either of them to boot into a VM under ESXi 3.5

I get the "ISOLINUX ......... H. Peter Anvin" or whatever line, and that's as far as it gets. Seems to work okay in VirtualBox.

Adbot
ADBOT LOVES YOU

darkhand
Jan 18, 2010

This beard just won't do!
Probably isn't helpful, but sometimes when I boot my netbook through a USB it does that when it can't find the ISO on the media; I don't know how it can't find it when it booted from it.

Maybe it's a virtual hardware issue. Is it possible to change the virtual drive to another type?

Vulture Culture
Jul 14, 2003

I was never enjoying it. I only eat it for the nutrients.

Ninja Rope posted:

If you're doing hardware inventory you might as well dmidecode and catalog how many sticks of memory are in the host and what amount each one holds. If you're using memory hotplugging free might not match up with what the reality of modules on the box anyway, so dmidecode is probably the best answer anyway.
dmidecode can yield fairly unpredictable results when trying to do this on virtualized servers. This might not make a difference now, but these physical boxes aren't sticking around forever, no matter what.

some kinda jackal
Feb 25, 2003

 
 
Has anyone had a problem with OpemSuse 11.3 (or just X11 in general) where some text on certain parts of the screen seem to be faded with the alpha channel of other screen elements? Like I had a youtube video playing in one window, and in another titlebar the text seemed to flicker in a really weird pattern, as if part of the youtube video was playing entirely contained within the letters themselves. It was pretty trippy, and I'm not sure if I'm explaining it correctly so I just have to hope that someone can imagine what I mean.

I'm leaning towards some kind of weird compiz problem, but I disabled desktop effects entirely. I kind of want to just remove compiz entirely, but I'm worried that it will break the install -- any thoughts?

Bob Morales
Aug 18, 2006


Just wear the fucking mask, Bob

I don't care how many people I probably infected with COVID-19 while refusing to wear a mask, my comfort is far more important than the health and safety of everyone around me!

Martytoof posted:

Has anyone had a problem with OpemSuse 11.3 (or just X11 in general) where some text on certain parts of the screen seem to be faded with the alpha channel of other screen elements? Like I had a youtube video playing in one window, and in another titlebar the text seemed to flicker in a really weird pattern, as if part of the youtube video was playing entirely contained within the letters themselves. It was pretty trippy, and I'm not sure if I'm explaining it correctly so I just have to hope that someone can imagine what I mean.

I'm leaning towards some kind of weird compiz problem, but I disabled desktop effects entirely. I kind of want to just remove compiz entirely, but I'm worried that it will break the install -- any thoughts?

What video card and driver?

spiritual bypass
Feb 19, 2008

Grimey Drawer
I want to stop using Ubuntu and install Arch. I'm thinking I'll just blast away the system partition and put Arch on it while leaving /home intact.

Is this a terrible idea?

Cthulhuite
Mar 22, 2007

Shwmae!
I'm having some trouble with (I think) winbind.

I'm trying to add a Windows AD group to a folder on Ubuntu 10.10. Winbind\Samba is installed and setup, the machine is on the domain and wbinfo -t works, wbinfo -g brings up all the groups, it seems like everything should be fine. When I try using chgrp, however I pu the group names in is says it's invalid. Same with the usernames. "chgrp: invalid group: 'domain\\groupname'"

Any ideas? :(

HolyDukeNukem
Sep 10, 2008

rt4 posted:

I want to stop using Ubuntu and install Arch. I'm thinking I'll just blast away the system partition and put Arch on it while leaving /home intact.

Is this a terrible idea?

you should be fine as long as /home is on a separate partition. Just realize that Arch's partition manager is really basic.

enotnert
Jun 10, 2005

Only women bleed

rt4 posted:

I want to stop using Ubuntu and install Arch. I'm thinking I'll just blast away the system partition and put Arch on it while leaving /home intact.

Is this a terrible idea?

Also make sure your permissions are right for how arch handles it. Some things do by username, some by UID etc. Make sure you know whats what first.

spiritual bypass
Feb 19, 2008

Grimey Drawer
Thanks for the tips. I hadn't considered permission problems at all, so I'll look out for that this weekend.

Cthulhuite
Mar 22, 2007

Shwmae!

Cthulhuite posted:

I'm having some trouble with (I think) winbind.

I'm trying to add a Windows AD group to a folder on Ubuntu 10.10. Winbind\Samba is installed and setup, the machine is on the domain and wbinfo -t works, wbinfo -g brings up all the groups, it seems like everything should be fine. When I try using chgrp, however I pu the group names in is says it's invalid. Same with the usernames. "chgrp: invalid group: 'domain\\groupname'"

Any ideas? :(

Okay, fixed my own problem if anyone has the same issue.

In the /etc/nsswitch.conf file, you need to set group to look at winbind as well as compat.

Easy, I guess, only took me a few precious hours of my time. :smith:

some kinda jackal
Feb 25, 2003

 
 

Bob Morales posted:

What video card and driver?

I'll have to doublecheck next time I'm at the computer, but I believe it's an 8400GS, and the driver is whatever is current from NVidia's OpenSuse 11.3 repo. Will edit this post once I have some concrete info.

atomicthumbs
Dec 26, 2010


We're in the business of extending man's senses.
I just got a shiny new VPS account and am looking for a logging program that can make some spiffy graphs. Are there any that keep a log of CPU usage/memory usage/etc. over time that I can look at later? Hopefully they won't consume too much of either themselves.

If it helps, I'm running Ubuntu 10.10.

Matt Zerella
Oct 7, 2002

Norris'es are back baby. It's good again. Awoouu (fox Howl)

atomicthumbs posted:

I just got a shiny new VPS account and am looking for a logging program that can make some spiffy graphs. Are there any that keep a log of CPU usage/memory usage/etc. over time that I can look at later? Hopefully they won't consume too much of either themselves.

If it helps, I'm running Ubuntu 10.10.

Cacti does this and does it well. I have it on an old server at work running under lighttpd. Monitors 20 servers and local resources and the machine only breaks a sweat when I start looking at a ton of graphs.

Gives me 5 minute, 1 day, 1 week, and 1 month averages.

atomicthumbs
Dec 26, 2010


We're in the business of extending man's senses.

LamoTheKid posted:

Cacti does this and does it well.

Thanks, this looks great! Now I just have to figure out how to install it on nginx. :smith:

Matt Zerella
Oct 7, 2002

Norris'es are back baby. It's good again. Awoouu (fox Howl)

atomicthumbs posted:

Thanks, this looks great! Now I just have to figure out how to install it on nginx. :smith:

If you can get nginx + php + mysql running, then Cacti is super easy to install.

Any reason you have to use nginx?

I found this guide to get the nginx+php5+mysql for 8.10 here, should work fine for 10.10:

http://www.howtoforge.com/installing-nginx-with-php5-and-mysql-support-on-ubuntu-8.10

I dont recommend apt-get installing cacti.

this is a good guide for manual install, though a bit old.

https://help.ubuntu.com/community/Cacti?action=show&redirect=CactiHowTo#Installing%20Cacti%20for%20Ubuntu%20-%20Part%201

Bob Morales
Aug 18, 2006


Just wear the fucking mask, Bob

I don't care how many people I probably infected with COVID-19 while refusing to wear a mask, my comfort is far more important than the health and safety of everyone around me!

LamoTheKid posted:

Any reason you have to use nginx?

A lot of people do it on 256MB or other low-memory VPSes

Matt Zerella
Oct 7, 2002

Norris'es are back baby. It's good again. Awoouu (fox Howl)

Bob Morales posted:

A lot of people do it on 256MB or other low-memory VPSes

I feel like an idiot asking this but is it lighter than lighttpd?

My cacti box has 512 so I'm not sure it'll make a difference but I try to keep the http part as low resource as possible.

If I just stepped on a pile of flame ants al la "vi vs emacs" that wasn't my intention at all.

atomicthumbs
Dec 26, 2010


We're in the business of extending man's senses.

LamoTheKid posted:

If you can get nginx + php + mysql running, then Cacti is super easy to install.

Any reason you have to use nginx?

I found this guide to get the nginx+php5+mysql for 8.10 here, should work fine for 10.10:

http://www.howtoforge.com/installing-nginx-with-php5-and-mysql-support-on-ubuntu-8.10

I dont recommend apt-get installing cacti.

this is a good guide for manual install, though a bit old.

https://help.ubuntu.com/community/Cacti?action=show&redirect=CactiHowTo#Installing%20Cacti%20for%20Ubuntu%20-%20Part%201


Thanks! I did install it using apt (doesn't work), but I'll try it again manually. I'm using nginx because it's faster and lighter on resources than Apache, and my VPS only has 256MB.

LamoTheKid posted:

I feel like an idiot asking this but is it lighter than lighttpd?

My cacti box has 512 so I'm not sure it'll make a difference but I try to keep the http part as low resource as possible.

If I just stepped on a pile of flame ants al la "vi vs emacs" that wasn't my intention at all.

I think I read somewhere that nginx is lighter and/or faster.

JHVH-1
Jun 28, 2002
Is there a package with php-fpm somewhere for ubuntu instead of the php-fcgi that is using? I would suggestin using it instead cause it is a lot better. Maybe something like this tutorial: http://interfacelab.com/nginx-php-fpm-apc-awesome/

On centos I use the CentALT russian repo for nginx + php-fpm.

pram
Jun 10, 2001
Does anyone know why this wouldn't work with incrond?

code:
/home/blah/ IN_CREATE tr -d "\015" < $@$# > $@$#-new
It just doesn't do anything. The logs say its executing the command but it doesn't create a new file. I made incrond send the files to a bash script after loving around with it for an hour but seriously idgi.

kyuss
Nov 6, 2004

iOS question:

a buddy of mine jailbroke his iPhone and wonders how to restart a daemon through SSH. Both "service" and "init" don't seem to be available. Even "ps" doesn't seem to exist, not sure about "kill". At least he claims to be root.

Any advice?

TheGopher
Sep 7, 2009
Does it work if he uses the full path? e.g. /sbin/init?

peepsalot
Apr 24, 2007

        PEEP THIS...
           BITCH!

kyuss posted:

iOS question:

a buddy of mine jailbroke his iPhone and wonders how to restart a daemon through SSH. Both "service" and "init" don't seem to be available. Even "ps" doesn't seem to exist, not sure about "kill". At least he claims to be root.

Any advice?
Throw it in the garbage. iOS is not Linux, HTH. :rms2:

pram
Jun 10, 2001
Apple uses launchd instead of init, and service is a redhat thing. iPhone != linux

uG
Apr 23, 2003

by Ralp
I'm trying to get lighttpd to work with FastCGI. When I go to somedomain.com with the following config (and a Perl fastcgi server listening on the correct port) it just shows the directory listing instead of getting a reply from the Perl script.
code:
/etc/lighttpd/conf-available/20_prod.conf

server.modules += (
    "mod_fastcgi",
)
$HTTP["host"] =~ "^(www\.)?somedomain.com" {
    fastcgi.server = (
        "" => (
            "myserver1" => (
                "host" => "127.0.0.1",
                "port" => 55900,
                "check-local" => "disable"
            )
        )
    )
}
code:
/etc/lighttpd/lighttpd.conf

server.modules = (
        "mod_access",
        "mod_alias",
        "mod_compress",
        "mod_redirect",
#       "mod_rewrite",
)

server.document-root        = "/var/www"
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.errorlog             = "/var/log/lighttpd/error.log"
server.pid-file             = "/var/run/lighttpd.pid"
server.username             = "www-data"
server.groupname            = "www-data"

index-file.names            = ( "index.php", "index.html",
                                "index.htm", "default.htm",
                               " index.lighttpd.html" )

url.access-deny             = ( "~", ".inc" )

static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

The Perl side of things is fine, I just can't figure out what tiny config mistake i'm missing...

robostac
Sep 23, 2009
Your lightttpd.conf doesn't appear to include the other config file.

Mine has the following line:
code:
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
This is a perl script that just prints 'include "conf-enabled/05-auth.conf"' etc for every .conf file in /etc/lighttpd/conf-enabled. This is on ubuntu, not sure if its standard across other distributions.

You could just add a line to lighttpd.conf to include the single file you want and see if it works:

code:
include "conf-available/20_prod.conf"

Accipiter
Jan 24, 2004

SINATRA.

Pram posted:

Does anyone know why this wouldn't work with incrond?

code:
/home/blah/ IN_CREATE tr -d "\015" < $@$# > $@$#-new
It just doesn't do anything. The logs say its executing the command but it doesn't create a new file. I made incrond send the files to a bash script after loving around with it for an hour but seriously idgi.

You can't expand shell characters without a shell script. Programs like cron directly execute the command; they don't spawn a shell to execute the command. So anything that would need to be parsed by a shell won't parse. That's why it doesn't work.

My Rhythmic Crotch
Jan 13, 2011

I'm setting up a DNS server on my suse box, and it looks like I have it working.

Is it okay to have the domain name for my local home network ending in .local? What do people typically use for their home networks?

uG
Apr 23, 2003

by Ralp

robostac posted:

Your lightttpd.conf doesn't appear to include the other config file.

Mine has the following line:
code:
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
This is a perl script that just prints 'include "conf-enabled/05-auth.conf"' etc for every .conf file in /etc/lighttpd/conf-enabled. This is on ubuntu, not sure if its standard across other distributions.

You could just add a line to lighttpd.conf to include the single file you want and see if it works:

code:
include "conf-available/20_prod.conf"
I actually do have that line, for some reason it didn't copy.

I just added dir-listing.activate = "disable" to the 20_prod.conf and it is still showing the root directory. So maybe the regex isn't working?

uG fucked around with this message at 16:28 on Feb 25, 2011

ExcessBLarg!
Sep 1, 2001

atomicthumbs posted:

I just got a shiny new VPS account and am looking for a logging program that can make some spiffy graphs. Are there any that keep a log of CPU usage/memory usage/etc. over time that I can look at later?
There's a bunch based around RRDtool: Ganglia, Munin etc. The benefit of these is that it's fairly simple to deploy a complete solution, but the downside is they lack long-term data retention (except for time averages) should you want to go back and look at network throughput or something for a specific day.

Sysstat is another alternative. In addition to the familiar utilities like iostat, pidstat, etc., it includes a collection daemon "sadc" that will round around /proc and pull out a bunch of global statistics on a specified time interval and write them to a binary log. There's a companion program, "sadf" that will dump this log into CSV or tabular text format, which you can then use in various statistical/plotting programs like R, gnuplot, etc. It requires a fair bit of setup to get plots as an output, but it's a great tool for keeping accurate measurements over a very long time--should you want to do that.

ExcessBLarg!
Sep 1, 2001

hootimus posted:

Is it okay to have the domain name for my local home network ending in .local?
.local is not one of the four reserved (RFC 2606) TLDs, so in theory it could be put into use by IANA but this is unlikely to ever happen. .local is used by many organizations for names of private-network machines, so there's plenty of precedence for what you want to do with it.

Also, Zeroconf uses .local, so as long as you use it in a consistent fashion (each machine is "hostname.local") then it's an obvious choice.

hootimus posted:

What do people typically use for their home networks?
I have a registered domain that I use for both public-facing and (private) home network machines. I probably wouldn't recommend buying a domain name for no other purpose, but if you think you might want one in the near future for use with a VPS or something, it's a reasonable option.

One nice benefit of that is that I run OpenVPN on a few machines outside my home network to VPN in. Hostname lookups go through regular DNS and always work with no fear of conflict.

Also, we have a .local private network at work that my home router, slyly, bridges with another VPN tunnel and resolves DNS requests for. So in my case, I can't use .local for my own stuff since that namespace is already claimed from my perspective.

ExcessBLarg! fucked around with this message at 16:45 on Feb 25, 2011

hackedaccount
Sep 28, 2009

hootimus posted:

I'm setting up a DNS server on my suse box, and it looks like I have it working.

example.com is reserved for things like this. Have fun!

pram
Jun 10, 2001

Accipiter posted:

You can't expand shell characters without a shell script. Programs like cron directly execute the command; they don't spawn a shell to execute the command. So anything that would need to be parsed by a shell won't parse. That's why it doesn't work.

That makes sense. :shepface:

Matt Zerella
Oct 7, 2002

Norris'es are back baby. It's good again. Awoouu (fox Howl)
So I started messing around with nginx on my cacti box. Holy lord is this a nice fast compact http server. My load averages have shot down and memory usage is definitely better.

I'm trying to trim this box down to the lowest possible memory footprint (just found out I was wrong, it only has 256 megs of ram). I replaced my.cnf (mysql) with my-small.cnf and gained some more back. There's not a lot more I can do, this box is not heavily used, really only by me so it's not a big deal.

My Rhythmic Crotch
Jan 13, 2011

Ugh, this is getting really annoying. DNS seems to work fine when setup as example.com, however:

code:
wes@helium:~> nslookup titanium.test.local
Server:         127.0.0.1
Address:        127.0.0.1#53

Name:   titanium.test.local
Address: 192.168.1.101

wes@helium:~> ping titanium.test.local
ping: unknown host titanium.test.local
What's going on here? The hostname resolves correctly using nslookup, but not ping? WTF?

crazyfish
Sep 19, 2002

Short of printk()s in the kernel, is there a way for me to be able to tell which process is issuing a particular obscure SCSI command to a particular device?

waffle iron
Jan 16, 2004
I'm not sure if dtrace is mature enough on Linux as it is on the BSDs, but it might do the trick. Maybe SystemTap would work. Mind you I have no experience with either.

blink 182
Feb 21, 2011

by Fistgrrl

crazyfish posted:

Short of printk()s in the kernel, is there a way for me to be able to tell which process is issuing a particular obscure SCSI command to a particular device?

lsof?

Adbot
ADBOT LOVES YOU

spiritual bypass
Feb 19, 2008

Grimey Drawer
Trip report: got rid of Ubuntu and installed Arch. Restored all of the /home files I cared about from an external hard drive with no bumps at all. The installation is time consuming and requires lots of customization, but is not at all difficult. Just follow the instructions on the wiki.

Everything works and I think it even seems a little faster.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply